summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
Commit message (Collapse)AuthorAgeFilesLines
* Convert to new override syntaxMartin Jansa2021-08-041-5/+5
| | | | | | | | | | This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* u-boot: Fix booting raspberrypi CM3 moduleMarek Belisko2020-10-212-0/+54
| | | | | | | | | With stock u-boot v2020.01 which we use from poky CM3 module won't boot. We need to apply this patch in order to have platform again working. Add it only for cm3 to not break anything else. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
* u-boot: Move fw_env.config to u-boot appendFabio Berton2020-07-272-12/+11
| | | | | | | | | | | | | | The u-boot-env is provided by u-boot recipe and not by libubootenv, so right recipe to append is the u-boot. Adding the rpi-u-boot-scr in DEPENDS variable is wrong because it is forcing rpi-u-boot-scr to be a dependency, but it'll fail if I have another recipe that provides bootscript, once both recipes provide the same file. The default value of u-boot-default-script is rpi-u-boot-scr, so right way is to use u-boot-default-script and change the PREFERRED_PROVIDER_u-boot-default-script if needed. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
* libubootenv_%.bbappend: Add fw_env.configLeon Anavi2020-07-032-0/+13
| | | | | | | | | Add fw_env.config that uses at run-time /boot/uboot.env generated through the boot scripts (specifically boot.cmd.in) from recipe rpi-u-boot-scr. This configuration file 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-1/+1
| | | | | | | | | 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>
* u-boot: drop patches for RPi4 merged upstream.Patrick Vacek2019-10-2310-511/+0
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* u-boot-fw-utils: apply the same rpi4 patches as for u-boot recipeMartin Jansa2019-09-093-12/+16
| | | | | | | | | | | | | | | | * otherwise u-boot-fw-utils build for rpi4 fails with: scripts/kconfig/conf --defconfig=arch/../configs/rpi_4_defconfig Kconfig *** *** Can't find default configuration "arch/../configs/rpi_4_defconfig"! *** scripts/kconfig/Makefile:128: recipe for target 'rpi_4_defconfig' failed * cannot include/require u-boot_2019.07.bbappend directly in u-boot-fw-utils_2019.07.bbappend, because then it fails with: "u-boot_2019.01.bbappend: not a BitBake file" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* u-boot: Update patches for RPi4Andrei Gherzan2019-07-1915-861/+258
| | | | | | | | | | | | After a review in upstream, some of the patches were modified. Most notable changes: 1. use directly the dtb passed by the firmware and make sure uboot doesn't tweak memory/reg 2. remove known unimplemented support (usb, eth etc.) 3. drop patches that are not needed anymore with the new firmware update (for example 0012-bcm283x-mbox-Correctly-wait-for-space-to-send.patch) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Replace custom fork by patchesAndrei Gherzan2019-07-1813-4/+1110
| | | | | | | | The upstream branch might suffer rebases due to effort of pushing the patches upstream. To avoid issues, let's have here the patches we need for RPi 4 support. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Use a temporary fork for RPi4 supportAndrei Gherzan2019-07-161-0/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Remove upstreamed U-Boot rpi0w defconfig patchJonathan Haigh2018-05-092-47/+0
| | | | | | | | | | | [Issue #239] -- https://github.com/agherzan/meta-raspberrypi/issues/239 The patch 0002-rpi_0_w-Add-configs-consistent-with-RpI3.patch has been applied to the upstream U-Boot repo and is now in the release that openembedded-core uses so remove it from meta-raspberrypi's U-Boot bbappend. Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
* Don't use RDEPENDS in recipes which don't create packagesPaul Barker2018-04-231-1/+1
| | | | | | | | RDEPENDS is fairly meaningless for recipes which don't create a package to be installed into the rootfs. Instead we should be using DEPENDS to guarantee correct ordering of build tasks. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley2018-02-142-0/+47
| | | | | | | | | | | | This makes the defconfig more consistent with the RPi 3 and CONFIG_OF_EMBED is needed to get the RPi firmware provided DTB to function. Recently removed by: a50e19695f2cc655ef6248b77c8244519dbb468c u-boot: drop upstreamed patches in v2018.01 however this change missed the cutoff for v2018.01 Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
* u-boot: drop upstreamed patches in v2018.01Andrea Galbusera2018-01-223-192/+0
| | | | | | These are now in upstream, so they are no longer required here. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley2018-01-112-0/+43
| | | | | | | | | | | | | This makes the defconfig more consistent with the RPi 3 and CONFIG_OF_EMBED is needed to get the RPi firmware provided DTB to function. Signed-off-by: Drew Moseley <drew.moseley@northern.tech> Added patch status information in patch header, and re-word of commit message Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* u-boot: add support for Raspberry Pi Zero WMirza Krak2018-01-112-0/+149
| | | | | | | It is all ready supported upstream and this will apply a backported patch until next U-boot release. Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* u-boot: drop now upstreamed patchesAndrea Galbusera2017-09-183-145/+0
| | | | | | | | oe-core now provides v2017.09 of u-boot which already merged both patches introduced by commit 94e2929f746f7e49a7870f7ea889dcbed05296c7 so we can drop them from meta-raspberrypi. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* u-boot: Fix boot and keyboard for rpi devicesPaul Barker2017-08-283-0/+145
| | | | | | | | u-boot v2017.07 was not able to boot a Linux kernel or handle keyboard input. This is fixed by reverting a config change to re-enable CONFIG_OF_EMBED and backporting another config change to enable CONFIG_DM_KEYBOARD. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* u-boot: drop backported patchesMirza Krak2017-01-253-217/+0
| | | | | | | U-boot has been updated to 2017.01 in poky/oe-core which contains these patches. Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
* u-boot: drop patch to include lowlevel_initMirza Krak2016-12-292-26/+0
| | | | | | | | | | The patch 0003-Include-lowlevel_init.o-for-rpi2.patch does not apply on 2016.11 and causes an build error. Patch 0002-rpi-passthrough-of-the-firmware-provided-FDT-blob.patch provides the inclusion of lowlever_init.o. Signed-off-by: Mirza Krak <mirza.krak@gmail.com>
* u-boot: Simplify boot scriptJonathan Liu2016-12-064-0/+243
| | | | | | | | | | | | | | | | | 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>
* u-boot: Fix appending to RDEPENDSJonathan Liu2016-11-122-1/+1
| | | | | | | | | | | | | | | | | The += operator should not be used in combination with overrides as it will clear any existing values in the variable. Example: FOO = "bar" FOO_rpi += "baz" The above example would result in FOO being equal to " baz" instead of "bar baz". The bbappend is changed to use a wildcard instead of a specific version to simplify updating U-Boot. Signed-off-by: Jonathan Liu <net147@gmail.com>
* u-boot: Add RDEPENDS on rpi-u-boot-scrPaul Barker2016-10-311-0/+1
| | | | | | | The boot.cmd file created by rpi-u-boot-scr is needed for u-boot to automatically boot a RaspberryPi. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* u-boot: Use mainline u-boot recipe from oe-corePaul Barker2016-07-081-29/+0
| | | | | | | | | | | | | | | The repository used by u-boot-rpi has not been updated since 2012. In the meantime, mailine u-boot has gained Raspberry Pi support. All we need to do is set UBOOT_MACHINE to an appropriate value in the machine config files. Currently configs are only provided for raspberrypi and raspberrypi2. The master branch of u-boot now also appears to have a config file for raspberrypi3 so support for this can be added in the future when u-boot is upgraded in oe-core. The mainline u-boot recipe creates the file "u-boot.bin" instead of "u-boot.img". Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* u-boot-rpi: update path to imagetool-uncompressed.pyJonathan Liu2016-03-011-1/+1
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* u-boot-rpi: update path to imagetool-uncompressed.pyJonathan Liu2016-02-281-1/+1
| | | | Signed-off-by: Jonathan Liu <net147@gmail.com>
* u-boot-rpi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage toolsMaciej Borzecki2016-02-261-1/+1
| | | | | | | | | | The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused the build to fail due to recipe trying to access ${libdir}/mkimage. Fix the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a proper location is used. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
* u-boot-rpi: Integrate packageAndrei Gherzan2014-02-091-0/+29
Change-Id: I61f2cd7d3b64ea3efac618aa2bb3555e9e79da2a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>