[Concept,09/16] configs: efi-x86_app64: Scan all partitions at autoboot

Message ID 20260421183511.2044469-10-sjg@u-boot.org
State New
Headers
Series efi-x86: Boot Ubuntu live ISOs via U-Boot + BLS, end to end |

Commit Message

Simon Glass April 21, 2026, 6:34 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The EFI x86 app target is designed for booting installation media and
live images from whatever disk the firmware chain-loads it from. Many of
those layouts (for example the hybrid ISO 9660 produced by modern Ubuntu
installers) place the BLS entry, kernel and initrd on a data partition
that is neither an ESP nor an XBOOTLDR, so the strict BLS partition-type
discovery introduced for bootmeth_bls does not reach them.

Override the default bootcmd so autoboot passes -p to bootflow scan,
which visits every partition on each bootdev rather than just bootable
and BLS-target ones. This only affects this board; the global default
remains 'bootflow scan -lb'.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 configs/efi-x86_app64_defconfig | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/configs/efi-x86_app64_defconfig b/configs/efi-x86_app64_defconfig
index 50c700e20c5..cf9114021e8 100644
--- a/configs/efi-x86_app64_defconfig
+++ b/configs/efi-x86_app64_defconfig
@@ -22,6 +22,7 @@  CONFIG_BOOTMETH_BLS=y
 CONFIG_SHOW_BOOT_PROGRESS=y
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
+CONFIG_BOOTCOMMAND="bootflow scan -lpb"
 CONFIG_SYS_PBSIZE=532
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_CONSOLE_PAGER is not set