Depending on the order of unpacking, it is possible that your dts file overwritten by the actual kernel source.

Try adding it as a patch?

On 27.01.25 12:12, David Daniel via lists.yoctoproject.org wrote:
Hi

I am trying to figure out why the following snippet of a kernel
.bbappend file does not populate the custom device tree source file in
the proper location:


     FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
     SRC_URI += "\
      file://defconfig;name=config \
      file://cf200.dts;name=dts;subdir=git/arch/${ARCH}/boot/dts/freescale \
     "

     COMPATIBLE_MACHINE = "(cf200)"
It also seems the configuration is not applied. If I rename the
defconfig file to doesntexist the build fails early. The defconfig file
does get placed within the sources-unpack folder though. Within the
sources-unpack folder there is no dts file though and the dts file is
as well not placed within the dts folder of the kernel build or source
folder.

Is it possible to modify a kernel somewhat like this? What am I doing
wrong?

Thanks for any hints!
Dave



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

Reply via email to