From 7f52a0acea5d766c0c25997df1dd907162db0407 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 17 Jan 2021 14:32:44 -0300 Subject: Fix: remove old, incomplete research --- research/libreboot.md | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'research/libreboot.md') diff --git a/research/libreboot.md b/research/libreboot.md index 73d8c39..fa0ec98 100644 --- a/research/libreboot.md +++ b/research/libreboot.md @@ -6,17 +6,17 @@ Also check the [additional references](https://links.fluxo.info/tags/libreboot). From [Libreboot – Installation instructions](https://libreboot.org/docs/install/index.html): - NOTE: if running flashrom -p internal for software based flashing, and you get - an error related to /dev/mem access, you should reboot with iomem=relaxed - kernel parameter before running flashrom, or use a kernel that has - CONFIG_STRICT_DEVMEM not enabled. +> NOTE: if running flashrom -p internal for software based flashing, and you get +> an error related to /dev/mem access, you should reboot with iomem=relaxed +> kernel parameter before running flashrom, or use a kernel that has +> CONFIG_STRICT_DEVMEM not enabled. Or you might get errors like this: user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) flashrom is free software, get the source code at https://flashrom.org - + Calibrating delay loop... OK. Found chipset "Intel ICH7M". Enabling flash write... Error accessing ICH RCRB, 0x4000 bytes at 0xfed1c000 @@ -24,7 +24,7 @@ Or you might get errors like this: FAILED! FATAL ERROR! Error: Programmer initialization failed. - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin ## Pre-compiled binaries @@ -60,17 +60,18 @@ This is how I've done. The actual procedure might change without notice :P * Backup the original firmware [like said](https://www.coreboot.org/Board:lenovo/x60/Installation#Back_up_the_original_proprietary_firmware). * Then flash the new ROM as [said here](https://libreboot.org/docs/install/#flashrom_lenovobios). -Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_X60_and_T60) on customized and solitary proprietary software: +Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_X60_and_T60) +on customized and solitary proprietary software: - While backing up the proprietary BIOS image might be construed as "endorsing" - proprietary software: This BIOS image is unique to every motherboard. It will - be impossible to restore the original BIOS once it is lost. Back it up now or - you will lose it forever. Do not take this decision lightly. +> While backing up the proprietary BIOS image might be construed as "endorsing" +> proprietary software: This BIOS image is unique to every motherboard. It will +> be impossible to restore the original BIOS once it is lost. Back it up now or +> you will lose it forever. Do not take this decision lightly. ### BIOS Backup user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_sst -p internal -r factory.bin - user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin + user@x60s:~/code/libreboot/libreboot_r20160907_util/flashrom/i686$ sudo ./flashrom_lenovobios_macronix -p internal -r factory.bin ### Flashing @@ -82,7 +83,7 @@ Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_ Updated BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) flashrom is free software, get the source code at https://flashrom.org - + Calibrating delay loop... OK. Found chipset "Intel ICH7M". Enabling flash write... WARNING: SPI Configuration Lockdown activated. @@ -112,14 +113,14 @@ Note this [funny note](https://en.wikibooks.org/wiki/Libreboot/Install/ThinkPad_ DO NOT REBOOT OR POWEROFF! flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) flashrom is free software, get the source code at https://flashrom.org - + Calibrating delay loop... OK. Found chipset "Intel ICH7M". Enabling flash write... WARNING: SPI Configuration Lockdown activated. OK. No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. - user@x60s:~/code/libreboot/libreboot_r20160907_util$ + user@x60s:~/code/libreboot/libreboot_r20160907_util$ Then reboot the machine, passing "iomem=relaxed" into the kernel command line. Then run the second flash: @@ -128,7 +129,7 @@ second flash: Mode selected: i945lenovo_secondflash flashrom v0.9.9-unknown on Linux 4.9.0-2-686-pae (i686) flashrom is free software, get the source code at https://flashrom.org - + Calibrating delay loop... OK. coreboot table found at 0x7be9f000. Found chipset "Intel ICH7M". @@ -141,7 +142,7 @@ second flash: Using LPC bridge 8086:27b9 at 0000:1f.00 Current BUC.TS=1 - 64kb address ranges at 0xFFFE0000 and 0xFFFF0000 are swapped Updated BUC.TS=0 - 128kb address range 0xFFFE0000-0xFFFFFFFF is untranslated - user@x60s:~/code/libreboot/libreboot_r20160907_util$ + user@x60s:~/code/libreboot/libreboot_r20160907_util$ ## Issues -- cgit v1.2.3