summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-01-20arm: Update linker scripts to ensure appended device tree is alignedTom Rini
With commit 0535e46d55d7 ("scripts/dtc: Update to upstream version v1.7.2-35-g52f07dcca47c") it is now a fatal error to U-Boot if our device tree is not 8-byte aligned. In commit 85f586035d75 ("ARM: OMAP2+: Pad SPL binary to 8-byte alignment before DTB") Beleswar Padhi explains that we must have ALIGN(x) statements inside of a section to ensure that padding is included and not simply that the linker address counter is incremented. To that end, this patch: - Expands some linker sections to be more readable when adding a second statement to the section. - Aligns the final section before _end (for U-Boot) or _image_binary_end or __bss_end (for xPL phases) by 8-bytes by adding '. = ALIGN(8);' to the final section before the symbol. - Ensure that we do have alignment by adding an ASSERT so that when not aligned we fail to link (and explain why). - Remove now-spurious '. = ALIGN(x);' statements that were intended to provide the above alignments. Tested-by: Michal Simek <[email protected]> # Zynq Reviewed-by: Ilias Apalodimas <[email protected]> [trini: Also update arch/arm/cpu/armv8/u-boot.lds as Ilas requested] Signed-off-by: Tom Rini <[email protected]>
2026-01-20Makefile: Have binary_size_check report only first match of _image_binary_endTom Rini
If we have ASSERT macros that validate the position of _image_binary_end, our awk expression will report a string that causes the rest of our check to fail with garbage values. Have it exit after the first match to fix this. Signed-off-by: Tom Rini <[email protected]>
2026-01-20ARM: OMAP2+: Pad SPL binary to 8-byte alignment before DTBBeleswar Padhi
The OMAP2 SPL linker script (also used for K3 platforms) currently uses a 4-byte alignment directive after the __u_boot_list section. This alignment directive only advances the location counter without padding the actual binary output. When objcopy extracts u-boot-spl-nodtb.bin, it includes only actual data, stopping at the last byte of __u_boot_list (e.g., 0x41c359fc), not an aligned address (e.g., 0x41c35a00). So, when the FIT image containing device trees is concatenated to the SPL binary, it gets appended at this unaligned file size, causing libfdt validation failure. To fix this, move the alignment directive into the __u_boot_list section itself and make it 8-byte aligned as per DT spec. This forces the linker to include padding as part of the section data, ensuring objcopy includes the padding bytes in the binary and the appended FIT image starts at an 8-byte aligned boundary. Reported-by: Anshul Dalal <[email protected]> Closes: https://lore.kernel.org/u-boot/[email protected] Fixes: 0535e46d55d7 ("scripts/dtc: Update to upstream version v1.7.2-35-g52f07dcca47c") Signed-off-by: Beleswar Padhi <[email protected]>
2026-01-20Merge tag 'efi-2026-04-rc1-2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request efi-2026-04-rc1-2 CI: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/29050 Documentation: * Update StarFive JH7110 common description * Add TI AM62D documentation * Update urllib3 version for building * Update links to doc/develop/falcon.rst * Describe QEMU networking * kdoc: handle the obsolescensce of docutils.ErrorString() * Fix typo "addtional" -> "additional" in pflash section. UEFI: * Fix boot failure from FIT with compressed EFI binary Others: * cmd/meminfo: Correct displaying addresses above 4 GiB * test: - Consider configuration in meminfo test - Consider initf_malloc is only traced with EARLY_TRACE - Clean up test_trace.py code
2026-01-20doc: board: starfive: update jh7110 common descriptionE Shattow
Updates to the JH7110 common description: - add detailed overview of JH-7110 SoC and boot process - revise descriptions of deprecated StarFive loader modes - refresh build directions grouped with SPL debug advice - reduce usage instructions into common methods shared by supported boards - cite starfive_visionfive2 board maintainer description of StarFive loader - cite published datasheets for ambient operating temperature data Redundant/deprecated sections of each board doc are dropped accordingly: - deepcomputing fml13v01 - milk-v mars - pine64 star64 (also add inclusion of JH7110 common description) - visionfive2 Signed-off-by: E Shattow <[email protected]>
2026-01-19Merge tag 'xilinx-for-v2026.04-rc1-v2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-microblaze AMD/Xilinx/FPGA changes for v2026.04-rc1 v2 microblaze: - Fix spl_boot_list order versal2: - Fix EMMC distro boot setup - Align distro boot variables with memory layout zynqmp-phy: - Sync with Linux kernel driver zynqmp: - Add verify_auth command - DT sync - Add placing variables to FAT/EXT4 - Enable PCIe driver by default pcie - xilinx-nwl: - Fix Link down crash ufs: - Align clock/reset with DT binding # -----BEGIN PGP SIGNATURE----- # # iHUEABYIAB0WIQSXAixArPbWpRanWW+rB/7wTvUR9QUCaW3p3wAKCRCrB/7wTvUR # 9VkwAP4jPRALpM34VpTimNe/iwigIx8hAHxbvkUU0oJ/DW6W8AEAhCSL+ydgreuv # kKCyNiOF1sm8IrOh4TdtMIFn37d4Dwg= # =AkKK # -----END PGP SIGNATURE----- # gpg: Signature made Mon 19 Jan 2026 02:22:55 AM CST # gpg: using EDDSA key 97022C40ACF6D6A516A7596FAB07FEF04EF511F5 # gpg: Can't check signature: No public key
2026-01-19test/py, buildman: Update filelock package versionTom Rini
The GitHub dependabot tool has reported a "medium" priority bug CVE-2026-22701, with this package. Update to the patched version. Reported-by: GitHub dependabot Signed-off-by: Tom Rini <[email protected]>
2026-01-19tools: amlimage: include <inttypes.h>Robert Marko
PRIuN, PRIxN, etc macros are defined in <inttypes.h>, without it being included errors like: tools/amlimage.c:124:38: error: expected ‘)’ before ‘PRIu8’ tools/amlimage.c:126:31: error: expected ‘)’ before ‘PRIu32’ Can be hit depending on the host compiler and HOSTCFLAGS. Fixes: 18c1654567dc ("tools: mkimage: Add Amlogic Boot Image type") Signed-off-by: Robert Marko <[email protected]> Reviewed-by: Mark Kettenis <[email protected]> Reviewed-by: Ferass El Hafidi <[email protected]>
2026-01-19Revert "arm: dts: an7581: set r_smpl for MMC in U-Boot"Mikhail Kshevetskiy
On my AN7581 board, the same change in the Airoha ATF-2.10 source code causes instability in eMMC reading. After the patch, in about 9 of 10 cases, ATF BL2 is unable to read FIP image from the eMMC flash. Thus BL31 and U-Boot are unable to start. Lets revert commit 7cb79f8d3d55 ("arm: dts: an7581: set r_smpl for MMC in U-Boot") until the issue will be investigated. Signed-off-by: Mikhail Kshevetskiy <[email protected]>
2026-01-19doc: Update urllib3 version for buildingTom Rini
The GitHub dependabot tool has reported one "high" priority bug, CVE-2026-21441, with this package. Update to the patched version. Reported-by: GitHub dependabot Signed-off-by: Tom Rini <[email protected]>
2026-01-19bootm: fix boot failure from compressed image for IH_OS_EFIMasahisa Kojima
The bootm command can handle the compressed image, but current code fails to boot from it. ## Loading kernel (any) from FIT Image at a8000000 ... <snip> Compression: gzip compressed Data Start: 0xa80000d4 Data Size: 10114520 Bytes = 9.6 MiB Architecture: AArch64 OS: EFI Firmware Load Address: 0x90000000 <snip> Uncompressing Kernel Image to 90000000 ## Transferring control to EFI (at address a80000d4) ... Booting <NULL> Not a PE-COFF file Loading image failed To take care of the compressed image, the load address needs to be passed instead of the original compressed image address. Signed-off-by: Masahisa Kojima <[email protected]> Tested-by: Kunihiko Hayashi <[email protected]>
2026-01-19doc: board: ti: Add AM62D documentationParesh Bhagat
Add info of boot flow and build steps for AM62Dx EVM. Signed-off-by: Paresh Bhagat <[email protected]>
2026-01-19docs: kdoc: handle the obsolescensce of docutils.ErrorString()J. Neuschäfer
The ErrorString() and SafeString() docutils functions were helpers meant to ease the handling of encodings during the Python 3 transition. There is no real need for them after Python 3.6, and docutils 0.22 removes them, breaking the docs build Handle this by just injecting our own one-liner version of ErrorString(), and removing the sole SafeString() call entirely. Reported-by: Zhixu Liu <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Upstream: https://git.kernel.org/linus/00d95fcc4dee66dfb6980de6f2973b32f973a1eb [j.ne: Adapted from Linux to U-Boot] Signed-off-by: J. Neuschäfer <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2026-01-19Update links to doc/develop/falcon.rstJ. Neuschäfer
README.falcon was converted to ReST/HTML in 2023. Signed-off-by: J. Neuschäfer <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2026-01-19doc: describe QEMU networkingHeinrich Schuchardt
Add a chapter about networking to the QEMU board documentation. Describe both different types of networking as well as different emulated NICs. Suggested-by: Manjae Cho <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2026-01-19Fix typo "addtional" -> "additional" in pflash section.Manjae Cho
%s/addtional/additional/ Signed-off-by: Manjae Cho <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2026-01-19test: clean up test_trace.py codeHeinrich Schuchardt
* Add module doc string * Correct sequence of imports * Correct long exceeding 100 characters * Remove unused variables * Remove module level invocation of check_flamegraph * Add encoding to open() calls Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Ilias Apalodimas <[email protected]>
2026-01-19test: initf_malloc is only traced with EARLY_TRACEHeinrich Schuchardt
Only if early tracing is enable the function initf_malloc can be traced. Add a configuration check. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-01-19test: cmd: consider configuration in meminfo testHeinrich Schuchardt
The output of the meminfo command depends on several Kconfig variables. These need to be taken into account to provide valid test results. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-01-19cmd/meminfo: display of addresses above 4 GiBHeinrich Schuchardt
Addresses above 4 GiB don't fit into 8 digits. Use 13 digits which encompass up to 15 TiB. Signed-off-by: Heinrich Schuchardt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-01-19microblaze: Fix SPL device supportMichal Simek
Extend spl_boot_list[] only when SPL has support for it. Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/d1c1d677b2eb4266290d31dbdf2e6e44c77a75ff.1768557507.git.michal.simek@amd.com
2026-01-17Merge tag 'u-boot-imx-master-20260117' 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/29031 - Fix interrupt storms in Linux on the imx93_frdm board. - Defconfig update for tqma6 board. - Miscellaneous cleanups/improvements for imx93_evk. - Allow booting from both USB controlles on i.MX6 DHSOM. - Handle third MAC address for SMARC i.MX95
2026-01-17board: tqma6: update RAM timing to verified settings Rev.0300DMarkus Niebel
Input from TQ-Systems hardware qualification team. Fixes performance issues if ethernet and display are used simultaneously. Signed-off-by: Markus Niebel <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-01-17configs: tqma6: activate CONFIG_CMD_NFSMax Merchel
activate CONFIG_CMD_NFS for nfs boot posibility Signed-off-by: Max Merchel <[email protected]>
2026-01-17configs: tqma6: mba6: add and use defconfigs with general configurationsMax Merchel
Add a common, MMC and SPI defconfigs with the general configurations and use them in the variant-specific defconfigs. while at it: - set BOOTCOMMAND to mmcboot as it is used on majority of other TQ modules as the default - remove DEFAULT_FDT_FILE - The kernel device tree is set at runtime. - remove CONFIG_CMD_EXT4_WRITE - EXT4 with default features cannot be written from U-Boot. - add CONFIG_FDT_FIXUP_PARTITIONS - This is needed to propagate MTD partition setup via devicetree to linux. Signed-off-by: Paul Gerber <[email protected]> Signed-off-by: Markus Niebel <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-01-17board: tqma6: Kconfig: select default SoM variant based on SoCMax Merchel
Defaults for SoM variant should depend on SoC variant. Signed-off-by: Max Merchel <[email protected]>
2026-01-17board: tqma6: improve config settings for TQMa6x/MBa6xPaul Gerber
- imply DM_I2C / DM_SPI / DM_MMC / DM_GPIO: boot relevant - add BUTTON support - add gpio LED support - enable CMD_TEMPERATURE to get query temperature in console - remove Variants that are Kconfig default - USB ethernet port is not in use by default, remove ethprime Signed-off-by: Paul Gerber <[email protected]> Signed-off-by: Markus Niebel <[email protected]> Signed-off-by: Max Merchel <[email protected]>
2026-01-17toradex: common: handle third MAC address for SMARC i.MX95Max Krummenacher
The toradex_smarc_imx95 board exposes three Ethernet ports. Set the third MAC address equal to the second MAC address. Signed-off-by: Max Krummenacher <[email protected]> Reviewed-by: Francesco Dolcini <[email protected]>
2026-01-17tools: fix format string in tools/imx8image.cMilan P. Stanić
on 32bit systems with musl libc compiler emits warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] to fix this use format length modifier 'z' (size_t) instead of 'l' Signed-off-by: Milan P. Stanić <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-01-17ARM: imx: Enable boot from both USB controllers on all i.MX6 DHSOMMarek Vasut
Enable boot from both USB controller 0 and 1 on all i.MX6 DHSOM. Signed-off-by: Marek Vasut <[email protected]>
2026-01-17imx93_qsb: Invoke the ELE voltage APIs when adjust VDD_SOC voltagePeng Fan
SPL will adjust VDD_SOC to OD voltage, because some PMIC uses 0.8V as default for VDD_SOC. So need to call the voltage change APIs to avoid ELE Glitch Detection triggered reset. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Invoke the ELE voltage APIs when adjust VDD_SOC voltagePeng Fan
SPL will adjust VDD_SOC to OD voltage, because some PMIC uses 0.8V as default for VDD_SOC. So need to call the voltage change APIs to avoid ELE Glitch Detection triggered reset. Signed-off-by: Ye Li <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-01-17misc: ele_api: Add Voltage change start and finish APIsYe Li
On GDET enabled part, need to call voltage change start and finish APIs when adjust the voltage more than 100mv. Otherwise GDET will be triggered and system is reset Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Ye Li <[email protected]> Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx95/4_evk: Add missing headerPeng Fan
Include asm/global_data.h for using DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx95_evk: Sort header filesPeng Fan
Sort header files following the order: - generic-header - asm/generic-header - asm/arch/ - asm/mach-imx/ Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx94_evk: Sort header filesPeng Fan
Sort header files following the order: - generic-header - asm/generic-header - asm/arch/ - asm/mach-imx/ Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx91_evk: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_qsb: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Cleanup headersPeng Fan
Drop unused headers and sort them. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop DECLARE_GLOBAL_DATA_PTRPeng Fan
No user of "gd" in this file, drop DECLARE_GLOBAL_DATA_PTR. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop board_phy_configPeng Fan
There is already a weak function in drivers/net/phy/phy.c, which does the same thing. So drop it. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop setup_fecPeng Fan
The clock settings could be handled by "assigned-clock-rates" through DM clock driver, so drop setup_fec(). board_init() is a dummy function now, so clean it up. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_evk: Drop UART pad settingsPeng Fan
With DM_SERIAL and pinctrl driver, the UART pad settings in board code could be dropped. Then drop board_early_init_f(), since it is a dummy function now. While at here, remove WDOG_PAD_CTRL, since no user. Signed-off-by: Peng Fan <[email protected]>
2026-01-17imx93_frdm: clear and mask TCPC interruptsFrancesco Valla
One of the two on-board PTN5110 TCPC USB Power Delivery controller on the i.MX93 FRDM board shares its interrupt line whith the PCAL6524 power controller (GPIO3-27). Since the PTN5110 starts after POR with the interrupts enabled, this can lead to an interrupt storm on OS startup if only the driver for the PCAL6524 is loaded, because none is servicing (and clearing) the interrupt requests from the PTN5110. Maks and clear all interrupts as part uring board initialization; they can be re-enabled later by a proper OS driver if required. Co-developed-by: Joseph Guo <[email protected]> Signed-off-by: Francesco Valla <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Tested-by: Thomas Petazzoni <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2026-01-17Merge branch 'master' of git://source.denx.de/u-boot-usbTom Rini
- Add the "apple,t8103-dwc3" compatible to the xhci-dwc3 glue
2026-01-16Merge branch 'qcom-main' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-snapdragon We have been getting a lot more patches from Qualcomm engineers, largely focusing on IoT, router, and automotive platforms (those with QCS, IPQ, and SA prefixes specifically). Quite a variety of changes here: - Watchdog overflow fix - Hardcoded fastboot buffer addresses for a few board (hoppefully temporary until fastboot is updated to read $fastboot_addr_r) - Enable memory protection (MMU_MGPROT) for ARCH_SNAPDRAGON - pinctrl support for the QCS615 soc - various USB/phy fixes including phy config for msm8996/qcs615 - mmc and i2c clock configuration fixes - significant fixes for rpmh and regulator drivers - added config fragment for pixel devices - sa8775p clock fixes - support for "flattened" dwc3 DT that recently landed upstream for sc7280 (qcs6490) and a few other platforms
2026-01-16Merge patch series "fix integer overflows in filesystem code"Tom Rini
This series from Timo tp Preißl <[email protected]> fixes some (potential) interger overflows in some filesystems by using __builtin_XXX_overflow helps to catch issues. Link: https://lore.kernel.org/r/[email protected]
2026-01-16fs: prevent integer overflow in ext4fs_get_bgdtableTimo tp Preißl
An integer overflow in gdsize_total calculation could lead to under-allocation and heap buffer overflow. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2026-01-16fs: prevent integer overflow in sqfs_concatTimo tp Preißl
An integer overflow in length calculation could lead to under-allocation and buffer overcopy. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: João Marcos Costa <[email protected]>
2026-01-16fs: prevent integer overflow in zfs_nvlist_lookupTimo tp Preißl
An integer overflow in nvlist size calculation could lead to under-allocation and heap buffer overflow. Signed-off-by: Timo tp Preißl <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Tom Rini <[email protected]>