[PATCH 0/5] pxe: Support an automatic localboot

Simon Glass sjg at chromium.org
Fri Dec 20 05:01:15 CET 2024


It seems that extlinux expects that boards know how to boot a local OS
from attached media. U-Boot currently assumes that boards define a
"localcmd" environment variable to support this. None does.

Provide an automatic means to find a kernel and ramdisk, using common
filenames. This addresses booting on MAAS, at least.


Simon Glass (5):
  test/py: Refactor extlinux-image creation into a function
  test: bootflow: Avoid a confusing error condition
  pxe_utils: Allow the FDT to be missing
  pxe_utils: Support a backup for localboot
  pxe_utils: Support the SAY command

 arch/sandbox/dts/test.dts |  8 ++++
 boot/Kconfig              |  9 +++++
 boot/pxe_utils.c          | 50 ++++++++++++++++++++---
 test/boot/bootflow.c      | 56 +++++++++++++++++++++++++-
 test/py/tests/test_ut.py  | 85 ++++++++++++++++++++++++++-------------
 5 files changed, 173 insertions(+), 35 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list