diff options
Diffstat (limited to 'docs/install')
-rw-r--r-- | docs/install/bbb_setup.md | 8 | ||||
-rw-r--r-- | docs/install/index.md | 16 | ||||
-rw-r--r-- | docs/install/rpi_setup.md | 10 | ||||
-rw-r--r-- | docs/install/t60_unbrick.md | 6 | ||||
-rw-r--r-- | docs/install/x60_unbrick.md | 6 | ||||
-rw-r--r-- | docs/install/x60tablet_unbrick.md | 6 |
6 files changed, 26 insertions, 26 deletions
diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index 7f10fee2..4517eb6c 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -189,16 +189,16 @@ contents of this file with: #!/bin/sh -e ### BEGIN INIT INFO # Provides: led_aging.sh - # Required-Start: $local_fs - # Required-Stop: $local_fs + # Required-Start: \$local_fs + # Required-Stop: \$local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start LED aging # Description: Starts LED aging (whatever that is) ### END INIT INFO - x=$(/bin/ps -ef | /bin/grep "[l]ed_acc") - if [ ! -n "$x" -a -x /usr/bin/led_acc ]; then + x=\$(/bin/ps -ef | /bin/grep "[l]ed_acc") + if [ ! -n "\$x" -a -x /usr/bin/led_acc ]; then /usr/bin/led_acc & fi diff --git a/docs/install/index.md b/docs/install/index.md index cc1e2952..947fbe8b 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -80,9 +80,9 @@ Libreboot comes with ROM images built for QEMU, by default: Examples of how to use libreboot ROM images in QEMU: -- $ **qemu-system-i386 -M q35 -m 512 -bios +- \$ **qemu-system-i386 -M q35 -m 512 -bios qemu\_q35\_ich9\_keymap\_mode.rom** -- $ **qemu-system-i386 -M pc -m 512 -bios +- \$ **qemu-system-i386 -M pc -m 512 -bios qemu\_i440fx\_piix4\_keymap\_mode.rom** You can optionally specify the **-serial stdio** argument, so that QEMU @@ -265,13 +265,13 @@ executables from the libreboot source code archives. How to update the flash chip contents: -$ **sudo ./flash update [yourrom.rom](#rom)** +\$ **sudo ./flash update [yourrom.rom](#rom)** 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)** You should see **"Verifying flash... VERIFIED."** written at the end of the flashrom output. **Shut down** after you see this, and then boot @@ -302,7 +302,7 @@ https://notabug.org/vimuser/libreboot/raw/9d850543ad90b72e0e333c98075530b31e5d23 The first half of the procedure is as follows: -$ **sudo ./flash i945lenovo\_firstflash [yourrom.rom](#rom).** +\$ **sudo ./flash i945lenovo\_firstflash [yourrom.rom](#rom).** You should see within the output the following: @@ -325,11 +325,11 @@ 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 +\$ **sudo ./flashrom/i686/flashrom -p internal:laptop=force\_I\_want\_a\_brick -w [yourrom.rom](#rom)** You should see within the output the following: @@ -368,7 +368,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)** You should also see within the output the following: diff --git a/docs/install/rpi_setup.md b/docs/install/rpi_setup.md index 764a472e..7eed9fd1 100644 --- a/docs/install/rpi_setup.md +++ b/docs/install/rpi_setup.md @@ -14,7 +14,7 @@ SOIC-16). [](#raspberry-pi-thinkpad-x60t60-and-macbook-21){#user-content-raspberry-pi-thinkpad-x60t60-and-macbook-21 .anchor}Raspberry Pi (ThinkPad X60/T60 and Macbook 2,1) ------------------------------------------------------------------------------------------------------------------------------------------------------------------ -The Raspberry Pi (a multipurpose $25 GNU+Linux computer) can be used as +The Raspberry Pi (a multipurpose \$25 GNU+Linux computer) can be used as a BIOS flashing tool, thanks to its GPIO pins and SPI support. > **Note:** The Raspberry Pi Model A is not supported, since it has no @@ -206,7 +206,7 @@ GPG signature as well. x86# gpg --keyserver prefered.keyserver.org --recv-keys 0x656F212E - x86# for signature in $(ls *.sig); do gpg --verify $signature; done + x86# for signature in \$(ls *.sig); do gpg --verify \$signature; done Extract NOOBS and libreboot. @@ -347,13 +347,13 @@ for great good! [](#raspberry-pi-c720-chromebook){#user-content-raspberry-pi-c720-chromebook .anchor}Raspberry Pi (C720 Chromebook) ------------------------------------------------------------------------------------------------------------------- -The Raspberry Pi (a multipurpose $25 GNU+Linux computer) can be used as +The Raspberry Pi (a multipurpose \$25 GNU+Linux computer) can be used as a BIOS flashing tool, thanks to its GPIO pins and SPI support. ### [](#what-you-need){#user-content-what-you-need .anchor}What you need -- $25 - Raspberry Pi Model B (Rev.2 or higher) -- $10-20 - SOIC-8 Pomona Clip +- \$25 - Raspberry Pi Model B (Rev.2 or higher) +- \$10-20 - SOIC-8 Pomona Clip - Usually comes bundled with nice, color-colored *female to female* wires diff --git a/docs/install/t60_unbrick.md b/docs/install/t60_unbrick.md index 123e4d60..1ce8d588 100644 --- a/docs/install/t60_unbrick.md +++ b/docs/install/t60_unbrick.md @@ -30,13 +30,13 @@ two: images (the ROM images in libreboot binary archives already have this applied!): -dd if=coreboot.rom of=top64k.bin bs=1 skip=$\[$(stat -c %s +dd if=coreboot.rom of=top64k.bin bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x10000\] count=64k -dd if=coreboot.rom bs=1 skip=$\[$(stat -c %s coreboot.rom) - 0x20000\] +dd if=coreboot.rom bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k | hexdump -dd if=top64k.bin of=coreboot.rom bs=1 seek=$\[$(stat -c %s +dd if=top64k.bin of=coreboot.rom bs=1 seek=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k conv=notrunc (doing this makes the ROM suitable for use when flashing a system that diff --git a/docs/install/x60_unbrick.md b/docs/install/x60_unbrick.md index c0cd7777..a5bb9eef 100644 --- a/docs/install/x60_unbrick.md +++ b/docs/install/x60_unbrick.md @@ -30,13 +30,13 @@ two: images (the ROM images in libreboot binary archives already have this applied!): -dd if=coreboot.rom of=top64k.bin bs=1 skip=$\[$(stat -c %s +dd if=coreboot.rom of=top64k.bin bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x10000\] count=64k -dd if=coreboot.rom bs=1 skip=$\[$(stat -c %s coreboot.rom) - 0x20000\] +dd if=coreboot.rom bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k | hexdump -dd if=top64k.bin of=coreboot.rom bs=1 seek=$\[$(stat -c %s +dd if=top64k.bin of=coreboot.rom bs=1 seek=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k conv=notrunc (doing this makes the ROM suitable for use when flashing a system that diff --git a/docs/install/x60tablet_unbrick.md b/docs/install/x60tablet_unbrick.md index 134d2d0c..c683e3ce 100644 --- a/docs/install/x60tablet_unbrick.md +++ b/docs/install/x60tablet_unbrick.md @@ -30,13 +30,13 @@ two: images (the ROM images in libreboot binary archives already have this applied!): -dd if=coreboot.rom of=top64k.bin bs=1 skip=$\[$(stat -c %s +dd if=coreboot.rom of=top64k.bin bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x10000\] count=64k -dd if=coreboot.rom bs=1 skip=$\[$(stat -c %s coreboot.rom) - 0x20000\] +dd if=coreboot.rom bs=1 skip=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k | hexdump -dd if=top64k.bin of=coreboot.rom bs=1 seek=$\[$(stat -c %s +dd if=top64k.bin of=coreboot.rom bs=1 seek=\$\[\$(stat -c %s coreboot.rom) - 0x20000\] count=64k conv=notrunc (doing this makes the ROM suitable for use when flashing a system that |