Compare commits

...

10 Commits

Author SHA1 Message Date
Simon Glass
1359c089af pickman: Record cherry-pick of 3 commits from us/next
- 118a10e1dd ARM: renesas: Consistently enable ENV_OVERWRITE on Renesas R-Car
- 70da4f2859 net: rswitch: Do not register disabled ports as ethernet devices
- 0d05bd2058 Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
2025-12-19 21:59:14 -07:00
Tom Rini
ce5ae4b69e Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
(cherry picked from commit 0d05bd2058)
2025-12-19 21:59:14 -07:00
Marek Vasut
05d1ee07f7 net: rswitch: Do not register disabled ports as ethernet devices
In case an rswitch port is described as disabled in DT, do not
register it as ethernet device in U-Boot. This way, such ports
cannot be accessed from U-Boot command line.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
(cherry picked from commit 70da4f2859)
2025-12-19 21:59:14 -07:00
Marek Vasut
f672720146 ARM: renesas: Consistently enable ENV_OVERWRITE on Renesas R-Car
Move CONFIG_ENV_OVERWRITE=y into commont renesas_rcar.config to make sure
this configuration option is consistently enabled on all of Renesas R-Car
Gen2, Gen3, Gen4. Currently this option is not enabled on Gen4, this fix
corrects that omission.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
(cherry picked from commit 118a10e1dd)
2025-12-19 21:59:14 -07:00
Simon Glass
c35b6853b5 Merge branch 'firefly' into 'master'
Lab fixes

See merge request u-boot/u-boot!262
2025-12-20 04:56:22 +00:00
Simon Glass
5ef532deaa test/py: Simplify test_distro_arm_app_efi
The GRUB menu editing approach is fragile because:
1. GRUB can auto-boot before the test interacts with the menu
2. The command line content varies (e.g. '$vt_handoff' vs 'quiet splash')
3. Character-by-character navigation depends on exact screen layout

Simplify to just verify that EFI boot through GRUB reaches Linux
userspace, without trying to edit the kernel command line.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-19 21:49:06 -07:00
Simon Glass
c9a5a12248 CI: Remove zybo, samus and samus_tpl from lab
These boards are no longer available in the lab, so drop them from the
CI configuration.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-19 21:49:03 -07:00
Simon Glass
652e93b301 test/py: Use longer timeout for lab-mode restart
When restarting U-Boot in lab mode, ensure_spawned() sets the timeout
to TIMEOUT_MS (30 seconds) before calling _wait_for_boot_prompt(). In
lab mode, _wait_for_banner() is skipped, so TIMEOUT_PREPARE_MS is never
restored.

This causes tests that boot into Linux and then restart U-Boot (like
test_distro_script) to fail with a timeout if the board takes more than
30 seconds to reset and boot.

Fix this by setting the timeout to TIMEOUT_PREPARE_MS (3 minutes) at
the start of _wait_for_boot_prompt() when in lab mode.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-19 21:48:59 -07:00
Simon Glass
17c5d8d110 arm: dts: rk3399-firefly: Reduce SD card speed for lab
The Firefly-RK3399 board does not boot reliably in the SJG lab due
to signal-integrity issues with SD-wire adapters at higher speeds.

Reduce the SDMMC max-frequency to 25MHz and disable high-speed modes
to improve compatibility.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-19 21:48:32 -07:00
Simon Glass
cdd549ccc4 Merge branch 'cherry-08806a6e522' into 'master'
[pickman] Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh

See merge request u-boot/u-boot!260
2025-12-19 20:03:56 +00:00
9 changed files with 59 additions and 62 deletions

View File

@@ -782,17 +782,6 @@ pcduino3_nano:
ROLE: pcduino3_nano
<<: *lab_dfn
samus:
variables:
ROLE: samus
<<: *lab_dfn
# chromebook_samus_tpl
samus_tpl:
variables:
ROLE: samus_tpl
<<: *lab_dfn
link:
variables:
ROLE: link
@@ -927,11 +916,6 @@ rpi5:
ROLE: rpi5
<<: *lab_dfn
zybo:
variables:
ROLE: zybo
<<: *lab_dfn
qemu-x86_64:
variables:
ROLE: qemu-x86_64

View File

@@ -732,3 +732,46 @@ The build completed successfully. Let me provide a summary:
---
## 2025-12-19: us/next
Branch: cherry-118a10e1dde
Commits:
- 118a10e1dde ARM: renesas: Consistently enable ENV_OVERWRITE on Renesas R-Car
- 70da4f28592 net: rswitch: Do not register disabled ports as ethernet devices
- 0d05bd2058b Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh
### Conversation log
The repository is clean. Now let me create and checkout the new branch based on ci/master:
Now let me cherry-pick the first commit:
First commit cherry-picked successfully. Now the second commit:
Second commit cherry-picked successfully. Now the third commit which is a merge commit:
The merge commit is empty (expected since the parent commits were already cherry-picked). Let me commit it as an empty commit to preserve the merge message:
All three commits cherry-picked successfully. Let me verify with git log:
All 3 commits are present. Now let me run the build verification:
## Final Status
**Cherry-pick Summary:**
- ✅ All 3 commits successfully cherry-picked to branch `cherry-118a10e1dde`
| Commit | Subject | Status |
|--------|---------|--------|
| 118a10e1dde | ARM: renesas: Consistently enable ENV_OVERWRITE on Renesas R-Car | ✅ Cherry-picked |
| 70da4f28592 | net: rswitch: Do not register disabled ports as ethernet devices | ✅ Cherry-picked |
| 0d05bd2058b | Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh | ✅ Cherry-picked (empty commit) |
**Build Result:** ✅ **OK** - 1 board built successfully, no warnings or errors
**Fix-ups Made:** None - all cherry-picks applied cleanly
**Branch Status:** `cherry-118a10e1dde` is ready for pushing, 3 commits ahead of `ci/master`
---

View File

@@ -6,6 +6,12 @@
#include "rk3399-u-boot.dtsi"
#include "rk3399-sdram-ddr3-1600.dtsi"
&sdmmc {
max-frequency = <25000000>; /* 25MHz for SD-wire compatibility */
/delete-property/ cap-sd-highspeed;
/delete-property/ cap-mmc-highspeed;
};
&vdd_log {
regulator-init-microvolt = <950000>;
};

View File

@@ -17,6 +17,7 @@ CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y
CONFIG_DM_SPI=y
CONFIG_DM_SPI_FLASH=y
CONFIG_ENV_OVERWRITE=y
CONFIG_FIT=y
CONFIG_HUSH_PARSER=y
CONFIG_MTD=y

View File

@@ -14,7 +14,6 @@ CONFIG_CMD_USB=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x4f000000
CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_SECT_SIZE=0x40000
CONFIG_ENV_SIZE=0x40000
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y

View File

@@ -2,5 +2,4 @@
CONFIG_BITBANGMII=y
CONFIG_BITBANGMII_MULTI=y
CONFIG_ENV_OVERWRITE=y
CONFIG_SYS_PBSIZE=2068

View File

@@ -1113,6 +1113,9 @@ static int rswitch_bind(struct udevice *parent)
return -ENOENT;
ofnode_for_each_subnode(node, ports_np) {
if (!ofnode_is_enabled(node))
continue;
ret = device_bind_with_driver_data(parent, drv,
ofnode_get_name(node),
(ulong)priv, node, &dev);

View File

@@ -309,6 +309,8 @@ class ConsoleBase():
try:
self.log.info('Waiting for U-Boot to be ready')
if self.lab_mode:
self.timeout = TIMEOUT_PREPARE_MS
if not self.lab_mode:
self._wait_for_banner(loop_num)
self.u_boot_version_string = self.after

View File

@@ -105,49 +105,9 @@ def test_distro_arm_app_efi(ubman):
ubman.expect(
["Booting bootflow 'efi_media_1.bootdev.part_1' with efi"])
# Press Escape to force GRUB to appear, even if the silent menu was
# enabled by a previous boot. If the menu is already set to appear, this
# will exit to the grub> prompt
ubman.send('\x1b')
# Press Escape again, to force it to the grub> prompt
ubman.send('\x1b')
# Wait until we see the editor appear
with ubman.log.section('grub'):
ubman.expect(['grub>'])
ubman.run_command('normal', wait_for_prompt=False)
ubman.expect(['ESC to return previous'])
# Press 'e' to edit the command line
ubman.log.info("Pressing 'e'")
ubman.send('e')
for _ in range(10):
ubman.ctrl('N')
expected = '\tlinux\t/boot/vmlinuz-6.14.0-27-generic '
expected += 'root=UUID=e5665fb4-e1de-4335-86da-357ad5422319 ro '
for _ in expected:
ubman.ctrl('F')
to_erase = 'quiet splash'
for _ in to_erase:
ubman.ctrl('D')
ubman.ctrl('X')
ubman.expect(['Booting a command list'])
with ubman.log.section('exit boot-services'):
ubman.expect(['EFI stub: Exiting boot services...'])
ubman.log.info("boot")
ubman.expect(['Booting Linux on physical CPU'])
with ubman.log.section('initrd'):
ubman.expect(['Freeing initrd memory:'])
ubman.expect(['Run /init as init process'])
with ubman.temporary_timeout(200 * 1000):
ubman.expect(['Ubuntu 25.04 qarm ttyAMA0'])
# Wait for Linux to boot to userspace (kernel may be quiet)
with ubman.log.section('Linux'):
with ubman.temporary_timeout(200 * 1000):
ubman.expect(['Ubuntu 25.04 qarm ttyAMA0'])
ubman.restart_uboot()