[PATCH v2 0/9] x86: Fixes for distro booting

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


This series collects together various fixes found whn testing out booting
of distros using QEMU on x86. Together they improve functionality, but it
is not perfect yet. Some notes are included as to the current state.

Changes in v2:
Use SPL_ instead of SPL_TPL_
- Drop unnecessary IS_ENABLED(CONFIG_X86)
- Add a note that this reproduces reliably
- Add a Kconfig as the suggested conditional did not work
- Use sizeof(struct vesa_mode_info) instead

Simon Glass (9):
  x86: spl: Drop unwanted debug()
  video: Tidy up Makefile rule for video
  x86: Run QEMU machine setup in SPL
  Revert "x86: Switch QEMU over to use the bochs driver"
  board_f: Fix corruption of relocaddr
  x86: Correct copying of BIOS mode information
  video: Add a Kconfig option for SPL video handoff
  x86: Enable useful options for qemu-86
  x86: Update qemu documentation

 arch/x86/cpu/qemu/Kconfig        |  2 +-
 arch/x86/cpu/qemu/qemu.c         |  2 +-
 arch/x86/include/asm/qemu.h      | 14 +++++
 arch/x86/lib/bios.c              |  2 +-
 arch/x86/lib/spl.c               |  4 +-
 common/board_f.c                 |  6 +--
 configs/qemu-x86_64_defconfig    |  4 ++
 configs/qemu-x86_defconfig       | 12 +++++
 doc/board/emulation/qemu-x86.rst | 88 ++++++++++++++++++++++++++++++--
 drivers/Makefile                 |  4 +-
 drivers/video/Kconfig            | 18 +++++++
 drivers/video/video-uclass.c     |  2 +-
 12 files changed, 144 insertions(+), 14 deletions(-)
 create mode 100644 arch/x86/include/asm/qemu.h

-- 
2.41.0.487.g6d72f3e995-goog



More information about the U-Boot mailing list