aboutsummaryrefslogtreecommitdiff
path: root/docs/install
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:36:17 -0700
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>2017-05-13 08:36:17 -0700
commit4023e32d806365234d0d931be8ebf15a7b728e4b (patch)
tree9791723b56e33f94c2d744a45d55acf8bd2c2ba8 /docs/install
parenta68fcbe31a9b7c75503e8e18ee59b5ed4ab8ac4c (diff)
downloadlibrebootfr-4023e32d806365234d0d931be8ebf15a7b728e4b.tar.gz
librebootfr-4023e32d806365234d0d931be8ebf15a7b728e4b.zip
Pad code bottoms
Diffstat (limited to 'docs/install')
-rw-r--r--docs/install/bbb_setup.md5
-rw-r--r--docs/install/c201.md4
-rw-r--r--docs/install/index.md1
-rw-r--r--docs/install/r400_external.md6
-rw-r--r--docs/install/t400_external.md6
-rw-r--r--docs/install/t500_external.md6
-rw-r--r--docs/install/t60_unbrick.md1
-rw-r--r--docs/install/x60_unbrick.md1
-rw-r--r--docs/install/x60tablet_unbrick.md1
9 files changed, 31 insertions, 0 deletions
diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md
index 6f2bc07d..7c55319e 100644
--- a/docs/install/bbb_setup.md
+++ b/docs/install/bbb_setup.md
@@ -150,6 +150,7 @@ Alternatives to SSH (in case SSH fails)
You can also use a serial FTDI debug board with GNU Screen, to access
the serial console.
# screen /dev/ttyUSB0 115200
+
Here are some example photos:\
![](images/x200/ftdi.jpg) ![](images/x200/ftdi_port.jpg)\
@@ -202,6 +203,7 @@ before continuing.
Check that the firmware exists:
# ls /lib/firmware/BB-SPI0-01-00A0.\*
+
Output:
/lib/firmware/BB-SPI0-01-00A0.dtbo
@@ -210,6 +212,7 @@ Then:
# echo BB-SPI0-01 > /sys/devices/bone\_capemgr.\*/slots
# cat /sys/devices/bone\_capemgr.\*/slots
+
Output:
0: 54:PF---
@@ -223,6 +226,7 @@ Output:
Verify that the spidev device now exists:
# ls -al /dev/spid\*
+
Output:
crw-rw---T 1 root spi 153, 0 Nov 19 21:07 /dev/spidev1.0
@@ -247,6 +251,7 @@ your BBB.
Now test flashrom:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512
+
Output:
Calibrating delay loop... OK.
diff --git a/docs/install/c201.md b/docs/install/c201.md
index 3e924614..b8edc211 100644
--- a/docs/install/c201.md
+++ b/docs/install/c201.md
@@ -124,12 +124,14 @@ device (e.g. using the *root* account). In addition, the
The SPI flash has to be read first:
# flashrom -p host -r flash.img\
+
**Note: it might be a good idea to copy the produced flash.img file at
this point and store it outside of the device for backup purposes.**
Then, the **cros-flash-replace** script has to be executed as such:
# ./cros-flash-replace flash.img coreboot ro-frid
+
If any error is shown, it is definitely a bad idea to go further than
this point.
@@ -173,12 +175,14 @@ host (e.g. using the *root* account). In addition, the
The SPI flash has to be read first (using the right spi programmer):
# flashrom -p *programmer* -r flash.img
+
**Note: it might be a good idea to copy the produced flash.img file at
this point and store it outside of the device for backup purposes.**
Then, the **cros-flash-replace** script has to be executed as such:
# ./cros-flash-replace flash.img coreboot ro-frid
+
If any error is shown, it is definitely a bad idea to go further than
this point.
diff --git a/docs/install/index.md b/docs/install/index.md
index 7e2161b7..6a947da6 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -332,6 +332,7 @@ When you have booted up again, you must also do this:
If flashing fails at this stage, try the following:
# sudo ./flashrom/i686/flashrom -p
+
internal:laptop=force\_I\_want\_a\_brick -w [yourrom.rom](#rom)
You should see within the output the following:\
diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md
index b4429e56..7c87b08d 100644
--- a/docs/install/r400_external.md
+++ b/docs/install/r400_external.md
@@ -215,6 +215,7 @@ Log in as root on your BBB, using the instructions in
Test that flashrom works:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512\
+
In this case, the output was:
flashrom v0.9.7-r1854 on Linux 3.8.13-bone47 (armv7l)
@@ -230,12 +231,15 @@ How to backup factory.rom (change the -c option as neeed, for your flash
chip):
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory1.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory2.rom
Note: the **-c** option is not required in libreboot's patched
@@ -244,6 +248,7 @@ 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
is useful for reverse engineering work, if there is a desirable
@@ -260,6 +265,7 @@ address to one that is correct for your system.**
Now flash it:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
path/to/libreboot/rom/image.rom -V
![](images/x200/disassembly/0015.jpg)
diff --git a/docs/install/t400_external.md b/docs/install/t400_external.md
index 8dc2204a..bb3a93e2 100644
--- a/docs/install/t400_external.md
+++ b/docs/install/t400_external.md
@@ -213,6 +213,7 @@ Log in as root on your BBB, using the instructions in
Test that flashrom works:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512
+
In this case, the output was:
flashrom v0.9.7-r1854 on Linux 3.8.13-bone47 (armv7l)
@@ -228,12 +229,15 @@ How to backup factory.rom (change the -c option as neeed, for your flash
chip):
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory1.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory2.rom
Note: the **-c** option is not required in libreboot's patched
@@ -242,6 +246,7 @@ 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
is useful for reverse engineering work, if there is a desirable
@@ -258,6 +263,7 @@ address to one that is correct for your system.**
Now flash it:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
path/to/libreboot/rom/image.rom -V
![](images/x200/disassembly/0015.jpg)
diff --git a/docs/install/t500_external.md b/docs/install/t500_external.md
index 56021fe0..05f418c8 100644
--- a/docs/install/t500_external.md
+++ b/docs/install/t500_external.md
@@ -230,6 +230,7 @@ Log in as root on your BBB, using the instructions in
Test that flashrom works:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512
+
In this case, the output was:
flashrom v0.9.7-r1854 on Linux 3.8.13-bone47 (armv7l)
@@ -245,12 +246,15 @@ How to backup factory.rom (change the -c option as neeed, for your flash
chip):
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory1.rom
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r
+
factory2.rom
Note: the **-c** option is not required in libreboot's patched
@@ -259,6 +263,7 @@ 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
is useful for reverse engineering work, if there is a desirable
@@ -275,6 +280,7 @@ address to one that is correct for your system.**
Now flash it:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
path/to/libreboot/rom/image.rom -V
![](images/x200/disassembly/0015.jpg)
diff --git a/docs/install/t60_unbrick.md b/docs/install/t60_unbrick.md
index d2d59f42..9fd49bbf 100644
--- a/docs/install/t60_unbrick.md
+++ b/docs/install/t60_unbrick.md
@@ -144,6 +144,7 @@ source code which can be built.
SSH'd into the BBB:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
yourrom.rom
It should be **Verifying flash\... VERIFIED** at the end. If flashrom
diff --git a/docs/install/x60_unbrick.md b/docs/install/x60_unbrick.md
index 24b4cb63..2493e56a 100644
--- a/docs/install/x60_unbrick.md
+++ b/docs/install/x60_unbrick.md
@@ -129,6 +129,7 @@ source code which can be built.
SSH'd into the BBB:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
yourrom.rom
It should be **Verifying flash\... VERIFIED** at the end. If flashrom
diff --git a/docs/install/x60tablet_unbrick.md b/docs/install/x60tablet_unbrick.md
index d02a8ae6..f18e3629 100644
--- a/docs/install/x60tablet_unbrick.md
+++ b/docs/install/x60tablet_unbrick.md
@@ -108,6 +108,7 @@ source code which can be built.
SSH'd into the BBB:
# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w
+
yourrom.rom
It should be **Verifying flash\... VERIFIED** at the end. If flashrom