]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - release.sh
C6457: Update DDR address
[keystone-rtos/ibl.git] / release.sh
1 #!/bin/sh
2 # Generate the source release tarballs
3 export IBL_VERSION="0_5_2"
4 cd ../
5 if [ -f ibl_src_$IBL_VERSION.tar ]; then rm ibl_src_$IBL_VERSION.tar; fi
7 tar -cvf ibl_src_$IBL_VERSION.tar 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
35 # Set Build environment
36 source setupenvLnx.sh
38 # Build C6455 LE
39 pushd src/make
40 make clean
41 make c6455 ENDIAN=little
42 popd
43 # Copy the files to the Binary package
44 cp -f src/make/ibl_c6455/i2crom_le.dat ibl_bin_$IBL_VERSION/c6455/le/
45 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6455/le/
46 cp -f src/util/i2cConfig/i2cparam_c6455.out   ibl_bin_$IBL_VERSION/c6455/le/
49 # Copy i2cConfig GEL file
50 cp -f src/util/i2cConfig/i2cConfig.gel ibl_bin_$IBL_VERSION/i2cConfig.gel
53 # Build C6455 BE
54 pushd src/make
55 make clean
56 make c6455 ENDIAN=big
57 popd
58 # Copy the files to the Binary package
59 cp -f src/make/ibl_c6455/i2crom_be.dat ibl_bin_$IBL_VERSION/c6455/be/
60 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6455/be/
61 cp -f src/util/i2cConfig/i2cparam_c6455.out   ibl_bin_$IBL_VERSION/c6455/be/
63 # Build C6472 le
64 pushd src/make
65 make clean
66 make c6472 ENDIAN=little
67 popd
68 # Copy the files to the Binary package
69 cp -f src/make/ibl_c6472/i2crom_le.dat ibl_bin_$IBL_VERSION/c6472/le/
70 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6472/le/
71 cp -f src/util/i2cConfig/i2cparam_c6472.out   ibl_bin_$IBL_VERSION/c6472/le/
74 # Build c6472 be
75 pushd src/make
76 make clean
77 make c6472 ENDIAN=big
78 popd
79 # Copy the files to the Binary package
80 cp -f src/make/ibl_c6472/i2crom_be.dat ibl_bin_$IBL_VERSION/c6472/be/
81 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6472/be/
82 cp -f src/util/i2cConfig/i2cparam_c6472.out   ibl_bin_$IBL_VERSION/c6472/be/
84 # Build c6474 le
85 pushd src/make
86 make clean
87 make c6474 ENDIAN=little
88 popd
89 # Copy the files to the Binary package
90 cp -f src/make/ibl_c6474/i2crom_le.dat ibl_bin_$IBL_VERSION/c6474/le/
91 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474/le/
92 cp -f src/util/i2cConfig/i2cparam_c6474.out   ibl_bin_$IBL_VERSION/c6474/le/
95 # Build c6474 be
96 pushd src/make
97 make clean
98 make c6474 ENDIAN=big
99 popd
100 # Copy the files to the Binary package
101 cp -f src/make/ibl_c6474/i2crom_be.dat ibl_bin_$IBL_VERSION/c6474/be/
102 cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474/be/
103 cp -f src/util/i2cConfig/i2cparam_c6474.out   ibl_bin_$IBL_VERSION/c6474/be/
105 # Build c6474l le
106 #pushd src/make
107 #make clean
108 #make c6474l ENDIAN=little
109 #popd
110 # Copy the files to the Binary package
111 #cp -f src/make/ibl_c6474l/i2crom_le.dat ibl_bin_$IBL_VERSION/c6474l/le/
112 #cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474l/le/
113 #cp -f src/util/i2cConfig/i2cparam_c6474l.out   ibl_bin_$IBL_VERSION/c6474l/le/
116 # Build c6474l be
117 #pushd src/make
118 #make clean
119 #make c6474l ENDIAN=big
120 #popd
121 # Copy the files to the Binary package
122 #cp -f src/make/ibl_c6474l/i2crom_be.dat ibl_bin_$IBL_VERSION/c6474l/be/
123 #cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6474l/be/
124 #cp -f src/util/i2cConfig/i2cparam_c6474l.out   ibl_bin_$IBL_VERSION/c6474l/be/
127 # Build c6457 le
128 #pushd src/make
129 #make clean
130 #make c6457 ENDIAN=little
131 #popd
132 # Copy the files to the Binary package
133 #cp -f src/make/ibl_c6457/i2crom_le.dat ibl_bin_$IBL_VERSION/c6457/le/
134 #cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6457/le/
135 #cp -f src/util/i2cConfig/i2cparam_c6457.out   ibl_bin_$IBL_VERSION/c6457/le/
138 # Build c6457 be
139 #pushd src/make
140 #make clean
141 #make c6457 ENDIAN=big
142 #popd
143 # Copy the files to the Binary package
144 #cp -f src/make/ibl_c6457/i2crom_be.dat ibl_bin_$IBL_VERSION/c6457/be/
145 #cp -f src/util/i2cWrite/i2cWrite.out   ibl_bin_$IBL_VERSION/c6457/be/
146 #cp -f src/util/i2cConfig/i2cparam_c6457.out   ibl_bin_$IBL_VERSION/c6457/be/
148 # Create Tar archive for binary package
149 tar -cvf ibl_bin_$IBL_VERSION.tar ibl_bin_$IBL_VERSION