[PATCH v3 00/12] Resolve issues with booting distros on x86
Simon Glass
sjg at chromium.org
Mon Oct 2 03:14:35 CEST 2023
This little series reprises the EFI-video fix, fixes a USB problem and
enables a boot script for coreboot.
It also moves to truetype fonts for coreboot and qemu-x86, since the
menus look much better and there are no strong size constraints.
With these changes it is possible to boot a Linux distro automatically
with U-Boot on x86, including when U-Boot is the second-stage
bootloader.
Changes in v3:
- Add new patch to refactor mmc prep to allow a different scan
- Add missing word 'function' in the commit message
- Clear the screen before booting
- Add new patch to drop unnecessary truetype operations from SPL
- Add new patch to enable truetype fonts in coreboot
- Add new patch to enable truetype fonts in qemu-x86 and qemu-x86_64
Changes in v2:
- Rebase to -next
- Add some more comments to the header file
- Add fixes tag
- Add new patch to add a return code to bootflow menu
- Add new patch to add a coreboot boot script
- Add new patch to avoid unbinding devices in use by bootflows
Simon Glass (12):
efi: Correct handling of frame buffer
bootstd: Refactor mmc prep to allow a different scan
bootstd: Add a return code to bootflow menu
x86: coreboot: Add a boot script
usb: Avoid unbinding devices in use by bootflows
expo: Correct background colour
video: Correct setting of cursor position
video: Drop unnecessary truetype operations from SPL
x86: Enable SSE in 64-bit mode
x86: coreboot: Enable truetype fonts
x86: qemu: Expand ROM size
x86: qemu: Enable truetype fonts
arch/x86/config.mk | 1 -
arch/x86/cpu/x86_64/cpu.c | 11 +++++
arch/x86/dts/coreboot.dts | 10 +++++
board/emulation/qemu-x86/Kconfig | 3 +-
boot/bootm.c | 2 +-
boot/expo.c | 4 +-
cmd/bootflow.c | 53 ++++++++++++++++++------
common/usb.c | 7 +++-
configs/coreboot64_defconfig | 4 +-
configs/coreboot_defconfig | 4 +-
configs/qemu-x86_64_defconfig | 7 ++--
configs/qemu-x86_defconfig | 1 +
doc/usage/cmd/bootflow.rst | 67 +++++++++++++++++++++++++++++++
drivers/usb/host/usb-uclass.c | 14 ++++++-
drivers/video/console_truetype.c | 10 +++++
drivers/video/vidconsole-uclass.c | 15 +++----
include/usb.h | 15 ++++++-
include/video.h | 9 +++--
lib/efi_loader/efi_gop.c | 12 +++---
test/boot/bootflow.c | 64 ++++++++++++++++++++++++-----
20 files changed, 264 insertions(+), 49 deletions(-)
--
2.42.0.582.g8ccd20d70d-goog
More information about the U-Boot
mailing list