mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-10-01 01:05:51 -04:00
Update x230.md
This commit is contained in:
parent
a3256e9614
commit
aaa9ebd7dc
@ -44,7 +44,7 @@ the following parts are needed to build a Coreboot flashing devices:
|
||||
- Pomona 5250 8-Pin Flash Clip ~ 12 Eur
|
||||
https://www.digikey.de/product-detail/de/pomona-electronics/5250/501-1311-ND/745102
|
||||
|
||||
## physical setup (FIXME!)
|
||||
## physical setup
|
||||
using a Raspberry Pi 3 Model B V1.2 the GPIO Layout looks like this:
|
||||
(Hint you can get a very good overview of the layout by entering the `pinout` command on your pi:
|
||||
```
|
||||
@ -169,7 +169,6 @@ qvm-clone debian-9 t-coreboot
|
||||
2) launch a terminal in this template an install the following packages
|
||||
```
|
||||
sudo apt-get install git wget build-essential gnat flex bison libncurses5-dev zlib1g-dev libfreetype6-dev unifont python3
|
||||
sudo apt-get build-dep grub
|
||||
```
|
||||
3) Create an AppVM bases on this template
|
||||
Important: increase private storage size, as the build process and the git repositories need some storage capacity.
|
||||
@ -370,6 +369,19 @@ parseFile: invalid data checksum"
|
||||
- Right Click on "Raw section" and choose "Extract Body"
|
||||
- Save file as ~/coreboot/ROM/vga.rom
|
||||
|
||||
## Copy the blobs to coreboot dir
|
||||
|
||||
Create the "blob-directory" where coreboot looks for BLOBs:
|
||||
```
|
||||
mkdir -p ~/coreboot/3rdparty/blobs/mainboard/lenovo/x230
|
||||
```
|
||||
In order to have the blobs available for coreboot the easiest way is to rename and copy them to the default locations:
|
||||
```
|
||||
cp ~/coreboot/ROM/flashregion_0_flashdescriptor.bin ~/coreboot/3rdparty/blobs/mainboard/lenovo/x230/descriptor.bin
|
||||
cp ~/coreboot/ROM/flashregion_2_intel_me.bin ~/coreboot/3rdparty/blobs/mainboard/lenovo/x230/me.bin
|
||||
cp ~/coreboot/ROM/flashregion_3_gbe.bin ~/coreboot/3rdparty/blobs/mainboard/lenovo/x230/gbe.bin
|
||||
cp ~/coreboot/ROM/vga.rom ~/coreboot/3rdparty/blobs/mainboard/lenovo/x230/pci8086,0166.rom
|
||||
```
|
||||
|
||||
## Configure and build Coreboot
|
||||
|
||||
@ -383,14 +395,19 @@ parseFile: invalid data checksum"
|
||||
F6 saves config to /home/user/coreboot/.config
|
||||
F9 quits config menu
|
||||
|
||||
FIXME: needs more information about which options to choose and how to import the Blobs
|
||||
###FIXME: needs more information about which options to choose and how to import the Blobs
|
||||
As a workarround, look at the config-file from my succesfull X230 Coreboot installation.
|
||||
This file has to be places in ~/coreboot/.config
|
||||
|
||||
2) build coreboot using 7 from total 8 cores on my W540 (adapt this to your possibilities)
|
||||
2) build build-chain using 7 from total 8 cores on my W540 (adapt this to your possibilities)
|
||||
and finally build coreboot
|
||||
```
|
||||
make crossgcc-i386 CPUS=7
|
||||
make iasl
|
||||
make
|
||||
```
|
||||
The coreboot file should be located at ~/coreboot/build/coreboot.rom
|
||||
|
||||
|
||||
## Split coreboot ROM
|
||||
after building coreboot you need to the 12mb file into a 4mb and 8mb file.
|
||||
|
Loading…
Reference in New Issue
Block a user