summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3b35a5a)
raw | patch | inline | side by side (parent: 3b35a5a)
author | Raghu Nambiath <a0850439@gtlnx01.gt.design.ti.com> | |
Fri, 12 Nov 2010 22:15:46 +0000 (17:15 -0500) | ||
committer | Raghu Nambiath <a0850439@gtlnx01.gt.design.ti.com> | |
Fri, 12 Nov 2010 22:15:46 +0000 (17:15 -0500) |
release.sh | [changed mode: 0644->0755] | patch | blob | history |
setupenvLnx.sh | [new file with mode: 0755] | patch | blob |
src/cfg/c6474/iblcfg.h | [changed mode: 0644->0755] | patch | blob | history |
src/make/setupenvLnx.sh | [changed mode: 0644->0755] | patch | blob | history |
diff --git a/release.sh b/release.sh
--- a/release.sh
+++ b/release.sh
#mkdir ibl_bin/c6457/
#mkdir ibl_bin/c6457/be
#mkdir ibl_bin/c6457/le
-
-# Copy i2cConfig GEL file
-cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin/
+\r
+# Overwrite Linux environment file\r
+cp -f setupenvLnx.sh src/make/setupenvLnx.sh
# Build C6455 LE
pushd src/make
cp -f src/make/ibl_c6455/i2crom_le.dat ibl_bin/c6455/le/
cp -f src/util/i2cWrite/i2cWrite.out ibl_bin/c6455/le/
cp -f src/util/i2cConfig/i2cparam_c6455.out ibl_bin/c6455/le/
+\r
+\r
+# Copy i2cConfig GEL file\r
+cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin/\r
# Build C6455 BE
diff --git a/setupenvLnx.sh b/setupenvLnx.sh
--- /dev/null
+++ b/setupenvLnx.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+export OS="Linux"
+export C6X_BASE_DIR="/sim/scratch_a0216561/opt/TI_CGT_C6000_7.2.0A10218"
+export PATH="$C6X_BASE_DIR/bin:$PATH"
+export TOOLSC6X="/sim/scratch_a0216561/opt/TI_CGT_C6000_7.2.0A10218"
+export TOOLSC6XDOS="/sim/scratch_a0216561/opt/TI_CGT_C6000_7.2.0A10218"
+export TOOLSBIOSC6XDOS="/sim/scratch_a0216561/opt/TI_CGT_C6000_7.2.0A10218"
diff --git a/src/cfg/c6474/iblcfg.h b/src/cfg/c6474/iblcfg.h
--- a/src/cfg/c6474/iblcfg.h
+++ b/src/cfg/c6474/iblcfg.h
#define IBL_I2C_OWN_ADDR 10
#define IBL_I2C_CFG_ADDR_DELAY 0x100 /* Delay between sending the address and reading data */
-#ifndef IBL_I2C_CFG_EEPROM_BUS_ADDR
- #define IBL_I2C_CFG_EEPROM_BUS_ADDR 0x50
+#ifdef IBL_I2C_CFG_EEPROM_BUS_ADDR\r
+#undef IBL_I2C_CFG_EEPROM_BUS_ADDR\r
#endif
+\r
+#define IBL_I2C_CFG_EEPROM_BUS_ADDR 0x50
+
#define IBL_I2C_CFG_TABLE_DATA_ADDR (0x8000 - 0x300)
old mode 100644 (file)
new mode 100755 (executable)
new mode 100755 (executable)