All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH v4 0/5] Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
@ 2016-05-30 20:46 Herve Jourdain
  2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 1/5] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays Herve Jourdain
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Herve Jourdain @ 2016-05-30 20:46 UTC (permalink / raw)
  To: yocto

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

Herve Jourdain (5):
  linux-raspberrypi-base.bbclass: support for .dtbo files for dtb
    overlays
  sdcard_image-rpi.bbclass: support for .dtbo files for dtb overlays
  rpi-base.inc: support for .dtbo files for dtb overlays
  linux-raspberrypi_4.4.inc: support for .dtbo files for dtb overlays
  linux-raspberrypi_4.4.inc: support for .dtbo files for dtb overlays

 classes/linux-raspberrypi-base.bbclass             |  4 ++-
 classes/sdcard_image-rpi.bbclass                   |  7 +++--
 conf/machine/include/rpi-base.inc                  | 36 +++++++++++++++++++++-
 .../0001-fix-dtbo-rules.patch                      | 27 ++++++++++++++++
 recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  1 +
 5 files changed, 70 insertions(+), 5 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch

-- 
2.7.4



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-06-17  8:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [meta-raspberrypi][PATCH v4 1/5] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays Herve Jourdain
2016-05-30 20:46 ` [meta-raspberrypi][PATCH v4 2/5] sdcard_image-rpi.bbclass: " 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

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.