fix: fix hanging BL2 at EL3 test
The following test job is currently failing:
tf-l2-boot-tests-bl2_el3/fvp-bl2-el3:fvp-linux-dtb.1t-fip.uboot-aemv8a.bl2_el3-debug
This was caused by BL2 being placed at the wrong fixed address when
taking into account the larger Trusted SRAM that was given for this test
configuration.
This change moves BL2 from 0x4022000 to 0x4032000, which is where it
needs to be for a 384KB TSRAM (subject to change):
0x4002000 + (fvp_tsram_size * 512)
Change-Id: I7abb405d395234319a5cb0c2c875929183c46e91
Signed-off-by: Chris Kay <chris.kay@arm.com>
diff --git a/script/build_package.sh b/script/build_package.sh
index 05d3dfd..4bef6c0 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -1464,6 +1464,9 @@
source "$plat_utils"
fi
+ fvp_tsram_size="$(get_tf_opt FVP_TRUSTED_SRAM_SIZE)"
+ fvp_tsram_size="${fvp_tsram_size:-256}"
+
poetry -C "$tf_root" install --without doc
archive="$build_archive"