All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herve Jourdain <herve.jourdain@neuf.fr>
To: yocto@yoctoproject.org
Subject: [meta-raspberrypi][PATCH v4 1/5] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays
Date: Tue, 31 May 2016 04:46:31 +0800	[thread overview]
Message-ID: <1464641195-88380-2-git-send-email-herve.jourdain@neuf.fr> (raw)
In-Reply-To: <1464641195-88380-1-git-send-email-herve.jourdain@neuf.fr>

Kernel 4.4.6+ on RaspberryPi support .dtbo files for overlays, instead of .dtb.
Add support for both variants of overlays ("-overlay.dtb" and ".dtbo")

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
---
 classes/linux-raspberrypi-base.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/classes/linux-raspberrypi-base.bbclass b/classes/linux-raspberrypi-base.bbclass
index 40beef1..2eca037 100644
--- a/classes/linux-raspberrypi-base.bbclass
+++ b/classes/linux-raspberrypi-base.bbclass
@@ -33,7 +33,9 @@ def split_overlays(d, out):
     dts = get_dts(d, None)
     if out:
         overlays = oe.utils.str_filter_out('\S+\-overlay\.dtb$', dts, d)
+        overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d)
     else:
-        overlays = oe.utils.str_filter('\S+\-overlay\.dtb$', dts, d)
+        overlays = oe.utils.str_filter('\S+\-overlay\.dtb$', dts, d) + \
+                   " " + oe.utils.str_filter('\S+\.dtbo$', dts, d)
 
     return overlays
-- 
2.7.4



  reply	other threads:[~2016-05-30 20:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 20:46 [meta-raspberrypi][PATCH v4 0/5] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Herve Jourdain
2016-05-30 20:46 ` Herve Jourdain [this message]
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 2/5] sdcard_image-rpi.bbclass: support for .dtbo files for dtb overlays Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 3/5] rpi-base.inc: " Herve Jourdain
2016-06-15  0:12   ` Andrei Gherzan
2016-06-17  7:50     ` Herve Jourdain
2016-06-17  8:56       ` Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 4/5] linux-raspberrypi_4.4.inc: " Herve Jourdain
2016-06-15  0:09   ` Andrei Gherzan
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 5/5] " Herve Jourdain
2016-06-14 23:55   ` Andrei Gherzan
2016-06-15  8:05     ` Herve Jourdain
2016-06-14 23:54 ` [meta-raspberrypi][PATCH v4 0/5] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+ Andrei Gherzan
2016-06-15  5:37   ` Herve Jourdain

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=1464641195-88380-2-git-send-email-herve.jourdain@neuf.fr \
    --to=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.