[PATCH v2 0/9] x86: Improve bootstd support

Simon Glass sjg at chromium.org
Sun Jul 30 19:15:10 CEST 2023


This series provides some bootstd fixes so that IDE can be used reliably
for booting a distro. It also includes some documentation on how to boot
from coreboot in various scenarios, using QEMU.

With this it is possible to boot Ubuntu 2023.04 from coreboot64, for
example.

Changes in v2:
- Use log_warning() for the warning
- Fix the function name in the header as well

Simon Glass (9):
  fs: fat: Support reading from a larger block size
  usb: Return -ENOENT when no devices are found
  lib: Suppress E when writing error-string output
  bootstd: Rename bootdev_setup_sibling_blk()
  bootstd: Correct creating of bootdev sibling
  bootstd: Add some more debugging in the bootdev uclass
  x86: coreboot: Add IDE and SATA
  x86: coreboot: Enable standard boot
  x86: coreboot: Enable support for CBFS

 boot/bootdev-uclass.c           |  17 +++--
 common/usb_storage.c            |   2 +-
 configs/coreboot64_defconfig    |  16 ++---
 configs/coreboot_defconfig      |  11 ++++
 doc/board/coreboot/coreboot.rst |  74 ++++++++++++++++++++--
 doc/develop/bootstd.rst         |   4 +-
 drivers/block/ide.c             |   4 +-
 drivers/mmc/mmc-uclass.c        |   2 +-
 drivers/nvme/nvme.c             |   2 +-
 drivers/scsi/scsi.c             |   2 +-
 drivers/usb/host/usb-uclass.c   |   2 +-
 drivers/virtio/virtio-uclass.c  |   2 +-
 fs/fat/Kconfig                  |  13 ++++
 fs/fat/fat.c                    | 107 ++++++++++++++++++++++++++++----
 fs/fat/fat_write.c              |   8 ++-
 include/bootdev.h               |  10 +--
 include/usb.h                   |   9 ++-
 lib/vsprintf.c                  |   5 +-
 18 files changed, 238 insertions(+), 52 deletions(-)

-- 
2.41.0.487.g6d72f3e995-goog



More information about the U-Boot mailing list