]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - release.sh
Updated 6657 DDR3 config
[keystone-rtos/ibl.git] / release.sh
1 #!/bin/sh
2 # Generate the source release tarballs
3 export IBL_VERSION="1_0_0_17"
4 cd ../
5 if [ -f ibl_src_$IBL_VERSION.tgz ]; then rm ibl_src_$IBL_VERSION.tgz; fi
7 tar -czf ibl_src_$IBL_VERSION.tgz ibl/src ibl/doc
9 cd ibl
10 # Create directories for binary builds
11 if [ -d ibl_bin_$IBL_VERSION ]; then rm -r ibl_bin_$IBL_VERSION; fi
13 mkdir ibl_bin_$IBL_VERSION
14 mkdir ibl_bin_$IBL_VERSION/c6455/
15 mkdir ibl_bin_$IBL_VERSION/c6455/be
16 mkdir ibl_bin_$IBL_VERSION/c6455/le
18 mkdir ibl_bin_$IBL_VERSION/c6472/
19 mkdir ibl_bin_$IBL_VERSION/c6472/be
20 mkdir ibl_bin_$IBL_VERSION/c6472/le
22 mkdir ibl_bin_$IBL_VERSION/c6474/
23 mkdir ibl_bin_$IBL_VERSION/c6474/be
24 mkdir ibl_bin_$IBL_VERSION/c6474/le
26 mkdir ibl_bin_$IBL_VERSION/c6474l/
27 mkdir ibl_bin_$IBL_VERSION/c6474l/be
28 mkdir ibl_bin_$IBL_VERSION/c6474l/le
30 mkdir ibl_bin_$IBL_VERSION/c6457/
31 mkdir ibl_bin_$IBL_VERSION/c6457/be
32 mkdir ibl_bin_$IBL_VERSION/c6457/le
34 mkdir ibl_bin_$IBL_VERSION/c6678/
35 mkdir ibl_bin_$IBL_VERSION/c6678/le
36 mkdir ibl_bin_$IBL_VERSION/c6678/be
38 mkdir ibl_bin_$IBL_VERSION/c6670/
39 mkdir ibl_bin_$IBL_VERSION/c6670/le
40 mkdir ibl_bin_$IBL_VERSION/c6670/be
42 mkdir ibl_bin_$IBL_VERSION/tci6634k2k/
43 mkdir ibl_bin_$IBL_VERSION/tci6634k2k/le
44 mkdir ibl_bin_$IBL_VERSION/tci6634k2k/be
47 # Copy i2cConfig GEL file
48 cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
50 # Set Build environment
51 source src/make/setupenvLnx.sh
53 # Build C6455 EVM LE
54 pushd src/make
55 make clean
56 make evm_c6455 ENDIAN=little
57 popd
58 # Copy the files to the Binary package
59 cp -f src/make/bin/i2crom_0x50_c6455_le.bin ibl_bin_$IBL_VERSION/c6455/le/
60 cp -f src/make/bin/i2cparam_0x50_c6455_le_0x500.out ibl_bin_$IBL_VERSION/c6455/le/
62 # Build C6455 EVM BE
63 pushd src/make
64 make clean
65 make evm_c6455 ENDIAN=big
66 popd
67 # Copy the files to the Binary package
68 cp -f src/make/bin/i2crom_0x50_c6455_be.bin ibl_bin_$IBL_VERSION/c6455/be/
69 cp -f src/make/bin/i2cparam_0x50_c6455_be_0x500.out ibl_bin_$IBL_VERSION/c6455/be/
72 # Build C6472 EVM LE
73 pushd src/make
74 make clean
75 make evm_c6472 ENDIAN=little
76 popd
77 # Copy the files to the Binary package
78 cp -f src/make/bin/i2crom_0x50_c6472_le.bin ibl_bin_$IBL_VERSION/c6472/le/
79 cp -f src/make/bin/i2cparam_0x50_c6472_le_0x500.out ibl_bin_$IBL_VERSION/c6472/le/
81 # Build C6472 EVM BE
82 pushd src/make
83 make clean
84 make evm_c6472 ENDIAN=big
85 popd
86 # Copy the files to the Binary package
87 cp -f src/make/bin/i2crom_0x50_c6472_be.bin ibl_bin_$IBL_VERSION/c6472/be/
88 cp -f src/make/bin/i2cparam_0x50_c6472_be_0x500.out ibl_bin_$IBL_VERSION/c6472/be/
90 # Build c6474 EVM little endian
91 pushd src/make
92 make clean
93 make evm_c6474 ENDIAN=little
94 popd
95 # Copy the files to the Binary package
96 cp -f src/make/bin/i2crom_0x50_c6474_le.bin ibl_bin_$IBL_VERSION/c6474/le/
97 cp -f src/make/bin/i2cparam_0x50_c6474_le_0x200.out ibl_bin_$IBL_VERSION/c6474/le/
100 # Build c6474 EVM Big endian
101 pushd src/make
102 make clean
103 make evm_c6474 ENDIAN=big
104 popd
105 # Copy the files to the Binary package
106 cp -f src/make/bin/i2crom_0x50_c6474_be.bin ibl_bin_$IBL_VERSION/c6474/be/
107 cp -f src/make/bin/i2cparam_0x50_c6474_be_0x200.out ibl_bin_$IBL_VERSION/c6474/be/
109 # Build c6474l EVM little Endian
110 pushd src/make
111 make clean
112 make evm_c6474l ENDIAN=little
113 popd
114 # Copy the files to the Binary package
115 cp -f src/make/bin/i2crom_0x50_c6474l_le.bin ibl_bin_$IBL_VERSION/c6474l/le/
116 cp -f src/make/bin/i2cparam_0x50_c6474l_le_0x200.out ibl_bin_$IBL_VERSION/c6474l/le/
118 # Build c6474l EVM Big Endian
119 pushd src/make
120 make clean
121 make evm_c6474l ENDIAN=big
122 popd
123 # Copy the files to the Binary package
124 cp -f src/make/bin/i2crom_0x50_c6474l_be.bin ibl_bin_$IBL_VERSION/c6474l/be/
125 cp -f src/make/bin/i2cparam_0x50_c6474l_be_0x200.out ibl_bin_$IBL_VERSION/c6474l/be/
127 # Build c6457 EVM little
128 pushd src/make
129 make clean
130 make evm_c6457 ENDIAN=little
131 popd
132 cp -f src/make/bin/i2crom_0x50_c6457_le.bin ibl_bin_$IBL_VERSION/c6457/le/
133 cp -f src/make/bin/i2cparam_0x50_c6457_le_0x200.out ibl_bin_$IBL_VERSION/c6457/le/
135 # Build c6457 EVM big
136 pushd src/make
137 make clean
138 make evm_c6457 ENDIAN=big
139 popd
140 cp -f src/make/bin/i2crom_0x50_c6457_be.bin ibl_bin_$IBL_VERSION/c6457/be/
141 cp -f src/make/bin/i2cparam_0x50_c6457_be_0x200.out ibl_bin_$IBL_VERSION/c6457/be/
143 # Build c6678 EVM LE
144 pushd src/make
145 make clean
146 make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
147 popd
148 cp -f src/make/bin/i2crom_0x51_c6678_le.bin ibl_bin_$IBL_VERSION/c6678/le/
149 cp -f src/make/bin/i2cparam_0x51_c6678_le_0x500.out ibl_bin_$IBL_VERSION/c6678/le/
151 # Build c6678 EVM BE
152 pushd src/make
153 make clean
154 make evm_c6678_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
155 popd
156 cp -f src/make/bin/i2crom_0x51_c6678_be.bin ibl_bin_$IBL_VERSION/c6678/be/
157 cp -f src/make/bin/i2cparam_0x51_c6678_be_0x500.out ibl_bin_$IBL_VERSION/c6678/be/
159 # Build c6670 EVM LE
160 pushd src/make
161 make clean
162 make evm_c6670_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
163 popd
164 cp -f src/make/bin/i2crom_0x51_c6670_le.bin ibl_bin_$IBL_VERSION/c6670/le/
165 cp -f src/make/bin/i2cparam_0x51_c6670_le_0x500.out ibl_bin_$IBL_VERSION/c6670/le/
167 # Build c6670 EVM BE
168 pushd src/make
169 make clean
170 make evm_c6670_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
171 popd
172 cp -f src/make/bin/i2crom_0x51_c6670_be.bin ibl_bin_$IBL_VERSION/c6670/be/
173 cp -f src/make/bin/i2cparam_0x51_c6670_be_0x500.out ibl_bin_$IBL_VERSION/c6670/be/
175 # Build tci6634k2k EVM LE
176 pushd src/make
177 make clean
178 make evm_tci6634k2k_i2c ENDIAN=little I2C_BUS_ADDR=0x51 
179 popd
180 cp -f src/make/bin/i2crom_0x51_tci6634k2k_le.bin ibl_bin_$IBL_VERSION/tci6634k2k/le/
181 cp -f src/make/bin/i2cparam_0x51_tci6634k2k_le_0x500.out ibl_bin_$IBL_VERSION/tci6634k2k/le/
183 # Build tci6634k2k EVM BE
184 pushd src/make
185 make clean
186 make evm_tci6634k2k_i2c ENDIAN=big I2C_BUS_ADDR=0x51 
187 popd
188 cp -f src/make/bin/i2crom_0x51_tci6634k2k_be.bin ibl_bin_$IBL_VERSION/tci6634k2k/be/
189 cp -f src/make/bin/i2cparam_0x51_tci6634k2k_be_0x500.out ibl_bin_$IBL_VERSION/tci6634k2k/be/
191 # Create Tar archive for binary package
192 tar -czf ibl_bin_$IBL_VERSION.tgz ibl_bin_$IBL_VERSION