]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blobdiff - release.sh
Changed the default parameters for BLOB image format to match Linux Kernel image
[keystone-rtos/ibl.git] / release.sh
index f67f6bc5d905274b5144e80ced29b61d941635b4..b594473cd13d82cd714eca7af8098b36ee797180 100755 (executable)
@@ -1,10 +1,10 @@
 #!/bin/sh
 # Generate the source release tarballs
-export IBL_VERSION="1_0_0_1"
+export IBL_VERSION="1_0_0_7"
 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
@@ -32,6 +32,12 @@ 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/c6670/
+mkdir ibl_bin_$IBL_VERSION/c6670/le
+
+# Copy i2cConfig GEL file
+cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
+
 # Set Build environment
 source src/make/setupenvLnx.sh
 
@@ -41,9 +47,9 @@ make clean
 make evm_c6455 I2C_MAP_ADDR=0x500
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6455/i2crom.dat ibl_bin_$IBL_VERSION/c6455/le-be/i2crom.dat
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6455/le-be/
-cp -f src/util/i2cConfig/i2cparam_c6455_le.out ibl_bin_$IBL_VERSION/c6455/le-be/i2cparam_c6455_le_0x500.out
+cp -f src/make/bin/i2crom_0x50_c6455_le-be.dat ibl_bin_$IBL_VERSION/c6455/le-be/
+cp -f src/make/bin/i2crom_0x50_c6455_le-be.bin ibl_bin_$IBL_VERSION/c6455/le-be/
+cp -f src/make/bin/i2cparam_0x50_c6455_le_0x500.out ibl_bin_$IBL_VERSION/c6455/le-be/
 
 # Build C6455 EVM BE
 pushd src/make
@@ -51,10 +57,8 @@ make clean
 make evm_c6455 I2C_MAP_ADDR=0x800
 popd
 # Copy the files to the Binary package
-cp -f src/util/i2cConfig/i2cparam_c6455_be.out ibl_bin_$IBL_VERSION/c6455/le-be/i2cparam_c6455_be_0x800.out
+cp -f src/make/bin/i2cparam_0x50_c6455_be_0x800.out ibl_bin_$IBL_VERSION/c6455/le-be/
 
-# Copy i2cConfig GEL file
-cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
 
 # Build C6472 le
 pushd src/make
@@ -62,10 +66,9 @@ make clean
 make evm_c6472 I2C_MAP_ADDR=0x500
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6472/i2crom.dat ibl_bin_$IBL_VERSION/c6472/le-be/i2crom.dat
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6472/le-be/
-cp -f src/util/i2cConfig/i2cparam_c6472_le.out ibl_bin_$IBL_VERSION/c6472/le-be/i2cparam_c6472_le_0x500.out
-
+cp -f src/make/bin/i2crom_0x50_c6472_le-be.dat ibl_bin_$IBL_VERSION/c6472/le-be/
+cp -f src/make/bin/i2crom_0x50_c6472_le-be.bin ibl_bin_$IBL_VERSION/c6472/le-be/
+cp -f src/make/bin/i2cparam_0x50_c6472_le_0x500.out ibl_bin_$IBL_VERSION/c6472/le-be/
 
 # Build C6472 EVM BE
 pushd src/make
@@ -73,56 +76,84 @@ make clean
 make evm_c6472 I2C_MAP_ADDR=0x800
 popd
 # Copy the files to the Binary package
-cp -f src/util/i2cConfig/i2cparam_c6472_be.out ibl_bin_$IBL_VERSION/c6472/le-be/i2cparam_c6472_be_0x800.out
+cp -f src/make/bin/i2cparam_0x50_c6472_be_0x800.out ibl_bin_$IBL_VERSION/c6472/le-be/
+
+# Build c6474 EVM little endian
+pushd src/make
+make clean
+make evm_c6474 ENDIAN=little
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6474_le.dat ibl_bin_$IBL_VERSION/c6474/le/
+cp -f src/make/bin/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
+cp -f src/make/bin/i2cparam_0x50_c6474_le_0x200.out ibl_bin_$IBL_VERSION/c6474/le/
 
-# Build c6474 EVM
+
+# Build c6474 EVM Big endian
 pushd src/make
 make clean
-make evm_c6474 
+make evm_c6474 ENDIAN=big
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_le.dat ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474_be.dat ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/util/i2cWrite/i2cWrite_be.out   ibl_bin_$IBL_VERSION/c6474/be/
-cp -f src/util/i2cConfig/i2cparam_c6474_le.out   ibl_bin_$IBL_VERSION/c6474/le/
-cp -f src/util/i2cConfig/i2cparam_c6474_be.out   ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2crom_0x50_c6474_be.dat ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
+cp -f src/make/bin/i2cparam_0x50_c6474_be_0x200.out ibl_bin_$IBL_VERSION/c6474/be/
 
+# Build c6474l EVM little Endian
+pushd src/make
+make clean
+make evm_c6474l ENDIAN=little
+popd
+# Copy the files to the Binary package
+cp -f src/make/bin/i2crom_0x50_c6474l_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
+cp -f src/make/bin/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
+cp -f src/make/bin/i2cparam_0x50_c6474l_le_0x200.out ibl_bin_$IBL_VERSION/c6474l/le/
 
-# Build c6474l EVM
+# Build c6474l EVM Big Endian
 pushd src/make
 make clean
-make evm_c6474l
+make evm_c6474l ENDIAN=big
 popd
 # Copy the files to the Binary package
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
-cp -f src/make/ibl_c6474/i2crom_0x50_c6474l_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6474l/le/
-cp -f src/util/i2cWrite/i2cWrite_be.out   ibl_bin_$IBL_VERSION/c6474l/be/
-cp -f src/util/i2cConfig/i2cparam_c6474_le.out   ibl_bin_$IBL_VERSION/c6474l/le/
-cp -f src/util/i2cConfig/i2cparam_c6474_be.out   ibl_bin_$IBL_VERSION/c6474l/be/
+cp -f src/make/bin/i2crom_0x50_c6474l_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
+cp -f src/make/bin/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
+cp -f src/make/bin/i2cparam_0x50_c6474l_be_0x200.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.dat ibl_bin_$IBL_VERSION/c6457/le/
+cp -f src/make/bin/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
+cp -f src/make/bin/i2cparam_0x50_c6457_le_0x200.out ibl_bin_$IBL_VERSION/c6457/le/
 
-# Build c6457 EVM 
+# Build c6457 EVM big
 pushd src/make
 make clean
-make evm_c6457 
+make evm_c6457 ENDIAN=big
 popd
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_le.dat ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/make/ibl_c6457/i2crom_0x50_c6457_be.dat ibl_bin_$IBL_VERSION/c6457/be/
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/util/i2cWrite/i2cWrite_be.out   ibl_bin_$IBL_VERSION/c6457/be/
-cp -f src/util/i2cConfig/i2cparam_c6457_le.out   ibl_bin_$IBL_VERSION/c6457/le/
-cp -f src/util/i2cConfig/i2cparam_c6457_be.out   ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2crom_0x50_c6457_be.dat ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
+cp -f src/make/bin/i2cparam_0x50_c6457_be_0x200.out ibl_bin_$IBL_VERSION/c6457/be/
 
 # Build c6678 EVM 
 pushd src/make
 make clean
 make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
 popd
-cp -f src/make/ibl_c661x/i2crom.dat ibl_bin_$IBL_VERSION/c6678/le/i2crom_0x51_c6678_le.dat
-cp -f src/util/i2cWrite/i2cWrite_le.out   ibl_bin_$IBL_VERSION/c6678/le/
-cp -f src/util/i2cConfig/i2cparam_c661x_le.out ibl_bin_$IBL_VERSION/c6678/le/i2cparam_c6678_le.out
+cp -f src/make/bin/i2crom_0x51_c6678_le.dat ibl_bin_$IBL_VERSION/c6678/le/
+cp -f src/make/bin/i2crom_0x51_c6678_le.bin ibl_bin_$IBL_VERSION/c6678/le/
+cp -f src/make/bin/i2cparam_0x51_c6678_le_0x500.out ibl_bin_$IBL_VERSION/c6678/le/
+
+# Build c6670 EVM 
+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.dat ibl_bin_$IBL_VERSION/c6670/le/
+cp -f src/make/bin/i2crom_0x51_c6670_le.bin ibl_bin_$IBL_VERSION/c6670/le/
+cp -f src/make/bin/i2cparam_0x51_c6670_le_0x500.out ibl_bin_$IBL_VERSION/c6670/le/
 
 # Create Tar archive for binary package
 tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION