| Message ID | 20251221004843.31946-5-twoerner@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-rockchip,v2,1/5] kmeta reorganization | expand |
Hi Trevor, On 12/21/25 1:48 AM, Trevor Woerner via lists.yoctoproject.org wrote: > 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. > Thanks for pinging me in private on this. And thanks for the quick band-aid patch to fix the build :) This patch is probably not enough. I believe all SoCs are impacted by this issue. I think this is due to 7bce36a2c64b ("arm/trusted-firmware-a: Use firmware.bbclass") in meta-arm which now uses firmware.bbclass, which deploys in a per-recipe directory in DEPLOY_IMAGE_DIR instead of dumping stuff directly there. Checking now... ping me next week if I haven't answered here or sent a patch to fix it. Cheers, Quentin
diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend b/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bbappend index 4c7fc3c4c180..7c94b646c316 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
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 <twoerner@gmail.com> --- changes since v1: - none --- .../trusted-firmware-a/trusted-firmware-a_%.bbappend | 11 +++++++++++ 1 file changed, 11 insertions(+)