summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-29imx6dl-mamoj: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29imx6-engicam: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29display5: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Łukasz Majewski <[email protected]>
2025-11-29dart_6ul: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29cm_fx6: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29cl-som-imx7: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29bk4r1: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29imx6dl-sielaff: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]>
2025-11-29gw_ventana: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]> Acked-By: Tim Harvey <[email protected]>
2025-11-29opos6uldev: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Sébastien Szymanski <[email protected]>
2025-11-29board: tbs2910: Disable EFI partition, MP, sysboot, bind commandsMarek Vasut
This board is just short of overflowing the size limit, disable support for EFI partition since EFI support is already disabled, and disable a couple of commands which are also likely unused to keep the board below limit. Signed-off-by: Marek Vasut <[email protected]> Acked-by: Soeren Moch <[email protected]>
2025-11-29imx95_evk: Initialize the ELE RNG contextJi Luo
OP-TEE requires a trusted RNG. This is provided by ELE on i.MX95. Start the initialization of the ELE RNG context before OP-TEE startup to allow OP-TEE to derive RNG later. Signed-off-by: Ji Luo <[email protected]> Signed-off-by: Alice Guo <[email protected]>
2025-11-29imx: Add support for Kontron i.MX93 OSM-S SoM and BL carrier boardFrieder Schrempf
This adds support for the Kontron Electronics OSM-S i.MX93 SoM and the matching baseboard BL i.MX93. The SoM hardware complies to the Open Standard Module (OSM) 1.1 specification, size S (https://sget.org/standards/osm). Signed-off-by: Frieder Schrempf <[email protected]>
2025-11-29arm: imx: imx9: Use arch override for env_get_location()Frieder Schrempf
The arch-level implementation should be used here so that env_get_location() can be used on board-level. Signed-off-by: Frieder Schrempf <[email protected]>
2025-11-29imx: Add support for Kontron i.MX8MP OSM-S SoM and BL carrier boardFrieder Schrempf
This adds support for the Kontron Electronics OSM-S i.MX8MP SoM and the matching baseboard BL i.MX8MP. The SoM hardware complies to the Open Standard Module (OSM) 1.1 specification, size S (https://sget.org/standards/osm). Signed-off-by: Frieder Schrempf <[email protected]>
2025-11-29bsh: add support for imx6ulz_smm_m2dAndrea Calabrese
Add support for imx6ulz_smm_m2d, based on the M2 architecture. Signed-off-by: Andrea Calabrese <[email protected]>
2025-11-29bsh: make common configuration for m2Andrea Calabrese
Since M2 and M2B share the same defconfig aside from one parameter, we have a common configuration that also allows us to support addition of new boards based on the M2 hardware. Signed-off-by: Andrea Calabrese <[email protected]>
2025-11-29Merge patch series "Add support for two RTCs"Tom Rini
Michael Walle <[email protected]> says: I'll soon post support for the Kontron SMARC-sAM67 u-boot support. I'm still waiting for the linux device trees to be merged (in -next right now) and then to be synced to the u-boot tree. That board features two different RTCs and this will already support for these. Link: https://lore.kernel.org/r/[email protected]
2025-11-28drivers: rtc: add RV3032 supportMichael Walle
Add support for the Microcrystal RV3032 RTC. Signed-off-by: Michael Walle <[email protected]>
2025-11-28drivers: rtc: add PCF85063 supportMichael Walle
Add support for the Microcrystal RV8263 and compatible RTCs. The driver's name was taken from linux. It should work with any NXP PCF85063 compatible RTCs. It was tested with a RV8263. Signed-off-by: Michael Walle <[email protected]>
2025-11-28drivers: rtc: convert tristate to boolMichael Walle
As u-boot doesn't have any loadable modules, tristate doesn't make sense. Convert it to bool. Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2025-11-28Merge branch 'assorted-dtb-alignment-fixes' into nextTom Rini
This merges a number of fixes from Marek Vasut that will allow us to move to a newer dtc release (that enforces the 8 byte alignment requirement that has long existed).
2025-11-28xtensa: Fix big endian buildMarek Vasut
Make sure the correct PLATFORM_...FLAGS are assigned in each case, consistently. Assign PLATFORM_ELFFLAGS for both LE and BE case. The previous PLATFORM_CPPFLAGS makes no sense for these particular parameters, which are passed to objcopy. Signed-off-by: Marek Vasut <[email protected]>
2025-11-28xtensa: Assure end of U-Boot is at 8-byte aligned offsetMarek Vasut
Make sure the end of U-Boot is at 8-byte aligned offset, not 4-byte aligned offset. This allows safely appending DT at the end of U-Boot with the guarantee that the DT will be at 8-byte aligned offset. This 8-byte alignment is now checked by newer libfdt 1.7.2 . Signed-off-by: Marek Vasut <[email protected]>
2025-11-28test/py: Use aligned address for overlays in 'extension' testMarek Vasut
The 'extension' test would set 'extension_overlay_addr' variable to decimal 4096 due to conversion in python. The 'extension_overlay_addr' is however sampled using env_get_hex("extension_overlay_addr", 0); which converts the 4096 to 0x4096 and uses that as DT overlay address, which is unaligned. Fix this by setting extension_overlay_addr to 0x1000 as intended, which is aligned. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
2025-11-28sandbox: Fix DT compiler pin warnings in sandbox DTsMarek Vasut
Trivially fix the following warnings in sandbox DTs, which show up with DTC 1.7.2. Assign pin groups less confusing node names with pins- prefix to avoid confusing DT compiler into thinking the node is really a bus node: " arch/sandbox/dts/.test.dtb.pre.tmp:1831.20-1841.5: Warning (i2c_bus_bridge): /pinctrl/i2c: incorrect #address-cells for I2C bus arch/sandbox/dts/.test.dtb.pre.tmp:1831.20-1841.5: Warning (i2c_bus_bridge): /pinctrl/i2c: incorrect #size-cells for I2C bus arch/sandbox/dts/test.dtb: Warning (i2c_bus_reg): Failed prerequisite 'i2c_bus_bridge' arch/sandbox/dts/.test.dtb.pre.tmp:1848.20-1856.5: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #address-cells for SPI bus arch/sandbox/dts/.test.dtb.pre.tmp:1848.20-1856.5: Warning (spi_bus_bridge): /pinctrl/spi: incorrect #size-cells for SPI bus arch/sandbox/dts/test.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' " Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
2025-11-28sandbox: Fix DT compiler address warnings in sandbox DTsMarek Vasut
Trivially fix the following warnings in sandbox DTs, which show up with DTC 1.7.2. Fill in the missing address and adjust emulated I2C address to fit the 7bit address limit: " arch/sandbox/dts/sandbox.dtsi:138.30-140.5: Warning (i2c_bus_reg): /i2c@0/sandbox_pmic: I2C bus unit address format error, expected "40" arch/sandbox/dts/sandbox.dtsi:146.18-161.5: Warning (i2c_bus_reg): /i2c@0/emul: I2C bus unit address format error, expected "ff" arch/sandbox/dts/sandbox.dtsi:148.4-17: Warning (i2c_bus_reg): /i2c@0/emul:reg: I2C address must be less than 7-bits, got "0xff". Set I2C_TEN_BIT_ADDRESS for 10 bit addresses or fix the property " " arch/sandbox/dts/.test.dtb.pre.tmp:912.18-926.5: Warning (i2c_bus_reg): /i2c@0/emul: I2C bus unit address format error, expected "ff" arch/sandbox/dts/.test.dtb.pre.tmp:913.4-17: Warning (i2c_bus_reg): /i2c@0/emul:reg: I2C address must be less than 7-bits, got "0xff". Set I2C_TEN_BIT_ADDRESS for 10 bit addresses or fix the property arch/sandbox/dts/.test.dtb.pre.tmp:928.30-931.5: Warning (i2c_bus_reg): /i2c@0/sandbox_pmic: I2C bus unit address format error, expected "40" " Fix up pmic test to match. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]>
2025-11-28MIPS: Assure end of U-Boot is at 8-byte aligned offsetMarek Vasut
Make sure the end of U-Boot is at 8-byte aligned offset, not 4-byte aligned offset. This allows safely appending DT at the end of U-Boot with the guarantee that the DT will be at 8-byte aligned offset. This 8-byte alignment is now checked by newer libfdt 1.7.2 . Signed-off-by: Marek Vasut <[email protected]>
2025-11-28arm: qemu: Eliminate fdt_high and initrd_high misuseMarek Vasut
The fdt_high and initrd_high have nasty side-effects , which may lead to DT placed at 4-byte aligned offset when used in place, which then prevents Linux on arm64 from booting. This is difficult to debug and inobvious, with little to no gain. Remove this to let U-Boot place the DT at correctly aligned address. Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2025-11-28boot: Assure FDT is always at 8-byte aligned addressMarek Vasut
The fitImage may contain FDT at 4-byte aligned address, because alignment of DT tags is 4 bytes. However, libfdt and also Linux expects DT to be at 8-byte aligned address. Make sure that the DTs embedded in fitImages are always used from 8-byte aligned addresses. In case the DT is decompressed, make sure the target buffer is 8-byte aligned. In case the DT is only loaded, make sure the target buffer is 8-byte aligned too. Signed-off-by: Marek Vasut <[email protected]>
2025-11-28Merge tag 'rpi-2026.01-rc3' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-raspberrypi Updates for RPi for 2026.01-rc4: - rpi: Fix DRAM size reporting to show total RAM - rpi: Use the U-Boot control FDT for fdt_addr - pinctrl: bcm283x: Add GPIO pull-up/down control for BCM2835 and BCM2711 - rpi: Fix compilation with larger configs
2025-11-28Merge branch 'master' of git://source.denx.de/u-boot-usbTom Rini
- A Kconfig dependency fix and a patch to avoid a noisy print
2025-11-28rpi: Fix DRAM size reporting to show total RAMAnders Roxell
The VideoCore mailbox GET_ARM_MEMORY only reports the size of the first accessible memory region (~947 MiB on RPi4 with 8GB), not the total RAM. This causes U-Boot to display "DRAM: 947 MiB (total 7.9 GiB)" instead of "DRAM: 7.9 GiB". On Raspberry Pi 4 with 8GB RAM, the memory is split across multiple non-contiguous banks. The dram_init() function only sets gd->ram_size to the first bank size reported by the VideoCore firmware, while fdtdec_setup_memory_banksize() correctly populates all memory banks from the device tree. Fix this by updating gd->ram_size after dram_init_banksize() has populated all memory banks, so it reflects the actual total RAM across all banks. Signed-off-by: Anders Roxell <[email protected]> Reviewed-by: Peter Robinson <[email protected]>
2025-11-27usb/xhci: avoid noisy 'Register NbrPorts' messageHeinrich Schuchardt
We should avoid overwhelming users with non-essential messages. 'Register NbrPorts' is a debug message for EHCI. Do the same for XHCI. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-11-27configs: toradex-smarc-imx95: set spl_stackMax Krummenacher
The SPL_STACK config option now depends on having SPL_HAVE_INIT_STACK defined. This made savedefconfig dropping SPL_STACK when sending the initial configuration. Note that SPL/U-Boot are able to boot linux from mass storage with SPL_STACK not set but other use cases might run out of stack or overlap with other RAM use. Compare with: commit d6a53f523afe ("spl: Add an SPL_HAVE_INIT_STACK option") commit 25fefa05d732 ("configs: Resync with savedefconfig") Fixes: ff0540fcfe49 ("board: toradex: add Toradex SMARC iMX95") Signed-off-by: Max Krummenacher <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Acked-by: Francesco Dolcini <[email protected]>
2025-11-27usb: USB_EHCI_PCI depends on PCIHeinrich Schuchardt
CONFIG_USB_EHCI_PCI cannot work without CONFIG_PCI. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
2025-11-27bootstd: rauc: Only require partitions for one slotLeonard Anderweit
Partitions can be become unusable due to power cuts or failed updates. Use the bootmeth RAUC if partitions for at least one slot exist. The bootmeth can then select the working slot. Signed-off-by: Leonard Anderweit <[email protected]> Tested-by: Martin Schwan <[email protected]>
2025-11-27bootstd: rauc: Don't check root part filesystemLeonard Anderweit
Only check if the root partition exists when scanning for the slots partitions and not if the filesystem can be accessed. It is not needed to access the filesystem of the root partition as it might not be supported by u-boot or be encrypted. Signed-off-by: Leonard Anderweit <[email protected]> Tested-by: Martin Schwan <[email protected]>
2025-11-27board: adi: Fix missing semicolon in nfsrootGreg Malysa
The nfsroot constructed as part of the default Analog Devices boot strategy is missing a semicolon between the server ip and the root path itself. This adds the missing semicolon. Signed-off-by: Greg Malysa <[email protected]>
2025-11-27board: ti: am335x: Fix DM_TPS65910 conditionMaarten Brock
scale_vcores_generic() calls functions implemented in tps65910.c, not tps65910_dm.c. Change guard from CONFIG_DM_PMIC_TPS65910 to CONFIG_SPL_POWER_TPS65910. Fixes: 0b9ff0851592 ("board: ti: am335x: Do not call disabled PMIC functions") Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]> Signed-off-by: Maarten Brock <[email protected]> Reviewed-by: Kory Maincent <[email protected]> Acked-by: Maarten Brock <[email protected]>
2025-11-27board: ti: am6x: Restore do_board_detect functionsGuillaume La Roque (TI.com)
This patch fixes a boot failure on the AM64x EVM that was introduced when the do_board_detect function was removed during a refactoring. It restores the do_board_detect function for the AM64x, AM62x, and AM65x boards to ensure the common board detection logic is executed correctly. Fixes: 804b80288ac ("board: am65x: Use generic AM6x board detection function") Fixes: ce56e553c31 ("board: am64x: Use generic AM6x board detection functions") Fixes: ff1b83c095c ("board: am62x: Add support for reading eeprom data") Signed-off-by: Guillaume La Roque (TI.com) <[email protected]>
2025-11-27net: ti: am65-cpsw-nuss: Ignore disabled ethernet portsSiddharth Vadapalli
Currently, the bind callback of the driver namely am65_cpsw_nuss_bind() registers all ethernet ports including the ones that have been disabled in the device-tree. Since the ports that have been disabled are ought to be ignored, fix the implementation to register only the enabled ports as indicated by their 'status' in their respective device-tree node. Fixes: 3943531a5468 ("net: ti: am65-cpsw-nuss: Define bind method for CPSW driver") Reported-by: Wadim Egorov <[email protected]> Closes: https://patch.msgid.link/[email protected] Signed-off-by: Siddharth Vadapalli <[email protected]>
2025-11-27power: domain: ti: fix ti_pd_get() to return after verifying transitionSiddharth Vadapalli
The helper function "ti_pd_get()" is responsible for powering on a domain if it is powered off. In the current implementation, if a power domain is determined to be powered off - no prior users and the PDCTL register indicates that the user desired state is OFF, then powering on the domain constitutes setting 'PDCTL_STATE_ON' field of the PDCTL register. While the current implementation indeed requests the power domain to be transition to the ON state, the helper function "ti_pd_get()" doesn't verify that the power domain has 'transitioned' to the ON state before returning to its caller. As a result, it is possible that the device(s) belonging to the power domain may be accessed before it is truly powered on, leading to a bus abort. Fix this by waiting for the power domain to transition to the ON state by using "ti_pd_wait()" before returning from "ti_pd_get()". Fixes: 144464bd2c67 ("power: domain: Introduce driver for raw TI K3 PDs") Signed-off-by: Siddharth Vadapalli <[email protected]> Tested-by: Hrushikesh Salunke <[email protected]>
2025-11-27cmd/extension: avoid NULL pointer dereferenceHeinrich Schuchardt
extension_get_list() will return NULL if there is no extension device. Check for this situation. Addresses-Coverity-ID: 638557 - Null pointer dereferences (NULL_RETURNS) Fixes: 2d12958ee71b ("boot: Remove legacy extension board support") Signed-off-by: Heinrich Schuchardt <[email protected]> Acked-by: Kory Maincent <[email protected]>
2025-11-26Merge tag 'u-boot-imx-master-20251126' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/28502 - Fix i.MX8ULP boot regression. - Fix colibri-imx7 fdtfile overwrite. - Fix some i.MX91 pinmux macro definitions.
2025-11-26CI: Update to latest containerTom Rini
- Move to jammy-20251013 tag - Bring in tkinter so that FATtools should run and more tests should be run. - Update to QEMU 10.0.6 - Pick tags for (most of) trace-cmd Signed-off-by: Tom Rini <[email protected]>
2025-11-26Dockerfile: Update building trace tools slightlyTom Rini
We have not been picking a tag for the trace-cmd build process. Currently the tip of libtraceevent fails to build. Address both problems here by picking recent stable tags for libtraceevent and libtracefs (trace-cmd has no recent tags). Further, as it is often reported that this fails to build due to a race, stop using "make -j$(nproc)" as this is also small enough of a set of builds to not be an issue. Signed-off-by: Tom Rini <[email protected]>
2025-11-26Dockerfile: Include python3-tk for FATtoolsTom Rini
In some cases our tests for exFAT don't run because we fail to be able to create the underlying image. This is in turn because while creation of the image succeeds, it seems that some way of how we invoke FATtools wants to import tkinter, that fails and so the test stops there. Having tkinter available (and then presumably a fallback to non-GUI because it's not available) leads to the tests running as expected. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Tom Rini <[email protected]>
2025-11-26Docker: Update QEMU to 10.0.6Tom Rini
The QEMU project has the 10.0.x series as an LTS release. While we are not doing an LTS ourselves, we can be confident in the changes between 10.0.2 and 10.0.6, so update ourselves. Signed-off-by: Tom Rini <[email protected]>
2025-11-26s5p4418_nanopi2: Stop disabling device tree relocationTom Rini
Remove setting of fdt_high to ~0, which disables device tree relocation, from the default environment. Doing so prevents U-Boot from correcting problems such as having an unaligned device tree and leads to various failure modes in the OS. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>