diff options
author | Ryan Eatmon <reatmon@ti.com> | 2025-07-19 10:49:49 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-07-21 11:45:14 -0500 |
commit | 2df6b02d409c5fc94eb79353d2469c86ffe5dd82 (patch) | |
tree | 606fe2f391f59dc7df78a6a6ed850eb3c75779c0 /meta-ti-bsp/dynamic-layers | |
parent | 1b09c317d10a8589867622bf0460410e707ec04e (diff) | |
download | meta-ti-scarthgap-wip.tar.gz |
meta-ti-bsp: Add KERNEL_DEVICETREE_PREFIX logic to Poky imagesscarthgap-wip
The boot partition for things like the wic image, use the
KERNEL_DEVICETREE to populate DTBs. But for the meta-ti-bsp kernels we
tend to rely on the KERNEL_DEVICETREE_PREFIX to glob pull in DTBs
instead of a single list. So using dynamic layers, we can inject the
proper code to properly resolve the KERNEL_DEVICETREE in each image
file.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/dynamic-layers')
3 files changed, 11 insertions, 0 deletions
diff --git a/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-base.bbappend b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-base.bbappend new file mode 100644 index 00000000..b6c70dc5 --- /dev/null +++ b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-base.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | IMAGE_POKY = "" | ||
2 | IMAGE_POKY:poky = "image-poky.inc" | ||
3 | |||
4 | require ${IMAGE_POKY} | ||
diff --git a/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-minimal.bbappend b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-minimal.bbappend new file mode 100644 index 00000000..b6c70dc5 --- /dev/null +++ b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/core-image-minimal.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | IMAGE_POKY = "" | ||
2 | IMAGE_POKY:poky = "image-poky.inc" | ||
3 | |||
4 | require ${IMAGE_POKY} | ||
diff --git a/meta-ti-bsp/dynamic-layers/core/recipes-core/images/image-poky.inc b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/image-poky.inc new file mode 100644 index 00000000..31c6b6f7 --- /dev/null +++ b/meta-ti-bsp/dynamic-layers/core/recipes-core/images/image-poky.inc | |||
@@ -0,0 +1,3 @@ | |||
1 | include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''} | ||
2 | |||
3 | do_image_wic[depends] += "virtual/kernel:do_shared_workdir" | ||