summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-22Merge patch series "bootstd: rauc: Small fixes"Tom Rini
Martin Schwan <m.schwan@phytec.de> says: Fix some small bugs that I noticed during testing. Link: https://lore.kernel.org/r/20250714-wip-bootmeth-rauc-fixes-v1-0-69d2b80e7606@phytec.de
2025-07-22bootstd: rauc: Only scan all partitions instead of boot filesMartin Schwan
Only scan for the existence of all required partitions of a RAUC system, instead of searching for boot script files in all of them. Previously, it might have occurred, that a slot did not contain required files and RAUC already marked the corresponding slot as bad (not suitable for booting). In that case, scanning for a non-existence boot script would result in an error (and thus not booting anything), which was different behavior compared to the legacy RAUC boot. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
2025-07-22bootstd: rauc: Fix segfault occurring during private struct accessMartin Schwan
Fix a potential segmentation fault, by not accessing the member of a null pointer to a private slot's name field. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
2025-07-22bootstd: rauc: Fix potential memory leakMartin Schwan
Fix a potential memory leak, by checking the return value of realloc first, before assigning it to the private list of slots. Signed-off-by: Martin Schwan <m.schwan@phytec.de>
2025-07-22km: pg-wcom-ls1021xa: update MAINTAINERSHolger Brunck
The mainainers for these boards have changed. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com> Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>
2025-07-22km: pg-wcom-ls102xa: call qrio deblock cfg earlierTomas Alvarez Vanoli
Move the call to configure the qrio i2c deblock pins earlier. Before this, the call was happening after the first attempt to deblock the SDP EEPROM, which resulted in a not correct sequence. Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com> Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22km: pg-wcom-ls102xa: add netdev in board env fileHolger Brunck
Upcoming boards will have different ethernet interfaces. So we move this variable out of the common code. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22arm: ls1021a-pg-wcom: add i2c mux node and eepromHolger Brunck
We are now using the DM code for the i2c mux and to read out the inventory eeprom. Therefore we need to add the nodes to the specific DTS files. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22km: drop KM_RESERVED_PRAMHolger Brunck
This variable is unused since we dropped the support for the Kirkwood boards. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22km: qrio: fix set_gpio read/modify/writeTomas Alvarez Vanoli
Setting GPIO by reading the value of the GPRT register, toggling the correct bit and then writing it causes input values to transfer to the output. Here's how (example): 1) set gpio 17 and 18 as input. 2) set gpio 17 output value to 0 (read gprt, change 17 to 0, write). 3) set gpio 18 output value to 0 (read gprt, change 18 to 0, write). The problem here is that because we set 17 as input, and it's a pull-up, when we read gprt in step 3, the bit 17 will be 1 and not 0. Instead of doing read/write/modify, the solution is to keep track internally of the user set GPIOs, and replace the read step with this static variable. Signed-off-by: Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com> Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22fastboot: Fix off by 1 errorAndrew Goodbody
strlen only reports length of string not including terminating 0 byte but this has to be included in length of receiving buffer on copy so adjust length check to be correct. This issue found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
2025-07-22drivers: fastboot: Add support for SPI flash memoryAriel D'Alessandro
Fastboot currently supports MMC and NAND flash devices. Similarly, extend the support to SPI flash memories. Note that in this initial implementation, partitions on the device are not supported yet, but raw partitions can be set in U-Boot environment. To define a raw partition descriptor, add an environment variable similar to the MMC case: ``` fastboot_raw_partition_<raw partition name>=<offset> <size> ``` for example: ``` fastboot_raw_partition_boot=0x0 0x1000000 ``` Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
2025-07-22include: env: ti_common: remove bootm_sizeBryan Brattlof
As the size of 64b ARM kernels, DTs, vendor firmware, and initial ram disks continues to grow, the 256MB size limit set aside for image processing by the bootm command has become too small for some K3 reference boards. For ARMv7 removing this limit could introduce issues so move the bootm_size variable to ti_armv7_keystone2.env and remove the limit for any board using a TI K3 SoC. Signed-off-by: Bryan Brattlof <bb@ti.com>
2025-07-22binman: Fix typing for python >= 3.7Yannic Moog
To get the [] annotation working with python 3.7 and 3.8, import annotations. Reported-by: Tim Harvey <tharvey@gateworks.com> Fixes: 21bc3433a43d ("binman: rework dropping absent entries from packaged image") Reviewed-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Yannic Moog <y.moog@phytec.de> Tested-by: Tim Harvey <tharvey@gateworks.com>
2025-07-22lmb: Remove unreachable codeAndrew Goodbody
Code after a break is unreachable so remove it. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
2025-07-22arm: fix lmb region reservation when PRAM is definedHolger Brunck
PRAM usage is not taken into account when reserving lmb for ARM architecture, this means that predefined PRAM region is marked as reserved by the architecture and cannot be used by other users. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-22board: toradex: Fix variant (wifi/non-wifi) selectionFrancesco Dolcini
Do not dereference NULL, when "variant" env variable is not present. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2025-07-22configs: KASLR OPTEE RNG support for K3 devicesGokul Praveen
KASLR, or Kernel Address Space Layout Randomization, is a security feature in the Linux kernel that randomizes the memory location where the kernel is loaded during boot. OP-TEE RNG is a Random Number Generator (RNG) component within the Open Portable Trusted Execution Environment (OP-TEE) which provides a random number to U-BOOT and U-BOOT provides this random number as seed value to the LINUX kernel for KASLR. Add KASLR OPTEE RNG support across K3 devices by enabling the required configs. Signed-off-by: Gokul Praveen <g-praveen@ti.com> Reviewed-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
2025-07-21MAINTAINERS: Update email of Anatolij GustschinAnatolij Gustschin
Use new email for community work. Also remove my capricorn SoM maintainer entry since I do not have access to this hardware anymore. Signed-off-by: Anatolij Gustschin <ag.dev.uboot@gmail.com>
2025-07-19Merge tag 'doc-202510-rc1' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-efi Pull request doc-202510-rc1 Documentation: * describe Dragonwing IQ8 board building/flashing * move PXE README into HTML documentation * PXE: mention extlinux.conf and sysboot * correct references in x86-fit-boot.rst
2025-07-19Merge tag 'i2c-for-2025.10-take2' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-i2c i2c updates for v2025.10 - i2c Kconfig updates from Tom - add some driver dependencies - added missing include delay.h in iproc_i2c.c - i2c: muxes: Add PCA9541 i2c arbitrator driver from Padmarao Begari - pca954x: add pca9545 support from Frank Wunderlich - cmd: i2c: fix build when CFG_SYS_I2C_NOPROBES defined with DM_I2C From Holger Brunck
2025-07-19doc: PXE: mention extlinux.conf and sysbootFiona Klute
These use the same format as PXE boot. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Cc: Tom Rini <trini@konsulko.com>
2025-07-19doc: PXE usage: move environment variables to a separate sectionFiona Klute
This works better with RST formatting, and avoids duplication. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Cc: Tom Rini <trini@konsulko.com>
2025-07-19doc: move PXE README into usage documentationFiona Klute
This is only a reformatting, with a few grammar fixes (capitalization, and a missing "is" and "be" added each). Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Cc: Tom Rini <trini@konsulko.com>
2025-07-19doc: correct references in x86-fit-boot.rstHeinrich Schuchardt
Correct the references for * the x86 boot protocol description * the FIT file format Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2025-07-19doc: board: qualcomm: document Dragonwing IQ8 board building/flashingBalaji Selvanathan
Introducing documentation support for Qualcomm Dragonwing IQ8 QCS8300 board. Documents the build and flashing steps. Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
2025-07-18kbuild: Don't mandate gcc as the host compilerMark Kettenis
Systems that use clang may not have gcc installed. Set HOSTCC to cc and HOSTCXX to c++ like we did before to make those systems work again. Fixes: 5f520875bdf0 ("kbuild: Bump the build system to 5.1") Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2025-07-18python: requirements.txt: Update a few modules for security issuesTom Rini
The GitHub dependabot tool has reported a number of issues recently with some modules that we use. While unlikely to be exploitable in the way we use them, update various libraries to the latest. Reported-by: GitHub dependabot Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-18misc: Remove DS4510 driverTom Rini
As no platforms use this driver anymore and it's not been converted from to DM_I2C for use, remove it. Fixes: ed7fe2bee12a ("ppc: Remove xpedite boards") Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-18drivers: misc: Remove pca9551_led driverTom Rini
This driver has not been converted to DM_I2C and the last platform that used it was removed as well. Remove the driver. Fixes: 4bbcec08ebec ("arm: Remove mx6dlarm2 board") Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-18sandbox: Add dummy sync()Tom Rini
In order to compile more drivers, add an empty sync() function. Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-18input: Tighten dependency requirements for TEGRA_KEYBOARDTom Rini
This driver requires headers which only exist on Tegra. Express that requirement in Kconfig as well. Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-18misc: Tighten requirements on IHS_FPGA driverTom Rini
This driver requires that the gdsys legacy driver option also be enabled in order to build. Express that requirement in Kconfig as well. Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-17Merge tag 'u-boot-imx-master-20250717' 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/27088 - Add support for the i.MX95 B0 version. - Enable standard boot for phycore-imx8mp. - Kconfig fixes for i.MX MMC and FSL_SEC_MON. - Support 4Gb single die variant of the i.MX8MM Venice board.
2025-07-17Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-riscvTom Rini
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/27087 - Board: mpfs_icicle: Fix board_fit_config_name_match and disable DEBUG_UART - Board: Add SD card support to the Beagle-V-Fire - Board: Add support for TH1520-integrated GMACs
2025-07-17Merge tag 'mmc-2025-07-16' of ↵Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-mmc Drop unused kona_sdhci driver Tighten config dependencies and a minor cleanup
2025-07-17mmc: Remove unused kona_sdhci driverTom Rini
As no platforms use this driver anymore, remove it. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-07-17mmc: Tighten some mmc driver dependenciesTom Rini
A large number of mmc drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-07-17mmc: Take cleanup path to free memory on error exitAndrew Goodbody
Instead of returning -EINVAL directly which will not call the cleanup path to free memory, fix the code to set the error and then goto the cleanup code. This issue found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-07-17venice: display DRAM MR registers and decoding if debug enabledTim Harvey
While this is interesting and useful for debugging there isn't extremely useful information so we will only show it if debug is enabled. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2025-07-17venice: lpddr4_timing_imx8mm: update ddr phy config for mscale_v3.10Tim Harvey
Update the ddr phy config values to those created by the mscale_v3.10 tool. The original values were obtained using mscale_v3.10. The v3.10 tool removed ddr phy register values of 0x0. This has no functional change but makes comparing and patching ddr configuration easier in addition to slightly shrinking the DRAM config size. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2025-07-17venice: lpddr4_timing_imx8mm: add 4gb single die supportTim Harvey
Add dram support for the MT53E1G32D2FW-046 RevC part which is a single die 32Gbit density part vs RevA/B which were dual-die parts: - use a previously unused EEPROM byte to denote a variant of the base config to be patched - add a dram description string - return the board struct from eeprom_init and pass it to the spl_dram_init function so that it has access to the EEPROM - move ddr_init into the spl_dram_init so that it can be patched in the per-soc init function Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2025-07-17venice: lpddr4_timing_imx8mm: add DDRC_ADDRMAP7 configTim Harvey
Add the configuration register for DDRC_ADDRMAP7 which was added in the RAP spreadsheet v19. This has no functional change but allows DRAM configuration to be patched in a later commit. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2025-07-17armv8: ls1043a: make some erratas dependent from USBHolger Brunck
These erratas are only useful if USB is enabled. If it is disabled these erratas might cause issues. Signed-off-by: Holger Brunck <holger.brunck@hitachienergy.com>
2025-07-17soc: imx8ulp: Add celsius unit for temperatureDavid Zang
Make temperature unit (celsius) more clear to reduce confusion. Signed-off-by: David Zang <davidzangcs@gmail.com>
2025-07-17nxp: Move FSL_SEC_MON related options to arch/Kconfig.nxpTom Rini
The options related to FSL_SEC_MON are part of the chain of trust related options and should be under that menu, so move it there. Furthermore we don't need to prompt for the driver itself but do need to allow for configuration of the monitor endianess. Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-17arm: imx: Remove unused mxcmmc driverTom Rini
As no platforms use this driver anymore, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-17brppt2: Use the correct MMC driverTom Rini
As part of splitting the i.MX parts of FSL_ESDHC out from the more legacy parts, the FSL_ESDHC_IMX symbol was added. This platform is the only one which was not converted correctly. Fixes: e37ac717d796 ("Convert to use fsl_esdhc_imx for i.MX platforms") Signed-off-by: Tom Rini <trini@konsulko.com>
2025-07-17phycore-imx8mp: Enable standard bootLeonard Anderweit
Enable standard boot for the phycore-imx8mp and use it as default. Add all variables required for standard boot to the environment. Signed-off-by: Leonard Anderweit <l.anderweit@phytec.de> Tested-by: Martin Schwan <m.schwan@phytec.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2025-07-17imx95_evk: Add i.MX95 B0 supportAlice Guo
i.MX95 B0 uses image container format v2 and needs DUMMY_DDR so that update imximage.cfg and container.cfg for it. Signed-off-by: Alice Guo <alice.guo@nxp.com>