From 700843a3c84b8abf5b499160a2df2e20f129f518 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 13 May 2017 08:56:40 -0700 Subject: Add more missing padding --- docs/git/index.md | 1 + docs/gnulinux/configuring_parabola.md | 2 ++ docs/gnulinux/encrypted_parabola.md | 2 ++ docs/gnulinux/grub_cbfs.md | 2 ++ docs/install/bbb_setup.md | 1 + docs/install/c201.md | 2 ++ docs/install/d510mo.md | 1 + docs/install/ga-g41m-es2l.md | 1 + docs/install/index.md | 1 + docs/install/r400_external.md | 2 ++ docs/install/t400_external.md | 2 ++ docs/install/t500_external.md | 2 ++ docs/install/x200_external.md | 3 +++ 13 files changed, 22 insertions(+) (limited to 'docs') diff --git a/docs/git/index.md b/docs/git/index.md index 3e19a1c6..c820bc69 100644 --- a/docs/git/index.md +++ b/docs/git/index.md @@ -31,6 +31,7 @@ For Parabola, you can run the following command: $ sudo ./oldbuild dependencies parabola\ or: + # ./oldbuild dependencies parabola For other GNU+Linux distributions, you can adapt the existing scripts. diff --git a/docs/gnulinux/configuring_parabola.md b/docs/gnulinux/configuring_parabola.md index 7fc9d688..2aef3624 100644 --- a/docs/gnulinux/configuring_parabola.md +++ b/docs/gnulinux/configuring_parabola.md @@ -55,9 +55,11 @@ 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 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 diff --git a/docs/gnulinux/encrypted_parabola.md b/docs/gnulinux/encrypted_parabola.md index 63c15c0f..62884ecd 100644 --- a/docs/gnulinux/encrypted_parabola.md +++ b/docs/gnulinux/encrypted_parabola.md @@ -65,12 +65,14 @@ article](https://wiki.archlinux.org/index.php/Solid_State_Drives). Edit 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 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 example if it was 2MiB: + # dd if=/dev/urandom of=/dev/sda bs=2M; sync If your drive was already LUKS encrypted (maybe you are re-installing diff --git a/docs/gnulinux/grub_cbfs.md b/docs/gnulinux/grub_cbfs.md index d4038bfc..30089f9f 100644 --- a/docs/gnulinux/grub_cbfs.md +++ b/docs/gnulinux/grub_cbfs.md @@ -94,6 +94,7 @@ Use ***cbfstool*** and ***flashrom***. There are available in the *libreboot\_util* release archive, or they can be compiled (see [../git/\#build\_flashrom](../git/#build_flashrom)). Flashrom is also available from the repositories: + # pacman -S flashrom Acquiring the correct ROM image {#rom} @@ -158,6 +159,7 @@ flash it. 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 You should see **"Verifying flash... VERIFIED."** written at the end diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index e9eacd77..77f805fc 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -157,6 +157,7 @@ Here are some example photos:\ You can also connect the USB cable from the BBB to another computer and a new network interface will appear, with its own IP address. This is directly accessible from SSH, or screen: + # screen /dev/ttyACM0 115200 You can also access the uboot console, using the serial method instead diff --git a/docs/install/c201.md b/docs/install/c201.md index 3e60711a..bcacd75b 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -120,9 +120,11 @@ 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 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 diff --git a/docs/install/d510mo.md b/docs/install/d510mo.md index 3ef79462..4a03c29c 100644 --- a/docs/install/d510mo.md +++ b/docs/install/d510mo.md @@ -9,6 +9,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V Flashing instructions {#clip} diff --git a/docs/install/ga-g41m-es2l.md b/docs/install/ga-g41m-es2l.md index d2d15b73..cf119bbc 100644 --- a/docs/install/ga-g41m-es2l.md +++ b/docs/install/ga-g41m-es2l.md @@ -9,6 +9,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V Flashing instructions {#clip} diff --git a/docs/install/index.md b/docs/install/index.md index 8c504365..5a4b641a 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -249,6 +249,7 @@ Flash chip size --------------- Use this to find out: + # flashrom -p internal -V All good? diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md index 83049200..6c044f58 100644 --- a/docs/install/r400_external.md +++ b/docs/install/r400_external.md @@ -62,6 +62,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V MAC address {#macaddress} @@ -214,6 +215,7 @@ 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\ In this case, the output was: diff --git a/docs/install/t400_external.md b/docs/install/t400_external.md index 11e98535..414c1a5f 100644 --- a/docs/install/t400_external.md +++ b/docs/install/t400_external.md @@ -59,6 +59,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V MAC address {#macaddress} @@ -212,6 +213,7 @@ 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 In this case, the output was: diff --git a/docs/install/t500_external.md b/docs/install/t500_external.md index 4cee6b3e..259d996e 100644 --- a/docs/install/t500_external.md +++ b/docs/install/t500_external.md @@ -61,6 +61,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V MAC address {#macaddress} @@ -229,6 +230,7 @@ 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 In this case, the output was: diff --git a/docs/install/x200_external.md b/docs/install/x200_external.md index 05ba3063..c5317371 100644 --- a/docs/install/x200_external.md +++ b/docs/install/x200_external.md @@ -20,6 +20,7 @@ Flash chip size {#flashchips} =============== Use this to find out: + # flashrom -p internal -V The X200S and X200 Tablet will use a WSON-8 flash chip, on the bottom of @@ -139,6 +140,7 @@ 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 In this case, the output was: @@ -180,6 +182,7 @@ 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 ![](images/x200/disassembly/0015.jpg) -- cgit v1.2.3-70-g09d2