On 11/07/2017 08:38 AM, Nathan Rossi wrote:
On 8 November 2017 at 02:19, Manjukumar Harthikote Matha
<[email protected]> wrote:
Hi Nathan,
-----Original Message-----
From: [email protected] [mailto:meta-xilinx-
[email protected]] On Behalf Of Nathan Rossi
Sent: Tuesday, November 07, 2017 5:43 AM
To: [email protected]
Subject: [meta-xilinx] [PATCH] device-tree: Populate the built device tree
blobs into
the sysroot
Populate any built dtb's into the sysroot so that other recipes can use the
output
products.
Can you provide more reasoning as why this is required? Which use-case is
prompting this change?
This is to enable access for a couple of specific use cases, as well
as generally.
* In order to pass the dtb for use with e.g. kernel-fitImage (or some
other fitImage recipe/class)
* Pass the dtb to U-Boot for use with EXT_DTB (e.g.
https://github.com/nathanrossi/meta-xilinx/commit/2ef84e2408696dbd4272177aa94ef73370df8133)
Relying on providing the dtb via the deploy directory is problematic
for at least two reasons. It might not be there (deploy directory
wiped), or there may be conflicting files.
Ack and applied
Thanks,
Manju
Regards,
Nathan
Thanks,
Manju
Signed-off-by: Nathan Rossi <[email protected]>
---
recipes-bsp/device-tree/device-tree.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-bsp/device-tree/device-tree.bb
b/recipes-bsp/device-tree/device-
tree.bb
index ff9b6a0201..8aa03f6ecf 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -23,6 +23,8 @@ FILES_${PN} = "/boot/devicetree/*.dtb
/boot/devicetree/*.dtbo"
S = "${WORKDIR}"
B = "${WORKDIR}/build"
+SYSROOT_DIRS += "/boot/devicetree"
+
# By default provide the current kernel arch's boot/dts and boot/dts/include.
KERNEL_DTS_INCLUDE ??= " \
${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts \
--
2.14.2
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx