[yocto] [meta-raspberrypi][PATCH 0/3] U-boot/kernel improvements

Paul Barker paul at paulbarker.me.uk
Sun Jul 10 16:17:53 PDT 2016


These changes allow u-boot to successfully boot Linux without a manual sequence
of commands being entered at boot time. This has been tested on an old Raspberry
Pi B+ as well as a Raspberrypi 3. It should work for other models as well.

Also, the kernel image is removed from the main rootfs /boot directory as it is
not needed outside the FAT32 boot partition.

Paul Barker (3):
  rpi-base.inc: Don't install kernel image into rootfs
  u-boot-scr: Add recipe to create u-boot boot script
  sdcard_image-rpi.bbclass: Include boot script when using u-boot

 classes/sdcard_image-rpi.bbclass                   |  3 ++-
 conf/machine/include/rpi-base.inc                  |  6 ++++++
 recipes-bsp/u-boot-scr/files/raspberrypi/boot.cmd  |  6 ++++++
 recipes-bsp/u-boot-scr/files/raspberrypi0/boot.cmd |  6 ++++++
 recipes-bsp/u-boot-scr/files/raspberrypi2/boot.cmd |  6 ++++++
 recipes-bsp/u-boot-scr/files/raspberrypi3/boot.cmd |  6 ++++++
 recipes-bsp/u-boot-scr/u-boot-scr.bb               | 20 ++++++++++++++++++++
 7 files changed, 52 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/u-boot-scr/files/raspberrypi/boot.cmd
 create mode 100644 recipes-bsp/u-boot-scr/files/raspberrypi0/boot.cmd
 create mode 100644 recipes-bsp/u-boot-scr/files/raspberrypi2/boot.cmd
 create mode 100644 recipes-bsp/u-boot-scr/files/raspberrypi3/boot.cmd
 create mode 100644 recipes-bsp/u-boot-scr/u-boot-scr.bb

-- 
2.1.4




More information about the yocto mailing list