]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blobdiff - release.sh
iblConfig: fix undefined return code
[keystone-rtos/ibl.git] / release.sh
index 93d4b45632ce86d066e29a4273462e244a3acc08..e9fcb6833af1773cc978ba3cff80472d051cde8c 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 # Generate the source release tarballs
-export IBL_VERSION="0_5_2"
+export IBL_VERSION="1_0_0_11"
 cd ../
-if [ -f ibl_src_$IBL_VERSION.tar ]; then rm ibl_src_$IBL_VERSION.tar; fi
+if [ -f ibl_src_$IBL_VERSION.tgz ]; then rm ibl_src_$IBL_VERSION.tgz; fi
 
-tar -cvf ibl_src_$IBL_VERSION.tar ibl/src ibl/doc
+tar -czf ibl_src_$IBL_VERSION.tgz ibl/src ibl/doc
 
 cd ibl
 # Create directories for binary builds
@@ -23,128 +23,146 @@ mkdir ibl_bin_$IBL_VERSION/c6474/
 mkdir ibl_bin_$IBL_VERSION/c6474/be
 mkdir ibl_bin_$IBL_VERSION/c6474/le
 
-#mkdir ibl_bin_$IBL_VERSION/c6474l/
-#mkdir ibl_bin_$IBL_VERSION/c6474l/be
-#mkdir ibl_bin_$IBL_VERSION/c6474l/le
+mkdir ibl_bin_$IBL_VERSION/c6474l/
+mkdir ibl_bin_$IBL_VERSION/c6474l/be
+mkdir ibl_bin_$IBL_VERSION/c6474l/le
 
-#mkdir ibl_bin_$IBL_VERSION/c6457/
-#mkdir ibl_bin_$IBL_VERSION/c6457/be
-#mkdir ibl_bin_$IBL_VERSION/c6457/le
+mkdir ibl_bin_$IBL_VERSION/c6457/
+mkdir ibl_bin_$IBL_VERSION/c6457/be
+mkdir ibl_bin_$IBL_VERSION/c6457/le
 
+mkdir ibl_bin_$IBL_VERSION/c6678/
+mkdir ibl_bin_$IBL_VERSION/c6678/le
+mkdir ibl_bin_$IBL_VERSION/c6678/be
+
+mkdir ibl_bin_$IBL_VERSION/c6670/
+mkdir ibl_bin_$IBL_VERSION/c6670/le
+mkdir ibl_bin_$IBL_VERSION/c6670/be
+
+# Copy i2cConfig GEL file
+cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
 
 # Set Build environment
-source setupenvLnx.sh
+source src/make/setupenvLnx.sh
 
-# Build C6455 LE
+# Build C6455 EVM LE
 pushd src/make
 make clean
-make c6455 ENDIAN=little
+make evm_c6455 ENDIAN=little
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6455/i2crom_le.dat ibl_bin_$IBL_VERSION/c6455/le/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6455/le/
-cp -f src/util/i2cConfig/i2cparam_c6455.out   ibl_bin_$IBL_VERSION/c6455/le/
+cp -f src/make/bin/i2crom_0x50_c6455_le.bin ibl_bin_$IBL_VERSION/c6455/le/
 
+# Build C6455 EVM BE
+pushd src/make
+make clean
+make evm_c6455 ENDIAN=big
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6455_be.bin ibl_bin_$IBL_VERSION/c6455/be/
 
-# Copy i2cConfig GEL file
-cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
+
+# Build C6472 EVM LE
+pushd src/make
+make clean
+make evm_c6472 ENDIAN=little
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6472_le.bin ibl_bin_$IBL_VERSION/c6472/le/
 
 
-# Build C6455 BE
+# Build C6472 EVM BE
 pushd src/make
 make clean
-make c6455 ENDIAN=big
+make evm_c6472 ENDIAN=big
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6455/i2crom_be.dat ibl_bin_$IBL_VERSION/c6455/be/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6455/be/
-cp -f src/util/i2cConfig/i2cparam_c6455.out   ibl_bin_$IBL_VERSION/c6455/be/
+cp -f src/make/bin/i2crom_0x50_c6472_be.bin ibl_bin_$IBL_VERSION/c6472/be/
 
-# Build C6472 le
+
+# Build c6474 EVM little endian
 pushd src/make
 make clean
-make c6472 ENDIAN=little
+make evm_c6474 ENDIAN=little
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6472/i2crom_le.dat ibl_bin_$IBL_VERSION/c6472/le/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6472/le/
-cp -f src/util/i2cConfig/i2cparam_c6472.out   ibl_bin_$IBL_VERSION/c6472/le/
+cp -f src/make/bin/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
+
 
 
-# Build c6472 be
+# Build c6474 EVM Big endian
 pushd src/make
 make clean
-make c6472 ENDIAN=big
+make evm_c6474 ENDIAN=big
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6472/i2crom_be.dat ibl_bin_$IBL_VERSION/c6472/be/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6472/be/
-cp -f src/util/i2cConfig/i2cparam_c6472.out   ibl_bin_$IBL_VERSION/c6472/be/
+cp -f src/make/bin/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
 
-# Build c6474 le
+# Build c6474l EVM little Endian
 pushd src/make
 make clean
-make c6474 ENDIAN=little
+make evm_c6474l ENDIAN=little
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_le.dat ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/util/i2cConfig/i2cparam_c6474.out   ibl_bin_$IBL_VERSION/c6474/le/
+cp -f src/make/bin/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
 
 
-# Build c6474 be
+# Build c6474l EVM Big Endian
 pushd src/make
 make clean
-make c6474 ENDIAN=big
+make evm_c6474l ENDIAN=big
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_be.dat ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/util/i2cConfig/i2cparam_c6474.out   ibl_bin_$IBL_VERSION/c6474/be/
-
-# Build c6474l le
-#pushd src/make
-#make clean
-#make c6474l ENDIAN=little
-#popd
-# Copy the files to the Binary package
-#cp -f src/make/ibl_c6474l/i2crom_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
-#cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474l/le/
-#cp -f src/util/i2cConfig/i2cparam_c6474l.out   ibl_bin_$IBL_VERSION/c6474l/le/
+cp -f src/make/bin/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
 
 
-# Build c6474l be
-#pushd src/make
-#make clean
-#make c6474l ENDIAN=big
-#popd
-# Copy the files to the Binary package
-#cp -f src/make/ibl_c6474l/i2crom_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
-#cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474l/be/
-#cp -f src/util/i2cConfig/i2cparam_c6474l.out   ibl_bin_$IBL_VERSION/c6474l/be/
+# Build c6457 EVM little
+pushd src/make
+make clean
+make evm_c6457 ENDIAN=little
+popd
+cp -f src/make/bin/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
 
 
-# Build c6457 le
-#pushd src/make
-#make clean
-#make c6457 ENDIAN=little
-#popd
-# Copy the files to the Binary package
-#cp -f src/make/ibl_c6457/i2crom_le.dat ibl_bin_$IBL_VERSION/c6457/le/
-#cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6457/le/
-#cp -f src/util/i2cConfig/i2cparam_c6457.out   ibl_bin_$IBL_VERSION/c6457/le/
+# Build c6457 EVM big
+pushd src/make
+make clean
+make evm_c6457 ENDIAN=big
+popd
+cp -f src/make/bin/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
 
 
-# Build c6457 be
-#pushd src/make
-#make clean
-#make c6457 ENDIAN=big
-#popd
-# Copy the files to the Binary package
-#cp -f src/make/ibl_c6457/i2crom_be.dat ibl_bin_$IBL_VERSION/c6457/be/
-#cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6457/be/
-#cp -f src/util/i2cConfig/i2cparam_c6457.out   ibl_bin_$IBL_VERSION/c6457/be/
+# Build c6678 EVM LE
+pushd src/make
+make clean
+make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+popd
+cp -f src/make/bin/i2crom_0x51_c6678_le.bin ibl_bin_$IBL_VERSION/c6678/le/
+
+
+# Build c6678 EVM BE
+pushd src/make
+make clean
+make evm_c6678_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
+popd
+cp -f src/make/bin/i2crom_0x51_c6678_be.bin ibl_bin_$IBL_VERSION/c6678/be/
+
+# Build c6670 EVM LE
+pushd src/make
+make clean
+make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
+popd
+cp -f src/make/bin/i2crom_0x51_c6670_le.bin ibl_bin_$IBL_VERSION/c6670/le/
+
+
+# Build c6670 EVM BE
+pushd src/make
+make clean
+make evm_c6670_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
+popd
+cp -f src/make/bin/i2crom_0x51_c6670_be.bin ibl_bin_$IBL_VERSION/c6670/be/
+
 
 # Create Tar archive for binary package
-tar -cvf ibl_bin_$IBL_VERSION.tar ibl_bin_$IBL_VERSION
+tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION