3 Commits
Author SHA1 Message Date
Denys Dmytriyenko (TI) b2c5a3d2e6 kernel_legacyhs: fix building/installing DTBs
A recent change in OE-Core kernel-devicetree.bbclass [1] changed appending
code for devicetree from exported do_*() functions to :append to their
unexported kernel_do_*() variant. But our copy of kernel_legacyhs.bbclass
doesn't define those, using kernel_legacyhs_do_*() names instead, due to
how function exporting works using the class name as a prefix.

In order to unreak devicetree building/installing, we need to provide
empty stubs for kernel_do_*() functions for the :append to work and
then call then at the end of our respective kernel_legacyhs_do_*()
functions.

[1] https://git.openembedded.org/openembedded-core/commit/?id=350281188267d0ad7c7e44a6ae3990edcfbe0300

Signed-off-by: Denys Dmytriyenko (TI) <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-08-12 16:32:41 -05:00
Ryan Eatmon 13c3d215e5 kernel_legacyhs: Adapt to recent changes in oe-core
Three recent changes in oe-core [1], [2] and [3] have moved around
various things with the kernel classes.  Since we have our own copy
of the old kernel class we need to adapt to the changes.

[1] https://git.openembedded.org/openembedded-core/commit/?id=945f3faa4909b226996eff62bf55fa586a5279fa
[2] https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1
[3] https://git.openembedded.org/openembedded-core/commit/?id=06057ac24f74ce5de74dfc7b479a1e2c796bcdcd

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2026-08-11 15:51:05 -05:00
Ryan Eatmon f549cd0870 linux-ti-*: Fix support for building legacy HS platforms
The legacy HS platforms (am335x-hs-evm, am437x-hs-evm, and
am57xx-hs-evm) are not using the new fitImage flow, but the kernels all
include the kernel.bbclass which disallows the old fitImage flow.

Copy in the last version of the kernel.bbclass and name it
kernel_legacyhs.bbclass, and update the machine configs to defined a
variable to use as the KERNEL_BASE_CLASS to inherit.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2025-07-25 15:45:19 -05:00