diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:54:31 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:54:31 -0700 |
commit | a19ff95539b0f9df2a59abef64f0decf999103f2 (patch) | |
tree | 0e591af379687513a0850167b316618781349948 /docs/install | |
parent | a23830654fa620d3982d851c9f8f0f99d282575d (diff) | |
download | librebootfr-a19ff95539b0f9df2a59abef64f0decf999103f2.tar.gz librebootfr-a19ff95539b0f9df2a59abef64f0decf999103f2.zip |
Fix another class of code block bugs
Diffstat (limited to 'docs/install')
-rw-r--r-- | docs/install/bbb_setup.md | 10 | ||||
-rw-r--r-- | docs/install/c201.md | 12 | ||||
-rw-r--r-- | docs/install/index.md | 8 | ||||
-rw-r--r-- | docs/install/r400_external.md | 2 | ||||
-rw-r--r-- | docs/install/t400_external.md | 2 | ||||
-rw-r--r-- | docs/install/t500_external.md | 2 | ||||
-rw-r--r-- | docs/install/x200_external.md | 2 |
7 files changed, 19 insertions, 19 deletions
diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index 6fb4e045..4211777e 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -209,14 +209,14 @@ contents of this file with: Run **apt-get update** and **apt-get upgrade** then reboot the BBB, before continuing. Check that the firmware exists:\ -\# **ls /lib/firmware/BB-SPI0-01-00A0.\***\ + # ls /lib/firmware/BB-SPI0-01-00A0.\* Output: /lib/firmware/BB-SPI0-01-00A0.dtbo Then:\ -\# **echo BB-SPI0-01 > /sys/devices/bone\_capemgr.\*/slots**\ -\# **cat /sys/devices/bone\_capemgr.\*/slots**\ + # echo BB-SPI0-01 > /sys/devices/bone\_capemgr.\*/slots + # cat /sys/devices/bone\_capemgr.\*/slots Output: 0: 54:PF--- @@ -228,7 +228,7 @@ Output: 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI0-01 Verify that the spidev device now exists:\ -\# **ls -al /dev/spid\***\ + # ls -al /dev/spid\* Output: crw-rw---T 1 root spi 153, 0 Nov 19 21:07 /dev/spidev1.0 @@ -251,7 +251,7 @@ Finally, get the ROM image that you would like to flash and put that on your BBB. Now test flashrom:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512**\ + # ./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 517f5311..23cbf1bc 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -154,12 +154,12 @@ The SPI flash has to be read first: 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**\ + # ./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. The resulting flash image can then be flashed back:\ -\# **flashrom -p host -w flash.img**\ + # flashrom -p host -w flash.img You should also see within the output the following:\ **"Verifying flash\... VERIFIED."** @@ -193,21 +193,21 @@ transferred to the host. The following operations have to be executed with root privileges on the host (e.g. using the *root* account). In addition, the **cros-flash-replace** script has to be made executable:\ -\# **chmod a+x cros-flash-replace**\ + # chmod a+x cros-flash-replace The SPI flash has to be read first (using the right spi programmer):\ -\# **flashrom -p *programmer* -r flash.img**\ + # 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**\ + # ./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. The resulting flash image can then be flashed back (using the right spi programmer):\ -\# **flashrom -p *programmer* -w flash.img**\ + # flashrom -p *programmer* -w flash.img You should also see within the output the following:\ **"Verifying flash\... VERIFIED."** diff --git a/docs/install/index.md b/docs/install/index.md index fd8ed008..c03237cf 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -279,7 +279,7 @@ How to update the flash chip contents: Ocassionally, coreboot changes the name of a given board. If flashrom complains about a board mismatch, but you are sure that you chose the correct ROM image, then run this alternative command:\ -\$ **sudo ./flash forceupdate [yourrom.rom](#rom)** + $ sudo ./flash forceupdate [yourrom.rom](#rom) @@ -319,7 +319,7 @@ https://notabug.org/vimuser/libreboot/raw/9d850543ad90b72e0e333c98075530b31e5d23 && chmod +x flash*** The first half of the procedure is as follows:\ -\$ **sudo ./flash i945lenovo\_firstflash [yourrom.rom](#rom).** + $ sudo ./flash i945lenovo\_firstflash [yourrom.rom](#rom). @@ -343,7 +343,7 @@ and then boot; libreboot is running, but there is a 2nd procedure When you have booted up again, you must also do this:\ -\$ **sudo ./flash i945lenovo\_secondflash [yourrom.rom](#rom)** + $ sudo ./flash i945lenovo\_secondflash [yourrom.rom](#rom) If flashing fails at this stage, try the following:\ \$ **sudo ./flashrom/i686/flashrom -p @@ -392,7 +392,7 @@ with your device. Use this flashing script, to install libreboot:\ -\$ **sudo ./flash i945apple\_firstflash [yourrom.rom](#rom)** + $ sudo ./flash i945apple\_firstflash [yourrom.rom](#rom) diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md index c568f18b..7f2e7c2c 100644 --- a/docs/install/r400_external.md +++ b/docs/install/r400_external.md @@ -253,7 +253,7 @@ 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:\ -\# **sha512sum factory\*.rom**\ + # 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 diff --git a/docs/install/t400_external.md b/docs/install/t400_external.md index 80868e00..2f8c424f 100644 --- a/docs/install/t400_external.md +++ b/docs/install/t400_external.md @@ -259,7 +259,7 @@ 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:\ -\# **sha512sum factory\*.rom**\ + # 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 diff --git a/docs/install/t500_external.md b/docs/install/t500_external.md index bccdc620..05e4c112 100644 --- a/docs/install/t500_external.md +++ b/docs/install/t500_external.md @@ -264,7 +264,7 @@ 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:\ -\# **sha512sum factory\*.rom**\ + # 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 diff --git a/docs/install/x200_external.md b/docs/install/x200_external.md index 2aa70cc5..ac199b2a 100644 --- a/docs/install/x200_external.md +++ b/docs/install/x200_external.md @@ -193,7 +193,7 @@ 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:\ -\# **sha512sum factory\*.rom**\ + # 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 |