fix: add romlib builds to juno
After migrating lts 2.10 to use mbedtls-3.6.1 we are hitting size
issues with gcc-12.3
[...]
aarch64-none-elf-ld.bfd: /ssd/tfa/tfa3/trusted-firmware-a/build/juno/debug/bl2/bl2.elf section `xlat_table' will not fit in region `RAM'
aarch64-none-elf-ld.bfd: BL2 image has exceeded its limit.
aarch64-none-elf-ld.bfd: region `RAM' overflowed by 4096 bytes
[...]
To workaround this issue use ROMLIB builds rather than migrating
to a newer gcc.
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
Change-Id: I24df5dc50febb07da91d2249db71f89f107f4b31
diff --git a/tf_config/juno-tzmp-mbedtls-ecdsa-opteed b/tf_config/juno-tzmp-mbedtls-ecdsa-opteed
index ae2040c..765d632 100644
--- a/tf_config/juno-tzmp-mbedtls-ecdsa-opteed
+++ b/tf_config/juno-tzmp-mbedtls-ecdsa-opteed
@@ -10,3 +10,4 @@
SPD=opteed
TF_MBEDTLS_KEY_ALG=rsa+ecdsa
TRUSTED_BOARD_BOOT=1
+USE_ROMLIB=1