diff options
Diffstat (limited to 'docs/install')
-rw-r--r-- | docs/install/bbb_setup.md | 24 | ||||
-rw-r--r-- | docs/install/c201.md | 20 | ||||
-rw-r--r-- | docs/install/d510mo.md | 2 | ||||
-rw-r--r-- | docs/install/ga-g41m-es2l.md | 2 | ||||
-rw-r--r-- | docs/install/index.md | 26 | ||||
-rw-r--r-- | docs/install/r400_external.md | 22 | ||||
-rw-r--r-- | docs/install/rpi_setup.md | 8 | ||||
-rw-r--r-- | docs/install/t400_external.md | 22 | ||||
-rw-r--r-- | docs/install/t500_external.md | 22 | ||||
-rw-r--r-- | docs/install/t60_unbrick.md | 2 | ||||
-rw-r--r-- | docs/install/x200_external.md | 26 | ||||
-rw-r--r-- | docs/install/x60_unbrick.md | 2 | ||||
-rw-r--r-- | docs/install/x60tablet_unbrick.md | 2 |
13 files changed, 90 insertions, 90 deletions
diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index 244bd8e0..3c66a58e 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -114,10 +114,10 @@ page](https://en.wikipedia.org/wiki/Power_supply_unit_%28computer%29#Wiring_diag You can use pin 1 or 2 (orange wire) on a 20-pin or 24-pin ATX PSU for 3.3V, and any of the ground/earth sources (black cables) for ground. -Short PS\_ON\# / Power on (green wire; pin 16 on 24-pin ATX PSU, or pin +Short PS\_ON# / Power on (green wire; pin 16 on 24-pin ATX PSU, or pin 14 on a 20-pin ATX PSU) to a ground (black; there is one right next to it) using a wire/paperclip/jumper, then power on the PSU by grounding -PS\_ON\# (this is also how an ATX motherboard turns on a PSU). +PS\_ON# (this is also how an ATX motherboard turns on a PSU). **DO **NOT** use pin 4, 6, do **NOT** use pin 19 or 20 (on a 20-pin ATX PSU), and DO **NOT** use pin 21, 22 or 23 (on a 24-pin @@ -128,7 +128,7 @@ do exist, but they are rare. Always check what voltage your chip takes. Most of them take 3.3V).** You only need one 3.3V supply and one ground for the flash chip, after -grounding PS\_ON\#. +grounding PS\_ON#. The male end of a 0.1" or 2.54mm header cable is not thick enough to remain permanently connected to the ATX PSU on its own. When connecting @@ -158,14 +158,14 @@ 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 + # screen /dev/ttyUSB0 115200 Here are some example photos:\ ![](images/x200/ftdi.jpg) ![](images/x200/ftdi_port.jpg)\ 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** +# **screen /dev/ttyACM0 115200** You can also access the uboot console, using the serial method instead of SSH. @@ -176,7 +176,7 @@ Setting up spidev on the BBB ============================ Log on as root on the BBB, using either SSH or a serial console as -defined in [\#bbb\_access](#bbb_access). Make sure that you have +defined in [#bbb\_access](#bbb_access). Make sure that you have internet access on your BBB. Follow the instructions at @@ -211,14 +211,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--- @@ -230,7 +230,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 @@ -253,7 +253,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. @@ -348,7 +348,7 @@ not always. That page has some notes about using resistors to affect stability. Currently, we use spispeed=512 (512kHz) but it is possible to use higher speeds while maintaining stability. -tty0\_ in \#libreboot was able to get better flashing speeds with the +tty0\_ in #libreboot was able to get better flashing speeds with the following configuration: - "coax" with 0.1 mm core and aluminum foley (from my kitchen), add diff --git a/docs/install/c201.md b/docs/install/c201.md index da6e3499..2f7240ce 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -9,7 +9,7 @@ first time. **If you are using libreboot\_src or git, then make sure that you built -the sources first (see [../git/\#build](../git/#build)).** +the sources first (see [../git/#build](../git/#build)).** Look at the [list of ROM images](#rom) to see which image is compatible @@ -148,20 +148,20 @@ 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 + # chmod a+x cros-flash-replace The SPI flash has to be read first:\ -\# flashrom -p host -r flash.img + # flashrom -p host -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:\ -\# flashrom -p host -w flash.img + # flashrom -p host -w flash.img You should also see within the output the following:\ **"Verifying flash\... VERIFIED."** @@ -178,7 +178,7 @@ to be opened. The SPI flash is located next to the write protect screw. Its layout is indicated in the picture below. Note that it is not necessary to connect -**WP\#** since removing the screw already connects it to ground. Before +**WP#** since removing the screw already connects it to ground. Before writing to the chip externally, the battery connector has to be detached. It is located under the heat spreader, that has to be unscrewed from the rest of the case. The battery connector is located on @@ -195,21 +195,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/d510mo.md b/docs/install/d510mo.md index 056b90cf..84ab442e 100644 --- a/docs/install/d510mo.md +++ b/docs/install/d510mo.md @@ -12,7 +12,7 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** [Back to top of page.](#pagetop) diff --git a/docs/install/ga-g41m-es2l.md b/docs/install/ga-g41m-es2l.md index ef7bb97e..fbd1052d 100644 --- a/docs/install/ga-g41m-es2l.md +++ b/docs/install/ga-g41m-es2l.md @@ -12,7 +12,7 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** [Back to top of page.](#pagetop) diff --git a/docs/install/index.md b/docs/install/index.md index ac59f60d..7c28613a 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -77,7 +77,7 @@ as the keymap in GNU+Linux is concerned. Keymaps are named appropriately according to each keyboard layout support in GRUB. To learn how these keymaps are created, see -[../grub/\#grub\_keyboard](../grub/#grub_keyboard) +[../grub/#grub\_keyboard](../grub/#grub_keyboard) QEMU ---- @@ -113,7 +113,7 @@ system. **If you are using libreboot\_src or git, then make sure that you built -the sources first (see [../git/\#build](../git/#build)).** +the sources first (see [../git/#build](../git/#build)).** Look at the [list of ROM images](#rom) to see which image is compatible @@ -127,8 +127,8 @@ coreboot), then the flashing instructions for your system are going to be different. X60/T60 users running the proprietary firmware should refer to -[\#flashrom\_lenovobios](#flashrom_lenovobios). MacBook2,1 users running -Apple EFI should refer to [\#flashrom\_macbook21](#flashrom_macbook21) +[#flashrom\_lenovobios](#flashrom_lenovobios). MacBook2,1 users running +Apple EFI should refer to [#flashrom\_macbook21](#flashrom_macbook21) X200 users, refer to [x200\_external.html](x200_external.html), R400 users refer to [r400\_external.html](r400_external.html), T400 users @@ -231,7 +231,7 @@ onboard ethernet chipset is located inside the flash chip. Libreboot ROM images for these laptops contain a generic MAC address by default, but this is not what you want. *Make sure to change the MAC address inside the ROM image, before flashing it. The instructions on -[../hcl/gm45\_remove\_me.html\#ich9gen](../hcl/gm45_remove_me.html#ich9gen) +[../hcl/gm45\_remove\_me.html#ich9gen](../hcl/gm45_remove_me.html#ich9gen) show how to do this.* It is important that you change the default MAC address, before @@ -254,7 +254,7 @@ Flash chip size --------------- Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** All good? --------- @@ -298,14 +298,14 @@ ThinkPad X60/T60: Initial installation guide (if running the proprietary firmwar **This is for the ThinkPad X60 and T60 while running Lenovo BIOS. If you already have coreboot or libreboot running, then go to -[\#flashrom](#flashrom) instead!** +[#flashrom](#flashrom) instead!** **If you are flashing a Lenovo ThinkPad T60, be sure to read -[../hcl/\#supported\_t60\_list](../hcl/#supported_t60_list)** +[../hcl/#supported\_t60\_list](../hcl/#supported_t60_list)** **If you are using libreboot\_src or git, then make sure that you built -the sources first (see [../git/\#build](../git/#build)).** +the sources first (see [../git/#build](../git/#build)).** **Warning: this guide will not instruct the user how to backup the @@ -369,15 +369,15 @@ MacBook2,1: Initial installation guide (if running the proprietary firmware) {#f **If you have a MacBook1,1, refer to -[../hcl/\#macbook11](../hcl/#macbook11) for flashing instructions.** +[../hcl/#macbook11](../hcl/#macbook11) for flashing instructions.** **This is for the MacBook2,1 while running Apple EFI firmware. If you already have coreboot or libreboot running, then go to -[\#flashrom](#flashrom) instead!** +[#flashrom](#flashrom) instead!** Be sure to read the information in -[../hcl/\#macbook21](../hcl/#macbook21). +[../hcl/#macbook21](../hcl/#macbook21). **Warning: this guide will not instruct the user how to backup the original Apple EFI firmware. For that, please refer to @@ -385,7 +385,7 @@ original Apple EFI firmware. For that, please refer to **If you are using libreboot\_src or git, then make sure that you built -the sources first (see [../git/\#build](../git/#build)).** +the sources first (see [../git/#build](../git/#build)).** Look at the [list of ROM images](#rom) to see which image is compatible diff --git a/docs/install/r400_external.md b/docs/install/r400_external.md index 19f3a5fd..48016e65 100644 --- a/docs/install/r400_external.md +++ b/docs/install/r400_external.md @@ -65,7 +65,7 @@ initialization works all the same. CPU paste required ================== -See [\#paste](#paste). +See [#paste](#paste). @@ -73,7 +73,7 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# flashrom -p internal -V + # flashrom -p internal -V [Back to top of page.](#pagetop) @@ -228,10 +228,10 @@ libreboot\_util. Alternatively, libreboot also distributes flashrom 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). +[bbb\_setup.html#bbb\_access](bbb_setup.html#bbb_access). Test that flashrom works:\ -\# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 + # ./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) @@ -245,17 +245,17 @@ In this case, the output was: 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory1.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./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.\ 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 @@ -263,14 +263,14 @@ behaviour in the original firmware that could be replicated in coreboot and libreboot. Follow the instructions at -[../hcl/gm45\_remove\_me.html\#ich9gen](../hcl/gm45_remove_me.html#ich9gen) +[../hcl/gm45\_remove\_me.html#ich9gen](../hcl/gm45_remove_me.html#ich9gen) to change the MAC address inside the libreboot ROM image, before 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w path/to/libreboot/rom/image.rom -V** ![](images/x200/disassembly/0015.jpg) @@ -323,7 +323,7 @@ Wifi The R400 typically comes with an Intel wifi chipset, which does not work without proprietary software. For a list of wifi chipsets that work without proprietary software, see -[../hcl/\#recommended\_wifi](../hcl/#recommended_wifi). +[../hcl/#recommended\_wifi](../hcl/#recommended_wifi). Some R400 laptops might come with an Atheros chipset, but this is 802.11g only. diff --git a/docs/install/rpi_setup.md b/docs/install/rpi_setup.md index f3cbcb5a..f90819c9 100644 --- a/docs/install/rpi_setup.md +++ b/docs/install/rpi_setup.md @@ -57,7 +57,7 @@ B+ with 40 pins, start counting from the right and leave 14 pins): 1234 ~~~ Palmrest (back) ~~ - Pin \# SPI Pin Name BP (Seeed) BP (Spkfun) [Beagleboard Black](http://beagleboard.org/Support/bone101#headers) [Raspberry Pi](images/rpi/0000.jpg) + Pin # SPI Pin Name BP (Seeed) BP (Spkfun) [Beagleboard Black](http://beagleboard.org/Support/bone101#headers) [Raspberry Pi](images/rpi/0000.jpg) -------- -------------- ------------ ------------- --------------------------------------------------------------------- ------------------------------------- 1 CS White Red Pin 17 24 2 MISO Black Brown Pin 21 21 @@ -160,7 +160,7 @@ successfully. If not, just flash again. ### [](#raspberry-pi-pinout-diagrams){#user-content-raspberry-pi-pinout-diagrams .anchor}Raspberry Pi Pinout Diagrams - MCP 3008 Pin Pi GPIO Pin \# Pi Pin Name + MCP 3008 Pin Pi GPIO Pin # Pi Pin Name ----- ---------- ---------------- -------------------- 16 `VDD` 1 `3.3 V` 15 `VREF` 1 `3.3 V` @@ -285,7 +285,7 @@ text. ![](images/rpi/0002.jpg) - Pin \# SPI Pin Name Raspberry Pi Pin \# + Pin # SPI Pin Name Raspberry Pi Pin \# -------- -------------- --------------------- 1 *not used* *not used* 2 3.3V 1 @@ -293,7 +293,7 @@ text. 4 *not used* *not used* 5 *not used* *not used* 6 *not used* *not used* - 7 CS\# 24 + 7 CS # 24 8 S0/SIO1 21 9 *not used* *not used* 10 GND 25 diff --git a/docs/install/t400_external.md b/docs/install/t400_external.md index 1d9ea3ed..67e1471c 100644 --- a/docs/install/t400_external.md +++ b/docs/install/t400_external.md @@ -70,7 +70,7 @@ initialization works all the same. CPU paste required ================== -See [\#paste](#paste). +See [#paste](#paste). @@ -78,7 +78,7 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** [Back to top of page.](#pagetop) @@ -234,10 +234,10 @@ libreboot\_util. Alternatively, libreboot also distributes flashrom 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). +[bbb\_setup.html#bbb\_access](bbb_setup.html#bbb_access). Test that flashrom works:\ -\# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 + # ./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) @@ -251,17 +251,17 @@ In this case, the output was: 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory1.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./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.\ 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 @@ -269,14 +269,14 @@ behaviour in the original firmware that could be replicated in coreboot and libreboot. Follow the instructions at -[../hcl/gm45\_remove\_me.html\#ich9gen](../hcl/gm45_remove_me.html#ich9gen) +[../hcl/gm45\_remove\_me.html#ich9gen](../hcl/gm45_remove_me.html#ich9gen) to change the MAC address inside the libreboot ROM image, before 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w path/to/libreboot/rom/image.rom -V** ![](images/x200/disassembly/0015.jpg) @@ -329,7 +329,7 @@ Wifi The T400 typically comes with an Intel wifi chipset, which does not work without proprietary software. For a list of wifi chipsets that work without proprietary software, see -[../hcl/\#recommended\_wifi](../hcl/#recommended_wifi). +[../hcl/#recommended\_wifi](../hcl/#recommended_wifi). Some T400 laptops might come with an Atheros chipset, but this is 802.11g only. diff --git a/docs/install/t500_external.md b/docs/install/t500_external.md index e49886ec..0843ff87 100644 --- a/docs/install/t500_external.md +++ b/docs/install/t500_external.md @@ -60,7 +60,7 @@ initialization works all the same. CPU paste required ================== -See [\#paste](#paste). +See [#paste](#paste). @@ -68,7 +68,7 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** [Back to top of page.](#pagetop) @@ -239,10 +239,10 @@ libreboot\_util. Alternatively, libreboot also distributes flashrom 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). +[bbb\_setup.html#bbb\_access](bbb_setup.html#bbb_access). Test that flashrom works:\ -\# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 + # ./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) @@ -256,17 +256,17 @@ In this case, the output was: 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory1.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./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.\ 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 @@ -274,14 +274,14 @@ behaviour in the original firmware that could be replicated in coreboot and libreboot. Follow the instructions at -[../hcl/gm45\_remove\_me.html\#ich9gen](../hcl/gm45_remove_me.html#ich9gen) +[../hcl/gm45\_remove\_me.html#ich9gen](../hcl/gm45_remove_me.html#ich9gen) to change the MAC address inside the libreboot ROM image, before 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w path/to/libreboot/rom/image.rom -V** ![](images/x200/disassembly/0015.jpg) @@ -334,7 +334,7 @@ Wifi The T500 typically comes with an Intel wifi chipset, which does not work without proprietary software. For a list of wifi chipsets that work without proprietary software, see -[../hcl/\#recommended\_wifi](../hcl/#recommended_wifi). +[../hcl/#recommended\_wifi](../hcl/#recommended_wifi). Some T500 laptops might come with an Atheros chipset, but this is 802.11g only. diff --git a/docs/install/t60_unbrick.md b/docs/install/t60_unbrick.md index 5ca8076a..79dec613 100644 --- a/docs/install/t60_unbrick.md +++ b/docs/install/t60_unbrick.md @@ -157,7 +157,7 @@ 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w yourrom.rom** It should be **Verifying flash\... VERIFIED** at the end. If flashrom diff --git a/docs/install/x200_external.md b/docs/install/x200_external.md index 128f80af..12570a8c 100644 --- a/docs/install/x200_external.md +++ b/docs/install/x200_external.md @@ -36,12 +36,12 @@ Flash chip size {#flashchips} =============== Use this to find out:\ -\# **flashrom -p internal -V** +# **flashrom -p internal -V** The X200S and X200 Tablet will use a WSON-8 flash chip, on the bottom of the motherboard (this requires removal of the motherboard). **Not all X200S/X200T are supported; see -[../hcl/x200.html\#x200s](../hcl/x200.html#x200s).** +[../hcl/x200.html#x200s](../hcl/x200.html#x200s).** [Back to top of page.](#pagetop) @@ -114,7 +114,7 @@ The following image shows how this is done:**\ In this image, a pin header was soldered onto the WSON. Another solution might be to de-solder the WSON-8 chip and put a SOIC-8 there instead. Check the list of SOIC-8 flash chips at -[../hcl/gm45\_remove\_me.html\#flashchips](../hcl/gm45_remove_me.html#flashchips) +[../hcl/gm45\_remove\_me.html#flashchips](../hcl/gm45_remove_me.html#flashchips) but do note that these are only 4MiB (32Mb) chips. The only X200 SPI chips with 8MiB capacity are SOIC-16. For 8MiB capacity in this case, the X201 SOIC-8 flash chip (Macronix 25L6445E) might work. @@ -168,10 +168,10 @@ libreboot\_util. Alternatively, libreboot also distributes flashrom 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). +[bbb\_setup.html#bbb\_access](bbb_setup.html#bbb_access). Test that flashrom works:\ -\# ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 + # ./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) @@ -185,17 +185,17 @@ In this case, the output was: 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r factory1.rom**\ -\# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -r +# **./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.\ 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 @@ -203,14 +203,14 @@ behaviour in the original firmware that could be replicated in coreboot and libreboot. Follow the instructions at -[../hcl/gm45\_remove\_me.html\#ich9gen](../hcl/gm45_remove_me.html#ich9gen) +[../hcl/gm45\_remove\_me.html#ich9gen](../hcl/gm45_remove_me.html#ich9gen) to change the MAC address inside the libreboot ROM image, before 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w path/to/libreboot/rom/image.rom -V** ![](images/x200/disassembly/0015.jpg) @@ -244,7 +244,7 @@ Wifi The X200 typically comes with an Intel wifi chipset, which does not work without proprietary software. For a list of wifi chipsets that work without proprietary software, see -[../hcl/\#recommended\_wifi](../hcl/#recommended_wifi). +[../hcl/#recommended\_wifi](../hcl/#recommended_wifi). Some X200 laptops come with an Atheros chipset, but this is 802.11g only. @@ -340,7 +340,7 @@ here: On a related note, libreboot has a utility that could help with investigating this: -[../hcl/gm45\_remove\_me.html\#demefactory](../hcl/gm45_remove_me.html#demefactory) +[../hcl/gm45\_remove\_me.html#demefactory](../hcl/gm45_remove_me.html#demefactory) diff --git a/docs/install/x60_unbrick.md b/docs/install/x60_unbrick.md index c291c584..ae79a40f 100644 --- a/docs/install/x60_unbrick.md +++ b/docs/install/x60_unbrick.md @@ -142,7 +142,7 @@ 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w yourrom.rom** It should be **Verifying flash\... VERIFIED** at the end. If flashrom diff --git a/docs/install/x60tablet_unbrick.md b/docs/install/x60tablet_unbrick.md index 3fd64c2b..d918675b 100644 --- a/docs/install/x60tablet_unbrick.md +++ b/docs/install/x60tablet_unbrick.md @@ -121,7 +121,7 @@ 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 +# **./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 -w yourrom.rom** It should be **Verifying flash\... VERIFIED** at the end. If flashrom |