#55 Add SeaBIOS payload support for x200_4mb etc.

Closed
opened 3 years ago by bonds · 2 comments
bonds commented 3 years ago

I'd like to try using SeaBIOS instead of Grub2 on my Lenovo x200, to see if I might be able to boot OpenBSD on an encrypted volume that way, which would be cool. I imagine most OpenBSD laptop users make use of full disk encryption when they can, without which only odd individuals like me will go through the work to encrypt /home and the other non-root directories and update their rc scripts 'manually' each time they upgrade to the latest OpenBSD release or snapshot.

I took a stab at figuring out how to do this myself, but I haven't had much luck as yet:

  • downloaded libreboot_r20160907_src
  • followed directions here: https://libreboot.org/docs/git/index.html including installing dependencies
  • ./build roms withgrub x200_4mb results in: Makefile.inc:517: util/crossgcc/Makefile.inc: No such file or directory make: *** No rule to make target 'util/crossgcc/Makefile.inc'. Stop.
  • tried adding a symlink for crossgcc, that got the build to start, but it keeps printing out the same warnings and over, I let it ran for 15m and then killed it, assuming it was stuck
  • I tried following the directions for cloning from git and building from there, same issue with the missing crossgcc and the infinite build loop if I link to crossgcc that's in the repo root

So, I cannot get the build working without modifications, so far.

And my plan was to try and run ./build roms withseabios x200_4mb after adding some config for it like so:

  • cp -R resources/libreboot/config/grub/x200_4mb resources/libreboot/config/seabios/x200_4mb
  • edit resources/libreboot/config/seabios/config doing roughly what this says: https://github.com/bibanon/Coreboot-ThinkPads/wiki/Compiling-Libreboot-with-SeaBIOS
  • go into the corresponding coreboot directory and git branch seabios_x200_4mb grub_x200_4mb and then do the same in the vboot directory
  • pray
  • if it builds, flash it onto a spare x200 I have and see if it boots

But, I'm really just taking a stab in the dark on all of this to see if I can stumble upon something that works. Someone that knows what they are doing might have better luck. ;)

I'd like to try using SeaBIOS instead of Grub2 on my Lenovo x200, to see if I might be able to boot OpenBSD on an encrypted volume that way, which would be cool. I imagine most OpenBSD laptop users make use of full disk encryption when they can, without which only odd individuals like me will go through the work to encrypt /home and the other non-root directories and update their rc scripts 'manually' each time they upgrade to the latest OpenBSD release or snapshot. I took a stab at figuring out how to do this myself, but I haven't had much luck as yet: * downloaded libreboot_r20160907_src * followed directions here: https://libreboot.org/docs/git/index.html including installing dependencies * ./build roms withgrub x200_4mb results in: ````Makefile.inc:517: util/crossgcc/Makefile.inc: No such file or directory make: *** No rule to make target 'util/crossgcc/Makefile.inc'. Stop. ```` * tried adding a symlink for crossgcc, that got the build to start, but it keeps printing out the same warnings and over, I let it ran for 15m and then killed it, assuming it was stuck * I tried following the directions for cloning from git and building from there, same issue with the missing crossgcc and the infinite build loop if I link to crossgcc that's in the repo root So, I cannot get the build working without modifications, so far. And my plan was to try and run ./build roms withseabios x200_4mb after adding some config for it like so: * cp -R resources/libreboot/config/grub/x200_4mb resources/libreboot/config/seabios/x200_4mb * edit resources/libreboot/config/seabios/config doing roughly what this says: https://github.com/bibanon/Coreboot-ThinkPads/wiki/Compiling-Libreboot-with-SeaBIOS * go into the corresponding coreboot directory and ````git branch seabios_x200_4mb grub_x200_4mb```` and then do the same in the vboot directory * pray * if it builds, flash it onto a spare x200 I have and see if it boots But, I'm really just taking a stab in the dark on all of this to see if I can stumble upon something that works. Someone that knows what they are doing might have better luck. ;)
Leah Rowe commented 3 years ago
Owner

the priority should be to add seabios payload option for all boards, in fact.

the priority should be to add seabios payload option for all boards, in fact.
Andrew Robbins commented 2 years ago
Collaborator

Closed by #510

Closed by #510
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.