diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2025-07-01 21:46:14 -0400 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-07-12 10:15:31 -0500 |
commit | ccf4a5e89d734d47d5239f57453d13d5d34f393c (patch) | |
tree | 3578791f1da2fd755afa3c0ddd527f4f1821c0fb | |
parent | a598566a332b20cf60561d3df93e92db432f7dc3 (diff) | |
download | meta-ti-ccf4a5e89d734d47d5239f57453d13d5d34f393c.tar.gz |
meta-ti-bsp, meta-beagle: switch to the new FIT image wrapper
Switch all kernel recipes and K3 based platforms to use the new
FIT image wrapper functionality.
Update FIT default DTB entry to not contain vendor dubdir, as it
is now handled through a conf prefix.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
15 files changed, 19 insertions, 19 deletions
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb index 067c9ddf..320ee60b 100644 --- a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.1.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | |||
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "beagle.*" | 9 | COMPATIBLE_MACHINE = "beagle.*" |
10 | 10 | ||
11 | inherit kernel_deprecated | 11 | inherit kernel |
12 | 12 | ||
13 | require recipes-kernel/linux/setup-defconfig.inc | 13 | require recipes-kernel/linux/setup-defconfig.inc |
14 | require recipes-kernel/linux/ti-kernel.inc | 14 | require recipes-kernel/linux/ti-kernel.inc |
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb index 4146bfb4..b7e609e6 100644 --- a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.12.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | |||
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" | 9 | COMPATIBLE_MACHINE = "pocketbeagle2|beagle.*" |
10 | 10 | ||
11 | inherit kernel_deprecated | 11 | inherit kernel |
12 | 12 | ||
13 | require recipes-kernel/linux/setup-defconfig.inc | 13 | require recipes-kernel/linux/setup-defconfig.inc |
14 | require recipes-kernel/linux/ti-kernel.inc | 14 | require recipes-kernel/linux/ti-kernel.inc |
diff --git a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb index 3fcd5454..6a1f7868 100644 --- a/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb +++ b/meta-beagle/recipes-kernel/linux/linux-bb.org_6.6.bb | |||
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | |||
8 | 8 | ||
9 | COMPATIBLE_MACHINE = "beagle.*" | 9 | COMPATIBLE_MACHINE = "beagle.*" |
10 | 10 | ||
11 | inherit kernel_deprecated | 11 | inherit kernel |
12 | 12 | ||
13 | require recipes-kernel/linux/setup-defconfig.inc | 13 | require recipes-kernel/linux/setup-defconfig.inc |
14 | require recipes-kernel/linux/ti-kernel.inc | 14 | require recipes-kernel/linux/ti-kernel.inc |
diff --git a/meta-ti-bsp/conf/machine/am62axx-evm.conf b/meta-ti-bsp/conf/machine/am62axx-evm.conf index faeb34a9..b83edeae 100644 --- a/meta-ti-bsp/conf/machine/am62axx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62axx-evm.conf | |||
@@ -20,6 +20,6 @@ KERNEL_DEVICETREE = " \ | |||
20 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | 20 | ti/k3-am62x-sk-hdmi-audio.dtbo \ |
21 | " | 21 | " |
22 | 22 | ||
23 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62a7-sk.dtb" | 23 | FIT_CONF_DEFAULT_DTB = "k3-am62a7-sk.dtb" |
24 | 24 | ||
25 | UBOOT_MACHINE = "am62ax_evm_a53_defconfig" | 25 | UBOOT_MACHINE = "am62ax_evm_a53_defconfig" |
diff --git a/meta-ti-bsp/conf/machine/am62dxx-evm.conf b/meta-ti-bsp/conf/machine/am62dxx-evm.conf index 1e41c53c..e1ef260b 100644 --- a/meta-ti-bsp/conf/machine/am62dxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62dxx-evm.conf | |||
@@ -11,7 +11,7 @@ KERNEL_DEVICETREE_PREFIX = " \ | |||
11 | 11 | ||
12 | KERNEL_DEVICETREE = "" | 12 | KERNEL_DEVICETREE = "" |
13 | 13 | ||
14 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62d2-evm.dtb" | 14 | FIT_CONF_DEFAULT_DTB = "k3-am62d2-evm.dtb" |
15 | 15 | ||
16 | UBOOT_MACHINE = "am62dx_evm_a53_defconfig" | 16 | UBOOT_MACHINE = "am62dx_evm_a53_defconfig" |
17 | 17 | ||
diff --git a/meta-ti-bsp/conf/machine/am62pxx-evm.conf b/meta-ti-bsp/conf/machine/am62pxx-evm.conf index 09f0d1fb..cdde69eb 100644 --- a/meta-ti-bsp/conf/machine/am62pxx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62pxx-evm.conf | |||
@@ -21,7 +21,7 @@ KERNEL_DEVICETREE = " \ | |||
21 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | 21 | ti/k3-am62x-sk-hdmi-audio.dtbo \ |
22 | " | 22 | " |
23 | 23 | ||
24 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb" | 24 | FIT_CONF_DEFAULT_DTB = "k3-am62p5-sk.dtb" |
25 | 25 | ||
26 | UBOOT_MACHINE = "am62px_evm_a53_defconfig" | 26 | UBOOT_MACHINE = "am62px_evm_a53_defconfig" |
27 | 27 | ||
diff --git a/meta-ti-bsp/conf/machine/am62xx-evm.conf b/meta-ti-bsp/conf/machine/am62xx-evm.conf index c826439b..298fc170 100644 --- a/meta-ti-bsp/conf/machine/am62xx-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-evm.conf | |||
@@ -31,6 +31,6 @@ KERNEL_DEVICETREE = " \ | |||
31 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | 31 | ti/k3-am62x-sk-hdmi-audio.dtbo \ |
32 | " | 32 | " |
33 | 33 | ||
34 | FIT_CONF_DEFAULT_DTB = "ti/k3-am625-sk.dtb" | 34 | FIT_CONF_DEFAULT_DTB = "k3-am625-sk.dtb" |
35 | 35 | ||
36 | UBOOT_MACHINE = "am62x_evm_a53_defconfig" | 36 | UBOOT_MACHINE = "am62x_evm_a53_defconfig" |
diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf index 37f4a644..32e88051 100644 --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | |||
@@ -23,6 +23,6 @@ KERNEL_DEVICETREE = " \ | |||
23 | ti/k3-am62x-sk-hdmi-audio.dtbo \ | 23 | ti/k3-am62x-sk-hdmi-audio.dtbo \ |
24 | " | 24 | " |
25 | 25 | ||
26 | FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb" | 26 | FIT_CONF_DEFAULT_DTB = "k3-am62-lp-sk.dtb" |
27 | 27 | ||
28 | UBOOT_MACHINE = "am62x_lpsk_a53_defconfig" | 28 | UBOOT_MACHINE = "am62x_lpsk_a53_defconfig" |
diff --git a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf index a506385e..9469cdeb 100644 --- a/meta-ti-bsp/conf/machine/am62xxsip-evm.conf +++ b/meta-ti-bsp/conf/machine/am62xxsip-evm.conf | |||
@@ -25,9 +25,9 @@ KERNEL_DEVICETREE = " \ | |||
25 | ti/k3-am625-sk.dtb \ | 25 | ti/k3-am625-sk.dtb \ |
26 | " | 26 | " |
27 | 27 | ||
28 | FIT_CONF_DEFAULT_DTB = "ti/k3-am6254xxl-sk.dtb" | 28 | FIT_CONF_DEFAULT_DTB = "k3-am6254xxl-sk.dtb" |
29 | FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "ti/k3-am625-sk.dtb" | 29 | FIT_CONF_DEFAULT_DTB:bsp-ti-6_6 = "k3-am625-sk.dtb" |
30 | FIT_CONF_DEFAULT_DTB:bsp-ti-6_1 = "ti/k3-am625-sk.dtb" | 30 | FIT_CONF_DEFAULT_DTB:bsp-ti-6_1 = "k3-am625-sk.dtb" |
31 | 31 | ||
32 | UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig" | 32 | UBOOT_MACHINE = "am6254xxl_evm_a53_defconfig" |
33 | UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig" | 33 | UBOOT_MACHINE:bsp-ti-6_6 = "am62xsip_evm_a53_defconfig" |
diff --git a/meta-ti-bsp/conf/machine/include/k3.inc b/meta-ti-bsp/conf/machine/include/k3.inc index 692979d7..b743c8cc 100644 --- a/meta-ti-bsp/conf/machine/include/k3.inc +++ b/meta-ti-bsp/conf/machine/include/k3.inc | |||
@@ -9,8 +9,7 @@ require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc | |||
9 | require conf/machine/include/ti-bsp.inc | 9 | require conf/machine/include/ti-bsp.inc |
10 | 10 | ||
11 | KERNEL_IMAGETYPE = "Image" | 11 | KERNEL_IMAGETYPE = "Image" |
12 | KERNEL_IMAGETYPES = "Image fitImage" | 12 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" |
13 | KERNEL_CLASSES += "kernel-fitimage-deprecated" | ||
14 | 13 | ||
15 | UBOOT_ARCH = "arm" | 14 | UBOOT_ARCH = "arm" |
16 | UBOOT_DTB_LOADADDRESS = "0x88000000" | 15 | UBOOT_DTB_LOADADDRESS = "0x88000000" |
@@ -26,7 +25,7 @@ FIT_SIGN_ALG ?= "rsa4096" | |||
26 | 25 | ||
27 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 26 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
28 | 27 | ||
29 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image" | 28 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage" |
30 | 29 | ||
31 | TFA_PLATFORM = "k3" | 30 | TFA_PLATFORM = "k3" |
32 | 31 | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti-falcon.inc b/meta-ti-bsp/conf/machine/include/ti-falcon.inc index e436932e..5f5e2148 100644 --- a/meta-ti-bsp/conf/machine/include/ti-falcon.inc +++ b/meta-ti-bsp/conf/machine/include/ti-falcon.inc | |||
@@ -1,4 +1,5 @@ | |||
1 | IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" | 1 | IMAGE_INSTALL:append = " u-boot-ti-staging-falcon" |
2 | KERNEL_CLASSES:remove = "kernel-fitimage-deprecated" | 2 | KERNEL_CLASSES:remove = "kernel-fit-extra-artifacts" |
3 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS:remove = "ti-kernel-fitimage" | ||
3 | KERNEL_CLASSES += "kernel-fitimage-legacyhs" | 4 | KERNEL_CLASSES += "kernel-fitimage-legacyhs" |
4 | FIT_KERNEL_COMP_ALG = "none" | 5 | FIT_KERNEL_COMP_ALG = "none" |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb index 388110ad..4c740678 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb | |||
@@ -3,7 +3,7 @@ SUMMARY = "Mainline Linux kernel for TI devices" | |||
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
5 | 5 | ||
6 | inherit kernel_deprecated | 6 | inherit kernel |
7 | 7 | ||
8 | require recipes-kernel/linux/ti-kernel.inc | 8 | require recipes-kernel/linux/ti-kernel.inc |
9 | 9 | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb index 97fa6463..ac034c2c 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
5 | 5 | ||
6 | inherit ti-secdev | 6 | inherit ti-secdev |
7 | inherit kernel_deprecated | 7 | inherit kernel |
8 | 8 | ||
9 | require recipes-kernel/linux/setup-defconfig.inc | 9 | require recipes-kernel/linux/setup-defconfig.inc |
10 | require recipes-kernel/linux/ti-kernel.inc | 10 | require recipes-kernel/linux/ti-kernel.inc |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb index e88200e0..3383787e 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.12.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
5 | 5 | ||
6 | inherit ti-secdev | 6 | inherit ti-secdev |
7 | inherit kernel_deprecated | 7 | inherit kernel |
8 | 8 | ||
9 | require recipes-kernel/linux/setup-defconfig.inc | 9 | require recipes-kernel/linux/setup-defconfig.inc |
10 | require recipes-kernel/linux/ti-kernel.inc | 10 | require recipes-kernel/linux/ti-kernel.inc |
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb index 4714bba1..07cad78d 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
5 | 5 | ||
6 | inherit ti-secdev | 6 | inherit ti-secdev |
7 | inherit kernel_deprecated | 7 | inherit kernel |
8 | 8 | ||
9 | require recipes-kernel/linux/setup-defconfig.inc | 9 | require recipes-kernel/linux/setup-defconfig.inc |
10 | require recipes-kernel/linux/ti-kernel.inc | 10 | require recipes-kernel/linux/ti-kernel.inc |