diff --git a/acs.bin b/acs.bin new file mode 100755 index 000000000000..2862814cdb6b Binary files /dev/null and b/acs.bin differ diff --git a/aml_ddr.fw b/aml_ddr.fw new file mode 100755 index 000000000000..463004ec36f4 Binary files /dev/null and b/aml_ddr.fw differ diff --git a/aml_encrypt_g12b b/aml_encrypt_g12b new file mode 100755 index 000000000000..4c8187ccc7b8 Binary files /dev/null and b/aml_encrypt_g12b differ diff --git a/bl2.bin b/bl2.bin new file mode 100755 index 000000000000..55653897963c Binary files /dev/null and b/bl2.bin differ diff --git a/bl30.bin b/bl30.bin new file mode 100755 index 000000000000..c8934d0605d2 Binary files /dev/null and b/bl30.bin differ diff --git a/bl301.bin b/bl301.bin new file mode 100755 index 000000000000..d74cddeb2533 Binary files /dev/null and b/bl301.bin differ diff --git a/bl31.img b/bl31.img new file mode 100755 index 000000000000..ecd05b088198 Binary files /dev/null and b/bl31.img differ diff --git a/blx_fix.sh b/blx_fix.sh new file mode 100755 index 000000000000..f70817b4cb85 --- /dev/null +++ b/blx_fix.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +#bl2 file size 41K, bl21 file size 3K (file size not equal runtime size) +#total 44K +#after encrypt process, bl2 add 4K header, cut off 4K tail + +#bl30 limit 41K +#bl301 limit 12K +#bl2 limit 41K +#bl21 limit 3K, but encrypt tool need 48K bl2.bin, so fix to 7168byte. + +#$7:name flag +if [ "$7" = "bl30" ]; then + declare blx_bin_limit=40960 + declare blx01_bin_limit=13312 +elif [ "$7" = "bl2" ]; then + declare blx_bin_limit=57344 + declare blx01_bin_limit=4096 +else + echo "blx_fix name flag not supported!" + exit 1 +fi + +# blx_size: blx.bin size, zero_size: fill with zeros +declare -i blx_size=`du -b $1 | awk '{print int($1)}'` +declare -i zero_size=$blx_bin_limit-$blx_size +dd if=/dev/zero of=$2 bs=1 count=$zero_size +cat $1 $2 > $3 +rm $2 + +declare -i blx01_size=`du -b $4 | awk '{print int($1)}'` +declare -i zero_size_01=$blx01_bin_limit-$blx01_size +dd if=/dev/zero of=$2 bs=1 count=$zero_size_01 +cat $4 $2 > $5 + +cat $3 $5 > $6 + +rm $2 + +exit 0 diff --git a/ddr3_1d.fw b/ddr3_1d.fw new file mode 100755 index 000000000000..16586ffe5383 Binary files /dev/null and b/ddr3_1d.fw differ diff --git a/ddr4_1d.fw b/ddr4_1d.fw new file mode 100755 index 000000000000..2a9db9830eee Binary files /dev/null and b/ddr4_1d.fw differ diff --git a/ddr4_2d.fw b/ddr4_2d.fw new file mode 100755 index 000000000000..f70d3a318ea6 Binary files /dev/null and b/ddr4_2d.fw differ diff --git a/diag_lpddr4.fw b/diag_lpddr4.fw new file mode 100755 index 000000000000..f12fa27c6023 Binary files /dev/null and b/diag_lpddr4.fw differ diff --git a/lpddr3_1d.fw b/lpddr3_1d.fw new file mode 100755 index 000000000000..7177d0d69056 Binary files /dev/null and b/lpddr3_1d.fw differ diff --git a/lpddr4_1d.fw b/lpddr4_1d.fw new file mode 100755 index 000000000000..6c98b7ab084e Binary files /dev/null and b/lpddr4_1d.fw differ diff --git a/lpddr4_2d.fw b/lpddr4_2d.fw new file mode 100755 index 000000000000..5f01b352bf0c Binary files /dev/null and b/lpddr4_2d.fw differ diff --git a/piei.fw b/piei.fw new file mode 100755 index 000000000000..94bff0891e2a Binary files /dev/null and b/piei.fw differ