summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/rpi-u-boot-scr
Commit message (Collapse)AuthorAgeFilesLines
* recipe: anchor regexps in COMPATIBLE_MACHINEMartin Jansa2017-07-271-1/+1
| | | | | | | | | * bitbake is using re.match, so raspberrypi actually matches with anything ^raspberrypi.* which currently works, but it will also match with hypothetical raspberrypi-is-no-more-this-is-banana-now MACHINE which isn't intended by this COMPATIBLE_MACHINE. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* u-boot: Simplify boot scriptJonathan Liu2016-12-065-24/+3
| | | | | | | | | | | | | | | | | 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-315-0/+45
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>