On Tue, Jan 03, 2023 at 11:50:13AM -0600, Andrew Davis via 
lists.yoctoproject.org wrote:
> These were in the meta-arago layer, but any distro should be able
> to run on HS devices. So move the classes and setup to the BSP layer.

Well, the class itself hasn't been updated for long time, besides few fixes 
and the rename. I guess since it is used for legacy platforms, not much can be 
done...


> Signed-off-by: Andrew Davis <[email protected]>
> ---
>  .../classes/kernel-fitimage-legacyhs.bbclass  | 758 ++++++++++++++++++
>  .../classes/uboot-sign-legacyhs.bbclass       | 131 +++
>  meta-ti-bsp/conf/machine/am335x-hs-evm.conf   |  10 +
>  meta-ti-bsp/conf/machine/am437x-hs-evm.conf   |  11 +
>  meta-ti-bsp/conf/machine/am57xx-hs-evm.conf   |  11 +
>  meta-ti-bsp/conf/machine/dra7xx-hs-evm.conf   |  11 +
>  6 files changed, 932 insertions(+)
>  create mode 100644 meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass
>  create mode 100644 meta-ti-bsp/classes/uboot-sign-legacyhs.bbclass

<snip>


> diff --git a/meta-ti-bsp/conf/machine/am335x-hs-evm.conf 
> b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf
> index 7caa5bfd..aef0d3aa 100644
> --- a/meta-ti-bsp/conf/machine/am335x-hs-evm.conf
> +++ b/meta-ti-bsp/conf/machine/am335x-hs-evm.conf
> @@ -16,3 +16,13 @@ UBOOT_RD_LOADADDRESS = "0x84000000"
>  UBOOT_RD_ENTRYPOINT = "0x84000000"
>  
>  TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
> +
> +# FIT image for legacy secure devices
> +KERNEL_CLASSES:append = " kernel-fitimage-legacyhs"
> +KERNEL_IMAGETYPES:append = " fitImage"

Better use += here. Originally these were machine-specific appends in the 
distro config, but can and should be simply += here in the machine configs. 
As append and remove overrides are very hard to undo downstream.

Same comment for all 4 platforms, of course.

-- 
Denys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15514): 
https://lists.yoctoproject.org/g/meta-ti/message/15514
Mute This Topic: https://lists.yoctoproject.org/mt/96033249/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to