On 5/18/2023 12:45 PM, Andrew Davis wrote:
On 5/18/23 11:15 AM, Ryan Eatmon via lists.yoctoproject.org wrote:
Change over to using the kernel_devicetree_vendor_dtb.bbclass to have
the DTBs installed into the same vendored subdirectory that is in the
kernel.
Signed-off-by: Ryan Eatmon <[email protected]>
---
v2: - Fixed syntax of "1"
- Fixed name of custom kernel class to match the other patch.
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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 cdee548f..7c992ac5 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
@@ -3,7 +3,7 @@ SUMMARY = "Linux kernel for TI devices"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM =
"file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-inherit kernel
+inherit kernel_vendor_dtb
require recipes-kernel/linux/setup-defconfig.inc
require recipes-kernel/linux/kernel-rdepends.inc
@@ -18,6 +18,9 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.1:"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \
${EXTRA_DTC_ARGS}"
+KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtbs"
Do we want this to be "dtbs" or "dtb"? Debian uses "dtb" which is the
far more common distro today and the one we plan to support in the near
term. I know I used "dtbs" in the U-Boot side patch for this, but I'm
having second thoughts and it's easy to switch it over in U-Boot..
If debian does dtb then I vote dtb. I'll submit a V3 with that change
and putting the logic in ti-kernel.inc.
Andrew
+KERNEL_DTBVENDORED = "1"
+
S = "${WORKDIR}/git"
BRANCH = "ti-linux-6.1.y"
--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16562):
https://lists.yoctoproject.org/g/meta-ti/message/16562
Mute This Topic: https://lists.yoctoproject.org/mt/98994752/21656
Group Owner: [email protected]
Unsubscribe:
https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-