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

QEMU Q35 (coreboot+UEFI) - coreboot part #829

Closed
5 tasks done
krystian-hebel opened this issue May 7, 2024 · 6 comments
Closed
5 tasks done

QEMU Q35 (coreboot+UEFI) - coreboot part #829

krystian-hebel opened this issue May 7, 2024 · 6 comments
Assignees

Comments

@krystian-hebel
Copy link

krystian-hebel commented May 7, 2024

Dasharo version (if applicable)

n/a

Dasharo variant (if applicable)

qemu_q35

Affected component(s) or functionality (if applicable)

(coreboot+UEFI) configuration and missing pieces of code

Brief summary

This task gathers results from analysis of building and running (coreboot+UEFI) on QEMU Q35 in form of list of what needs to be addressed in coreboot to make it viable. Analysis stopped right after it was possible to boot into UEFI shell, so the list may be incomplete if critical deficiencies are discovered during tests.

Additional context

@krystian-hebel
Copy link
Author

PR changing SOC_AMD_COMMON to something more sane: Dasharo/coreboot#508

@krystian-hebel
Copy link
Author

https://github.com/Dasharo/coreboot/tree/dasharo-24.02.1 contains https://review.coreboot.org/c/coreboot/+/77385 and few other convenient changes made upstream. It also contains all of Dasharo features, so it is a good starting point.

I've started integrating all changes under Dasharo/coreboot#511, they may change slightly if patches sent upstream change after review. Config file is included, but it will be different after edk2 gets updated.

@krystian-hebel
Copy link
Author

I've updated Dasharo/coreboot#511, now it should be more or less what final release looks like. I will move them to different branch, since name for this one better fits one of the tasks for Capsule Update, and it is easier to move commits around than change branch name in PR.

I've run some tests to check for obvious issues and to have a comparison before switching to rebased edk2, which I plan to do tomorrow. Nothing unexpected so far, other than #542 (comment) and errors caused by lack of OS, which I skipped to save time.

@krystian-hebel
Copy link
Author

Config, script for building and integration of all related changes are in Dasharo/coreboot#514. This should be enough to build working image.

@krystian-hebel
Copy link
Author

krystian-hebel commented Jun 20, 2024

https://github.com/Dasharo/coreboot/actions/runs/9587955687/attempts/1?pr=514 has the image built by CI. Unless there are critical errors discovered during testing, this has high probability of being the binary that will be released.

EDIT: there will be at least one more rebase...

@BeataZdunczyk
Copy link
Member

Config, script for building and integration of all related changes are in Dasharo/coreboot#514. This should be enough to build working image.

this PR is merged, so closing this issue

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

No branches or pull requests

2 participants