Open JohnAZoidberg opened 3 years ago
TODO: First plan how to launch it and make a setup for that. Only then can we start testing it.
There are multiple types of the build: -D BOOTLOADER={COREBOOT,SBL,LINUXBOOT}
(Linuxboot is still experimental and not upstreamed, I think)
Build like:
build -a RISCV64 -p UefiPayloadPkg\UefiPayloadPkg.dsc
There also seems to a "UniversalPayload".
Working X64 QEMU demo with LINUXBOOT payload: https://github.com/JohnAZoidberg/linuxboot-nix/blob/master/default.nix#L36
Then we can use any firmware and load the UefiPayload to have a proper EDK2 environment. For example:
It's useful so that we can have a full UEFI/EDK2 environment without having to port the platform specific initialization code to EDK2.