Zoltan Baldaszti has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45482 )
Change subject: payloads/external: add support for BOOTBOOT payload ......................................................................
Patch Set 1:
(1 comment)
Thank you for checking out! Yes, I test all versions of BOOTBOOT in qemu all the time. The coreboot payload version is no exception.
https://review.coreboot.org/c/coreboot/+/45482/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/45482/1//COMMIT_MSG@8 PS1, Line 8:
Can it be easily tested with QEMU?
Yes, of course! qemu-system-x86_64 -bios coreboot.rom -serial stdio
Detailed compilation instructions: https://gitlab.com/bztsrc/bootboot/-/tree/master/x86_64-cb
Example pre-compiled coreboot.rom with this payload (and a make rule to run it with in QEMU): https://gitlab.com/bztsrc/bootboot/-/tree/master/images see "make coreboot", loads the initrd from a disk with GPT and ESP.
Further note: you don't need to have a disk image either, you can put the initrd into the ROM using cbfstool. Example command on the first link.
Without an initrd, it should print "BOOTBOOT-PANIC: No initrd found."
Plus one: I've fixed the newline ending issue, but accidentally created a new PR, sorry about that! https://review.coreboot.org/c/coreboot/+/45483