From 811077093cb1deb7cb6bc9fbe1d0e062dd02612e Mon Sep 17 00:00:00 2001 From: jackrandom Date: Thu, 6 Mar 2014 11:56:42 +0100 Subject: --- coreboot-x201.mdwn | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'coreboot-x201.mdwn') diff --git a/coreboot-x201.mdwn b/coreboot-x201.mdwn index e2f5081..bebc685 100644 --- a/coreboot-x201.mdwn +++ b/coreboot-x201.mdwn @@ -1,4 +1,3 @@ - ## n00bie guide for getting coreboot to an x201{i/s/t} ###why would I want this? @@ -20,7 +19,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 io """ +[[!format bash """ === front (display) ==== 3.3V N/C CLK MOSI | | | | @@ -33,7 +32,12 @@ here's the pinout: 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 """ + + + +now read your chip at least twice + +[[!format bash """ flashrom -p -r flash.bin flashrom -p -r flash2.bin diff flash.bin flash2.bin @@ -43,13 +47,18 @@ If the files differ, check your cables. #### easy part - extract descriptor / intel ME -[[!format c """ +[[!format bash """ 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) -lucky hint: [[SWIM|http://www.urbandictionary.com/define.php?term=swim]] uploaded it [[somewhere|https://www.google.de/search?q=63b3bcf7296acc1be44a1b7b1b5e7897]] in the internets +- hint: [[SWIM|http://www.urbandictionary.com/define.php?term=swim]] uploaded it [[somewhere|https://www.google.de/search?q=63b3bcf7296acc1be44a1b7b1b5e7897]] in the internets +- use your prior version number for local version string (e.g [["6QET70WW (1.40)"|http://www.thinkwiki.org/wiki/List_of_DMI_IDs]]) +- at least UNCHECK fake IFD and specify paths to descriptor / ME, select SeaBIOS as payload, use vgabios.bin - [[compile coreboot|http://www.coreboot.org/Build_HOWTO]] +- flash resulting ROM image +[[!format bash """ +flashrom -r bios.bin -pinternal:laptop=force_I_want_a_brick """]] -- cgit v1.2.1