Hello,

We are playing around with gen-machineconf, 2024.2, and Scarthgap with the SDT 
workflow. The ability to generate the Yocto multiconfigs is pretty slick :) but 
I've got some questions about the workflow(s) for modifying device trees. We 
are using XILINX_WITH_ESW = "sdt" by the way.

meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb has these lines:

# Since we're not based on a kernel default to nothing.
# This needs to be before the devicetree inherit, as it configured for use
# with a linux kernel by default.
KERNEL_INCLUDE ?= ""

This prevents me from adding #includes to my device trees, for example:

#include <dt-bindings/gpio/gpio.h>

What is the reasoning behind disabling this functionality? I assume it has 
something to do with the fact that device-tree is also used by U-Boot, in which 
case, should I write my own recipe to apply an overlay on-top of the output 
from meta-xilinx device-tree?

I sort of get the impression that the DTS coming from gen-machineconf/lopper 
are not intended to be hand edited? (they've got phandles for some reason, 
which are just noise)

A little guidance would be appreciated.

P.S. We really appreciate you all maintaining Scarthgap branches for LTS :)

Thanks,
Chris
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5503): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5503
Mute This Topic: https://lists.yoctoproject.org/mt/110007484/21656
Group Owner: meta-xilinx+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to