Building device tree overlays in BSP5.0 when bitbake used to make kernel

This seems to work so far but I want to make sure I am not doing something stupid.

If I check out the device tree overlays kit with
git clone git://git.toradex.com/device-tree-overlays.git -b toradex_5.4-2.3.x-imx

and then
export STAGING_KERNEL_DIR={oe-core-dir}/build/tmp/work-shared/apalis-imx6/kernel-build-artifacts

Which points into my bitbake kernel directory…

Is that a sufficient environment for make to build the dtbo files correctly?

(Make succeeds and makes dtbo files that look plausible. I’d just like to know I’m not on the wrong track here.)

Hi @dgribben,

I see no reason that would not work but I would only recommend using that as a development step. Eventually you probably want to have your custom dtbo files built as part of Yocto by creating a bbappend of the device-tree-overlays recipe.

Drew

Thanks for the confirmation!

Excellent… and the overlay I built worked the first time I tried it on our custom carrier, the Data Modul 1920x720 display “just worked”.

This system (device tree overlays) is a MASSIVE improvement. Way way easier.

Perfect that it works. Thanks for the feedback.