summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackrandom <jackrandom@web>2014-03-06 11:14:07 +0100
committerWiki User Oberon <nobody@nowhere.ws>2014-03-06 11:14:07 +0100
commit88a8ab38ec3884f6bf703da0b452839235305bd1 (patch)
tree1023fc64422a4afa115eb89d98d7b2e198aa27a3
parentf55447f190f93801920b568a0b2832686f54a694 (diff)
-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]]