[yocto] [meta-raspberrypi][PATCH V2 0/4] U-boot/kernel improvements
Paul Barker
paul at paulbarker.me.uk
Sat Oct 22 12:49: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.
Changes in V2 (a bit late sorry!):
* Rebased onto latest master
* Address review comments from V1
* Set COMPATIBLE_MACHINE in rpi-u-boot-scr
Paul Barker (4):
rpi-base.inc: Don't install kernel image into rootfs
rpi-u-boot-scr: Add recipe to create u-boot boot script
u-boot: Add RDEPENDS on rpi-u-boot-scr
sdcard_image-rpi.bbclass: Include boot script when using u-boot
classes/sdcard_image-rpi.bbclass | 1 +
conf/machine/include/rpi-base.inc | 4 ++++
.../rpi-u-boot-scr/files/raspberrypi/boot.cmd | 6 ++++++
.../rpi-u-boot-scr/files/raspberrypi0/boot.cmd | 6 ++++++
.../rpi-u-boot-scr/files/raspberrypi2/boot.cmd | 6 ++++++
.../rpi-u-boot-scr/files/raspberrypi3/boot.cmd | 6 ++++++
recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb | 21 +++++++++++++++++++++
recipes-bsp/u-boot/u-boot_2016.03.bbappend | 1 +
8 files changed, 51 insertions(+)
create mode 100644 recipes-bsp/rpi-u-boot-scr/files/raspberrypi/boot.cmd
create mode 100644 recipes-bsp/rpi-u-boot-scr/files/raspberrypi0/boot.cmd
create mode 100644 recipes-bsp/rpi-u-boot-scr/files/raspberrypi2/boot.cmd
create mode 100644 recipes-bsp/rpi-u-boot-scr/files/raspberrypi3/boot.cmd
create mode 100644 recipes-bsp/rpi-u-boot-scr/rpi-u-boot-scr.bb
create mode 100644 recipes-bsp/u-boot/u-boot_2016.03.bbappend
--
2.1.4
More information about the yocto
mailing list