Skip to contentSkip to conversation

TF-A patches from master to dunfell

DISCUSSION Jon Mason 1 participant 1 message Aug 8, 2020

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

Does anyone object to me pulling the following from master to dunfell:
commit 5b2d4560938ea75cc7c4064d067bf681f0f20ae6 (HEAD -> dunfell)

Author: Ross Burton <[email protected]>
Date:   Tue Jul 14 12:03:45 2020 +0100

arm-bsp/trusted-firmware-a: move machine customisations to the versioned appends

By having MACHINE_TFA_REQUIRE set and required in both the wildcard bbappend and the versioned append, the same file can get included twice which results in a warning from bitbake:

WARNING: trusted-firmware-a_2.3.bb: Duplicate inclusion for trusted-firmware-a-juno.inc in trusted-firmware-a_2.3.bbappend

Move the customisations from the wildcard bbappend to the specific version of trusted-firmware-a that is used for that platform to be clear about what platforms are supported and remove this warning.

Change-Id Ib220aedbf94fa11d21ddc6c5f9ac2c5de5c66b7a

commit 8b7ec0affa343631ee9877f3e8ccd2731d6f8a52

Author: Ross Burton <[email protected]>
Date:   Tue Jul 7 17:24:58 2020 +0100

arm-bsp/trusted-firmware-a: move A5 DesignStart to 2.3

0001-plat-arm-a5ds-move-dtb-to-a-new-address.patch was never applied, and has been merged upstream so drop it.

The recipe was using the _git.bb recipe and setting the SRCREV to a commit 300+ commits past 2.2 but not quite 2.3. Instead, just use 2.3.

Change-Id I76aee592e7ce3ec23268872d7f202efa945e5e59

commit 96248a0eac73e990b767813c9b4e698fb76cf896

Author: Ross Burton <[email protected]>
Date:   Tue Jul 7 17:24:59 2020 +0100

arm-bsp/trusted-firmware-a: consolidate FILESEXTRAPATHS

There's no need to set FILESEXTRAPATHS to "${THISDIR}/files/n1sdp:" when n1sdp is the name of the current MACHINE as bitbake will search for override-named directories automatically.

Instead just add ${THISDIR}/files and let bitbake do it's thing.

Change-Id I0f58933ff9e56ee41a8fdd55f467d263c4e1b1e7

It corrects the issue on dunfell of:
WARNING: /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb: Duplicate inclusion for /home/jdm/yocto/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-juno.inc in /home/jdm/yocto/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bbappend
WARNING: /home/jdm/yocto/meta-arm/meta-arm/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bb: Duplicate inclusion for /home/jdm/yocto/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-juno.inc in /home/jdm/yocto/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bbappend

Thanks,
Jon