diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:48:26 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-03 09:48:26 -0700 |
commit | 8c651d9e574d6a12dc64ad9f4a05dfee5a2d8edd (patch) | |
tree | 970d8dc01dbe51a59d0cc3a0844e1355c99fe358 | |
parent | ece5fda25e70409032a16ea1cd64b0457279607b (diff) | |
download | librebootfr-8c651d9e574d6a12dc64ad9f4a05dfee5a2d8edd.tar.gz librebootfr-8c651d9e574d6a12dc64ad9f4a05dfee5a2d8edd.zip |
More code blocks
-rw-r--r-- | docs/future/index.md | 4 | ||||
-rw-r--r-- | docs/git/index.md | 4 | ||||
-rw-r--r-- | docs/gnulinux/configuring_parabola.md | 8 | ||||
-rw-r--r-- | docs/gnulinux/encrypted_parabola.md | 8 | ||||
-rw-r--r-- | docs/gnulinux/grub_cbfs.md | 8 | ||||
-rw-r--r-- | docs/hcl/gm45_remove_me.md | 4 | ||||
-rw-r--r-- | docs/hcl/t500.md | 4 | ||||
-rw-r--r-- | docs/index.md | 4 | ||||
-rw-r--r-- | docs/install/bbb_setup.md | 4 | ||||
-rw-r--r-- | docs/install/c201.md | 4 | ||||
-rw-r--r-- | docs/install/r400_external.md | 4 | ||||
-rw-r--r-- | docs/install/t400_external.md | 4 | ||||
-rw-r--r-- | docs/install/t500_external.md | 4 | ||||
-rw-r--r-- | docs/install/x200_external.md | 4 | ||||
-rw-r--r-- | docs/misc/index.md | 4 | ||||
-rw-r--r-- | docs/misc/patch.md | 4 |
16 files changed, 38 insertions, 38 deletions
diff --git a/docs/future/index.md b/docs/future/index.md index 7b5d2659..d4d6f970 100644 --- a/docs/future/index.md +++ b/docs/future/index.md @@ -158,8 +158,8 @@ working and nonworking panels. How to dump EDID: -\# **apt-get install i2c-tools**\ -\# **modprobe i2c-dev**\ +\# **apt-get install i2c-tools** + # modprobe i2c-dev Find out the correct ID to use:\ \# **i2cdetect -l**\ Example:\ diff --git a/docs/git/index.md b/docs/git/index.md index e9a91ce9..963ff073 100644 --- a/docs/git/index.md +++ b/docs/git/index.md @@ -32,8 +32,8 @@ statically compiled executables for the utilities are included.** For Debian Stretch (may also work on Debian Jessie), you can run the -following command:\ -\$ **sudo ./oldbuild dependencies debian**\ +following command: + $ sudo ./oldbuild dependencies debian (this will also work in Devuan) For Parabola, you can run the following command:\ diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md index 0739038e..ba54dde1 100644 --- a/docs/gnulinux/configuring_parabola.md +++ b/docs/gnulinux/configuring_parabola.md @@ -94,8 +94,8 @@ careful about this when reading anything on the Arch wiki. Some of these steps require internet access. I'll go into networking -later but for now, I just connected my system to a switch and did:\ -\# **systemctl start dhcpcd.service**\ +later but for now, I just connected my system to a switch and did: + # systemctl start dhcpcd.service You can stop it later by running:\ \# **systemctl stop dhcpcd.service**\ For most people this should be enough, but if you don't have DHCP on @@ -610,8 +610,8 @@ is advisable to also create an xinitrc rule in case you ever want to start lxde without lxdm. Read <https://wiki.archlinux.org/index.php/Xinitrc>. -Open LXterminal:\ -\$ **cp /etc/skel/.xinitrc \~**\ +Open LXterminal: + $ cp /etc/skel/.xinitrc \~ Open .xinitrc and add the following plus a line break at the bottom of the file.\ *\# Probably not needed. The same locale info that we set before\ diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md index afa4d137..f7faf575 100644 --- a/docs/gnulinux/encrypted_parabola.md +++ b/docs/gnulinux/encrypted_parabola.md @@ -68,8 +68,8 @@ article](https://wiki.archlinux.org/index.php/Solid_State_Drives). Edit /etc/fstab later on when chrooted into your install. Also, read the whole article and keep all points in mind, adapting them for this guide. -Securely wipe the drive:\ -\# **dd if=/dev/urandom of=/dev/sda; sync**\ +Securely wipe the drive: + # dd if=/dev/urandom of=/dev/sda; sync NOTE: If you have an SSD, only do this the first time. If it was already LUKS-encrypted before, use the info below to wipe the LUKS header. Also, check online for your SSD what the recommended erase block size is. For @@ -523,8 +523,8 @@ adapt:\ If flashrom complains about multiple flash chips detected, add a *-c* option at the end, with the name of your chosen chip is quotes.\ You can check if everything is in there (*grub.cfg* and *grubtest.cfg* -would be really nice):\ -\$ **./cbfstool libreboot.rom print**\ +would be really nice): + $ ./cbfstool libreboot.rom print Extract grubtest.cfg:\ \$ **./cbfstool libreboot.rom extract -n grubtest.cfg -f grubtest.cfg**\ And modify:\ diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md index 538a04fd..d15e70d5 100644 --- a/docs/gnulinux/grub_cbfs.md +++ b/docs/gnulinux/grub_cbfs.md @@ -138,8 +138,8 @@ flashed. For the purpose of this tutorial it is assumed that your ROM image file is named *libreboot.rom*, so please make sure to adapt. ROM images are included pre-compiled in libreboot. You can also dump -your current firmware, using flashrom:\ -\$ **sudo flashrom -p internal -r libreboot.rom**\ +your current firmware, using flashrom: + $ sudo flashrom -p internal -r libreboot.rom \# **flashrom -p internal -r libreboot.rom**\ If you are told to specify the chip, add the option **-c {your chip}** to the command, for example:\ @@ -194,8 +194,8 @@ flash it.\ \$ **cd /libreboot\_util** \# **./flash update libreboot.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:\ -\# **./flash forceupdate libreboot.rom**\ +correct ROM image, then run this alternative command: + # ./flash forceupdate libreboot.rom You should see **"Verifying flash\... VERIFIED."** written at the end of the flashrom output. Once you have done that, shut down and then boot up with your new test configuration.** diff --git a/docs/hcl/gm45_remove_me.md b/docs/hcl/gm45_remove_me.md index fd9ad9b0..606c0b1f 100644 --- a/docs/hcl/gm45_remove_me.md +++ b/docs/hcl/gm45_remove_me.md @@ -38,8 +38,8 @@ factory.bin dump. ich9gen executables can be found under ./ich9deblob/ statically compiled in libreboot\_util. If you are using src or git, build ich9gen from -source with:\ -\$ **./oldbuild module ich9deblob**\ +source with: + $ ./oldbuild module ich9deblob The executable will appear under resources/utilities/ich9deblob/ Run:\ diff --git a/docs/hcl/t500.md b/docs/hcl/t500.md index 866baaa7..7a88b3ca 100644 --- a/docs/hcl/t500.md +++ b/docs/hcl/t500.md @@ -79,8 +79,8 @@ and The patches above are based on the output from ich9deblob on a factory.rom image dumped from the T500 with a SOIC-8 4MiB flash chip. The patch re-creates the X200 descriptor/gbe source, so the commands -were something like:\ -\$ **diff -u t500gbe x200gbe**\ +were something like: + $ diff -u t500gbe x200gbe \$ **diff -u t500descriptor x200descriptor** ME VSCC table is in a different place and a different size on the T500. diff --git a/docs/index.md b/docs/index.md index 5dc8b261..d44b58e7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -174,8 +174,8 @@ archives that you downloaded (if you are using release archives). If it exists, you can also extract this *lbversion* file by using the *cbfstool* utility which libreboot includes, from a ROM image that you either dumped or haven't flashed yet. In your distribution, run -cbfstool on your ROM image (*libreboot.rom*, in this example):\ -\$ **./cbfstool libreboot.rom extract -n lbversion -f lbversion**\ +cbfstool on your ROM image (*libreboot.rom*, in this example): + $ ./cbfstool libreboot.rom extract -n lbversion -f lbversion You will now have a file, named *lbversion*, which you can read in whatever program it is that you use for reading/writing text files. diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index 85910bd8..cb1a3d17 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -155,8 +155,8 @@ 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**\ +the serial console. + # screen /dev/ttyUSB0 115200 Here are some example photos:\ ![](images/x200/ftdi.jpg) ![](images/x200/ftdi_port.jpg)\ diff --git a/docs/install/c201.md b/docs/install/c201.md index 62812986..28473cf7 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -145,8 +145,8 @@ transferred to the device. The following operations have to be executed with root privileges on the device (e.g. using the *root* account). In addition, the -**cros-flash-replace** script has to be made executable:\ -\# **chmod a+x cros-flash-replace**\ +**cros-flash-replace** script has to be made executable: + # chmod a+x cros-flash-replace The SPI flash has to be read first:\ \# **flashrom -p host -r flash.img**\ diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md index 00c8e3d4..f8f5123e 100644 --- a/docs/install/r400_external.md +++ b/docs/install/r400_external.md @@ -70,8 +70,8 @@ See [\#paste](#paste). Flash chip size {#flashchips} =============== -Use this to find out:\ -\# **flashrom -p internal -V**\ +Use this to find out: + # flashrom -p internal -V [Back to top of page.](#pagetop) diff --git a/docs/install/t400_external.md b/docs/install/t400_external.md index 029acf0f..e68f86c8 100644 --- a/docs/install/t400_external.md +++ b/docs/install/t400_external.md @@ -234,8 +234,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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512**\ +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) diff --git a/docs/install/t500_external.md b/docs/install/t500_external.md index 5b07e6eb..7aec3099 100644 --- a/docs/install/t500_external.md +++ b/docs/install/t500_external.md @@ -239,8 +239,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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512**\ +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) diff --git a/docs/install/x200_external.md b/docs/install/x200_external.md index a09e0374..da4aa6a6 100644 --- a/docs/install/x200_external.md +++ b/docs/install/x200_external.md @@ -168,8 +168,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:\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512**\ +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) diff --git a/docs/misc/index.md b/docs/misc/index.md index a2f543a4..f392bdd4 100644 --- a/docs/misc/index.md +++ b/docs/misc/index.md @@ -227,8 +227,8 @@ battery goes to a critically low charge level, a beep occurs. Nvramtool is included in libreboot, and can be used to enable or disable this behaviour. -Disable or enable beeps when removing/adding the charger:\ -\$ **sudo ./nvramtool -w power\_management\_beeps=Enable**\ +Disable or enable beeps when removing/adding the charger: + $ sudo ./nvramtool -w power\_management\_beeps=Enable \$ **sudo ./nvramtool -w power\_management\_beeps=Disable** Disable or enable beeps when battery is low:\ diff --git a/docs/misc/patch.md b/docs/misc/patch.md index 7b44f7be..54c82ecf 100644 --- a/docs/misc/patch.md +++ b/docs/misc/patch.md @@ -73,8 +73,8 @@ Just make whatever changes you want to a git clone and then:\ Note the git revision that you did this with:\ **\$ git log** -Alternatively (better yet), commit your changes and then use:\ -\$ **git format-patch -N**\ +Alternatively (better yet), commit your changes and then use: + $ git format-patch -N Replace N with the number of commits that you want to show. [Back to top of page.](#pagetop) |