From 2a13a49da4af4487ee71db6aff19364220da694a Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Thu, 18 Dec 2025 21:56:43 -0500 Subject: [PATCH] fix u-boot for tf-a firmware A change was made in the location and name of the bl31 artifact for device firmware built with trusted-firmware-a. Update the build to match so these devices continue to build successfully. Signed-off-by: Trevor Woerner --- .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 4c7fc3c..7c94b64 100644 --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend @@ -47,3 +47,14 @@ fixup_baudrate:rk3588s() { # If you use upstream U-Boot with SPL_ATF_NO_PLATFORM_PARAM disabled, you can # simply override this function to do nothing. do_patch[postfuncs] += "fixup_baudrate" + +do_deploy() { + : +} +do_deploy:rk3328() { + cp -rf ${D}/firmware/trusted-firmware-a/bl31.elf ${DEPLOYDIR}/bl31-rk3328.elf +} +do_deploy:rk3399() { + cp -rf ${D}/firmware/trusted-firmware-a/bl31.elf ${DEPLOYDIR}/bl31-rk3399.elf +} +addtask deploy after do_install