On 1/3/23 8:44 PM, Denys Dmytriyenko wrote:
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...
Right, wasn't sure if it was worth updating to match the latest in upstream,
but if it is not broke lets not fix it today..
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.
Makes sense, will fix for v2.
Thanks,
Andrew
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15520):
https://lists.yoctoproject.org/g/meta-ti/message/15520
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]]
-=-=-=-=-=-=-=-=-=-=-=-