aboutsummaryrefslogtreecommitdiff
path: root/docs/install/x200_external.md
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:15:09 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-03-17 23:15:09 -0700
commit1eb5130a1c70a7238548d977e9c6f371c007eed7 (patch)
treeee28aa07cbb52f25b5f468f59ec8d9587edff739 /docs/install/x200_external.md
parentb62dbec1e23f03ae944b51fc4b510dc56ed9b83e (diff)
downloadlibrebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.tar.gz
librebootfr-1eb5130a1c70a7238548d977e9c6f371c007eed7.zip
It wasn't me, I swear!
Diffstat (limited to 'docs/install/x200_external.md')
-rw-r--r--docs/install/x200_external.md72
1 files changed, 48 insertions, 24 deletions
diff --git a/docs/install/x200_external.md b/docs/install/x200_external.md
index fd4af287..fbf190f5 100644
--- a/docs/install/x200_external.md
+++ b/docs/install/x200_external.md
@@ -35,7 +35,8 @@ Check the [suppliers](../../suppliers) page for more information.
Flash chip size {#flashchips}
===============
-Use this to find out:\
+Use this to find out:
+
# **flashrom -p internal -V**
The X200S and X200 Tablet will use a WSON-8 flash chip, on the bottom of
@@ -108,9 +109,12 @@ header), for SOIC-8 (clip: Pomona 5250):
**On the X200S and X200 Tablet the flash chip is underneath the board,
in a WSON package. The pinout is very much the same as a SOIC-8, except
-you need to solder (there are no clips available).\
-The following image shows how this is done:**\
-![](images/x200/wson_soldered.jpg "Copyright 2014 Steve Shenton <sgsit@libreboot.org> see license notice at the end of this document")\
+you need to solder (there are no clips available).
+
+The following image shows how this is done:**
+
+![](images/x200/wson_soldered.jpg "Copyright 2014 Steve Shenton <sgsit@libreboot.org> see license notice at the end of this document")
+
In this image, a pin header was soldered onto the WSON. Another solution
might be to de-solder the WSON-8 chip and put a SOIC-8 there instead.
Check the list of SOIC-8 flash chips at
@@ -126,39 +130,47 @@ This section is for the X200. This does not apply to the X200S or X200
Tablet (for those systems, you have to remove the motherboard
completely, since the flash chip is on the other side of the board).
-Remove these screws:\
+Remove these screws:
+
![](images/x200/disassembly/0003.jpg)
Push the keyboard forward, gently, then lift it off and disconnect it
-from the board:\
+from the board:
+
![](images/x200/disassembly/0004.jpg)
![](images/x200/disassembly/0005.jpg)
Pull the palm rest off, lifting from the left and right side at the back
-of the palm rest:\
+of the palm rest:
+
![](images/x200/disassembly/0006.jpg)
Lift back the tape that covers a part of the flash chip, and then
-connect the clip:\
+connect the clip:
+
![](images/x200/disassembly/0007.jpg)
![](images/x200/disassembly/0008.jpg)
On pin 2 of the BBB, where you have the ground (GND), connect the ground
-to your PSU:\
+to your PSU:
+
![](images/x200/disassembly/0009.jpg)
![](images/x200/disassembly/0010.jpg)
-Connect the 3.3V supply from your PSU to the flash chip (via the clip):\
+Connect the 3.3V supply from your PSU to the flash chip (via the clip):
+
![](images/x200/disassembly/0011.jpg)
![](images/x200/disassembly/0012.jpg)
-Of course, make sure that your PSU is also plugged in and turn on:\
+Of course, make sure that your PSU is also plugged in and turn on:
+
![](images/x200/disassembly/0013.jpg)
This tutorial tells you to use an ATX PSU, for the 3.3V DC supply. The
PSU used when taking these photos is actually not an ATX PSU, but a PSU
that is designed specifically for providing 3.3V DC (an ATX PSU will
-also work):\
+also work):
+
![](images/x200/disassembly/0014.jpg)
Now, you should be ready to install libreboot.
@@ -170,7 +182,8 @@ source code which can be built.
Log in as root on your BBB, using the instructions in
[bbb\_setup.html#bbb\_access](bbb_setup.html#bbb_access).
-Test that flashrom works:\
+Test that flashrom works:
+
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512
In this case, the output was:
@@ -184,17 +197,23 @@ In this case, the output was:
Please specify which chip definition to use with the -c <chipname> option.
How to backup factory.rom (change the -c option as neeed, for your flash
-chip):\
+chip):
+
# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
-factory.rom**\
+factory.rom**
+
# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
-factory1.rom**\
+factory1.rom**
+
# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
-factory2.rom**\
+factory2.rom**
+
Note: the **-c** option is not required in libreboot's patched
flashrom, because the redundant flash chip definitions in *flashchips.c*
-have been removed.\
-Now compare the 3 images:\
+have been removed.
+
+Now compare the 3 images:
+
# sha512sum factory*.rom
If the hashes match, then just copy one of them (the factory.rom) to a
safe place (on a drive connected to another system, not the BBB). This
@@ -209,7 +228,8 @@ flashing it. Although there is a default MAC address inside the ROM
image, this is not what you want. **Make sure to always change the MAC
address to one that is correct for your system.**
-Now flash it:\
+Now flash it:
+
# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
path/to/libreboot/rom/image.rom -V**
@@ -255,7 +275,8 @@ whitelist of approved chips, and it will refuse to boot if you use an
'unauthorized' wifi card.
The following photos show an Atheros AR5B95 being installed, to replace
-the Intel chip that this X200 came with:\
+the Intel chip that this X200 came with:
+
![](images/x200/disassembly/0016.jpg)
![](images/x200/disassembly/0017.jpg)
@@ -285,7 +306,8 @@ work in some cases.
Make sure that the RAM you buy is the 2Rx8 density.
-In this photo, 8GiB of RAM (2x4GiB) is installed:\
+In this photo, 8GiB of RAM (2x4GiB) is installed:
+
![](images/x200/disassembly/0018.jpg)
@@ -309,7 +331,8 @@ disable the flashing protections by the descriptor and stop the ME from
starting (which itself interferes with flashing attempts). The theory
was proven correct; however, it is still useless in practise.
-Look just above the 7 in TP37 (that's GPIO33):\
+Look just above the 7 in TP37 (that's GPIO33):
+
![](../hcl/images/x200/gpio33_location.jpg)
By default we would see this in lenovobios, when trying flashrom -p
@@ -344,7 +367,8 @@ investigating this:
-Copyright © 2014, 2015 Leah Rowe <info@minifree.org>\
+Copyright © 2014, 2015 Leah Rowe <info@minifree.org>
+
Permission is granted to copy, distribute and/or modify this document
under the terms of the Creative Commons Attribution-ShareAlike 4.0
International license or any later version published by Creative