Refreshed to make it work with coreboot 24.12/25.03#5
Conversation
Signed-off-by: Michal Gorlas <micgor32@fsfe.org>
Signed-off-by: Michal Gorlas <micgor32@fsfe.org>
Signed-off-by: Michal Gorlas <micgor32@fsfe.org>
|
The last force push was due to me forgetting to signoff the last two commits, so I had to rebase it |
24.12 is used like this under Heads. ie And https://github.com/linuxboot/heads/blob/9fabe7f26cacea874fac6502ddded564ee2f8af5/config/coreboot-x230-maximized.config#L235 Was wondering what issues you had, while it make sense that linuxboot is used instead; while I thought this was for automatic building of latest version(CONFIG_PAYLOAD_LINUXBOOT) as opposed to static one (CONFIG_PAYLOAD_LINUX). If it is so then not sure what CONFIG_PAYLOAD_LINUX use is nowadays. Should Heads switch to the CONFIG_PAYLOAD_LINUXBOOT? What were your issues when you tried using CONFIG_PAYLOAD_LINUX? |
|
IIRC I was getting
Not sure, is the kernel you need using any different defconfig than the one under |
|
Ah, the issues were not with My bad. Will make another commit where |
Signed-off-by: Michal Gorlas <micgor32@fsfe.org>
Done. |
|
@rminnich @pamolloy @orangecms interested in seeing more collaboration in this repo? Some comments on this PR? |
I love it, thank you for havig me take a look! Anything that is still open here? |
|
@orangecms thanks for having a look at it! I think the only thing that can still be added to this PR is the default version of coreboot. At the time when this was first submitted, the latest release was 25.03, now it is 25.09. Or the version could also not be hardcoded here at all, but not sure if this is important :) |
As in the title. Apart from that, I have changed a few things:
CONFIG_PAYLOAD_LINUXand setting path to the kernel compiled separately. This is kinda broken in latest coreboot release (at least it never worked for me), so the workaround here is to useCONFIG_PAYLOAD_LINUXBOOT, andCONFIG_LINUXBOOT_COMPILE_KERNEL=yby default, and in case someone wants to provide a different kernel by passingcustomkernflag. It will then overwrite the default path where coreboot places the kernel.config.go, both, CONFIG and COREBOOTCONFIG are now embedded on the compile time (not sure whether this is the best way, but I found it a bit cleaner than the previous approach).