Adding device tree overlay #kirkstone
Hi,
I am struggling to add a device tree overlay to the linux kernel.
I am on the kirkstone branch and my recipe (linux-raspberrypi_%.bbappend) looks like this:
SRC_URI += "file://my_gpio.dts;subdir=git/arch/${ARCH}/boot/dts/overlays"
FILESEXTRAPATHS:prepend := "${THISDIR}/deviceTree:"
PACKAGE_ARCH = "${MACHINE_ARCH}"
KERNEL_DEVICETREE:append = " overlays/my_gpio.dtbo"
In the build/deploy/images folder I can see the generated dtbo file but it not copied into /boot/overlays
Does anyone know what I am doing wrong ? Thanks..
Hi Daniel,
adding it to IMAGE_BOOT_FILES should do the trick.
Greetz,
Josef
Quoted 42 lines · On Sun, Oct 1, 2023 at 10:35 PM <[email protected]> wrote:
Hi,
I am struggling to add a device tree overlay to the linux kernel.
I am on the kirkstone branch and my recipe (linux-raspberrypi_%.bbappend) looks like this:
SRC_URI+= "file://my_gpio.dts;subdir=git/arch/${ARCH}/boot/dts/overlays"FILESEXTRAPATHS:prepend := "${THISDIR}/deviceTree:"
PACKAGE_ARCH= "${MACHINE_ARCH}"KERNEL_DEVICETREE:append = " overlays/my_gpio.dtbo"
In the build/deploy/images folder I can see the generated dtbo file but it not copied into
/boot/overlaysDoes anyone know what I am doing wrong ? Thanks..
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#61182):
https://lists.yoctoproject.org/g/yocto/message/61182
Mute This Topic: https://lists.yoctoproject.org/mt/101699891/4689568
Mute #kirkstone:
https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-