On 10/30/23 3:11 AM, Martin Siegumfeldt wrote:
Hi Mark,
We are on Langdale branch and have just received
https://github.com/Xilinx/meta-xilinx/commit/b0efcddc5b3a35d143614698a39ecb5a9d134aac <https://github.com/Xilinx/meta-xilinx/commit/b0efcddc5b3a35d143614698a39ecb5a9d134aac> through your push. Unfortunately it appears to break compilation of our kernel in-tree device trees - is this by intention?
Yes this is intentional.
For AMD FPGAs most device trees are NOT in kernel, and are instead generated and
managed via XSCT or other external processing. These device trees are
standalone and do not require a full copy of the kernel sources.
Including the KERNEL_INCLUDE here means that the kernel sources (and other
internal items) are required to not only be downloaded, but also may end up in a
fit image or other artifacts that are not intended. It also greatly increases
recipe build time, since the kernel can take a significant amount of time to
download and unpack/setup due to both the size of the kernel source itself and
the dependencies that the kernel has on other tools.
If your device-tree is not self-contained (and you do need the kernel sources),
then it SHOULD be as simple as just setting the kernel include either back to
the default -- or to the specific kernel components you require.
For langdale the defaults are located at:
https://git.yoctoproject.org/poky/tree/meta/classes-recipe/devicetree.bbclass?h=langdale#n48
You would do this in either a bbappend or your machine.conf file.
If you do it in a machine.conf, I recommend you set this with:
KERNEL_INCLUDE:pn-device-tree = "<values>"
--Mark
Regards,
Martin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5281):
https://lists.yoctoproject.org/g/meta-xilinx/message/5281
Mute This Topic: https://lists.yoctoproject.org/mt/102257518/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-