Skip to contentSkip to conversation

Adding device tree overlay #kirkstone

DISCUSSION [email protected] 2 participants 2 messages Oct 1, 2023 – Oct 2, 2023

lore
Share & tools
lore
#0 lore raw

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..

#1 lore raw

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/overlays

Does 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]]
-=-=-=-=-=-=-=-=-=-=-=-