Re: [yocto] [meta-raspberrypi][PATCH v6 3/4] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays

2016-07-26 Thread Francois Muller
Hi Hervé, I also experienced this overlay move the hard way... and fortunately "simply" renaming the file did the trick, but it took me hours to figure out that "simple" thing! I clearly understand Andrei's position but IMHO the current layer's management of DT files to build and include in

Re: [yocto] [meta-raspberrypi][PATCH v6 3/4] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays

2016-07-25 Thread Herve Jourdain
Hi François, Actually, I tried to use a -overlay.dtb as a device tree overlay with the 4.4.9, and it didn't load it... If you don't use the tools dedicated to debug device trees (like vcdbg), there is no error message nor complaint, but the device tree is not loaded. Only when I used vcdbg did

Re: [yocto] [meta-raspberrypi][PATCH v6 3/4] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays

2016-07-25 Thread Francois Muller
Hi Hervé, Thank you for giving us up and running .dtbo overlays functionality through this patch, it is running fine for me. Nevertheless, I have a concern about the processing applied to overlay filenames. According to this post https://www.raspberrypi.org/forums/viewtopic.php ?f=107=139732,

[yocto] [meta-raspberrypi][PATCH v6 3/4] linux-raspberrypi-base.bbclass: support for .dtbo files for dtb overlays

2016-07-20 Thread Herve Jourdain
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") Change which variant needs to be supported based on the kernel version CAUTION: when called from IMAGE_CMD_rpi-sdimg, 'TMPDIR' is not set, causing