From 3dda4dad1d3add373e2cc7d0c47badecf851eaa2 Mon Sep 17 00:00:00 2001 From: Bill XIE Date: Sat, 1 Jan 2022 11:56:00 +0800 Subject: payloads/external: Add more option related to SeaBIOS and GRUB2 Also known as "SeaGRUB", running GRUB2 atop SeaBIOS proves to be a useful configuration, since SeaBIOS has improved its hardware compatibility. For example, some USB drive can work under SeaBIOS but do not work under native GRUB2, and GRUB2 can use BIOS call (provided by SeaBIOS) as a fallback method to access hardware if it is present. But more option is added addition to "SeaGRUB": now GRUB2 and SeaBIOS can be built as secondary payloads, and "SeaGRUB" is now implemented as "Primary SeaBIOS + Secondary GRUB2 (selected) + config files". Signed-off-by: Bill XIE Change-Id: Ie681fa231abfe4a8f1e4510b3c17957550a9d2f8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60640 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth Reviewed-by: Paul Menzel --- Documentation/payloads.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Documentation/payloads.md') diff --git a/Documentation/payloads.md b/Documentation/payloads.md index 7f4c08c202cc..e34289c91d27 100644 --- a/Documentation/payloads.md +++ b/Documentation/payloads.md @@ -13,7 +13,15 @@ payload or can be made to work as one. the PCBIOS API that exists since the original IBM PC and was extended since. While originally written for emulators such as QEMU, it can be made to work as a coreboot payload and all the necessary code is in SeaBIOS' -mainline code. +mainline code, or as a secondary payload load by another payload, e.g. it +can be loaded from GRUB2 with the following menuentry in the run time +config of GRUB2: + + menuentry "SeaBIOS" --unrestricted { + root=(cbfsdisk) + multiboot /img/seabios + module /vgaroms/seavgabios.bin + } ## Tianocore @@ -51,4 +59,4 @@ updates, but only works on a limited amount of mainboards. For more details have a look at [heads-wiki]. [Heads]: https://github.com/osresearch/heads -[heads-wiki]: http://osresearch.net/ \ No newline at end of file +[heads-wiki]: http://osresearch.net/ -- cgit v1.2.3