summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreboot-x201.mdwn28
1 files changed, 25 insertions, 3 deletions
diff --git a/coreboot-x201.mdwn b/coreboot-x201.mdwn
index 6f528f8..3122321 100644
--- a/coreboot-x201.mdwn
+++ b/coreboot-x201.mdwn
@@ -23,7 +23,7 @@ next buy or build a SPI flasher and get a SOIC8 clip for mounting the chip corre
#### the ugly part
we have to dump the existing BIOS using [[flashrom|http://www.flashrom.org]] and an external SPI flasher.
here's the pinout:
-[[!format c """
+[[!format io """
=== front (display) ====
3.3V N/C CLK MOSI
| | | |
@@ -32,5 +32,27 @@ here's the pinout:
=== back (touchpad) ===
"""]]
-Now it should look similiar to this:
-[[!img bus_pirate.jpg align="left" size="" alt=""]]
+[[!img bus_pirate.jpg align="right" size="" alt="buspirate attached"]]
+Now it should look similar to this:
+
+You probably have to adjust your contacts quite often for it to work, so don't give up ;)
+[[!format c """
+flashrom -p <yourprogrammer> -r flash.bin
+flashrom -p <yourprogrammer> -r flash2.bin
+diff flash.bin flash2.bin
+"""]]
+
+If the files differ, check your cables.
+
+#### easy part
+- extract descriptor / intel ME
+[[!format c """
+dd if=flash.bin of=coreboot/3rdparty/mainboard/lenovo/x201/descriptor.bin \
+ count=12288 bs=1M iflag=count_bytes
+dd if=flash.bin of=coreboot/3rdparty/mainboard/lenovo/x201/me.bin \
+ skip=12288 count=5230592 bs=1M iflag=count_bytes,skip_bytes
+"""]]
+- extract vgabios.bin from BIOS (I used PhoenixTool for this, as the included bios extractor from coreboot didn't work for me)
+hint: SWIM uploaded it somewhere in the internets (google md5hash: )
+
+- [[compile coreboot|http://www.coreboot.org/Build_HOWTO]]