Ah I see. That's weird though, as the name is unique, it shouldn't
collide with any existing file. But adding as a patch sounds
reasonable. I'll try this instead and see.
Thanks!
Am Montag, dem 27.01.2025 um 15:10 +0100 schrieb Gyorgy Sarvari:
> 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
> >
> >
> >
--
David Daniel
VR AG
Rütistrasse 18
8952 Schlieren
Telefon:
+41 44 738 32 07
Web: https://vrag.ch
ISO9001 zertifiziert | SWISS LABEL Mitglied | Lehrbetrieb
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64639): https://lists.yoctoproject.org/g/yocto/message/64639
Mute This Topic: https://lists.yoctoproject.org/mt/110836825/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-