Skip to contentSkip to conversation

linux: Temporarily backport previous fitimage classes

PATCH New Ryan Eatmon 1 participant 1 message Jun 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux: Temporarily backport previous fitimage classes

A recent set of changes on oe-core has dramatically revamped the fitimage generation code. It is initially unclear how to fold those change into our flow, so in the short term we will copy the previous versions of the kernel bbclass files from a commit before [1] any changes to the class files.

As soon as we figure it out, these files will be removed. This just help unblock anyone trying to build on master including meta-ti-bsp.

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

---
v2: Add updates for the meta-beagle kernel recipes as well.

 .../recipes-kernel/linux/linux-bb.org_6.1.bb  |   2 +-
 .../recipes-kernel/linux/linux-bb.org_6.12.bb |   2 +-
 .../recipes-kernel/linux/linux-bb.org_6.6.bb  |   2 +-
 .../kernel-fitimage-deprecated.bbclass        | 839 +++++++++++++++++
 .../classes/kernel-fitimage-legacyhs.bbclass  |   2 +-
 .../classes/kernel-uboot-deprecated.bbclass   |  51 +
 meta-ti-bsp/classes/kernel_deprecated.bbclass | 869 ++++++++++++++++++
 meta-ti-bsp/conf/machine/include/k3.inc       |   2 +-
 .../conf/machine/include/ti-falcon.inc        |   2 +-
 .../linux/linux-ti-mainline_git.bb            |   2 +-
 .../linux/linux-ti-staging_6.1.bb             |   2 +-
 .../linux/linux-ti-staging_6.12.bb            |   2 +-
 .../linux/linux-ti-staging_6.6.bb             |   2 +-
 13 files changed, 1769 insertions(+), 10 deletions(-)
 create mode 100644 meta-ti-bsp/classes/kernel-fitimage-deprecated.bbclass
 create mode 100644 meta-ti-bsp/classes/kernel-uboot-deprecated.bbclass
 create mode 100644 meta-ti-bsp/classes/kernel_deprecated.bbclass
meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb +1 -1
index 063bcac3..ceb9787e 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 COMPATIBLE_MACHINE = "beagle.*"
 
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb +1 -1
index bdfd4646..57f7d983 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*"
 
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb +1 -1
index 3183a0bd..d6a4ae96 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 COMPATIBLE_MACHINE = "beagle.*"
 
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
meta-ti-bsp/classes/kernel-fitimage-deprecated.bbclass new file +839 -0

839 lines not on this page · raw message

meta-ti-bsp/classes/kernel-fitimage-legacyhs.bbclass +1 -1
index 61813555..ca133457 100644
@@ -1,4 +1,4 @@
-inherit ti-secdev kernel-uboot uboot-sign-legacyhs
+inherit ti-secdev kernel-uboot-deprecated uboot-sign-legacyhs
 
 FITIMAGE_HASH_ALGO ?= "sha1"
 FITIMAGE_PACK_TEE ?= "0"
meta-ti-bsp/classes/kernel-uboot-deprecated.bbclass new file +51 -0

51 lines not on this page · raw message

meta-ti-bsp/classes/kernel_deprecated.bbclass new file +869 -0

869 lines not on this page · raw message

meta-ti-bsp/conf/machine/include/k3.inc +1 -1
index 8d45a329..ec9a8944 100644
@@ -10,7 +10,7 @@ require conf/machine/include/ti-bsp.inc
 
 KERNEL_IMAGETYPE = "Image"
 KERNEL_IMAGETYPES = "Image fitImage"
-KERNEL_CLASSES += "kernel-fitimage"
+KERNEL_CLASSES += "kernel-fitimage-deprecated"
 
 UBOOT_ARCH = "arm"
 UBOOT_ENTRYPOINT = "0x81000000"
meta-ti-bsp/conf/machine/include/ti-falcon.inc +1 -1
index 0b938470..252fb28a 100644
@@ -1,5 +1,5 @@
 IMAGE_INSTALL:append = " u-boot-ti-staging-falcon"
-KERNEL_CLASSES:remove = "kernel-fitimage"
+KERNEL_CLASSES:remove = "kernel-fitimage-deprecated"
 KERNEL_CLASSES += "kernel-fitimage-legacyhs"
 UBOOT_DTB_LOADADDRESS = "0x88000000"
 UBOOT_LOADADDRESS = "0x82000000"
meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb +1 -1
index b4ec47bc..4e9ae3a1 100644
@@ -3,7 +3,7 @@ SUMMARY = "Mainline Linux kernel for TI devices"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/ti-kernel.inc
 
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +1 -1
index 8208e930..7c91a3d4 100644
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 inherit ti-secdev
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +1 -1
index c250a9a2..03a3746a 100644
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 inherit ti-secdev
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +1 -1
index 17bcd300..1eaa859d 100644
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 inherit ti-secdev
-inherit kernel
+inherit kernel_deprecated
 
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
Signature · 1 line
2.17.1