[yocto] [meta-raspberrypi][PATCH v6 0/4] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+

Andrei Gherzan andrei at gherzan.ro
Sun Jul 31 11:48:20 PDT 2016


On Thu, Jul 28, 2016 at 06:41:25PM -0700, Khem Raj wrote:
>
> > On Jul 20, 2016, at 3:00 PM, Herve Jourdain <herve.jourdain at neuf.fr> wrote:
> >
> > v6: rebased
> >
> > v5: modifications after more review
> > * Added an Upstream-Status to the kernel patch
> > * Only one instance of KERNEL_DEVICETREE defined (with the new .dtbo syntax)
> > * Modification of the KERNEL_DEVICETREE is done in linux-raspberry-base.bbclass, based on the kernel version
> >
> > v4: rebased
> > For kernels 4.4.9+, the behavior for the device tree overlays loading has been modified on RaspberryPi.
> > For overlays, it loads .dtbo files, not .dtb anymore.
> > Also, it does not check for -overlay extension, so the name of the overlay that is placed in the "overlays" directory must be <overlay_name>.dtbo, instead of <overlay_name>-overlay.dtb.
> >
> > This patch addresses the issue for kernels 4.4+, while keeping the same behavior for older kernels.
> > This patch must be used in conjunction with another patch to meta/recipes-kernel/linux-dtb.inc, which will allow the processing of .dtbo files for overlays, instead of only .dtb like before.
> >
> > .dtb are still in use, but only for the "real" device trees (not the overlays).
>
> I have staged this series in
>
> https://github.com/kraj/meta-raspberrypi kraj/master
>
> However, this all has to wait on two things.
>
> The OE-core patch
>
> https://patchwork.openembedded.org/patch/123747/
>

What is happening with this patch? So I can't merge these as long as
this one is not merged.

> and we need to branch out for krogoth
>
> >
> > Herve Jourdain (4):
> >  linux-raspberrypi_4.4.bb: support for .dtbo files for dtb overlays
> >  rpi-base.inc: support for .dtbo files for dtb overlays
> >  linux-raspberrypi-base.bbclass: support for .dtbo files for dtb
> >    overlays
> >  sdcard_image-rpi.bbclass: support for .dtbo files for dtb overlays
> >
> > classes/linux-raspberrypi-base.bbclass             | 19 ++++++----
> > classes/sdcard_image-rpi.bbclass                   | 15 +++++---
> > conf/machine/include/rpi-base.inc                  | 30 +++++++--------
> > .../0001-fix-dtbo-rules.patch                      | 44 ++++++++++++++++++++++
> > recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  1 +
> > 5 files changed, 81 insertions(+), 28 deletions(-)
> > create mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
> >
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>



> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160731/718a615c/attachment.pgp>


More information about the yocto mailing list