From 6caf836e3390faefaad8257b9cec2eb97bdbfb41 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Apr 2017 10:23:37 -0700 Subject: Global fix --- docs/install/bbb_setup.md | 9 ++++++--- docs/install/c201.md | 15 ++++++++++----- docs/install/index.md | 9 ++++++--- 3 files changed, 22 insertions(+), 11 deletions(-) (limited to 'docs/install') diff --git a/docs/install/bbb_setup.md b/docs/install/bbb_setup.md index a52ea103..89f7ec67 100644 --- a/docs/install/bbb_setup.md +++ b/docs/install/bbb_setup.md @@ -216,7 +216,8 @@ Output: /lib/firmware/BB-SPI0-01-00A0.dtbo -Then:\ +Then: + # echo BB-SPI0-01 > /sys/devices/bone\_capemgr.\*/slots # cat /sys/devices/bone\_capemgr.\*/slots Output: @@ -229,7 +230,8 @@ Output: 5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-SPI0-01 -Verify that the spidev device now exists:\ +Verify that the spidev device now exists: + # ls -al /dev/spid\* Output: @@ -252,7 +254,8 @@ libreboot\_src, and put the ARM binary for it on your BBB. Finally, get the ROM image that you would like to flash and put that on your BBB. -Now test flashrom:\ +Now test flashrom: + # ./flashrom -p linux\_spi:dev=/dev/spidev1.0,spispeed=512 Output: diff --git a/docs/install/c201.md b/docs/install/c201.md index 1b15c284..a811404d 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -160,7 +160,8 @@ Then, the **cros-flash-replace** script has to be executed as such: 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:\ +The resulting flash image can then be flashed back: + # flashrom -p host -w flash.img You should also see within the output the following:\ @@ -194,21 +195,25 @@ 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:\ +**cros-flash-replace** script has to be made executable: + # chmod a+x cros-flash-replace -The SPI flash has to be read first (using the right spi programmer):\ +The SPI flash has to be read first (using the right spi programmer): + # 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:\ +Then, the **cros-flash-replace** script has to be executed as such: + # ./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):\ +programmer): + # flashrom -p *programmer* -w flash.img You should also see within the output the following:\ diff --git a/docs/install/index.md b/docs/install/index.md index 55fbbe50..f8ee0e6a 100644 --- a/docs/install/index.md +++ b/docs/install/index.md @@ -320,7 +320,8 @@ the flashing script. do this: *rm -f patch && wget -O flash https://notabug.org/vimuser/libreboot/raw/9d850543ad90b72e0e333c98075530b31e5d23f1/flash && chmod +x flash*** -The first half of the procedure is as follows:\ +The first half of the procedure is as follows: + $ sudo ./flash i945lenovo\_firstflash [yourrom.rom](#rom). @@ -344,7 +345,8 @@ and then boot; libreboot is running, but there is a 2nd procedure -When you have booted up again, you must also do this:\ +When you have booted up again, you must also do this: + $ sudo ./flash i945lenovo\_secondflash [yourrom.rom](#rom) If flashing fails at this stage, try the following:\ @@ -393,7 +395,8 @@ Look at the [list of ROM images](#rom) to see which image is compatible with your device. -Use this flashing script, to install libreboot:\ +Use this flashing script, to install libreboot: + $ sudo ./flash i945apple\_firstflash [yourrom.rom](#rom) -- cgit v1.2.3-70-g09d2