summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/rpi-u-boot-scr/files/raspberrypi0/boot.cmd
Commit message (Collapse)AuthorAgeFilesLines
* u-boot: Simplify boot scriptJonathan Liu2016-12-061-6/+0
| | | | | | | | | | | | | | | | | A patch is backported to check if the firmware loaded a device tree blob into memory and set the fdt_addr variable if it is found. The U-Boot script will then read the command line arguments generated by the firmware from the device tree and boot the kernel with the command line arguments and the loaded device tree. This allows things like MAC address, board revision and serial number to be correctly configured and options in config.txt to be used. An additional patch is backported and further changes are made to support this. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* rpi-u-boot-scr: Add recipe to create u-boot boot scriptPaul Barker2016-10-311-0/+6
Upstream u-boot searches the boot partition for a script named 'boot.scr'. If this file exists it is executed as a sequence of u-boot commands in order to boot the system. This script must be compiled using the mkimage command to ensure that it is understood by u-boot. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>