diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2020-05-11 07:34:24 +0900 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2021-11-16 11:04:04 +0100 |
commit | 293615243bd7f502e407c35a2351cbb2ab0d16f0 (patch) | |
tree | 0fc91e296c5c2d38dbc7dc0f635fff615fbf2089 | |
parent | ea2367adbd654809de5245fa296358b9a37d562b (diff) | |
download | u-boot-293615243bd7f502e407c35a2351cbb2ab0d16f0.tar.gz u-boot-293615243bd7f502e407c35a2351cbb2ab0d16f0.tar.bz2 u-boot-293615243bd7f502e407c35a2351cbb2ab0d16f0.zip |
fip: add Amlogic prebuilt firmware files for Odroid-N2
Add amlogic prebilt firmware files for Odroind-N2.
It needs to make u-boot.bin.
Change-Id: I39b3b1145f4f9006632e97702db4e56cea651952
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | fip/aml_ddr.fw | bin | 0 -> 47968 bytes | |||
-rwxr-xr-x | fip/aml_encrypt_g12b | bin | 0 -> 1750647 bytes | |||
-rw-r--r-- | fip/bl2.n.bin.sig | bin | 0 -> 65536 bytes | |||
-rw-r--r-- | fip/bl30_new.bin.enc | bin | 0 -> 60560 bytes | |||
-rw-r--r-- | fip/bl30_new.bin.g12a.enc | bin | 0 -> 58368 bytes | |||
-rwxr-xr-x | fip/bl31.img | bin | 0 -> 169256 bytes | |||
-rw-r--r-- | fip/bl31.img.enc | bin | 0 -> 170896 bytes | |||
-rw-r--r-- | fip/blx_fix.sh | 40 | ||||
-rwxr-xr-x | fip/ddr3_1d.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/ddr4_1d.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/ddr4_2d.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/diag_lpddr4.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/lpddr4_1d.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/lpddr4_2d.fw | bin | 0 -> 49248 bytes | |||
-rwxr-xr-x | fip/piei.fw | bin | 0 -> 10088 bytes |
15 files changed, 40 insertions, 0 deletions
diff --git a/fip/aml_ddr.fw b/fip/aml_ddr.fw Binary files differnew file mode 100644 index 0000000000..a9a9d04202 --- /dev/null +++ b/fip/aml_ddr.fw diff --git a/fip/aml_encrypt_g12b b/fip/aml_encrypt_g12b Binary files differnew file mode 100755 index 0000000000..4c8187ccc7 --- /dev/null +++ b/fip/aml_encrypt_g12b diff --git a/fip/bl2.n.bin.sig b/fip/bl2.n.bin.sig Binary files differnew file mode 100644 index 0000000000..2f3f8c6d93 --- /dev/null +++ b/fip/bl2.n.bin.sig diff --git a/fip/bl30_new.bin.enc b/fip/bl30_new.bin.enc Binary files differnew file mode 100644 index 0000000000..4a413837b9 --- /dev/null +++ b/fip/bl30_new.bin.enc diff --git a/fip/bl30_new.bin.g12a.enc b/fip/bl30_new.bin.g12a.enc Binary files differnew file mode 100644 index 0000000000..7edcbc97bc --- /dev/null +++ b/fip/bl30_new.bin.g12a.enc diff --git a/fip/bl31.img b/fip/bl31.img Binary files differnew file mode 100755 index 0000000000..398d39dd3f --- /dev/null +++ b/fip/bl31.img diff --git a/fip/bl31.img.enc b/fip/bl31.img.enc Binary files differnew file mode 100644 index 0000000000..1ceb16acc0 --- /dev/null +++ b/fip/bl31.img.enc diff --git a/fip/blx_fix.sh b/fip/blx_fix.sh new file mode 100644 index 0000000000..f70817b4cb --- /dev/null +++ b/fip/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/ddr3_1d.fw b/fip/ddr3_1d.fw Binary files differnew file mode 100755 index 0000000000..16586ffe53 --- /dev/null +++ b/fip/ddr3_1d.fw diff --git a/fip/ddr4_1d.fw b/fip/ddr4_1d.fw Binary files differnew file mode 100755 index 0000000000..2a9db9830e --- /dev/null +++ b/fip/ddr4_1d.fw diff --git a/fip/ddr4_2d.fw b/fip/ddr4_2d.fw Binary files differnew file mode 100755 index 0000000000..f70d3a318e --- /dev/null +++ b/fip/ddr4_2d.fw diff --git a/fip/diag_lpddr4.fw b/fip/diag_lpddr4.fw Binary files differnew file mode 100755 index 0000000000..f12fa27c60 --- /dev/null +++ b/fip/diag_lpddr4.fw diff --git a/fip/lpddr4_1d.fw b/fip/lpddr4_1d.fw Binary files differnew file mode 100755 index 0000000000..6c98b7ab08 --- /dev/null +++ b/fip/lpddr4_1d.fw diff --git a/fip/lpddr4_2d.fw b/fip/lpddr4_2d.fw Binary files differnew file mode 100755 index 0000000000..5f01b352bf --- /dev/null +++ b/fip/lpddr4_2d.fw diff --git a/fip/piei.fw b/fip/piei.fw Binary files differnew file mode 100755 index 0000000000..94bff0891e --- /dev/null +++ b/fip/piei.fw |