summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-06-08Prepare v2026.07-rc4v2026.07-rc4Tom Rini
Signed-off-by: Tom Rini <[email protected]>
2026-06-08smbios: Fix wrong sysinfo ID for Type 3 enclosure asset tagFrank Böwingloh
smbios_write_type3() uses SYSID_SM_BASEBOARD_ASSET_TAG (Type 2) instead of SYSID_SM_ENCLOSURE_ASSET_TAG (Type 3) for the enclosure asset tag. This causes the enclosure's asset tag to be read from the baseboard sysinfo field rather than the enclosure-specific one. Fixes: bcf456dd ("smbios: add detailed smbios information") Signed-off-by: Frank Böwingloh <[email protected]> Cc: Raymond Mao <[email protected]> Cc: Tom Rini <[email protected]> Cc: Ilias Apalodimas <[email protected]> Reviewed-by: Raymond Mao <[email protected]>
2026-06-08lmb: Rename LMB_LIMIT_DMA_BELOW_4G to LMB_LIMIT_DMA_BELOW_RAM_TOPMarek Vasut
Rename LMB_LIMIT_DMA_BELOW_4G to LMB_LIMIT_DMA_BELOW_RAM_TOP to make the Kconfig option more descriptive. No functional change. Suggested-by: Ilias Apalodimas <[email protected]> Signed-off-by: Marek Vasut <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
2026-06-08Merge tag 'xilinx-for-v2026.10-rc1-v2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-microblaze into next AMD/Xilinx/FPGA changes for v2026.10-rc1 v2 zynqmp: - Clean up USB gadget configuration mbv: - Reduce SPL size versal: - Add support for A/B capsule update versal2: - Add support for A/B capsule update reset: - Introduce reset_reset_bulk() generic interface - zynqmp: Implement reset_reset_bulk() interface spi: - cadence: Switch to reset_reset_bulk() interface
2026-06-08rockchip: Switch rk3229 boards to upstream devicetreeJohan Jonker
Switch rk3229 boards to upstream devicetree. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08rockchip: Switch rk3128 boards to upstream devicetreeJohan Jonker
Switch rk3128 boards to upstream devicetree. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08rockchip: rk3576-nanopi-m5: Enable UFS supportAlexey Charkov
NanoPi M5 supports UFS modules to be inserted into its eMMC/UFS slot, using the on-chip UFS controller inside the RK3576 SoC. Enable respective drivers in its default config to be able to load kernels from UFS. Signed-off-by: Alexey Charkov <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08rockchip: rk3576-rock-4d: Enable UFS supportJonas Karlman
The Radxa ROCK 4D has a eMMC 5.1 / UFS 2.0 module connector. Enable UFS related Kconfig options to support booting from UFS storage on ROCK 4D. Signed-off-by: Jonas Karlman <[email protected]> Signed-off-by: Alexey Charkov <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08rockchip: spl: Add support for booting from UFSAlexey Charkov
Add the required architecture-specific lookups to enable U-boot SPL to load images from UFS storage devices on Rockchip RK3576, which has a boot ROM capable of loading the SPL image from UFS. Reviewed-by: Jonas Karlman <[email protected]> Signed-off-by: Alexey Charkov <[email protected]>
2026-06-08reset: rockchip: make device resets available in SPLAlexey Charkov
Enable the Rockchip reset controller driver in SPL to allow resetting attached devices like UFS during early boot. Reviewed-by: Jonas Karlman <[email protected]> Signed-off-by: Alexey Charkov <[email protected]>
2026-06-08board: rockchip: Add FriendlyElec NanoPi R76SJonas Karlman
The NanoPi R76S (as "R76S") is an open-sourced mini IoT gateway device with two 2.5G, designed and developed by FriendlyElec. Features tested on a NanoPi R76S 2411: - SD-card boot - eMMC boot - LEDs and button - PCIe/Ethernet - USB host Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08rockchip: rk3588-rock-5b: Remove USB-C controller from u-boot.dtsiJonas Karlman
The commit 12049db76437 ("rockchip: rk3588-rock-5b: Add USB-C controller to u-boot.dtsi") added the USB-C controller node to the ROCK 5B board u-boot.dtsi, this and related usb nodes are now part of upstream DT. Remove the upstream USB-C controller related DT nodes from u-boot.dtsi, including the temporary used dr_mode and maximum-speed props of the usb_host0_xhci node. Only usbc0 status = "okay" is kept ensuring USB-C power delivery continues to work as intended. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08clk: rockchip: rk3576: Add CLK_REF_USB3OTGx supportJonas Karlman
The CLK_REF_USB3OTGx clocks are used as reference clocks for the two DWC3 blocks. Add simple support to get rate of CLK_REF_USB3OTGx clocks to fix reference clock period configuration. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08clk: rockchip: rk3528: Add CLK_REF_USB3OTG supportJonas Karlman
The CLK_REF_USB3OTG clock is used as reference clock for the DWC3 block. Add simple support to get rate of CLK_REF_USB3OTG clock to fix reference clock period configuration. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
2026-06-08reset: zynqmp: Implement rst_reset using PM_RESET_ACTION_PULSEMichal Simek
Implement the rst_reset operation in the ZynqMP reset driver to use PM_RESET_ACTION_PULSE. This allows the reset controller to perform a reset pulse in a single firmware call instead of separate assert and deassert calls. This matches the Linux kernel implementation of zynqmp_reset_reset(). Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/be77d6f1b60f591ef626c14229d85c5cab867967.1779709539.git.michal.simek@amd.com
2026-06-08spi: cadence: Use reset_reset_bulk() for proper reset cyclingMichal Simek
Use the new reset_reset_bulk() API to properly cycle reset signals during probe instead of just deasserting them. This ensures the controller is properly reset before initialization. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/92e614075d2c4820d3e4485aa0bdda11efd1f7ca.1779709539.git.michal.simek@amd.com
2026-06-08reset: sandbox: Cover reset_reset() fallback with second sandbox providerMichal Simek
Add a sandbox reset controller compatible string "sandbox,reset-ctl-fallback-only" that reuses the existing sandbox assert, deassert, request, and free helpers but omits rst_reset. That forces reset_reset() through the core assert / udelay / deassert fallback. Extend the reset-ctl-test DT node with a fifth reset line named "fallback" that points at the new provider, and add dm_test_reset_reset_fallback_path which verifies sandbox_reset_get_count() stays zero (rst_reset is never invoked) while the line ends deasserted after reset_reset(). This complements the existing rst_reset coverage on sandbox,reset-ctl and matches the approach of using a separate controller to exercise the fallback path in unit tests. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/c1d40db6e2332a8b23ba842385b3f8c3d0290109.1779709539.git.michal.simek@amd.com
2026-06-08reset: Add sandbox tests for reset_reset() and reset_reset_bulk()Michal Simek
Add DM test coverage for the new reset_reset() and reset_reset_bulk() API functions. The sandbox reset driver implements rst_reset so these tests exercise that op (not the assert/udelay/deassert fallback in reset_reset()). reset_reset_bulk() calls reset_reset() on each bulk entry in order, so each line's rst_reset runs in sequence. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/be5411daf0de8eb64fbddf06e8ad82f50066e811.1779709539.git.michal.simek@amd.com
2026-06-08reset: Add reset_reset() and reset_reset_bulk() APIMichal Simek
Add reset_reset() and reset_reset_bulk() functions to the reset controller API. These functions assert and then deassert reset signals in a single call, providing a convenient way to pulse/toggle a reset line. This mimics the Linux kernel's reset_control_reset() and reset_control_bulk_reset() APIs. The new functions are useful for drivers that need to cycle a reset line during initialization or error recovery but with also passing delay parameter. If a driver implements the rst_reset op, it will be called directly with the delay parameter. Otherwise, the reset core performs reset_assert(), optional udelay(), and reset_deassert() as fallback. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/55ddd313c9e7b2d4dc79ab36bdd0040f871610f6.1779709539.git.michal.simek@amd.com
2026-06-08configs: amd: Enable capsule update and DFU supportPadmarao Begari
Enable EFI capsule update configs (EFI_RUNTIME_UPDATE_CAPSULE, EFI_CAPSULE_ON_DISK, EFI_CAPSULE_ON_DISK_EARLY, and EFI_CAPSULE_FIRMWARE_RAW) and DFU backend configs (DFU_MMC, DFU_MTD, DFU_SF) for the Versal Gen 2 virtual platform. Increase SYS_MALLOC_LEN, SYS_MALLOC_F_LEN and SYS_INIT_SP_BSS_OFFSET to accommodate capsule update buffer requirements. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08configs: xilinx: Enable DFU MTD supportPadmarao Begari
Enable CONFIG_DFU_MTD and CONFIG_DM_MTD to support DFU transfers over MTD partitions, required for FWU multi-bank update using NOR flash. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08board: xilinx: Add FWU boot index supportPadmarao Begari
Add fwu_plat_get_alt_num() and fwu_plat_get_bootidx() platform callbacks required for FWU multi-bank update on Versal and Versal Gen 2. The boot index is read from the PMC Global PGGS4 register which is populated by PLM with a magic number and boot partition index. Uses firmware IOCTL when CONFIG_ZYNQMP_FIRMWARE is enabled, otherwise falls back to direct MMIO read. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08board: amd: Add capsule and FWU supportPadmarao Begari
Add configure_capsule_updates() supporting MMC, SD and QSPI/OSPI boot modes for DFU string generation. Add set_dfu_alt_info() for FWU multi-bank mode to generate DFU alt info from NOR flash MTD partitions. Add XILINX_BOOT_IMAGE_GUID for the capsule updatable firmware image. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08board: xilinx: Add capsule and FWU supportPadmarao Begari
Guard configure_capsule_updates() so it is skipped when FWU multi-bank update is enabled. Add set_dfu_alt_info() for FWU multi-bank mode to generate DFU alt info dynamically from NOR flash MTD partitions using fwu_gen_alt_info_from_mtd(). Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08firmware: zynqmp: Add PMC PGGS register read APIPadmarao Begari
Add zynqmp_pm_get_pmc_global_pggs_reg() to read PMC Global PGGS3 and PGGS4 registers via firmware IOCTL. Supports IOCTL_READ_PGGS as the preferred path and falls back to IOCTL_READ_REG for older PLM firmware versions that do not support IOCTL_READ_PGGS. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08arm64: xilinx: Add PMC PGGS3 and PGGS4 registersPadmarao Begari
Add PMC Global PGGS3 and PGGS4 register defines to Versal and Versal Gen 2 hardware headers. These registers hold boot index and boot metadata required for FWU multi-bank update support. Signed-off-by: Padmarao Begari <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08xilinx: mbv: Allow compiler to optimize inlining in SPLMichal Simek
Enable CONFIG_SPL_OPTIMIZE_INLINING to let the compiler decide which functions marked 'inline' to actually inline, rather than forcing all of them. This reduces SPL code size by allowing the compiler to eliminate unnecessary code duplication. spl/u-boot-spl: all -872 text -872 Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/09f2a62099abf561b91b0d3692714f0f29057d31.1777550623.git.michal.simek@amd.com
2026-06-08xilinx: mbv: Disable AVAILABLE_HARTSMichal Simek
The MicroBlaze V platform has only a single hart, so multi-hart enumeration support is unnecessary. Disable CONFIG_AVAILABLE_HARTS to reduce code size. all -121 data -12 text -109 spl/u-boot-spl: all -68 data -4 text -64 Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/511c3c05d29479a4d1410a902cc01963113c4e1a.1777550623.git.michal.simek@amd.com
2026-06-08board: zynqmp: Remove hardcoded USB ethernet initializationPranav Sanwal
usb_ether_init() called in board_late_init() when CONFIG_USB_ETHER was enabled without CONFIG_USB_GADGET_DOWNLOAD. This makes USB ethernet gadget a fixed default, with no way to opt out at runtime without a rebuild. Remove the hardcoded call. If USB ethernet gadget functionality is needed, it can be added via the preboot environment variable. Signed-off-by: Pranav Sanwal <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-08configs: zynqmp: Enable USB gadget download supportPranav Sanwal
USB_GADGET_DOWNLOAD enables the g_dnl composite gadget framework, allowing other functions to operate over the USB peripheral interface. Signed-off-by: Pranav Sanwal <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-07usb: typos 'requird', 'current'Heinrich Schuchardt
%s/requird/required/ %s/current XHCI/currently XHCI/ Reviewed-by: Marek Vasut <[email protected]> Reviewed-by: Bin Meng <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2026-06-07efi_loader: validate PE-COFF relocation dataHeinrich Schuchardt
When applying base relocations from a PE-COFF binary all data must be treated as untrusted. Add the following checks to efi_loader_relocate(): * Reject relocation blocks that don't start on a 32-bit aligned address. * Reject relocation blocks whose SizeOfBlock is smaller than the block header, which would cause an unsigned underflow when computing the entry count. * A block with SizeOfBlock == 0 is invalid and does not mark the end of the relocation table. * Reject relocation blocks that extend beyond the end of the relocation section. * Reject individual relocation entries whose target offset, together with the access width, exceeds the mapped image size, preventing out-of-bounds writes. Pass virt_size to efi_loader_relocate() from efi_load_pe() to enable the per-entry bounds check. Reported-by: Anas Cherni <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Signed-off-by: Heinrich Schuchardt <[email protected]>
2026-06-07dtoc: test: add missing escape in help textFrancesco Valla
A single percent sign might be interpreted as a string format directive and shall thus be escaped - doubling it - to actually indicate a percentage. Without the escape, pytest fails to run test_fdt.py with the following error: ValueError: Test coverage failure fdt code coverage: Traceback (most recent call last): File "/usr/lib64/python3.14/argparse.py", line 1748, in _check_help formatter._expand_help(action) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.14/argparse.py", line 676, in _expand_help return help_string % params ~~~~~~~~~~~~^~~~~~~~ TypeError: %c requires an int or a unicode character, not dict The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/u-boot/./tools/dtoc/test_fdt", line 1002, in <module> sys.exit(main()) ~~~~^^ File "/home/user/u-boot/./tools/dtoc/test_fdt", line 987, in main parser.add_argument('-T', '--test-coverage', action='store_true', ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ default=False, ^^^^^^^^^^^^^^ help='run tests and check for 100% coverage') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.14/argparse.py", line 1562, in add_argument self._check_help(action) ~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib64/python3.14/argparse.py", line 1750, in _check_help raise ValueError('badly formed help string') from exc ValueError: badly formed help string Fixes: 7640b166604e ("test_fdt: Convert to use argparse") Signed-off-by: Francesco Valla <[email protected]>
2026-06-07doc: Update urllib3 version for buildingTom Rini
The GitHub dependabot tool has reported two "high" priority bug, CVE-2026-44431 and CVE-2026-44432, with this package. Update to the patched version. Reported-by: GitHub dependabot Signed-off-by: Tom Rini <[email protected]>
2026-06-05Merge tag 'u-boot-imx-next-20260605' of ↵Tom Rini
https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/30357 - Several conversions to OF_UPSTREAM. - Improvements for TQMa6UL boards. - Add iMX8MP UltraLite Part CPU type.
2026-06-05Merge patch series "rtc: pcf85036: improve spec coherence and extend features"Tom Rini
Alexander Feilke <[email protected]> says: This series fixes some spec inconsistencies and oversimplifications in the initial PCF85063 support, and adds some missing features from mainline linux v6.19. [trini: Make a minor correction to the Kconfig help that Alexander Sverdlin noted in review] Signed-off-by: Tom Rini <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2026-06-05drivers: Kconfig: rtc_pcf85063: note unsupported chip featuresAlexander Feilke
Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: add power loss detection during probeAlexander Feilke
Retrofit from upstream linux to try resetting the device after power loss. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: support loading quartz-load capacitance from device treeAlexander Feilke
Use previously ignored quartz-load-femtofarads property from device tree to set load capacitance. If missing, leave the device unconfigured as a default might have been set. force_cap is left out for now but can be retrofitted in the future as there may be different hardware without the 12.500pF flag. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: keep the divider chain in reset during set_timeAlexander Feilke
Sync from upstream linux v6.19. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: add missing register definitionsAlexander Feilke
Sync definitions from upstream linux v6.19. Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: add support for NXP PCF85063 familyAlexander Feilke
Supported devices: - generic PCF85063 / PCF85063TP (no alarm regs) - PCF85063A / PCF85073A (alarm regs) Tested with TQMa8MPxL SOM from TQ-Systems GmbH. Also add missing .data field to rv8263 which represents the number of available registers (= linux `pcf85063_config.max_register + 1`). Signed-off-by: Markus Niebel <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05rtc: pcf85063: adjust date format to adhere to the rtc_time specAlexander Feilke
The rtc_time documentation in rtc_def.h notes a differences to the common "struct time" that specifies tm_mon as 1 ... 12 and tm_year as year since 0. Also trim register values to valid bits. Fixes: 1c2a2253f798 ("drivers: rtc: add PCF85063 support") Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05cmd: date: validate date using rtc_month_days()Markus Niebel
The old check accepted day 0 as well as Feb 29th in non-leap years. With this change, both day and month 0 are rejected, and the local day limit logic is now handled by rtc_month_days(), which correctly accounts for month length and leap years. In the 'MMDDhhmm' format case, tm_year is not initialized by mk_date(). The leap-year calculation in rtc_month_days() therefore depends on the value provided by the caller, which do_date() does, via dm_rtc_get(). This is pre-existing behaviour, but is now made more explicit. Signed-off-by: Markus Niebel <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Alexander Sverdlin <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05cmd_date: make mk_date() staticAlexander Feilke
Use static as this function is not used externally. Signed-off-by: Alexander Feilke <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2026-06-05cpu: imx8_cpu: fix the mpidr checkPeng Fan
The mpidr's type is u32, however dev_read_addr returns a value with type fdt_addr_t(phys_addr_t) which is 64bit long. So the check never fail. This patch we still keep mpidr as u32 type, because i.MX8 only has max two cluster, the higher 32bit will always be 0. Use a variable addr to do the check, if check pass, assign the lower 32 bit to plat->mpidr. Signed-off-by: Peng Fan <[email protected]> Signed-off-by: Ye Li <[email protected]>
2026-06-05cpu: imx8_cpu: Add iMX8MP UltraLite Part cpu typeYe Li
iMX8MP UltraLite part is missed in the cpu type print Signed-off-by: Ye Li <[email protected]> Acked-by: Peng Fan <[email protected]>
2026-06-05boards: tqma7: call tq-sysinfo setupAlexander Feilke
Probe TQ sysinfo drivers to print device info from eeprom during boot. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05arm: dts: tqma7: integrate tq,eeprom sysinfo driverAlexander Feilke
Add sysinfo node for tq,eeprom sysinfo driver. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>
2026-06-05arm: dts: tqma7: add eeprom nvmem-layoutAlexander Feilke
TQMa7 has board-information located in EEPROM at offset 0x20. Add necessary nodes and properties for nvmem-cells. Revert this commit once the upstream linux device trees are accepted and synchronized. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Alexander Feilke <[email protected]>