summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-30net: lwip: dhcp: make NTP servers usable by the sntp commandJerome Forissier
When both CMD_DHCP and CMD_SNTP are enabled, one would expect the NTP servers received by DHCP to be used by the sntp command by default. Fix dhcp_loop() so that it is indeed the case. Signed-off-by: Jerome Forissier <[email protected]> Reported-by: Michal Simek <[email protected]>
2025-09-30net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is setJerome Forissier
Now that SNTP is supported, enable SNTP debug traces when LWIP_DEBUG is enabled. In particular, this allows to see which NTP servers are received during DHCP. Signed-off-by: Jerome Forissier <[email protected]>
2025-09-30net: designware: avoid regulator enable failureBen Wolsieffer
Use regulator_set_enable_if_allowed() to avoid failure if regulator is shared between multiple devices. Signed-off-by: Ben Wolsieffer <[email protected]>
2025-09-30net: fix RMII help textYegor Yefremov
Replace MII with RMII as it is a Reduced Media-Independent Interface. Signed-off-by: Yegor Yefremov <[email protected]> Reviewed-by: Quentin Schulz <[email protected]>
2025-09-30usb: dwc3: Remove redundant testAndrew Goodbody
In dwc3_ep0_complete_data there is a test for 'r' being null and the code will return at that point if so. After that point 'r' is guaranteed to not be null and testing for that is redundant. Remove the test for 'r' being non-null. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2025-09-30usb: dwc2: Add missing null checkAndrew Goodbody
Add in the missing null check for dev->driver that is present at other points in the function before it is dereferenced. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2025-09-30usb: gadget: atmel: Add missing null checkAndrew Goodbody
Add in the missing null check for udc->driver that is present at other points in the function before it is dereferenced. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2025-09-30fastboot: Fix has-slot command always returning yes for fb_nandChance Yang
The issue was a mismatch in return value conventions between functions: - getvar_get_part_info() expects >= 0 for success - fb_nand_lookup() returns 0 on success, 1 on failure (from mtdparts_init and find_dev_and_part) When partition didn't exist, fb_nand_lookup returned 1, but fastboot_nand_get_part_info passed it directly to getvar_get_part_info, which treated 1 >= 0 as success, causing has-slot to always return yes. Fix by converting positive return values to -ENOENT in fastboot_nand_get_part_info to match the expected error convention. Signed-off-by: Chance Yang <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mattijs Korpershoek <[email protected]>
2025-09-30arch: arm: socfpga: Configure USB3 System Manager registersNaresh Kumar Ravulapalli
For successful reset staggering pulse operation, reset pulse override bit is set. Port overcurrent bit 1, which in reality reflects PIPE power present signal is set to avoid giving false information of Vbus status to HPS controller. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: Increase USB Hub debounce timeout in Agilex5Naresh Kumar Ravulapalli
Some legacy USB mass storage devices during connection were observed to have debounce issues. Hence, increasing the default USB Hub debounce timeout value to handle this issue for devices connected to Agilex5 boards. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: Enable USB DWC3 host drivers for Agilex5Naresh Kumar Ravulapalli
Required USB DWC3 host driver configurations are enabled for Agilex5. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arch: arm: dts: Enable USB3.1 for Agilex5Naresh Kumar Ravulapalli
USB 3.1 node is enabled for Agilex5. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30drivers: clk: agilex: Use FIELD_GET during EMAC clock selectionNaresh Kumar Ravulapalli
FIELD_GET() macro is used during EMAC clock source selection for better code readability and maintainability. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30drivers: clk: agilex: Fix EMAC clock source selectionNaresh Kumar Ravulapalli
Fix the incorrect bit masking and bit shift used to compute EMAC control which in turn is used to select EMAC clock from EMAC source A or B. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30mmc: socfpga_dw_mmc: Enable/disable SDMMC clock via APIAlif Zakuan Yuslaimi
Update the driver to enable or disable the SDMMC clock via clock driver model API instead of doing it in the driver itself. This allows for scalability of the driver for various SoCFPGA devices. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: agilex5: Enable config SPL_SYS_DCACHE_OFFBoon Khai Ng
Add SPL_SYS_DCACHE_OFF to Agilex5 defconfig to disable data cache for SPL Signed-off-by: Tanmay Kathpalia <[email protected]> Signed-off-by: Boon Khai Ng <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30drivers: clk: agilex: Support for enable/disable APIAlif Zakuan Yuslaimi
Update Agilex clock driver to support enabling or disabling the peripheral clocks via clock driver model APIs. The caller will pass the clock ID to this driver and the driver will then proceed to manipulate the desired bit in the Agilex clock manager peripheral PLL register based on the given clock ID. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30cache: Check dcache availability before calling cache functionsBoon Khai Ng
When the data cache (dcache) is disabled, calling related status functions can lead to compilation errors due to undefined references. Adding a !CONFIG_IS_ENABLED(SYS_DCACHE_OFF) check before invoking dcache_status() (used in common/memsize.c:get_ram_size()) and mmu_status() (from arch/arm/include/asm/io.h). Without this check, builds with dcache disabled will fail to compile. Signed-off-by: Boon Khai Ng <[email protected]> Reviewed-by: Tom Rini <[email protected]>
2025-09-30include: dt-bindings: clk: agilex: Add Agilex clock definitions header fileAlif Zakuan Yuslaimi
Introduce header file to define the clock indexes for the Agilex platform. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arch: arm: mach-socfpga: smc: Add dcache flushing and invalidation in ↵Boon Khai Ng
smc_send_mailbox() Adding the dcache flushing and invalidation in the smc_send_mailbox() At the same time replace the use of u64 with uintptr_t to ensure compatibility across different architectures and correct the pointer arithmetic for buffer end address calculation. Signed-off-by: Mahesh Rao <[email protected]> Signed-off-by: Boon Khai Ng <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: agilex5: Increase watchdog timeoutAlif Zakuan Yuslaimi
Linux kernel will fail to boot due to exceeding timeout trying to probe I3C device. Increasing the watchdog timeout 30 seconds will give enough time for Linux to probe the I3C device and will be able to boot up successfully. User is expected to fine tune the watchdog timeout for the complete boot in production. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arm: socfpga: mailbox: Remove CONFIG_CADENCE_QSPI guard from QSPI mailbox ↵Alif Zakuan Yuslaimi
API declarations The QSPI mailbox API function declarations (mbox_qspi_close and mbox_qspi_open) in mailbox_s10.h were guarded by CONFIG_CADENCE_QSPI preprocessor conditional. This prevented their prototypes from being visible to code that may use the stub implementations when CONFIG_CADENCE_QSPI is disabled. Remove the CONFIG_CADENCE_QSPI preprocessor conditional so these functions are always declared, regardless of the configuration. This avoids potential build or linkage errors when stubs are used. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arm: socfpga: Define Use FPGA switch handoff section size for Agilex5Alif Zakuan Yuslaimi
Agilex5 FPGA switch section in the handoff data is larger by 32 bytes than the default value as these extra sections contains I3C0 and I3C1 register offsets and values with 4 bytes each. This requires 4 more times of reading the FPGA switch section of the handoff data to fully populate the handoff data table in the memory during runtime. Signed-off-by: Alif Zakuan Yuslaimi <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30drivers: ddr: altera: Correct DDR calibration status checkNaresh Kumar Ravulapalli
Bit 3 of the seq2core register is no longer set to indicate calibration completion. Instead, added polling of the seq2core register until it reads 0b00000111, signaling that the Nios processor has started the calibration process. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30drivers: ddr: altera: Check IOSSM mailbox compatibilityNaresh Kumar Ravulapalli
Compatibility check of IOSSM mailbox with U-Boot is performed by verifying the mailbox specification version. If check fails, appropriate error message is displayed. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: socfpga: Remove SYS_BOOTM_LEN from N5X VAB configNaresh Kumar Ravulapalli
Remove the current CONFIG_SYS_BOOTM_LEN in N5X VAB defconfig. Previously, the size was set to 32MB, but due to larger kernel image, 64MB size is required. This 64MB configuration has been set as default in the Kconfig. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: socfpga: Add CRC32 supportNaresh Kumar Ravulapalli
CRC32 support for SoC64 devices is added. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30configs: Simplify Agilex7 VAB defconfigNaresh Kumar Ravulapalli
To ensure unintentional bugs occurring because of config changes in master defconfig and its VAB variants, VAB defconfig files now include the master defconfig and enable config values specific to VAB functionality only. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arm: dts: socfpga: Enable driver model for watchdog timerNaresh Kumar Ravulapalli
All SoCFPGA platforms are switching to CONFIG_WDT (driver model for watchdog timer drivers) from CONFIG_HW_WATCHDOG. Status of watchdog is enabled to assist with this switching. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arch: arm: socfpga: Remove speed and mode from flash probeNaresh Kumar Ravulapalli
Change is to allow the user to choose speed and mode values from dts or the default ones. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arch: arm: dts: stratix10: Add NAND IP to base dtsiNaresh Kumar Ravulapalli
Add NAND node to the base stratix10 dtsi file. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-30arch: arm: dts: agilex5: Disable cache allocation for readsNaresh Kumar Ravulapalli
In order to circumvent CCU NOC issue in Agilex5, it is recommended to disable cache allocation for reads. This prevents hang issues caused by CCP (Common Cache Pipe) Fill Done FIFO overflow. Signed-off-by: Naresh Kumar Ravulapalli <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
2025-09-29Add symlink from gpl-2.0.txt to a COPYING fileDaniel P. Berrangé
While it is good that the "Licenses/" directory contains the text for all licenses that are applicable to u-boot code, it is harder to determine at a glance what the default and/or preferred license is. While humans can look at the Licenses/README file, this is not machine parseable, making it tricky for license detection tools to automatically determine/report on the overall / aggregate u-boot license. The project previously had a top level COPYING file containing a short blurb, followed by the GPL license text. This was removed back in commit eca3aeb352c964bdb28b8e191d6326370245e03f when the "Licenses/" directory was introduced. For the benefit of automated tools, it is helpful to retain a top level COPYING file in the repository. Rather than duplicate the license text, however, a symlink from the Licenses/gpl-2.0.txt file should suffice. Signed-off-by: Daniel P. Berrangé <[email protected]> Reported-by: Alex Bennée <[email protected]> Acked-by: Tom Rini <[email protected]>
2025-09-29b4-config: configure `b4` for U-BootJiaxun Yang
`b4` is a commandline tool to make patch-based development easier. Provide a .b4-config file to match U-Boot's development preference about who is cc'd on patch submission. Signed-off-by: Jiaxun Yang <[email protected]> [trini: Reword slightly]
2025-09-29i2c: designware_i2c: Don't warn if reset DT property is not presentMaksim Kiselev
If reset property is missing in DT, then we get this warning: designware_i2c@0: Can't get reset: -2 Avoid this by checking if reset DT property is present, first. Fixes: 622597dee4f ("i2c: designware: add reset ctrl to driver") Signed-off-by: Maksim Kiselev <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Peng Fan <[email protected]>
2025-09-27Merge tag 'doc-next-2025-09-27' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi into next Pull request doc-next-2025-09-27 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/27746 Documentation: * Move ext4 documentation to HTML. * Describe configuration option EXT4_MAX_JOURNAL_ENTRIES and memory ext4 journal memory requirements.
2025-09-27Merge tag 'efi-2025-10-rc6' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request efi-2025-10-rc6 CI: * https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/27745 Docs: * Correct encodings for spl memory layout diagrams * Suggest usage of KDOC_WERROR when building documentation * Replace references to README.fdt-control * Clarify precedence of environment locations * Add documentation for the TI am335x_evm board * Remove README.commands.itest * Add a note about asking for feedback in the development process UEFI: * Cleanup UEFI Variables Kconfig menu
2025-09-27efi_loader: Cleanup UEFI Variables menu selectionMichal Simek
There are 3 options listed between choice/endchoice FILE/TEE/NO_STORE. There is no reason to add other config with dependencies between choice/endchoice because they can never be selected because they depends on only that 3 options which can be selected. That's why move additional configuration with dependency below choice section. Signed-off-by: Michal Simek <[email protected]>
2025-09-27doc: Update mentions of README.fdt-controlE Shattow
Update documents 'README.fdt-control' reference to replacement 'control.rst': doc/arch/nios2.rst dts/Makefile Also convert some adjacent pathname mentions to rST links where applicable Fixes: 3e9fddfc4f14 "doc: Move devicetree control doc to rST" Signed-off-by: E Shattow <[email protected]>
2025-09-27doc: develop: process: Add note about asking for feedbackTom Rini
It can be unclear to contributors what to do if they haven't gotten any feedback on patches they have submitted. Add a sentence saying that if they feel it's been too long without any comment, it's OK to reply again. Signed-off-by: Tom Rini <[email protected]>
2025-09-27doc: build: documentation: add description of KDOC_WERRORE Shattow
Describe KDOC_WERROR and recommend when building documentation for a patch submission. Signed-off-by: E Shattow <[email protected]>
2025-09-27doc: memory: fix encodings for spl layout diagramsAnshul Dalal
The commit 284ef1bbcefc ("doc: memory: Add documentation for system RAM") added documentation for U-Boot's memory usage along with diagrams showcasing the SPL's memory usage. Although the SVGs for the diagrams were improperly encoded. Therefore, this patch fixes the older SVGs with one's with better encoding and reduced size created using inkscape[1]. [1]: https://inkscape.org/ Reported-by: Alexander Dahl <[email protected]> Fixes: 284ef1bbcefc ("doc: memory: Add documentation for system RAM") Signed-off-by: Anshul Dalal <[email protected]>
2025-09-27doc: environment: clarify env precedenceRicardo Simoes
Since commit 5cf6a06a it is possible to have both text-based and old-style C environment files. But so far the environment documentation has not reflected this change. This commit fixes that. Signed-off-by: Ricardo Simoes <[email protected]> Signed-off-by: Mark Jonas <[email protected]>
2025-09-27doc: usage: Add File System section and Ext4 documentationTony Dinh
Create doc/usage/filesystems/ section. Convert doc/README.ext4 to rST format and move it to the new section. Update documentation to add configuration instruction for Ext4 Write when using large partitions. Note that this patch depends on this previous patch: https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/ Signed-off-by: Tony Dinh <[email protected]> Reviewed-by: Anshul Dalal <[email protected]>
2025-09-27doc: Remove README.commands.itestTom Rini
We currently document this command in doc/usage/cmd/itest.rst and this documentation is more comprehensive than the older README file. Delete the older file. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
2025-09-27doc: ext4fs: update documentation for Ext4 Write configurationTony Dinh
Update documentation for how to configure Ext4 Write when using large partitions. Signed-off-by: Tony Dinh <[email protected]>
2025-09-27doc: memory: Restore missing diagramNeha Malcom Francis
When applying the patch that became commit a2d881f5bcd3 ("doc: memory: Add documentation for system RAM") one of the diagrams was missed. Re-add this missing file. Reported-by: Adriano Carvalho <[email protected]> Fixes: a2d881f5bcd3 doc: memory: Add documentation for system RAM Signed-off-by: Neha Malcom Francis <[email protected]> [trini: Take Neha's original svg and re-apply it] Signed-off-by: Tom Rini <[email protected]>
2025-09-27doc: board: ti: am335x_evm: Add documentationSidharth Seela
Link: https://lore.kernel.org/u-boot/20250829191830.GZ124814@bill-the-cat/ Add documentation for config changes required to enable Falcon SD-FAT boot. Signed-off-by: Sidharth Seela <[email protected]> Cc: Tom Rini <[email protected]>
2025-09-26Merge patch series "vexpress63: Set the DM_RNG property"Tom Rini
This series from Debbie Horsfall <[email protected]> enhances the Vexpress64 platform in a few ways. Link: https://lore.kernel.org/r/[email protected]
2025-09-26arm: vexpress64: Enable SYSRESET and SYSRESET_PSCIDebbie Horsfall
Select SYSRESET on Vexpress64 to enable system reset to support other features, such as capsule-on-disk. Select SYSRESET_PSCI if PSCI is inferred from the firmware (via ARM_PSCI_FW). Select ARM_SMCCC for Vexpress64 boards which in turn selects ARM_PSCI_FW. The sysreset uclass unconditionally implements a reset_cpu() function. Remove the empty reset_cpu() in vexpress64 board code. Signed-off-by: Debbie Horsfall <[email protected]>