summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-28 13:16:16 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-28 13:16:16 (EST)
commit0affa1db71598ddc431cb32b313cf4a560016e89 (patch)
tree1ec54f249fd9a75154533b39154b30c8fa027875 /build
parent5cb9859e01d6b469a5382d9a43cfaee1a4e4f5b5 (diff)
downloadlibreboot-0affa1db71598ddc431cb32b313cf4a560016e89.zip
libreboot-0affa1db71598ddc431cb32b313cf4a560016e89.tar.gz
libreboot-0affa1db71598ddc431cb32b313cf4a560016e89.tar.bz2
build: include descriptor+gbe images inside X200, by default
Now the X200 images can be flashed as-is. All images have the same MAC address in the Gbe region, so the user is advised to change the MAC address before flashing. However, the images will work and the machine will boot.
Diffstat (limited to 'build')
-rwxr-xr-xbuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/build b/build
index d5ccdab..fef065f 100755
--- a/build
+++ b/build
@@ -71,6 +71,22 @@ do
cd ../../
done
+# Build the deblobbed descriptor+gbe images for X200.
+# Then put them in the ROM images.
+cd resources/utilities/ich9deblob/
+./ich9gen
+cd ../../../bin/x200_4mb/
+for rom in $(ls)
+do
+ dd if=../../resources/utilities/ich9deblob/ich9fdgbe_4m.bin of="$rom" bs=1 count=12k conv=notrunc
+done
+cd ../x200_8mb/
+for rom in $(ls)
+do
+ dd if=../../resources/utilities/ich9deblob/ich9fdgbe_8m.bin of="$rom" bs=1 count=12k conv=notrunc
+done
+cd ../../
+
# The GRUB payloads are no longer needed
rm -f coreboot/grub_vesafb.elf
rm -f coreboot/grub_txtmode.elf