Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48244 )
Change subject: soc/intel/*/Kconfig: Enable x86_64 Kconfig option ......................................................................
Patch Set 6:
(3 comments)
Patch Set 6:
Patch Set 6:
Just tried this with clevo/n130wu and coreboot seems to boot fine, but Tianocore doesn't show up https://pastebin.com/3hu3LGyw.
coreboot's default builds of TianoCore (IA32X64) start in 32-bit mode, then switch to 64-bit mode before the DXE phase. (Note that upstream UefiPayload can be built purely as X64.) Does coreboot switch back to 32-bit mode before executing the payload?
Yes, all payloads are run in x86_32, even when building and running coreboot for x86_64.
https://review.coreboot.org/c/coreboot/+/48244/6//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/48244/6//COMMIT_MSG@9 PS6, Line 9: Tested on Intel Skylake. Compiles and boots without issues.
Please add a config to keep this known-working case build-tested.
Done in CB:48452
https://review.coreboot.org/c/coreboot/+/48244/6//COMMIT_MSG@10 PS6, Line 10: 20
Nit: 20.04 or 20. […]
Don't know.
https://review.coreboot.org/c/coreboot/+/48244/6//COMMIT_MSG@12 PS6, Line 12: Other platforms might not compile due to drivers not being ported : to x86_64 or might not boot due to a yet unsupported boot flow.
Ideally, Jenkins should also build-test all boards with x86_64, like it does for CHROMEOS. […]
A build test is added in CB:48452. I would enable a global build test once all socs are supported and are building without errors.