Fix for C6474BE building and running w/o any source change. Added setupenvLnx.sh
authorRaghu Nambiath <a0850439@gtlnx01.gt.design.ti.com>
Fri, 12 Nov 2010 22:15:46 +0000 (17:15 -0500)
committerRaghu Nambiath <a0850439@gtlnx01.gt.design.ti.com>
Fri, 12 Nov 2010 22:15:46 +0000 (17:15 -0500)
release.sh [changed mode: 0644->0755]
setupenvLnx.sh [new file with mode: 0755]
src/cfg/c6474/iblcfg.h [changed mode: 0644->0755]
src/make/setupenvLnx.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 6662874..b685272
@@ -29,9 +29,9 @@ mkdir ibl_bin/c6474/le
 #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
@@ -44,6 +44,10 @@ popd
 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
new file mode 100755 (executable)
index 0000000..531979f
--- /dev/null
@@ -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"
old mode 100644 (file)
new mode 100755 (executable)
index b96580d..a7a8fc4
 #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)