aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
AgeCommit message (Collapse)Author
2024-04-17u-boot: remove now-upstreamed rock-pi-e patchesTrevor Woerner
These patches were back-ported from upstream to fix an issue with automatically handling different ethernet PHY chips on different spins of the rock-pi-e board. Now that the version of U-Boot has been updated in oe-core master, these pack-ports are no longer required to be applied explicitly. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-29rename u-boot bbappendTrevor Woerner
The bbappend provided in this layer only needs to apply to the u-boot_<version> file itself and not all u-boot files in oe-core. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-24u-boot: make rock-pi-e patches only for rock-pi-eTrevor Woerner
The U-Boot patches that were added recently are only for the rock-pi-e MACHINE, therefore only apply them when building for rock-pi-e. Fixes: b5bba3a01197 ("rock-pi-e: apply upstream PHY fix") Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-20rock-3a: addTrevor Woerner
The ROCK 3A has an rpi form factor and features: - 4x Cortex-A55 ARM processor - Mali G52 GPU - 0.8TOPS NPU - 32bit 3200Mb/s LPDDR4, up to 4K@60 - HDMI, MIPI DSI, MIPI CSI - 3.5mm jack with mic - USB Port - GbE LAN - PCIe 3.0, PCIe 2.0 - 40-pin color expansion header - RTC - supports USB PD and QC powering https://wiki.radxa.com/Rock3/3a Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Anthony Davies <anthony.t.davies@gmail.com>
2024-01-19rock-pi-e: apply upstream PHY fixTrevor Woerner
This patch was submitted to the U-Boot mailing list to fix an issue initializing the PHY on the rock-pi-e. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-17roc-rk3308-cc: addTrevor Woerner
The T-Firefly ROC-RK3308-CC is a miniature and compact main board which is equipped with a cost-effective RK3308 Core Processor and a high-performance CODEC. Features: - Rockchip RK3308, 64-bit, quad-core, Arm Cortex-A35 processor @ 1.3GHz - 100M ethernet - PoE - USB 2.0 and Type-C (OTG and power) - 802.11 b/g/n WiFi and Bluetooth 4.2 https://en.t-firefly.com/product/rocrk3308cc Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2024-01-17u-boot: fix build for rk3308Trevor Woerner
In upstream mainline U-Boot commit 9e13fef00b8d ("rockchip: Kconfig: Enable external TPL binary for rk3308") U-Boot was changed to incorporate the DDR TPL using the same mechanism as the RK3568 and RK3588 platforms. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-11-02rock-pi-s: addTrevor Woerner
ROCK Pi S is a Rockchip RK3308 based SBC from Radxa. It contains a 64-bit quad core processor, USB, ethernet, wireless connectivity, and voice detection engine in 1.7-inches square. The ROCK Pi S comes in two RAM sizes 256MB or 512MB DDR3, and uses an sdmmc card for OS and storage. Optionally, some versions of the ROCK Pi S provide on-board storage via 1Gb/2Gb/4Gb/8Gb of SLC NAND flash. "S" stands for "small square" since the total board size of the rock-pi-s is 1.7-inches square. This BSP assumes booting from sdmmc, and using ttyS0 for the serial console (similar to Raspberry Pi). The latest version of the binary ddr initializer code from rkbin does not provide a uart0 option, therefore all diagnostic output from rkbin and u-boot is lost on the console (and replaced with a stream of gibberish until the Linux kernel starts). Therefore, by default, the build assumes the user would prefer to see this information and have the option to interact with U-Boot, which means an older version of rkbin is used. The user can override this decision by setting: RKBIN_RK3308_LATEST = "1" Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03u-boot cleanup: organize DEPENDSTrevor Woerner
Group and sort the DEPENDS. Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03u-boot cleanup: group EXTRA_OEMAKETrevor Woerner
Group the EXTRA_OEMAKE items together and sort. Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03u-boot cleanup: group dependenciesTrevor Woerner
Group the INIT_FIRMWARE_DEPENDS together and sort. Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-10-03u-boot cleanup: move taskTrevor Woerner
According to the Yocto Recipe Style Guide[1] the tasks should be at the end. [1] https://docs.yoctoproject.org/dev/contributor-guide/recipe-style-guide.html Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-29rock-5b: addTrevor Woerner
Add support for the Radxa Rock 5B https://wiki.radxa.com/Rock5/5b The device-tree for this board is better in the 6.5 (and later) kernels, therefore set the kernel to linux-yocto-dev for now (eventually this won't be needed as linux-yocto moves forward). Unfortunately the TF-A project does not currently have support for the rk3588. Therefore, for the time-being, the only way to supply a TPL/DDR-init for the rk3588 is to use the closed-source rkbin binaries from Rockchip. If/when TF-A adds support for the rk3588 we can investigate switching. The rk3588 comes in two variants: rk3588 and rk3588s. The "s" option is a stripped-down version of the rk3588. In the Linux kernel these two SoCs are kept separate, with the rk3588 building on the rk3588s, so we've mimicked that same behaviour here. Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-09-29u-boot: rename firmware dependencyTrevor Woerner
In anticipation of Rockchip SoC families to which the TF-A project has not been ported, the initial boot firmware needs to come from other sources (e.g. Rockchip's rkbin binaries). Update the variable used to describe this dependency to be more generic and not TF-A specific. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-05-19u-boot%.bbappend: pyelftoolsLeon Anavi
Various machines require pyelftools Python3 library for parsing dtb files so it should be added to DEPENDS. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-30U-Boot: add DEPENDS for rock-pi-4[abc]Trevor Woerner
The U-Boot build for rock-pi-4[abc] was recently changed to add information for UEFI. The build now DEPENDS on gnutls-native. U-Boot: e86c789ca372 ("rockpi4: board: Add firmware image information for capsule updates") Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2022-10-20add support for PX30 SoCQuentin Schulz
Rockchip PX30 SoC is a quad-core ARM Cortex-A35 CPU fully implementing the ARMv8-A instruction set with ARM Neon Advanced SIMD and Cryptography Extensions. This adds a base configuration file which can be included by PX30-based boards and the required changes in U-Boot and TF-A for proper support. Cc: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
2021-12-08u-boot: remove "virtual" keyword in dependencyTrevor Woerner
The latest trusted-firmware-a recipe in meta-arm no longer considers trusted-firmware-a to have potentially multiple providers. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2021-08-04switch to the new bitbake OVERRIDE syntaxTrevor Woerner
With bitbake commit 7dcf317cc141dc980634f8c18bfa84f83e57206a ("bitbake: Switch to using new override syntax"), applied on Aug 2, 2021, the OVERRIDE separator is now a colon instead of an underscore. Therefore all builds performed with a bitbake before this change must use a meta-rockchip commit before this one, and any builds performed with a bitbake after this change must use a meta-rockchip starting from this commit onwards. Build-tested for all meta-rockchip MACHINEs. Run tested on: - tinker-board - nanopi-m4-2gb - rock64 - rock-pi-4b - rock-pi-e The tinker-board and rock-pi-e work fine. The rest of the boards seem to have a, hopefully unrelated, issue running a 5.13-yocto-standard kernel. However, all boards work with the 5.10-yocto-standard kernel. Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-26rock-pi-e: addTrevor Woerner
Add support for Radxa's ROCK Pi E device https://wiki.radxa.com/RockpiE It's a great surprise to find upstream U-Boot and the Linux kernel already provide support for this board! On the kernel side this support was added in 5.11. However, that support is so new that even linux-yocto-dev (which is based on 5.11) doesn't include the commits that add support for this board yet. As a result I've added a custom Linux kernel recipe (linux-stable-bleeding) which should, in time, become unnecessary. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2020-06-25Use TF-A recipe from meta-armJoshua Watt
Converts the build to pull the canonical TF-A recipe from meta-arm instead of duplicating it in this layer. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-27rk3399: Add generic rk3399 supportJoshua Watt
Adds support for the rk3399 SoC. Notably: *) Split out the default kernel config and image type from rockchip-defaults.inc now that not all support chips are ARMv7 *) Apply a patch to Arm Trusted Firmware to fix a compile issue *) Arm Trusted Firmware requires the arm-none-eabi-native compiler to compile the M0 firmware. *) Modify u-boot to pull in the ATF files when compiling *) The rk3399 is support by the panfrost driver in mesa, so enable it Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2020-01-24Remove u-boot-rockchipJoshua Watt
Removes the u-boot-rockchip recipe. Upstream oe-core has dropped support for Python2, which is required to build this recipe. It appears that no machines are actually using it anymore, so it can be removed. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-12-10rock2-square: reinstate non-idbloader u-bootTrevor Woerner
Unfortunately, although the rock2-square is an rk3288-based device, its U-Boot has not been updated to use the TPL+SPL/idbloader mechanism. This commit adds back the previous U-Boot packaging but only for the rock2-square. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-12-09Fix rk3288 bootloaderJoshua Watt
Recent versions of u-boot use a combined SPL/TPL (called idbloader.img) in the loader1 partition, which then loads the full u-boot from the loader2 partition. Update the GPT partition class to reflect this change. Additionally, remove the u-boot bbappend since it is no longer needed. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
2019-08-27u-boot tinker: remove patchTrevor Woerner
The tinker-rk3288 MACHINE is no longer in need of a patch to disable I2C in SPL. The latest _defconfig no longer enables this option by default. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2019-04-23tinker-rk3288 u-boot: disable CONFIG_SPL_I2C_SUPPORTTrevor Woerner
The SPL for the Tinker Board has to fit into 32 KiB. Currently this limit is exceeded. CONFIG_SPL_I2C_SUPPORT is not needed to move to main U-Boot. So let's disable it. Suggested-by: David Wu <david.wu@rock-chips.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: David Wu <david.wu@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> This patch was imported from the U-Boot patchwork: https://patchwork.ozlabs.org/patch/1049112/ Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-30bootloader: set to upstream u-boot for rk3288Trevor Woerner
The upstream u-boot bootloader seems to work fine for both the tinker-rk3288 and the firefly-rk3288, so switch to it by default for rk3288 boards. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-27u-boot-rockchip: rename patch dirTrevor Woerner
Make the location of the u-boot-rockchip patches recipe-specific. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-24u-boot-rockchip: update for latest firmware bootloaderTrevor Woerner
There was an update to the rockchip firmware bootloader that appears to require an update to the u-boot bootloader as well. The old firmware bootloader was: RK3288UbootLoader_V2.30.06.bin The new firmware bootloader is: rk3288_ubootloader_v1.01.06.bin Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-04-15veyron-speedy: add bootloaderTrevor Woerner
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-01-23u-boot-rockchip: update require path 2008.01Trevor Woerner
The oe-core recipe was updated (2017.11 -> 2018.01), this recipe needs to be updated to suit. Note, however, that this u-boot from rockchip is at version 2017.07. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-12-05u-boot-rockchip: update require path 2007.11Trevor Woerner
The oe-core recipe was updated (2017.09 -> 2017.11), this recipe needs to be updated to suit. Note, however, that this u-boot from rockchip is at version 2017.07. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-09-19u-boot-rockchip: update require pathTrevor Woerner
The oe-core recipe was updated (2017.07 -> 2017.09), this recipe needed to be updated to suit. However, this u-boot (from rockchip) is at version 2017.07. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-07-25u-boot-rockchip: update require pathTrevor Woerner
The oe-core recipe was updated (2017.05 -> 2017.07), this recipe needed to be updated to suit. However, this u-boot (from rockchip) is still at version 2017.05. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-06-11u-boot-rockchip: update require pathTrevor Woerner
The oe-core recipe was updated, this recipe needed to be updated to suit. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15u-boot-rockchip: add rock2 to compatible machinesRomain Perier
As this machine is supported by this u-boot, add it to the compatible machines. Signed-off-by: Romain Perier <romain.perier@collabora.com> Reviewed-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15u-boot-rockchip: remove duplicated variablesRomain Perier
This adds the inclusion of u-boot-common_2017.01.inc and removes duplicated variables that are already defined by this file. Signed-off-by: Romain Perier <romain.perier@collabora.com> Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15u-boot-rockchip: use a correct versionRomain Perier
The version is actually not defined. Bitbake implicitly uses "git-r0" by default. This commit defines PV to the version of u-boot that is currently present of the release branch, prefixed by the sha1 of the commit. Signed-off-by: Romain Perier <romain.perier@collabora.com> Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-05-15u-boot-rockchip: copy spl binary from the good taskRomain Perier
Currently, the spl binary (that is ${SPL_BINARY}) is copied before the install task, as part of a prepended func. The u-boot include in poky, defines the deploy task to be run after the compile task, there is absolutely no order between this deploy task and the install task. In some cases, the install task can be executed after the deploy task, resulting to an error because do_deploy will not find the spl binary in ${B}. This commit, move the copy of the spl binary after the compile task. Signed-off-by: Romain Perier <romain.perier@collabora.com> Tested-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15u-boot-rockchip: race condition fixTrevor Woerner
Following on from the conversation here: https://lists.yoctoproject.org/pipermail/yocto/2017-February/034681.html It turns out there was a race condition in u-boot which explains why some people saw failures one way and others say failures the other way. This race has been fixed in openembedded-core: http://git.openembedded.org/openembedded-core/commit/?id=60c90398580998b2379bb438f0f75b29285135a5 Therefore we need to align with the current behaviour. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15u-boot-rockchip: fix for binutils-2.28Trevor Woerner
The recent upgrade from binutils-2.27 to binutils-2.28 on openembedded-core caused a build failure for u-boot-rockchip: arm-oe-linux-gnueabi-ld.bfd: u-boot: Not enough room for program headers, try linking with -N Linking with -N fixes the issue. This patch adds that flag to the build so it succeeds. This has been build-tested, as well as run-tested on the firefly-rk3288. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15u-boot-rockchip: add DEPENDS for bcTrevor Woerner
Another native tool added due to recipe-specific sysroots (RSS). Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-15u-boot-rockchip: add DEPENDS for dtcTrevor Woerner
The recent "recipe-specific sysroot" change in openembedded-core has caused the build to be more strict about what tools can be used from the host. As such it's probably best to use the generated dtc for u-boot. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2017-03-06u-boot-rockchip: addTrevor Woerner
This recipe was taken from the Rockchip team's recipe at https://github.com/rockchip-linux/meta-rockchip/commit/6a139d5b7510c7ba36aace82c239b894d5741cac It was mostly written by Jacob Chen <jacob-chen@iotwrt.com> and I've made a couple small modifications. Reviewd-by: Eddie Cai <eddie.cai.linux@gmail.com> Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com>