Linuxboot from scratch

189 views
Skip to first unread message

Patrick Swayne

unread,
Jan 31, 2019, 5:51:58 PM1/31/19
to linuxboot
I am somewhat new to this, and I would like to create a linuxboot BIOS for a system that hasn't been done before. I have looked at the various systems in the boards directory of the linuxboot git, but I can't figure out how the Makefile.board files were created, etc. I can't seem to find any info on starting from scratch.
Also, the linuxboot.org site states that the linux kernel must be built with CONFIG_EFI_BDS. I can't find anh information on this either. Any kernel source I have downloaded does not have this configuration option.
Any help would be appreciated.

Jean-Marie Verdun

unread,
Jan 31, 2019, 5:56:41 PM1/31/19
to linu...@googlegroups.com
Hi Patrick,

You probably should have a look to heads build environment into


which is able to generate a linuxboot rom image without too many issues. It does include the CONFIG_EFI_BDS patch, but I believe that we do not need it anymore as Tram has created a DXE driver which takes care to load the linuxkernel from a fv. So depending on your goal it shall be good enough.

what plateform are you using ?

vejmarie
--
You received this message because you are subscribed to the Google Groups "linuxboot" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linuxboot+...@googlegroups.com.
To post to this group, send email to linu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linuxboot/af2451de-805b-44f4-a46e-92820f8397f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Patrick Swayne

unread,
Feb 7, 2019, 4:10:39 PM2/7/19
to linuxboot
HI Jean-marie,

Sorry for the delay in replying.
I can compile the heads source with the default settings just fine, but if I change the boards value in the make file to anything else, it does not compile.
The platform I want to build for is Grantley. It is similar to Winterfell,
I notice in the linuxboot source (not heads), that in the various board directories (for example, boards/winterfell), That there are some very specific things in the Makefile.board files,for example, GUID values. What I need to know is how these make files were made, and where the specifics came from. With this information, I could build a system from scratch, but I can't find any information anywhere about how these specifics were obtained.l

Thanks,
-- Pat

Ron Minnich

unread,
Feb 8, 2019, 12:32:25 PM2/8/19
to Patrick Swayne, linuxboot
"does not compile" ==> can you get us more info? those three words can
mean lots of things
> To view this discussion on the web visit https://groups.google.com/d/msgid/linuxboot/8282207e-a7d9-40b6-b2b0-1082de5da042%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages