On 06/25/13 18:31, Patrick Georgi wrote:
Am 25.06.2013 18:14, schrieb Gerd Hoffmann:
What is the state of the tianocore port for coreboot?
I'm the sole committer, lacking time, so things are going slowly
Good to head it isn't dead.
Looking at https://github.com/pgeorgi/edk2/commits/coreboot-pkg there has been no activity for a few months ...
I have a local branch that's more recent. I'll see that I push it on thursday.
Thanks, I'll have a look (might take some time though as I'll go vanish into my summer vacation soon).
My main targets are a native GOP driver (instead of CSM), and table handling (to reuse SMBIOS, ACPI, ... from coreboot)
Yep, tables are most important to get rid of hardware dependencies.
Right now corebootPkg/Library/AcpiTimerLib tries to poke directly at the pmtimer of the piix4 southbridge. And when running on other hardware it traps into an assert. Would be better to get the pmtimer address by parsing the FADT like seabios does.
Native GOP driver only matters when running without CSM, with CSM present it wouldn't be used anyway.
It doesn't build for X64. Seems some tricks it pulls on 64bit (for communication with 32bit coreboot?) stopped working.
Not quite specific, but I usually test both.
Doesn't build:
"GenFw" -e SEC -o /home/kraxel/projects/edk2/Build/corebootX64/DEBUG_GCC44/X64/corebootPkg/Sec/SecMain/DEBUG/SecMain.efi /home/kraxel/projects/edk2/Build/corebootX64/DEBUG_GCC44/X64/corebootPkg/Sec/SecMain/DEBUG/SecMain.dll GenFw: ERROR 3000: Invalid Unsupported section alignment. make: *** [/home/kraxel/projects/edk2/Build/corebootX64/DEBUG_GCC44/X64/corebootPkg/Sec/SecMain/DEBUG/SecMain.efi] Error 2
Note this is with the coreboot patches rebased, not your branch. I think it comes from some edk2 changes. Might also be I did something wrong while rebasing ...
cheers, Gerd