Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Already available in the official Libreboot Project.

First X280 in the world running Libreboot!!! or so I think

Thanks to the contribution made in the official libreboot project Pull request #412. Now you can install it as any other supported libreboot machine:

git clone https://codeberg/libreboot/lbmk
cd lbmk
export XBMK_THREADS=$(nproc)
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
./mk dependencies debian ## Change this line if you're not using debian
./nk -b coreboot x280_vfsp_16mb

Forget about all of this.

# How to test it.

First of all. You must follow the official libreboot lbmk building guide. Remeber to clone the repo:

git clone https://codeberg.org/libreboot/lbmk

For some reason it's not mentioned in the guide above.

The next step is copying the custom files for the X280 to their respective paths.

git clone https://github.com/AlguienSasaki/X280Libreboot
cd X280Libreboot
cp -rf config/coreboot/x280_vfsp_16mb /path/to/lbmk/config/coreboot
cp -rf config/ifd/x280 /path/to/your/lbmk/config/ifd
cp -rf config/vendor/x280 /path/to/your/lbmk/config/vendor

You compile the Libreboot ROM with the following command: (Remember to move to the lbmk directory)

./mk -b coreboot x280_vfsp_16mb

For now it's not working (but eventually it will, trust me) so, you need to provide your own $me.bin$ file in the following path

/path/to/your/lbmk/vendorfiles/x280/me.bin

Follow the official coreboot guide to generate a deguarded me.bin file. If you already have coreboot flashed in ~~~~your x280 you can just put whatever as the $me.bin$ (a t480 me.bin for example) and compile the final ROM. If you do this ONLY FLASH THE BIOS REGION OR YOU WILL BRICK YOUR X280 !!!!! You can do this with the following command:

sudo flashprog -p internal:boardmismatch=force -w bin/x280_vfsp_16mb/seagrub_x280_vfsp_16mb_libgfxinit_corebootfb_usqwerty.rom --ifd -i bios -N

And the result should be something like this:

This all the progress I made. When it's finished I'll try to pull request it to the lbmk project so you can just get a final image with:

./mk -b coreboot x280_vfsp_16mb

About

My progress so far porting Libreboot for the Thinkpad X280

Topics

Resources

Stars

Watchers

Forks

Contributors