Hi, Sorry, it seems there has been some mismatch in my test setup... So while .dtbo are required for 4.4.9+, there NOT to be used for 4.1.21 it seems... I will therefore send soon a v3 patchset, that will work fine for 4.4 (what's laid out here is needed for 4.4) without breaking overlay support for 4.1.
Best regards, Hervé -----Original Message----- From: Herve Jourdain [mailto:herve.jourd...@neuf.fr] Sent: samedi 14 mai 2016 12:16 To: yocto@yoctoproject.org Cc: Herve Jourdain <herve.jourd...@neuf.fr> Subject: [yocto][meta-raspberrypi][PATCH v2 0/1] Support for .dtbo files for dtb overlays, required by firmware after 2016/04/12 Please disregard v1, there was 1 patch missing for 4.4 kernel... The firmware after 2016/04/12 () seems to have altered the behavior of device tree loading on RaspberryPi: for overlays, it loads only .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 tries to address this issue for 4.4 and 4.1 kernels. It must be used in conjunction with another patch to meta/recipes-kernel/linux-dtb.inc, which will allow the processing of .dtbo files, instead of only .dtb. .dtb are still used, but only for the "real" device trees (not the overlays). This is in line with the behavior of kernels 4.4.6+ Herve Jourdain (1): Support for .dtbo files for dtb overlays, required by firmware after 2016/04/12 classes/linux-raspberrypi-base.bbclass | 4 +-- classes/sdcard_image-rpi.bbclass | 6 ++-- conf/machine/include/rpi-base.inc | 30 +++++++++---------- .../0002-fix-dtbo-rules.patch | 35 ++++++++++++++++++++++ .../0001-fix-dtbo-rules.patch | 13 ++++++++ recipes-kernel/linux/linux-raspberrypi_4.1.bb | 1 + recipes-kernel/linux/linux-raspberrypi_4.4.bb | 1 + 7 files changed, 70 insertions(+), 20 deletions(-) create mode 100644 recipes-kernel/linux/linux-raspberrypi-4.1/0002-fix-dtbo-rules.patch 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