From: Jaehoon Chung Date: Mon, 25 May 2020 06:49:47 +0000 (+0900) Subject: fip: move files to n2 directory X-Git-Tag: submit/tizen/20201110.005738~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eae887179d8ce65141587b141f336a1935ea44ee;p=platform%2Fkernel%2Fu-boot.git fip: move files to n2 directory Move files to n2 directory. Change-Id: Ifef7645fa876069a933462e647c6d839d92ab7bb Signed-off-by: Jaehoon Chung --- diff --git a/fip/aml_ddr.fw b/fip/aml_ddr.fw deleted file mode 100644 index a9a9d04202..0000000000 Binary files a/fip/aml_ddr.fw and /dev/null differ diff --git a/fip/bl2.n.bin.sig b/fip/bl2.n.bin.sig deleted file mode 100644 index 2f3f8c6d93..0000000000 Binary files a/fip/bl2.n.bin.sig and /dev/null differ diff --git a/fip/bl30_new.bin.enc b/fip/bl30_new.bin.enc deleted file mode 100644 index 4a413837b9..0000000000 Binary files a/fip/bl30_new.bin.enc and /dev/null differ diff --git a/fip/bl30_new.bin.g12a.enc b/fip/bl30_new.bin.g12a.enc deleted file mode 100644 index 7edcbc97bc..0000000000 Binary files a/fip/bl30_new.bin.g12a.enc and /dev/null differ diff --git a/fip/bl31.img b/fip/bl31.img deleted file mode 100755 index 398d39dd3f..0000000000 Binary files a/fip/bl31.img and /dev/null differ diff --git a/fip/bl31.img.enc b/fip/bl31.img.enc deleted file mode 100644 index 1ceb16acc0..0000000000 Binary files a/fip/bl31.img.enc and /dev/null differ diff --git a/fip/blx_fix.sh b/fip/blx_fix.sh deleted file mode 100644 index f70817b4cb..0000000000 --- a/fip/blx_fix.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/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/fip/ddr3_1d.fw b/fip/ddr3_1d.fw deleted file mode 100755 index 16586ffe53..0000000000 Binary files a/fip/ddr3_1d.fw and /dev/null differ diff --git a/fip/ddr4_1d.fw b/fip/ddr4_1d.fw deleted file mode 100755 index 2a9db9830e..0000000000 Binary files a/fip/ddr4_1d.fw and /dev/null differ diff --git a/fip/ddr4_2d.fw b/fip/ddr4_2d.fw deleted file mode 100755 index f70d3a318e..0000000000 Binary files a/fip/ddr4_2d.fw and /dev/null differ diff --git a/fip/diag_lpddr4.fw b/fip/diag_lpddr4.fw deleted file mode 100755 index f12fa27c60..0000000000 Binary files a/fip/diag_lpddr4.fw and /dev/null differ diff --git a/fip/lpddr4_1d.fw b/fip/lpddr4_1d.fw deleted file mode 100755 index 6c98b7ab08..0000000000 Binary files a/fip/lpddr4_1d.fw and /dev/null differ diff --git a/fip/lpddr4_2d.fw b/fip/lpddr4_2d.fw deleted file mode 100755 index 5f01b352bf..0000000000 Binary files a/fip/lpddr4_2d.fw and /dev/null differ diff --git a/fip/n2/aml_ddr.fw b/fip/n2/aml_ddr.fw new file mode 100644 index 0000000000..a9a9d04202 Binary files /dev/null and b/fip/n2/aml_ddr.fw differ diff --git a/fip/n2/bl2.n.bin.sig b/fip/n2/bl2.n.bin.sig new file mode 100644 index 0000000000..2f3f8c6d93 Binary files /dev/null and b/fip/n2/bl2.n.bin.sig differ diff --git a/fip/n2/bl30_new.bin.enc b/fip/n2/bl30_new.bin.enc new file mode 100644 index 0000000000..4a413837b9 Binary files /dev/null and b/fip/n2/bl30_new.bin.enc differ diff --git a/fip/n2/bl30_new.bin.g12a.enc b/fip/n2/bl30_new.bin.g12a.enc new file mode 100644 index 0000000000..7edcbc97bc Binary files /dev/null and b/fip/n2/bl30_new.bin.g12a.enc differ diff --git a/fip/n2/bl31.img b/fip/n2/bl31.img new file mode 100755 index 0000000000..398d39dd3f Binary files /dev/null and b/fip/n2/bl31.img differ diff --git a/fip/n2/bl31.img.enc b/fip/n2/bl31.img.enc new file mode 100644 index 0000000000..1ceb16acc0 Binary files /dev/null and b/fip/n2/bl31.img.enc differ diff --git a/fip/n2/blx_fix.sh b/fip/n2/blx_fix.sh new file mode 100644 index 0000000000..f70817b4cb --- /dev/null +++ b/fip/n2/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/fip/n2/ddr3_1d.fw b/fip/n2/ddr3_1d.fw new file mode 100755 index 0000000000..16586ffe53 Binary files /dev/null and b/fip/n2/ddr3_1d.fw differ diff --git a/fip/n2/ddr4_1d.fw b/fip/n2/ddr4_1d.fw new file mode 100755 index 0000000000..2a9db9830e Binary files /dev/null and b/fip/n2/ddr4_1d.fw differ diff --git a/fip/n2/ddr4_2d.fw b/fip/n2/ddr4_2d.fw new file mode 100755 index 0000000000..f70d3a318e Binary files /dev/null and b/fip/n2/ddr4_2d.fw differ diff --git a/fip/n2/diag_lpddr4.fw b/fip/n2/diag_lpddr4.fw new file mode 100755 index 0000000000..f12fa27c60 Binary files /dev/null and b/fip/n2/diag_lpddr4.fw differ diff --git a/fip/n2/lpddr4_1d.fw b/fip/n2/lpddr4_1d.fw new file mode 100755 index 0000000000..6c98b7ab08 Binary files /dev/null and b/fip/n2/lpddr4_1d.fw differ diff --git a/fip/n2/lpddr4_2d.fw b/fip/n2/lpddr4_2d.fw new file mode 100755 index 0000000000..5f01b352bf Binary files /dev/null and b/fip/n2/lpddr4_2d.fw differ diff --git a/fip/n2/piei.fw b/fip/n2/piei.fw new file mode 100755 index 0000000000..94bff0891e Binary files /dev/null and b/fip/n2/piei.fw differ diff --git a/fip/piei.fw b/fip/piei.fw deleted file mode 100755 index 94bff0891e..0000000000 Binary files a/fip/piei.fw and /dev/null differ