public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Building and integrating CorebootPayloadPkg
@ 2016-10-31 13:07 Janne Heß
  2016-11-01  5:13 ` Scott Duplichan
  0 siblings, 1 reply; 2+ messages in thread
From: Janne Heß @ 2016-10-31 13:07 UTC (permalink / raw)
  To: edk2-devel

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Hello everyone,

I'm currently trying to build CorebootPayloadPkg to integrate it into my
coreboot.
I follewed the instructions in
CorebootPayloadPkg/BuildAndIntegrationInstructions.txt to build
UEFIPAYLOAD.fd.
The instructions tell me to add choose this file as an executable elf
payload in the coreboot configuration.
Now, when building coreboot, I end up with the following output:

> Performing operation on 'COREBOOT' region...
> E: The stage file is not in ELF format!
> E: skipping 32 bytes of FV padding
> E: skipping 28 bytes of section padding
> E: Could not add [UEFIPAYLOAD.fd, 852750 bytes (832 KB)@0x0]; too big?
> E: Failed to add 'UEFIPAYLOAD.fd' into ROM image.
> E: Failed while operating on 'COREBOOT' region!
> E: The image will be left unmodified.
> make: *** [build/coreboot.pre] Error 1

As the script tells me to check if the payload is too big, I set my BIOS
chip size to 12 MB in the config just to make sure this is not a problem.
This didn't help.
I also asked on #coreboot, where I was told to use the cbfstool to
include my payload which failed with the same message.

So to me it looks like whatever UEFIPAYLOAD.fd is, it is not a Coreboot
payload.
Are there any commands missing from the documentation that I need to
build a valid payload?

Thanks in advance.

Regards
Janne



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-01  5:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-31 13:07 Building and integrating CorebootPayloadPkg Janne Heß
2016-11-01  5:13 ` Scott Duplichan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox