fip: s6: bl30 binary size need enlarge [1/1]
PD#SWPL-149281
Problem:
s6 bl30 binary size need enlarge
Solution:
use new acpu-imagetool and enlarge bl30 binary size
Verify:
s6
Change-Id: Ib433861bc93af295a0d2e38e22a38002b8469e31
Signed-off-by: Bo Lv <bo.lv@amlogic.com>
diff --git a/s6/bin/gen-bl.sh b/s6/bin/gen-bl.sh
index 3aa902d..7c46101 100755
--- a/s6/bin/gen-bl.sh
+++ b/s6/bin/gen-bl.sh
@@ -49,6 +49,7 @@
### Features, flags and switches ###
EXEC_ARGS="${EXEC_ARGS} --header-layout=mini"
+EXEC_ARGS="${EXEC_ARGS} --size-payload-bl30=90112"
if [ "$CS_SIGNING_SCHEME" == "rsa" ]; then
EXEC_ARGS="${EXEC_ARGS} --chipset-authen-algorithm=rsa,none"
elif [ "$CS_SIGNING_SCHEME" == "rsa-mldsa" ]; then
diff --git a/s6/bin/gen-bl3x-blobs.sh b/s6/bin/gen-bl3x-blobs.sh
index 1fabcef..06c902d 100755
--- a/s6/bin/gen-bl3x-blobs.sh
+++ b/s6/bin/gen-bl3x-blobs.sh
@@ -92,6 +92,7 @@
### full Device FIP Header
EXEC_ARGS="${EXEC_ARGS} --header-layout=mini"
+EXEC_ARGS="${EXEC_ARGS} --size-payload-bl30=90112"
#echo ${EXEC_ARGS}
diff --git a/s6/binary-tool/acpu-imagetool b/s6/binary-tool/acpu-imagetool
index d3e05a5..78f9632 100755
--- a/s6/binary-tool/acpu-imagetool
+++ b/s6/binary-tool/acpu-imagetool
Binary files differ
diff --git a/s6/build.sh b/s6/build.sh
index ffba960..3ede541 100755
--- a/s6/build.sh
+++ b/s6/build.sh
@@ -290,6 +290,7 @@
--infile-bl33-payload=${payload}/bl33.bin \
--outfile-device-fip=${output}/device-fip.bin \
--header-layout=mini \
+ --size-payload-bl30=90112 \
--chipset-authen-algorithm=rsa,mldsa-draft1 \
--device-authen-algorithm=rsa,mldsa-draft1
diff --git a/s6/variable_soc.sh b/s6/variable_soc.sh
index 2e50ff5..2a1534b 100755
--- a/s6/variable_soc.sh
+++ b/s6/variable_soc.sh
@@ -74,7 +74,7 @@
"102400" \
"NULL")
-declare BL30_BIN_SIZE="65536"
+declare BL30_BIN_SIZE="90112"
declare BL33_BIN_SIZE="1572864"
declare DEV_ACS_BIN_SIZE="7168"
declare -a BLX_RAWBIN_NAME=("bl2.bin.sto" \