Skip to content

Commit ebfb06e

Browse files
committed
add VIM3 FIP files
0 parents  commit ebfb06e

16 files changed

+40
-0
lines changed

acs.bin

1.67 KB
Binary file not shown.

aml_ddr.fw

45.9 KB
Binary file not shown.

aml_encrypt_g12b

1.67 MB
Binary file not shown.

bl2.bin

53.7 KB
Binary file not shown.

bl30.bin

40 KB
Binary file not shown.

bl301.bin

8.41 KB
Binary file not shown.

bl31.img

165 KB
Binary file not shown.

blx_fix.sh

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/bin/bash
2+
3+
#bl2 file size 41K, bl21 file size 3K (file size not equal runtime size)
4+
#total 44K
5+
#after encrypt process, bl2 add 4K header, cut off 4K tail
6+
7+
#bl30 limit 41K
8+
#bl301 limit 12K
9+
#bl2 limit 41K
10+
#bl21 limit 3K, but encrypt tool need 48K bl2.bin, so fix to 7168byte.
11+
12+
#$7:name flag
13+
if [ "$7" = "bl30" ]; then
14+
declare blx_bin_limit=40960
15+
declare blx01_bin_limit=13312
16+
elif [ "$7" = "bl2" ]; then
17+
declare blx_bin_limit=57344
18+
declare blx01_bin_limit=4096
19+
else
20+
echo "blx_fix name flag not supported!"
21+
exit 1
22+
fi
23+
24+
# blx_size: blx.bin size, zero_size: fill with zeros
25+
declare -i blx_size=`du -b $1 | awk '{print int($1)}'`
26+
declare -i zero_size=$blx_bin_limit-$blx_size
27+
dd if=/dev/zero of=$2 bs=1 count=$zero_size
28+
cat $1 $2 > $3
29+
rm $2
30+
31+
declare -i blx01_size=`du -b $4 | awk '{print int($1)}'`
32+
declare -i zero_size_01=$blx01_bin_limit-$blx01_size
33+
dd if=/dev/zero of=$2 bs=1 count=$zero_size_01
34+
cat $4 $2 > $5
35+
36+
cat $3 $5 > $6
37+
38+
rm $2
39+
40+
exit 0

ddr3_1d.fw

48.1 KB
Binary file not shown.

ddr4_1d.fw

48.1 KB
Binary file not shown.

ddr4_2d.fw

48.1 KB
Binary file not shown.

diag_lpddr4.fw

48.1 KB
Binary file not shown.

lpddr3_1d.fw

48.1 KB
Binary file not shown.

lpddr4_1d.fw

48.1 KB
Binary file not shown.

lpddr4_2d.fw

48.1 KB
Binary file not shown.

piei.fw

9.85 KB
Binary file not shown.

0 commit comments

Comments
 (0)