Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/coreboot linuxboot #10

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Feat/coreboot linuxboot #10

wants to merge 8 commits into from

Conversation

AtomicFS
Copy link
Collaborator

@AtomicFS AtomicFS commented Nov 19, 2024

I think I messed something up. The coreboot with linuxboot does not build.

Running go-task build:coreboot-linuxboot fails with:

E: Could not add [inputs/bzImage, 17823199 bytes (17405 KB)@0x0]; too big?
E: Failed to add 'inputs/bzImage' into ROM image.
E: Failed while operating on 'COREBOOT' region!
E: The image will be left unmodified.
make: *** [Makefile.inc:1110: build/coreboot.pre] Error 1
    - origin of this message: recipes.CorebootOpts.buildFirmware
    - time: 2024-11-19T23:50:45.998838889+01:00

@MDr164 need some help

UPDATE

This PR adds new more complex example on firmware-action usage.

To keep it somewhat clean, I moved the existing example into separate directory.

@MDr164
Copy link
Collaborator

MDr164 commented Nov 19, 2024

I think I messed something up. The coreboot with linuxboot does not build.

Running go-task build:coreboot-linuxboot fails with:

E: Could not add [inputs/bzImage, 17823199 bytes (17405 KB)@0x0]; too big?
E: Failed to add 'inputs/bzImage' into ROM image.
E: Failed while operating on 'COREBOOT' region!
E: The image will be left unmodified.
make: *** [Makefile.inc:1110: build/coreboot.pre] Error 1
    - origin of this message: recipes.CorebootOpts.buildFirmware
    - time: 2024-11-19T23:50:45.998838889+01:00

I suppose this is due to the coreboot config setting a rather small ROM area but given that QEMU is not bound to having a fixed firmware size you can simply raise the value in the coreboot config.

@AtomicFS AtomicFS force-pushed the feat/coreboot-linuxboot branch 3 times, most recently from bd2d809 to 24140d1 Compare November 25, 2024 14:09
@AtomicFS AtomicFS marked this pull request as ready for review November 25, 2024 14:23
@AtomicFS AtomicFS requested a review from MDr164 November 25, 2024 14:23
@AtomicFS AtomicFS force-pushed the feat/coreboot-linuxboot branch 2 times, most recently from e0b5a8c to 68091f3 Compare November 25, 2024 14:41
@AtomicFS
Copy link
Collaborator Author

@MDr164 btw, this should now work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants