From 0474bc55f2d74aa34f4869546d1ad3a51d7a277a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 13 May 2017 08:33:20 -0700 Subject: Cleanup more pseudo-code --- docs/install/index.md | 9 ++++++--- docs/install/r400_external.md | 32 ++++++++++++++++++++++---------- docs/install/t400_external.md | 32 ++++++++++++++++++++++---------- docs/install/t500_external.md | 32 ++++++++++++++++++++++---------- docs/install/t60_unbrick.md | 9 ++++++--- docs/install/x60_unbrick.md | 9 ++++++--- docs/install/x60tablet_unbrick.md | 9 ++++++--- 7 files changed, 90 insertions(+), 42 deletions(-) (limited to 'docs/install') diff --git a/docs/install/index.md b/docs/install/index.md index 4ae683e6..2a0b1ef6 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -329,9 +329,12 @@ When you have booted up again, you must also do this: $ sudo ./flash i945lenovo\_secondflash [yourrom.rom](#rom) -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)** +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:\ **"Updated BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md index 7d5721aa..45bc329c 100644 --- a/docs/install/r400_external.md +++ b/docs/install/r400_external.md @@ -227,13 +227,22 @@ In this case, the output was: Please specify which chip definition to use with the -c option. 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**\ +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 flashrom, because the redundant flash chip definitions in *flashchips.c* have been removed.\ @@ -253,9 +262,12 @@ 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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -path/to/libreboot/rom/image.rom -V** +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 b3773c34..f5ea561b 100644 --- a/docs/install/t400_external.md +++ b/docs/install/t400_external.md @@ -225,13 +225,22 @@ In this case, the output was: Please specify which chip definition to use with the -c option. 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**\ +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 flashrom, because the redundant flash chip definitions in *flashchips.c* have been removed.\ @@ -251,9 +260,12 @@ 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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -path/to/libreboot/rom/image.rom -V** +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 567f9159..87697a71 100644 --- a/docs/install/t500_external.md +++ b/docs/install/t500_external.md @@ -242,13 +242,22 @@ In this case, the output was: Please specify which chip definition to use with the -c option. 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**\ +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 flashrom, because the redundant flash chip definitions in *flashchips.c* have been removed.\ @@ -268,9 +277,12 @@ 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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -path/to/libreboot/rom/image.rom -V** +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 82600eee..05141904 100644 --- a/docs/install/t60_unbrick.md +++ b/docs/install/t60_unbrick.md @@ -141,9 +141,12 @@ Flashrom binaries for ARM (tested on a BBB) are distributed in libreboot\_util. Alternatively, libreboot also distributes flashrom source code which can be built. -SSH'd into the BBB:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -yourrom.rom** +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 complains about multiple flash chip definitions detected, then choose diff --git a/docs/install/x60_unbrick.md b/docs/install/x60_unbrick.md index 64488443..fdedcb11 100644 --- a/docs/install/x60_unbrick.md +++ b/docs/install/x60_unbrick.md @@ -126,9 +126,12 @@ Flashrom binaries for ARM (tested on a BBB) are distributed in libreboot\_util. Alternatively, libreboot also distributes flashrom source code which can be built. -SSH'd into the BBB:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -yourrom.rom** +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 complains about multiple flash chip definitions detected, then choose diff --git a/docs/install/x60tablet_unbrick.md b/docs/install/x60tablet_unbrick.md index 5f18db8b..f05a7142 100644 --- a/docs/install/x60tablet_unbrick.md +++ b/docs/install/x60tablet_unbrick.md @@ -105,9 +105,12 @@ Flashrom binaries for ARM (tested on a BBB) are distributed in libreboot\_util. Alternatively, libreboot also distributes flashrom source code which can be built. -SSH'd into the BBB:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w -yourrom.rom** +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 complains about multiple flash chip definitions detected, then choose -- cgit v1.2.3-70-g09d2