summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/rpi-u-boot-scr
Commit message (Collapse)AuthorAgeFilesLines
* rpi-u-boot-scr: drop hard-coded 'arm'Ming Liu2020-11-271-2/+2
| | | | | | | Let's inherit kernel-arch and use ${UBOOT_ARCH} to replace the hard-coded 'arm'. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* rpi-u-boot-scr: Create uboot.env via boot.cmd.inLeon Anavi2020-07-031-0/+1
| | | | | | | | Modify boot.cmd.in from recipe rpi-u-boot-scr to create uboot.env in the /boot partition when using U-Boot. This change is required to successfully run fw_printenv from the user space. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
* rpi-u-boot-scr: Set u-boot-default-script as providerFabio Berton2020-04-031-0/+2
| | | | | | | | | Add u-boot-default-script to the PROVIDES variable to make easier to replace boot script in another layer just by changing PREFERRED_PROVIDER_u-boot-default-script variable. Set rpi-u-boot-scr as the default provider for meta-raspberrypi. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic2018-06-271-1/+1
| | | | | | Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* Drop unnecessary dependencies and tasksPaul Barker2018-04-231-1/+3
| | | | | | | | | | | | | | We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Support using u-boot with Image format for raspberrypi3-64Paul Barker2017-09-243-4/+7
| | | | | | | | For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot instead of the legacy uImage format. We also need to issue the 'booti' command to boot the kernel instead of 'bootm'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* 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>