Compare commits
25 Commits
cherry-937
...
cherry-d53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5d9a76d55 | ||
|
|
83b07f6647 | ||
|
|
550ce74319 | ||
|
|
4430d96177 | ||
|
|
34fa3dfb40 | ||
|
|
bb6145c8fc | ||
|
|
83c0ea54c9 | ||
|
|
42f4b73085 | ||
|
|
4e743f3c60 | ||
|
|
3dc01c1e3b | ||
|
|
1359c089af | ||
|
|
ce5ae4b69e | ||
|
|
05d1ee07f7 | ||
|
|
f672720146 | ||
|
|
c35b6853b5 | ||
|
|
5ef532deaa | ||
|
|
c9a5a12248 | ||
|
|
652e93b301 | ||
|
|
17c5d8d110 | ||
|
|
cdd549ccc4 | ||
|
|
85e0df8559 | ||
|
|
0777f608c5 | ||
|
|
7545b5a4ec | ||
|
|
3c49c0d730 | ||
|
|
7608e97313 |
@@ -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
|
||||
|
||||
@@ -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`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
|
||||
@@ -690,7 +690,7 @@ int get_serdes_volt(void)
|
||||
dm_i2c_read(dev, PMBUS_CMD_READ_VOUT, (void *)&vcode, 2);
|
||||
#endif
|
||||
if (ret) {
|
||||
printf("VID: failed to read the volatge\n");
|
||||
printf("VID: failed to read the voltage\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -716,11 +716,11 @@ int set_serdes_volt(int svdd)
|
||||
(void *)&buff, 5);
|
||||
#endif
|
||||
if (ret) {
|
||||
printf("VID: I2C failed to write to the volatge regulator\n");
|
||||
printf("VID: I2C failed to write to the voltage regulator\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Wait for the volatge to get to the desired value */
|
||||
/* Wait for the voltage to get to the desired value */
|
||||
do {
|
||||
vdd_last = get_serdes_volt();
|
||||
if (vdd_last < 0) {
|
||||
@@ -778,7 +778,7 @@ int set_serdes_volt(int svdd)
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Wait for the volatge to get to the desired value */
|
||||
/* Wait for the voltage to get to the desired value */
|
||||
udelay(10000);
|
||||
|
||||
return 1;
|
||||
|
||||
@@ -239,7 +239,7 @@ static int prepare_bootmenu_entry(struct bootmenu_data *menu,
|
||||
/**
|
||||
* prepare_uefi_bootorder_entry() - generate the uefi bootmenu entries
|
||||
*
|
||||
* This function read the "BootOrder" UEFI variable
|
||||
* This function reads the "BootOrder" UEFI variable
|
||||
* and generate the bootmenu entries in the order of "BootOrder".
|
||||
*
|
||||
* @menu: pointer to the bootmenu structure
|
||||
|
||||
@@ -75,6 +75,6 @@ static int do_rng(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
||||
U_BOOT_CMD(
|
||||
rng, 3, 0, do_rng,
|
||||
"print bytes from the hardware random number generator",
|
||||
"list - list all the probed rng devices\n"
|
||||
"rng [dev] [n] - print n random bytes(max 64) read from dev\n"
|
||||
"list - list all probed rng devices\n"
|
||||
"rng [dev [n]] - print n random bytes (max 64) read from dev\n"
|
||||
);
|
||||
|
||||
@@ -67,6 +67,7 @@ CONFIG_I2C_MUX=y
|
||||
CONFIG_I2C_MUX_PCA954x=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x57
|
||||
CONFIG_FSL_ESDHC=y
|
||||
CONFIG_FSL_ESDHC_SUPPORT_ADMA2=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_DM_SPI_FLASH=y
|
||||
CONFIG_SPI_FLASH_STMICRO=y
|
||||
@@ -101,4 +102,3 @@ CONFIG_USB_ETHER_ASIX88179=y
|
||||
CONFIG_USB_ETHER_RTL8152=y
|
||||
CONFIG_WDT=y
|
||||
CONFIG_WDT_SP805=y
|
||||
CONFIG_FSL_ESDHC_SUPPORT_ADMA2=y
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,5 +2,4 @@
|
||||
|
||||
CONFIG_BITBANGMII=y
|
||||
CONFIG_BITBANGMII_MULTI=y
|
||||
CONFIG_ENV_OVERWRITE=y
|
||||
CONFIG_SYS_PBSIZE=2068
|
||||
|
||||
@@ -10,6 +10,8 @@ CONFIG_ENV_SIZE=0x4000
|
||||
CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b-plus"
|
||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
||||
CONFIG_SYS_LOAD_ADDR=0x1000000
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
CONFIG_BOOTSTD_DEFAULTS=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_FDT_SIMPLEFB=y
|
||||
@@ -55,5 +57,3 @@ CONFIG_VIDEO_BCM2835=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
# CONFIG_HEXDUMP is not set
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
|
||||
@@ -10,6 +10,8 @@ CONFIG_ENV_SIZE=0x4000
|
||||
CONFIG_DEFAULT_DEVICE_TREE="bcm2837-rpi-3-b"
|
||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
||||
CONFIG_SYS_LOAD_ADDR=0x1000000
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
CONFIG_BOOTSTD_DEFAULTS=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_FDT_SIMPLEFB=y
|
||||
@@ -55,5 +57,3 @@ CONFIG_VIDEO_BCM2835=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
# CONFIG_HEXDUMP is not set
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
|
||||
@@ -10,6 +10,8 @@ CONFIG_OF_LIBFDT_OVERLAY=y
|
||||
CONFIG_DM_RESET=y
|
||||
CONFIG_SYS_LOAD_ADDR=0x1000000
|
||||
CONFIG_PCI=y
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
CONFIG_BOOTSTD_DEFAULTS=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_FDT_SIMPLEFB=y
|
||||
@@ -68,5 +70,3 @@ CONFIG_VIDEO_BCM2835=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
# CONFIG_HEXDUMP is not set
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
|
||||
@@ -8,6 +8,8 @@ CONFIG_OF_LIBFDT_OVERLAY=y
|
||||
CONFIG_DM_RESET=y
|
||||
CONFIG_SYS_LOAD_ADDR=0x1000000
|
||||
CONFIG_PCI=y
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
CONFIG_BOOTSTD_DEFAULTS=y
|
||||
CONFIG_OF_BOARD_SETUP=y
|
||||
CONFIG_FDT_SIMPLEFB=y
|
||||
@@ -62,5 +64,3 @@ CONFIG_VIDEO_BCM2835=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
# CONFIG_HEXDUMP is not set
|
||||
CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
|
||||
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
|
||||
|
||||
@@ -75,7 +75,7 @@ For the next scheduled release, release candidates were made on::
|
||||
|
||||
* U-Boot v2025.01-rc4 was released on Mon 09 December 2024.
|
||||
|
||||
.. * U-Boot v2025.01-rc5 was released on Mon 23 December 2024.
|
||||
* U-Boot v2025.01-rc5 was released on Mon 23 December 2024.
|
||||
|
||||
.. * U-Boot v2025.01-rc6 was released on Mon 30 December 2024.
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@ Synopsis
|
||||
::
|
||||
|
||||
rng list
|
||||
rng [dev] [n]
|
||||
rng [dev [n]]
|
||||
|
||||
rng list
|
||||
--------
|
||||
|
||||
List all the probed rng devices.
|
||||
|
||||
rng [dev] [n]
|
||||
rng [dev [n]]
|
||||
-------------
|
||||
|
||||
The *rng* command reads the random number generator(RNG) device and
|
||||
|
||||
@@ -5,50 +5,50 @@ Single kernel and FDT blob
|
||||
|
||||
::
|
||||
|
||||
/dts-v1/;
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Simple image with single Linux kernel and FDT blob";
|
||||
#address-cells = <1>;
|
||||
/ {
|
||||
description = "Simple image with single Linux kernel and FDT blob";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "Vanilla Linux kernel";
|
||||
data = /incbin/("./vmlinux.bin.gz");
|
||||
type = "kernel";
|
||||
arch = "ppc";
|
||||
os = "linux";
|
||||
compression = "gzip";
|
||||
load = <00000000>;
|
||||
entry = <00000000>;
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
hash-2 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
fdt-1 {
|
||||
description = "Flattened Device Tree blob";
|
||||
data = /incbin/("./target.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "ppc";
|
||||
compression = "none";
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
hash-2 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
images {
|
||||
kernel {
|
||||
description = "Vanilla Linux kernel";
|
||||
data = /incbin/("./vmlinux.bin.gz");
|
||||
type = "kernel";
|
||||
arch = "ppc";
|
||||
os = "linux";
|
||||
compression = "gzip";
|
||||
load = <00000000>;
|
||||
entry = <00000000>;
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
hash-2 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
fdt-1 {
|
||||
description = "Flattened Device Tree blob";
|
||||
data = /incbin/("./target.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "ppc";
|
||||
compression = "none";
|
||||
hash-1 {
|
||||
algo = "crc32";
|
||||
};
|
||||
hash-2 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf-1";
|
||||
conf-1 {
|
||||
description = "Boot Linux kernel with FDT blob";
|
||||
kernel = "kernel";
|
||||
fdt = "fdt-1";
|
||||
};
|
||||
};
|
||||
};
|
||||
configurations {
|
||||
default = "conf-1";
|
||||
conf-1 {
|
||||
description = "Boot Linux kernel with FDT blob";
|
||||
kernel = "kernel";
|
||||
fdt = "fdt-1";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -39,7 +39,6 @@ enum clk_ids {
|
||||
CLK_PLL6,
|
||||
CLK_PLL7,
|
||||
CLK_PLL1_DIV2,
|
||||
CLK_PLL2_DIV2,
|
||||
CLK_PLL3_DIV2,
|
||||
CLK_PLL4_DIV2,
|
||||
CLK_PLL4_DIV5,
|
||||
@@ -82,7 +81,6 @@ static const struct cpg_core_clk r8a779h0_core_clks[] = {
|
||||
DEF_BASE(".pll7", CLK_PLL7, CLK_TYPE_GEN4_PLL7, CLK_MAIN),
|
||||
|
||||
DEF_FIXED(".pll1_div2", CLK_PLL1_DIV2, CLK_PLL1, 2, 1),
|
||||
DEF_FIXED(".pll2_div2", CLK_PLL2_DIV2, CLK_PLL2, 2, 1),
|
||||
DEF_FIXED(".pll3_div2", CLK_PLL3_DIV2, CLK_PLL3, 2, 1),
|
||||
DEF_FIXED(".pll4_div2", CLK_PLL4_DIV2, CLK_PLL4, 2, 1),
|
||||
DEF_FIXED(".pll4_div5", CLK_PLL4_DIV5, CLK_PLL4, 5, 1),
|
||||
@@ -106,10 +104,10 @@ static const struct cpg_core_clk r8a779h0_core_clks[] = {
|
||||
DEF_RATE(".oco", CLK_OCO, 32768),
|
||||
|
||||
/* Core Clock Outputs */
|
||||
DEF_GEN4_Z("zc0", R8A779H0_CLK_ZC0, CLK_TYPE_GEN4_Z, CLK_PLL2_DIV2, 2, 0),
|
||||
DEF_GEN4_Z("zc1", R8A779H0_CLK_ZC1, CLK_TYPE_GEN4_Z, CLK_PLL2_DIV2, 2, 8),
|
||||
DEF_GEN4_Z("zc2", R8A779H0_CLK_ZC2, CLK_TYPE_GEN4_Z, CLK_PLL2_DIV2, 2, 32),
|
||||
DEF_GEN4_Z("zc3", R8A779H0_CLK_ZC3, CLK_TYPE_GEN4_Z, CLK_PLL2_DIV2, 2, 40),
|
||||
DEF_GEN4_Z("zc0", R8A779H0_CLK_ZC0, CLK_TYPE_GEN4_Z, CLK_PLL2, 4, 0),
|
||||
DEF_GEN4_Z("zc1", R8A779H0_CLK_ZC1, CLK_TYPE_GEN4_Z, CLK_PLL2, 4, 8),
|
||||
DEF_GEN4_Z("zc2", R8A779H0_CLK_ZC2, CLK_TYPE_GEN4_Z, CLK_PLL2, 4, 32),
|
||||
DEF_GEN4_Z("zc3", R8A779H0_CLK_ZC3, CLK_TYPE_GEN4_Z, CLK_PLL2, 4, 40),
|
||||
DEF_FIXED("s0d2", R8A779H0_CLK_S0D2, CLK_S0, 2, 1),
|
||||
DEF_FIXED("s0d3", R8A779H0_CLK_S0D3, CLK_S0, 3, 1),
|
||||
DEF_FIXED("s0d4", R8A779H0_CLK_S0D4, CLK_S0, 4, 1),
|
||||
|
||||
@@ -654,7 +654,7 @@ static int rng_init(uint8_t sec_idx, ccsr_sec_t *sec)
|
||||
ret = instantiate_rng(sec_idx, sec, gen_sk);
|
||||
/*
|
||||
* entropy delay is calculated via self-test method.
|
||||
* self-test are run across different volatge, temp.
|
||||
* self-test are run across different voltage, temp.
|
||||
* if worst case value for ent_dly is identified,
|
||||
* loop can be skipped for that platform.
|
||||
*/
|
||||
|
||||
@@ -837,6 +837,7 @@ static int rswitch_send(struct udevice *dev, void *packet, int len)
|
||||
|
||||
/* Update TX descriptor */
|
||||
rswitch_flush_dcache((uintptr_t)packet, len);
|
||||
rswitch_invalidate_dcache((uintptr_t)desc, sizeof(*desc));
|
||||
memset(desc, 0x0, sizeof(*desc));
|
||||
desc->die_dt = DT_FSINGLE;
|
||||
desc->info_ds = len;
|
||||
@@ -1112,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);
|
||||
|
||||
@@ -90,7 +90,7 @@ config TFTP_WINDOWSIZE
|
||||
config TFTP_TSIZE
|
||||
bool "Track TFTP transfers based on file size option"
|
||||
depends on CMD_TFTPBOOT
|
||||
default y if (ARCH_OMAP2PLUS || ARCH_K3)
|
||||
default y if (ARCH_OMAP2PLUS || ARCH_K3 || ARCH_RENESAS)
|
||||
help
|
||||
By default, TFTP progress bar is increased for each received UDP
|
||||
frame, which can lead into long time being spent for sending
|
||||
|
||||
@@ -1584,6 +1584,7 @@ virtaul||virtual
|
||||
virtiual||virtual
|
||||
visiters||visitors
|
||||
vitual||virtual
|
||||
volatge||voltage
|
||||
vunerable||vulnerable
|
||||
wakeus||wakeups
|
||||
wathdog||watchdog
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user