Add build and run configs to exercise ARM_LINUX_KERNEL_AS_BL33 feature
This patch also adds test configurations that boot Linux kernel
directly without a normal world bootloader such as U-Boot
Refer to the following patches which fix the false dependency of
ARM_LINUX_KERNEL_AS_BL33 on RESET_TO_BL31 feature:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/8353
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/8352
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I2eb1dfcc3ee6b4417a887c0bd3840f3d9da20dd0
diff --git a/script/build_package.sh b/script/build_package.sh
index f4ea34b..1bfaee2 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -412,9 +412,12 @@
# Update hw-config in FIP, and remove the original DTB afterwards.
update_fip_hw_config() {
# The DTB needs to be loaded by the model (and not updated in the FIP)
- # in configs where BL2 isn't present
+ # in configs:
+ # 1. Where BL2 isn't present
+ # 2. Where we boot to Linux directly as BL33
case "1" in
"$(get_tf_opt RESET_TO_BL31)" | \
+ "$(get_tf_opt ARM_LINUX_KERNEL_AS_BL33)" | \
"$(get_tf_opt RESET_TO_SP_MIN)" | \
"$(get_tf_opt BL2_AT_EL3)")
return 0;;