[yocto] [meta-raspberrypi][PATCH V3 0/4] Drop rpi-mkimage and use upstream u-boot

Paul Barker paul at paulbarker.me.uk
Sat Jun 18 04:07:02 PDT 2016


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.

Changes for V2:
    * Don't remove linux-raspberrypi 3.18 just yet
    * Drop move of PV setting out of linux-raspberrypi.inc

Changes for V3:
    * Rebase onto latest master

Paul Barker (4):
  linux-raspberrypi: rpi-mkimage is no longer needed
  u-boot: Use mainline u-boot recipe from oe-core
  rpi-mkimage: Remove unused recipe
  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 ---------------
 recipes-kernel/linux/linux-raspberrypi.inc         | 20 -----------
 9 files changed, 25 insertions(+), 135 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

-- 
2.1.4




More information about the yocto mailing list