All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Herve Jourdain <herve.jourdain@neuf.fr>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH v6 0/4] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
Date: Thu, 28 Jul 2016 18:41:25 -0700	[thread overview]
Message-ID: <70B61AEF-DB1A-4E60-8A14-878623073F1A@gmail.com> (raw)
In-Reply-To: <1469052039-7746-1-git-send-email-herve.jourdain@neuf.fr>

[-- Attachment #1: Type: text/plain, Size: 2392 bytes --]


> On Jul 20, 2016, at 3:00 PM, Herve Jourdain <herve.jourdain@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/

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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

  parent reply	other threads:[~2016-07-29  1:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20 22:00 [meta-raspberrypi][PATCH v6 0/4] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Herve Jourdain
2016-07-20 22:00 ` [meta-raspberrypi][PATCH v6 1/4] linux-raspberrypi_4.4.bb: support for .dtbo files for dtb overlays Herve Jourdain
2016-07-20 22:00 ` [meta-raspberrypi][PATCH v6 2/4] rpi-base.inc: " Herve Jourdain
2016-07-20 22:00 ` [meta-raspberrypi][PATCH v6 3/4] linux-raspberrypi-base.bbclass: " Herve Jourdain
2016-07-25 14:45   ` Francois Muller
2016-07-26  1:30     ` Herve Jourdain
2016-07-26 19:43       ` Francois Muller
2016-07-20 22:00 ` [meta-raspberrypi][PATCH v6 4/4] sdcard_image-rpi.bbclass: " Herve Jourdain
2016-07-29  1:41 ` Khem Raj [this message]
2016-07-31 18:48   ` [meta-raspberrypi][PATCH v6 0/4] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Andrei Gherzan
     [not found]     ` <CAMKF1soL5FLZNAvZm3qdGyqj-XYuKWMgnepb_r1Vs6hHuCLgLg@mail.gmail.com>
     [not found]       ` <CAMKF1sp4pS2+7gkr2RttBbkGiifWqSOEX2J09ygK3uZnVbAKwg@mail.gmail.com>
2016-07-31 19:52         ` Khem Raj
2016-09-21 16:05 ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70B61AEF-DB1A-4E60-8A14-878623073F1A@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=herve.jourdain@neuf.fr \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.