Following discussion on the Raspberry Pi tools bug tracker it was found that rpi-mkimage is no longer needed with recent firmware. It can therefore be dropped from the layer completely.
Whilst looking into this I also found that the u-boot-rpi recipe in meta-raspberrypi can now be replaced by direct use of the mainline u-boot recipe from oe-core. The 2016.03 release of u-boot supports the original Raspberry Pi and the Raspberry Pi 2. Configuration of the u-boot environment to directly boot the uImage file on the SD card must still be done manually - I'm going to look into making this work by default in the near future. Build and boot tested on an old Raspberry Pi Model B (rev 2): * linux-raspberrypi 4.1 * linux-raspberrypi 4.4 * u-boot 2016.03 + linux-raspberrypi 4.1 U-boot commands needed for my board (the dtb at least may need to change for other models): setenv fdtfile bcm2807-rpi-b.dtb setenv bootargs 'earlyprintk console=tty0 console=ttyAMA0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait noinitrd' setenv do_load_files 'mmc dev 0; fatload mmc 0:1 ${kernel_addr_r} uImage; fatload mmc 0:1 ${fdt_addr_r} ${fdtfile};' setenv do_boot_files 'bootm ${kernel_addr_r} - ${fdt_addr_r};' setenv bootcmd 'run do_load_files do_boot_files' saveenv boot During testing it was found that linux-raspberrypi 3.18 no longer builds and so this was dropped from the layer. Paul Barker (6): linux-raspberrypi: Allow override of PV linux-raspberrypi: rpi-mkimage is no longer needed u-boot: Use mainline u-boot recipe from oe-core rpi-mkimage: Remove unused recipe linux-raspberrypi: Drop version 3.18 sdcard_image-rpi: Always install dtb files classes/sdcard_image-rpi.bbclass | 42 ++++---- conf/machine/include/rpi-default-providers.inc | 1 - conf/machine/raspberrypi.conf | 2 + conf/machine/raspberrypi2.conf | 2 + recipes-bsp/rpi-mkimage/rpi-mkimage/License | 25 ----- .../open-files-relative-to-script.patch | 17 ---- recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb | 22 ----- recipes-bsp/u-boot/u-boot-rpi_git.bb | 29 ------ .../0001-dts-add-overlay-for-pitft22.patch | 110 --------------------- recipes-kernel/linux/linux-raspberrypi.inc | 19 ---- recipes-kernel/linux/linux-raspberrypi_3.18.bb | 14 --- recipes-kernel/linux/linux-raspberrypi_4.1.bb | 1 + recipes-kernel/linux/linux-raspberrypi_4.4.bb | 1 + 13 files changed, 27 insertions(+), 258 deletions(-) delete mode 100644 recipes-bsp/rpi-mkimage/rpi-mkimage/License delete mode 100644 recipes-bsp/rpi-mkimage/rpi-mkimage/open-files-relative-to-script.patch delete mode 100644 recipes-bsp/rpi-mkimage/rpi-mkimage_git.bb delete mode 100644 recipes-bsp/u-boot/u-boot-rpi_git.bb delete mode 100644 recipes-kernel/linux/linux-raspberrypi-3.18/0001-dts-add-overlay-for-pitft22.patch delete mode 100644 recipes-kernel/linux/linux-raspberrypi_3.18.bb -- 2.1.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto