Am 25.06.2013 20:24, schrieb Gerd Hoffmann:
Thanks, I'll have a look (might take some time though as I'll go vanish into my summer vacation soon).
Me too.
I just forward ported the repo, but without committing any of the newer code (different box, and the code might require some cleanup to build again)
Doesn't build:
GenFw: ERROR 3000: Invalid Unsupported section alignment.
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 ...
Haven't seen this error yet. It might be the toolchain, "Unsupported section alignment" hints that way.
I just tried the coreboot-pkg branch as-of now, using the toolchain generated by BaseTools/gcc/mingw-gcc-build.py, which I registered as UNIXGCC in Conf/tools_def.txt:
--- DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/gcc/install/bin/i686-pc-mingw32- DEFINE UNIXGCC_X64_PETOOLS_PREFIX = ENV(WORKSPACE)/BaseTools/gcc/install/bin/x86_64-pc-mingw32- ---
$ build -p corebootPkg/corebootPkg.dsc -a X64 -t UNIXGCC
Gives me a (non-CSM) build, ending in --- FV Space Information MAINFV [70%Full] 6209536 total, 4373320 used, 1836216 free SECFV [68%Full] 81920 total, 56352 used, 25568 free DXEFV [99%Full] 4128768 total, 4120568 used, 8200 free ---
Adding that COREBOOT.fd as coreboot payload (8MB QEmu image, no other change) gives me a Tiano shell (on serial console, since there's no graphics).
Patrick