diff options
author | Leah Rowe <info@minifree.org> | 2017-04-03 20:57:12 +0200 |
---|---|---|
committer | Gogs <gogitservice@gmail.com> | 2017-04-03 20:57:12 +0200 |
commit | e5d71ae5577d2ebafbda4a43a20211e996365d3f (patch) | |
tree | 031c0024b35c735a9461b1456fda5d125e7fe901 /docs/install/c201.md | |
parent | f02ec452b4628e87121412e14ad9899cd85f98d5 (diff) | |
parent | 26c4759b17383087f7eba9f765dc63327d905a02 (diff) | |
download | librebootfr-e5d71ae5577d2ebafbda4a43a20211e996365d3f.tar.gz librebootfr-e5d71ae5577d2ebafbda4a43a20211e996365d3f.zip |
Merge branch 'web/code-blocks' of vimuser/libreboot into master
Diffstat (limited to 'docs/install/c201.md')
-rw-r--r-- | docs/install/c201.md | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/docs/install/c201.md b/docs/install/c201.md index 62812986..a811404d 100644 --- a/docs/install/c201.md +++ b/docs/install/c201.md @@ -37,6 +37,7 @@ root shell. parameters](#configuring_verified_boot_parameters) - [Removing the write protect screw](#removing_write_protect_screw) + - [Installing Libreboot to the SPI flash]() - [Installing Libreboot internally, from the device](#installing_libreboot_internally) @@ -145,21 +146,23 @@ 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**\ +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 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**\ +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:\ -\# **flashrom -p host -w flash.img**\ +The resulting flash image can then be flashed back: + + # flashrom -p host -w flash.img You should also see within the output the following:\ **"Verifying flash\... VERIFIED."** @@ -192,22 +195,26 @@ 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**\ +**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):\ -\# **flashrom -p *programmer* -r flash.img**\ +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:\ -\# **./cros-flash-replace flash.img coreboot ro-frid**\ +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):\ -\# **flashrom -p *programmer* -w flash.img**\ +programmer): + + # flashrom -p *programmer* -w flash.img You should also see within the output the following:\ **"Verifying flash\... VERIFIED."** |