# Coreboot and Libreboot general
## Our external flashing setup
+
BeagleBone Black (BBB), powered by USB. 5A 2A
+
Tip: Don't power anything from a regular (computer) ATX power supply, it will work but is unreliable and a time waster.
+
Current setup is to connect to the BBB via Ethernet to a router and thus SSH. Can also connect directly with the SPI interface, see Libreboot flashing guide.
Pomona chip holders
```
-# Specific guides
+# Specific flash guides
## Building Libreboot and preparing ROM
-This script worked 2019-04 for Debian 10 and stable Libreboot version 2016.
-However we noted that the cryptomount program had less features in the version from Git at that time, compared to the 2016 stable release.
+This script worked 2019-04 for __Debian 10__ and stable __Libreboot 2016__.
+The procedure should be the same for all Libreboot boards, here X200.
+
Unlike Coreboot, this build process is fairly automated and does not present any customization choices by default
+(It is possible to use latest from Git (this is propably not recommended..), however we noted that the cryptomount program had less features in the version on Git (around 2019), compared to the 2016 stable release which for us was a downside.)
+
+
#!/bin/bash -e
cd libreboot
./download flashrom
cp bin/grub/x200_8mb/x200_8mb_usqwerty_vesafb.rom resources/utilities/ich9deblob/x200.rom
cd resources/utilities/ich9deblob/
- ./ich9gen --macaddress "00:DE:AD:BE:EF:00"
+ ./ich9gen --macaddress "00:DE:AD:BE:EF:00" # SET A UNIQUE MAC ADDRESS HERE!!
dd if=ich9fdgbe_8m.bin of=x200.rom bs=1 count=12K conv=notrunc
mv x200.rom ../../../
cd ../../../