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):
  Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
  Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
  Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
  Support for .dtbo files for dtb overlays, required by kernels 4.4.6+
  Support for .dtbo files for dtb overlays, required by kernels 4.4.6+

 classes/linux-raspberrypi-base.bbclass             |  4 ++-
 classes/sdcard_image-rpi.bbclass                   |  7 ++--
 conf/machine/include/rpi-base.inc                  | 37 +++++++++++++++++++++-
 .../0001-fix-dtbo-rules.patch                      | 27 ++++++++++++++++
 recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  1 +
 5 files changed, 71 insertions(+), 5 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

Reply via email to