]> git.ipfire.org Git - thirdparty/u-boot.git/log
thirdparty/u-boot.git
4 months agowarp7: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:40 +0000 (12:04 -0600)] 
warp7: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agowandboard: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:38 +0000 (12:04 -0600)] 
wandboard: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agoudoo_neo: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:36 +0000 (12:04 -0600)] 
udoo_neo: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agoudoo: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:35 +0000 (12:04 -0600)] 
udoo: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agotqma6: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:33 +0000 (12:04 -0600)] 
tqma6: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Max Merchel <Max.Merchel@ew.tq-group.com>
4 months agopico-imx7d: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:32 +0000 (12:04 -0600)] 
pico-imx7d: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agopico-imx6ul: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:30 +0000 (12:04 -0600)] 
pico-imx6ul: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agopico-imx6: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:29 +0000 (12:04 -0600)] 
pico-imx6: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agonovena: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:27 +0000 (12:04 -0600)] 
novena: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Marek Vasut <marek.vasut@mailbox.org>
4 months agonitrogen6x: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:26 +0000 (12:04 -0600)] 
nitrogen6x: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomys_6ulx: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:24 +0000 (12:04 -0600)] 
mys_6ulx: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomx7ulp_evk: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:23 +0000 (12:04 -0600)] 
mx7ulp_evk: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx7ulp_com: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:21 +0000 (12:04 -0600)] 
mx7ulp_com: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomx7dsabresd: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:19 +0000 (12:04 -0600)] 
mx7dsabresd: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomx6ullevk: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:18 +0000 (12:04 -0600)] 
mx6ullevk: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx6ul_14x14_evk: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:16 +0000 (12:04 -0600)] 
mx6ul_14x14_evk: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx6sxsabresd: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:15 +0000 (12:04 -0600)] 
mx6sxsabresd: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomx6sxsabreauto: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:13 +0000 (12:04 -0600)] 
mx6sxsabreauto: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx6sllevk: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:12 +0000 (12:04 -0600)] 
mx6sllevk: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx6slevk: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:10 +0000 (12:04 -0600)] 
mx6slevk: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx6sabre: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:08 +0000 (12:04 -0600)] 
mx6sabre: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
4 months agomx53cx9020: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:06 +0000 (12:04 -0600)] 
mx53cx9020: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agomccmon6: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:04 +0000 (12:04 -0600)] 
mccmon6: Stop disabling device tree relocation

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 <trini@konsulko.com>
Reviewed-by: Łukasz Majewski <lukma@nabladev.com>
4 months agokp_imx6q_tpc: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:02 +0000 (12:04 -0600)] 
kp_imx6q_tpc: Stop disabling device tree relocation

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 <trini@konsulko.com>
Reviewed-by: Łukasz Majewski <lukma@nabladev.com>
4 months agokp_imx53: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:04:00 +0000 (12:04 -0600)] 
kp_imx53: Stop disabling device tree relocation

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 <trini@konsulko.com>
Reviewed-by: Łukasz Majewski <lukma@nabladev.com>
4 months agoimx6dl-mamoj: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:59 +0000 (12:03 -0600)] 
imx6dl-mamoj: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agoimx6-engicam: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:57 +0000 (12:03 -0600)] 
imx6-engicam: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agodisplay5: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:56 +0000 (12:03 -0600)] 
display5: Stop disabling device tree relocation

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 <trini@konsulko.com>
Reviewed-by: Łukasz Majewski <lukma@nabladev.com>
4 months agodart_6ul: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:54 +0000 (12:03 -0600)] 
dart_6ul: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agocm_fx6: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:52 +0000 (12:03 -0600)] 
cm_fx6: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agocl-som-imx7: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:50 +0000 (12:03 -0600)] 
cl-som-imx7: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agobk4r1: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:49 +0000 (12:03 -0600)] 
bk4r1: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agoimx6dl-sielaff: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:47 +0000 (12:03 -0600)] 
imx6dl-sielaff: Stop disabling device tree relocation

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 <trini@konsulko.com>
4 months agogw_ventana: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:45 +0000 (12:03 -0600)] 
gw_ventana: Stop disabling device tree relocation

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 <trini@konsulko.com>
Acked-By: Tim Harvey <tharvey@gateworks.com>
4 months agoopos6uldev: Stop disabling device tree relocation
Tom Rini [Tue, 18 Nov 2025 18:03:44 +0000 (12:03 -0600)] 
opos6uldev: Stop disabling device tree relocation

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 <trini@konsulko.com>
Reviewed-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
4 months agoboard: tbs2910: Disable EFI partition, MP, sysboot, bind commands
Marek Vasut [Thu, 13 Nov 2025 15:18:39 +0000 (16:18 +0100)] 
board: tbs2910: Disable EFI partition, MP, sysboot, bind commands

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 <marek.vasut+renesas@mailbox.org>
Acked-by: Soeren Moch <smoch@web.de>
4 months agoimx95_evk: Initialize the ELE RNG context
Ji Luo [Thu, 13 Nov 2025 08:21:45 +0000 (16:21 +0800)] 
imx95_evk: Initialize the ELE RNG context

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 <ji.luo@nxp.com>
Signed-off-by: Alice Guo <alice.guo@nxp.com>
4 months agoimx: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board
Frieder Schrempf [Tue, 11 Nov 2025 16:54:20 +0000 (17:54 +0100)] 
imx: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board

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 <frieder.schrempf@kontron.de>
4 months agoarm: imx: imx9: Use arch override for env_get_location()
Frieder Schrempf [Tue, 11 Nov 2025 16:54:19 +0000 (17:54 +0100)] 
arm: imx: imx9: Use arch override for env_get_location()

The arch-level implementation should be used here so that
env_get_location() can be used on board-level.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
4 months agoimx: Add support for Kontron i.MX8MP OSM-S SoM and BL carrier board
Frieder Schrempf [Tue, 11 Nov 2025 16:54:18 +0000 (17:54 +0100)] 
imx: Add support for Kontron i.MX8MP OSM-S SoM and BL carrier board

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 <frieder.schrempf@kontron.de>
4 months agobsh: add support for imx6ulz_smm_m2d
Andrea Calabrese [Thu, 6 Nov 2025 07:46:32 +0000 (08:46 +0100)] 
bsh: add support for imx6ulz_smm_m2d

Add support for imx6ulz_smm_m2d, based on the M2 architecture.

Signed-off-by: Andrea Calabrese <andrea.calabrese@amarulasolutions.com>
4 months agobsh: make common configuration for m2
Andrea Calabrese [Thu, 6 Nov 2025 07:46:31 +0000 (08:46 +0100)] 
bsh: make common configuration for m2

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 <andrea.calabrese@amarulasolutions.com>
4 months agoMerge patch series "Add support for two RTCs"
Tom Rini [Fri, 28 Nov 2025 18:45:42 +0000 (12:45 -0600)] 
Merge patch series "Add support for two RTCs"

Michael Walle <mwalle@kernel.org> 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/20251117103315.2212686-1-mwalle@kernel.org
4 months agodrivers: rtc: add RV3032 support
Michael Walle [Mon, 17 Nov 2025 10:32:52 +0000 (11:32 +0100)] 
drivers: rtc: add RV3032 support

Add support for the Microcrystal RV3032 RTC.

Signed-off-by: Michael Walle <mwalle@kernel.org>
4 months agodrivers: rtc: add PCF85063 support
Michael Walle [Mon, 17 Nov 2025 10:32:51 +0000 (11:32 +0100)] 
drivers: rtc: add PCF85063 support

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 <mwalle@kernel.org>
4 months agodrivers: rtc: convert tristate to bool
Michael Walle [Mon, 17 Nov 2025 10:32:50 +0000 (11:32 +0100)] 
drivers: rtc: convert tristate to bool

As u-boot doesn't have any loadable modules, tristate doesn't make
sense. Convert it to bool.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
4 months agoMerge branch 'assorted-dtb-alignment-fixes' into next
Tom Rini [Fri, 28 Nov 2025 16:22:16 +0000 (10:22 -0600)] 
Merge branch 'assorted-dtb-alignment-fixes' into next

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).

4 months agoxtensa: Fix big endian build
Marek Vasut [Sun, 16 Nov 2025 00:19:01 +0000 (01:19 +0100)] 
xtensa: Fix big endian build

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 <marek.vasut+renesas@mailbox.org>
4 months agoxtensa: Assure end of U-Boot is at 8-byte aligned offset
Marek Vasut [Sun, 16 Nov 2025 00:14:32 +0000 (01:14 +0100)] 
xtensa: Assure end of U-Boot is at 8-byte aligned offset

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 <marek.vasut+renesas@mailbox.org>
4 months agotest/py: Use aligned address for overlays in 'extension' test
Marek Vasut [Thu, 13 Nov 2025 11:57:52 +0000 (12:57 +0100)] 
test/py: Use aligned address for overlays in 'extension' test

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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
4 months agosandbox: Fix DT compiler pin warnings in sandbox DTs
Marek Vasut [Thu, 13 Nov 2025 11:56:30 +0000 (12:56 +0100)] 
sandbox: Fix DT compiler pin warnings in sandbox DTs

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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
4 months agosandbox: Fix DT compiler address warnings in sandbox DTs
Marek Vasut [Thu, 13 Nov 2025 11:56:29 +0000 (12:56 +0100)] 
sandbox: Fix DT compiler address warnings in sandbox DTs

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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Heiko Schocher <hs@nabladev.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
4 months agoMIPS: Assure end of U-Boot is at 8-byte aligned offset
Marek Vasut [Thu, 13 Nov 2025 11:56:09 +0000 (12:56 +0100)] 
MIPS: Assure end of U-Boot is at 8-byte aligned offset

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 <marek.vasut+renesas@mailbox.org>
4 months agoarm: qemu: Eliminate fdt_high and initrd_high misuse
Marek Vasut [Thu, 13 Nov 2025 11:55:28 +0000 (12:55 +0100)] 
arm: qemu: Eliminate fdt_high and initrd_high misuse

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 <marek.vasut+renesas@mailbox.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
4 months agoboot: Assure FDT is always at 8-byte aligned address
Marek Vasut [Thu, 13 Nov 2025 11:54:51 +0000 (12:54 +0100)] 
boot: Assure FDT is always at 8-byte aligned address

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 <marek.vasut+renesas@mailbox.org>
4 months agoMerge tag 'rpi-2026.01-rc3' of https://source.denx.de/u-boot/custodians/u-boot-raspbe...
Tom Rini [Fri, 28 Nov 2025 14:26:44 +0000 (08:26 -0600)] 
Merge tag 'rpi-2026.01-rc3' of 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

4 months agoMerge branch 'master' of git://source.denx.de/u-boot-usb
Tom Rini [Fri, 28 Nov 2025 14:25:20 +0000 (08:25 -0600)] 
Merge branch 'master' of git://source.denx.de/u-boot-usb

- A Kconfig dependency fix and a patch to avoid a noisy print

4 months agorpi: Fix DRAM size reporting to show total RAM
Anders Roxell [Tue, 25 Nov 2025 10:23:58 +0000 (11:23 +0100)] 
rpi: Fix DRAM size reporting to show total RAM

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 <anders.roxell@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
4 months agousb/xhci: avoid noisy 'Register NbrPorts' message
Heinrich Schuchardt [Thu, 27 Nov 2025 17:54:25 +0000 (18:54 +0100)] 
usb/xhci: avoid noisy 'Register NbrPorts' message

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 <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
4 months agoconfigs: toradex-smarc-imx95: set spl_stack
Max Krummenacher [Wed, 26 Nov 2025 13:41:04 +0000 (14:41 +0100)] 
configs: toradex-smarc-imx95: set spl_stack

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 <max.krummenacher@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Francesco Dolcini <francesco.dolcini@toradex.com>
4 months agousb: USB_EHCI_PCI depends on PCI
Heinrich Schuchardt [Sat, 15 Nov 2025 09:58:20 +0000 (10:58 +0100)] 
usb: USB_EHCI_PCI depends on PCI

CONFIG_USB_EHCI_PCI cannot work without CONFIG_PCI.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Vasut <marek.vasut@mailbox.org>
4 months agobootstd: rauc: Only require partitions for one slot
Leonard Anderweit [Tue, 18 Nov 2025 14:30:21 +0000 (15:30 +0100)] 
bootstd: rauc: Only require partitions for one slot

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 <l.anderweit@phytec.de>
Tested-by: Martin Schwan <m.schwan@phytec.de>
4 months agobootstd: rauc: Don't check root part filesystem
Leonard Anderweit [Tue, 18 Nov 2025 14:30:20 +0000 (15:30 +0100)] 
bootstd: rauc: Don't check root part filesystem

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 <l.anderweit@phytec.de>
Tested-by: Martin Schwan <m.schwan@phytec.de>
4 months agoboard: adi: Fix missing semicolon in nfsroot
Greg Malysa [Wed, 26 Nov 2025 19:50:31 +0000 (14:50 -0500)] 
board: adi: Fix missing semicolon in nfsroot

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 <malysagreg@gmail.com>
4 months agoboard: ti: am335x: Fix DM_TPS65910 condition
Maarten Brock [Tue, 25 Nov 2025 13:55:24 +0000 (13:55 +0000)] 
board: ti: am335x: Fix DM_TPS65910 condition

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) <msp@baylibre.com>
Signed-off-by: Maarten Brock <maarten.brock@sttls.nl>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Acked-by: Maarten Brock <maarten.brock@sttls.nl>
4 months agoboard: ti: am6x: Restore do_board_detect functions
Guillaume La Roque (TI.com) [Mon, 24 Nov 2025 15:09:47 +0000 (16:09 +0100)] 
board: ti: am6x: Restore do_board_detect functions

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) <glaroque@baylibre.com>
4 months agonet: ti: am65-cpsw-nuss: Ignore disabled ethernet ports
Siddharth Vadapalli [Fri, 21 Nov 2025 13:21:53 +0000 (18:51 +0530)] 
net: ti: am65-cpsw-nuss: Ignore disabled ethernet ports

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 <w.egorov@phytec.de>
Closes: https://patch.msgid.link/8b4ac072-125c-493b-b12a-f0a4e9d56e7e@phytec.de
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
4 months agopower: domain: ti: fix ti_pd_get() to return after verifying transition
Siddharth Vadapalli [Tue, 18 Nov 2025 12:20:52 +0000 (17:50 +0530)] 
power: domain: ti: fix ti_pd_get() to return after verifying transition

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 <s-vadapalli@ti.com>
Tested-by: Hrushikesh Salunke <h-salunke@ti.com>
4 months agocmd/extension: avoid NULL pointer dereference
Heinrich Schuchardt [Sun, 16 Nov 2025 11:41:53 +0000 (12:41 +0100)] 
cmd/extension: avoid NULL pointer dereference

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 <heinrich.schuchardt@canonical.com>
Acked-by: Kory Maincent <kory.maincent@bootlin.com>
4 months agoMerge tag 'u-boot-imx-master-20251126' of https://gitlab.denx.de/u-boot/custodians...
Tom Rini [Wed, 26 Nov 2025 21:53:00 +0000 (15:53 -0600)] 
Merge tag 'u-boot-imx-master-20251126' of 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.

4 months agoCI: Update to latest container
Tom Rini [Wed, 26 Nov 2025 16:30:24 +0000 (10:30 -0600)] 
CI: Update to latest container

- 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 <trini@konsulko.com>
4 months agoDockerfile: Update building trace tools slightly
Tom Rini [Wed, 26 Nov 2025 16:21:54 +0000 (10:21 -0600)] 
Dockerfile: Update building trace tools slightly

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 <trini@konsulko.com>
4 months agoDockerfile: Include python3-tk for FATtools
Tom Rini [Thu, 13 Nov 2025 22:09:56 +0000 (16:09 -0600)] 
Dockerfile: Include python3-tk for FATtools

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 <marek.vasut@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
4 months agoDocker: Update QEMU to 10.0.6
Tom Rini [Wed, 19 Nov 2025 14:32:58 +0000 (08:32 -0600)] 
Docker: Update QEMU to 10.0.6

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 <trini@konsulko.com>
4 months agos5p4418_nanopi2: Stop disabling device tree relocation
Tom Rini [Wed, 19 Nov 2025 14:55:35 +0000 (08:55 -0600)] 
s5p4418_nanopi2: Stop disabling device tree relocation

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 <trini@konsulko.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Enter DFU automatically on USB boot
Sam Protsenko [Tue, 18 Nov 2025 23:21:19 +0000 (17:21 -0600)] 
board: samsung: e850-96: Enter DFU automatically on USB boot

Doing USB boot on E850-96 is most useful in two cases:

  1. For unbricking the board
  2. During the bootloader development

In both cases a U-Boot binary is being re-flashed to eMMC. The most
convenient way to update U-Boot in eMMC is by using DFU. Implement
entering DFU flashing mode automatically when U-Boot is executed on USB
boot. That makes it easier for users to re-flash U-Boot without even
having serial console running, e.g.:

    $ ./smdk-usbdl
    $ dfu-util -D u-boot.bin -a bootloader

See [1,2] for details.

Entering DFU mode is implemented by setting corresponding environment
variables:

    bootcmd="dfu 0 mmc 0"
    bootdelay=0

Do not save the U-Boot environment though, to avoid falling through to
DFU mode on a regular eMMC boot.

[1] doc/board/samsung/e850-96.rst
[2] https://gitlab.com/LinaroLtd/e850-96/tools/dltool/-/tree/uboot

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Load firmwares over USB on USB boot
Sam Protsenko [Tue, 18 Nov 2025 23:21:18 +0000 (17:21 -0600)] 
board: samsung: e850-96: Load firmwares over USB on USB boot

During USB boot it's expected that the bootloader (U-Boot) should
download LDFW and TZSW firmware binaries over USB, using corresponding
SMC call. Once it's done, the Boot ROM code can release the USB block,
so that it can be used in U-Boot (e.g. for flashing images to eMMC using
DFU or fastboot). Otherwise USB wouldn't be accessible in U-Boot, and
any attempt to access USB PHY or DWC3 registers will lead to abort.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Add routine for loading images over USB
Sam Protsenko [Tue, 18 Nov 2025 23:21:17 +0000 (17:21 -0600)] 
board: samsung: e850-96: Add routine for loading images over USB

During USB boot U-Boot is supposed to download some firmware over USB.
It's done by EL3 software, so it has to be requested via corresponding
SMC call. Implement a routine for doing that.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Split LDFW loading and init
Sam Protsenko [Tue, 18 Nov 2025 23:21:16 +0000 (17:21 -0600)] 
board: samsung: e850-96: Split LDFW loading and init

The LDFW firmware loading is done in two steps:

  1. Read the firmware binary from some block device
  2. Provide it to EL3 monitor software via an SMC call, so it can copy
     it to a Secure World memory and start using it

Let's split the load_ldfw() function by two functions correspondingly,
to reflect that process better:

  - load_ldfw_from_blk()
  - init_ldfw()

It can be useful in case when the LDFW binary should be obtained from
some different media, e.g. downloaded over USB during USB boot.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Add routines for checking boot dev
Sam Protsenko [Tue, 18 Nov 2025 23:21:15 +0000 (17:21 -0600)] 
board: samsung: e850-96: Add routines for checking boot dev

Implement functionality to check the current boot device (a device where
the SoC ROM code is loading the bootloaders from). The boot device order
can be changed using the SW1 DIP switch on the E850-96 board (which
controls XOM SoC lines), as stated in [1].

The boot device information is requested from EL3 software using the
corresponding SMC call, which in turn reads it from iRAM memory, which
was written by the ROM code. New routines decode that data and allow the
user to check the current boot device, boot order, etc. That API can be
used further to implement different code flows depending on the current
boot device, e.g.:

  - on eMMC boot: obtain the firmware binaries from eMMC
  - on USB boot: download the firmware over USB instead

No functional change; this patch only adds new functionality but it's
not used yet.

[1] doc/board/samsung/e850-96.rst

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoboard: samsung: e850-96: Keep public functions together
Sam Protsenko [Tue, 18 Nov 2025 23:21:14 +0000 (17:21 -0600)] 
board: samsung: e850-96: Keep public functions together

Move DRAM init functions close to other public functions, to make things
visually distinct and improve the readability.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agoarm: dts: imx8ulp: Disable wdog3 until DM watchdog support is available
Alice Guo [Thu, 20 Nov 2025 11:23:00 +0000 (19:23 +0800)] 
arm: dts: imx8ulp: Disable wdog3 until DM watchdog support is available

The driver model for watchdog timer is not enabled yet, so disable wdog3
temporarily.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
4 months agoarm: dts: imx8ulp: Ensure mu@27020000 and lpuart5 availability during all boot phases
Alice Guo [Thu, 20 Nov 2025 11:22:59 +0000 (19:22 +0800)] 
arm: dts: imx8ulp: Ensure mu@27020000 and lpuart5 availability during all boot phases

mu@27020000 is required for communication with ELE firmware, and
lpuart5 is the standard output device. Both peripherals must be
available before U-Boot relocation. Use bootph-all instead of
bootph-pre-ram so these nodes are retained across all boot phases.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
4 months agoconfigs: colibri-imx7*: set 'fdtfile' generically in PREBOOT
Ernest Van Hoecke [Tue, 18 Nov 2025 14:48:00 +0000 (15:48 +0100)] 
configs: colibri-imx7*: set 'fdtfile' generically in PREBOOT

In TEZI (Toradex Easy Installer), we use one U-Boot binary for both our
NAND and eMMC Colibri iMX7 modules. Currently, CONFIG_PREBOOT sets the
environment variable 'fdtfile' depending on which defconfig was used,
adding the '-emmc' variant for the emmc defconfig. Since we always build
the TEZI recovery U-Boot with the standard (non-emmc) defconfig, fdtfile
has to be overwritten later or it will be wrong there.

By using '$variant', the fdtfile var is properly constructed at run time
for both the NAND and eMMC variants, and we do not have to worry about
setting fdtfile again when building the recovery TEZI U-Boot.

This also synchronizes these configs with how we handle the iMX6ULL.

Fixes: 327381e8b57c ("colibri_imx7: use preboot for fdtfile evaluation")
Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
4 months agoimx91: fix pinmux macros for ENET1_TD3 and I2C2_SCL
Francesco Valla [Thu, 13 Nov 2025 17:03:55 +0000 (18:03 +0100)] 
imx91: fix pinmux macros for ENET1_TD3 and I2C2_SCL

Fix macros for the GPIO function for two pads (ENET1_TD3 and I2C2_SCL),
aligning them to the functions specified in the datasheet.

Fixes: a9d562daa3c3 ("imx: Add iMX91 support")
Suggested-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Francesco Valla <francesco@valla.it>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
4 months agoufs: ti: Rename CONFIG_TI_J721E_UFS to CONFIG_UFS_TI_J721E
Marek Vasut [Thu, 30 Oct 2025 22:35:45 +0000 (23:35 +0100)] 
ufs: ti: Rename CONFIG_TI_J721E_UFS to CONFIG_UFS_TI_J721E

Align the Kconfig option with the rest of the subsystem, use
CONFIG_UFS_<vendor> format for the Kconfig option.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20251030223626.20005-4-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
4 months agoufs: rockchip: Rename CONFIG_ROCKCHIP_UFS to CONFIG_UFS_ROCKCHIP
Marek Vasut [Thu, 30 Oct 2025 22:35:44 +0000 (23:35 +0100)] 
ufs: rockchip: Rename CONFIG_ROCKCHIP_UFS to CONFIG_UFS_ROCKCHIP

Align the Kconfig option with the rest of the subsystem, use
CONFIG_UFS_<vendor> format for the Kconfig option.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20251030223626.20005-3-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
4 months agoufs: qcom: Rename CONFIG_QCOM_UFS to CONFIG_UFS_QCOM
Marek Vasut [Thu, 30 Oct 2025 22:35:43 +0000 (23:35 +0100)] 
ufs: qcom: Rename CONFIG_QCOM_UFS to CONFIG_UFS_QCOM

Align the Kconfig option with the rest of the subsystem, use
CONFIG_UFS_<vendor> format for the Kconfig option.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20251030223626.20005-2-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
4 months agoufs: cadence: Rename CONFIG_CADENCE_UFS to CONFIG_UFS_CADENCE
Marek Vasut [Thu, 30 Oct 2025 22:35:42 +0000 (23:35 +0100)] 
ufs: cadence: Rename CONFIG_CADENCE_UFS to CONFIG_UFS_CADENCE

Align the Kconfig option with the rest of the subsystem, use
CONFIG_UFS_<vendor> format for the Kconfig option.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://patch.msgid.link/20251030223626.20005-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
4 months agogpio: s5p: increment bank base address only if bank is initialized
Kaustabh Chakraborty [Tue, 21 Oct 2025 14:21:35 +0000 (19:51 +0530)] 
gpio: s5p: increment bank base address only if bank is initialized

There is a condition guard which ensures that the GPIO node, indeed
describes a GPIO controller.

if (!fdtdec_get_bool(blob, node, "gpio-controller"))
continue;

Since the bank base is being incremented in the loop, it is done so
irrespective of whether the node is a GPIO controller or not. This leads
to the incorrect resolution of bank base addresses.

Move it out of the loop, and instead increment the bank base address
only if the driver successfully binds a GPIO controller.

Reviewed-by: Henrik Grimler <henrik@grimler.se>
Fixes: b8809e60cdb5 ("dm: exynos: gpio: Convert to driver model")
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
4 months agorpi: Use the U-Boot control FDT for fdt_addr
Simon Glass [Sat, 27 Sep 2025 11:30:15 +0000 (05:30 -0600)] 
rpi: Use the U-Boot control FDT for fdt_addr

The fdt_addr variable is used in extlinux as a fallback devicetree if
none is provided by the boot command. Otherwise the only use in U-Boot
seems to me efi_install_fdt() when the internal FDT is required.

The existing mechanism uses the devicetree provided to U-Boot, but in
its original, unrelocated position. In my testing on an rpi_4, this ends
up at 2b35ef00 which is not a convenient place in memory, if the ramdisk
is large.

U-Boot already deals with this sort of problem by relocating the FDT
to a safe address.

So use the control-FDT address instead.

Remove the existing comment, which is confusing, since the FDT is not
actually passed unmodified to the kernel: U-Boot adds various things
using its FDT-fixup mechanism.

Note that board_get_usable_ram_top() reduces the RAM top for boards with
less RAM. This behaviour is left unchanged as there is no other
mechanism for U-Boot to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Christopher Obbard <christopher.obbard@linaro.org>
Tested-by: Christopher Obbard <christopher.obbard@linaro.org> # CM4 1G
4 months agopinctrl: bcm283x: Add GPIO pull-up/down control for BCM2835 and BCM2711
Cibil Pankiras [Thu, 13 Nov 2025 23:45:32 +0000 (00:45 +0100)] 
pinctrl: bcm283x: Add GPIO pull-up/down control for BCM2835 and BCM2711

This patch adds support for configuring GPIO pull-up and pull-down
resistors in the BCM283x pinctrl driver. It implements the brcm,pull
device tree property to control pin bias settings.

The implementation follows the hardware-specific pull control
mechanisms:
- BCM2835: two-step GPPUD register sequence
- BCM2711: direct per-pin control registers

This enables device tree configurations to specify pull-up, pull-down,
or no bias for individual GPIO pins.

Tested on Raspberry Pi boards with both BCM2835 and BCM2711 SoCs.

Signed-off-by: Cibil Pankiras <cibil.pankiras@egym.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
4 months agorpi: Fix compilation with larger configs
Ilias Apalodimas [Sat, 15 Nov 2025 07:33:29 +0000 (09:33 +0200)] 
rpi: Fix compilation with larger configs

Tom reports that adding more Kconfig options fails with
board/raspberrypi/rpi/lowlevel_init.o: in function `save_boot_params':
board/raspberrypi/rpi/lowlevel_init.S:20:(.text+0x0):
relocation truncated to fit: R_AARCH64_ADR_PREL_LO21
against symbol `fw_dtb_pointer' defined in .data section
in board/raspberrypi/rpi/rpi.o
make: *** [Makefile:2029: u-boot] Error 1

Since fw_dtb_pointer lives in .data it might end up above the
+-1MB that adr can reach.
So switch over to adrp+add which has a +-4gb reach.

Reported-by: Tom Rini <trini@konsulko.com>
Closes: https://source.denx.de/u-boot/custodians/u-boot-raspberrypi/-/issues/2
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
4 months agoMerge tag 'v2026.01-rc3' into next
Tom Rini [Mon, 24 Nov 2025 15:34:29 +0000 (09:34 -0600)] 
Merge tag 'v2026.01-rc3' into next

Prepare v2026.01-rc3

4 months agoPrepare v2026.01-rc3 v2026.01-rc3
Tom Rini [Mon, 24 Nov 2025 15:27:35 +0000 (09:27 -0600)] 
Prepare v2026.01-rc3

Signed-off-by: Tom Rini <trini@konsulko.com>
4 months agorockchip: rk3588: Map SCMI shared memory area as non-cacheable
Jonas Karlman [Sun, 16 Nov 2025 01:45:29 +0000 (01:45 +0000)] 
rockchip: rk3588: Map SCMI shared memory area as non-cacheable

The SCMI shared memory area is no longer automatically marked as
non-cacheable after the commit a5a0134570c8 ("firmware: scmi: Drop
mmu_set_region_dcache_behaviour() misuse").

This change in behavior cause Rockchip RK3588 boards to fail boot with:

  SoC:   RK3588
  DRAM:  8 GiB
  scmi-over-smccc scmi: Channel unexpectedly busy
  scmi_base_drv scmi-base.0: getting protocol version failed
  scmi-over-smccc scmi: failed to probe base protocol
  initcall_run_r(): initcall initr_dm() failed
  ### ERROR ### Please RESET the board ###

Update the memory mapping on RK3588 to mark the SCMI shared memory area
as non-cacheable to fix the SCMI shared memory based transport issue
that prevented RK3588 boards from booting.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
4 months agofastboot: integrate block flashing back-end
Dmitrii Merkurev [Fri, 21 Nov 2025 10:53:33 +0000 (11:53 +0100)] 
fastboot: integrate block flashing back-end

1. Get partition info/size
2. Erase partition
3. Flash partition
4. BCB

Make FASTBOOT_FLASH also depend on BLK, but make sure
it doesn't affect SUNXI and ROCKCHIP platforms since they
default to y already.

Make it only default on SUNXI when MMC or NAND is enabled,
so it doesn't break the CHIP & Nintendo boards, and for ROCKCHIP
when MMC is enabled.

Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20251121-topic-fastboot-blk-v7-3-9589d902fc91@linaro.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
4 months agofastboot: blk: switch emmc to use the block helpers
Dmitrii Merkurev [Fri, 21 Nov 2025 10:53:32 +0000 (11:53 +0100)] 
fastboot: blk: switch emmc to use the block helpers

Switch the mmc backend to this new shared block helpers,
reducing block logic and only leaving MMC specific logic.

Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Tested-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20251121-topic-fastboot-blk-v7-2-9589d902fc91@linaro.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
4 months agofastboot: blk: introduce fastboot block flashing support
Dmitrii Merkurev [Fri, 21 Nov 2025 10:53:31 +0000 (11:53 +0100)] 
fastboot: blk: introduce fastboot block flashing support

Introduce fastboot block flashing functions and helpers
to be shared with the MMC implementation.

The write logic comes from the mmc implementation, while
the partition lookup is much simpler and could be extended.

For the erase logic, allmost no block drivers exposes the
erase operation, except mmc & virtio, so in order to allow
erasiong any partition a soft-erase logic has been added
to write zero-ed buffers in a loop.

Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Tested-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20251121-topic-fastboot-blk-v7-1-9589d902fc91@linaro.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
5 months agoconfigs: Resync with savedefconfig
Tom Rini [Sat, 22 Nov 2025 17:43:21 +0000 (11:43 -0600)] 
configs: Resync with savedefconfig

Resync all defconfig files using qconfig.py

Signed-off-by: Tom Rini <trini@konsulko.com>