From 094e45c2f5e0f5886019f06e036340a902d2f083 Mon Sep 17 00:00:00 2001 From: Eliot Roxbergh Date: Sun, 18 Feb 2018 13:14:55 +0100 Subject: [PATCH] most recent meet & flashing update --- guider.mdwn | 27 +++++++++++++-------------- "tr\303\244ffar.mdwn" | 6 +++--- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/guider.mdwn b/guider.mdwn index e8393c6..16f20b6 100644 --- a/guider.mdwn +++ b/guider.mdwn @@ -68,22 +68,25 @@ If you don't encrypt /boot the default GRUB-scripts works better, i e it boots a ###X200 -####Flashing Internally [WIP]! - To internally flash your ROM use the kernel parameter "iomem=relaxed". Thus, if you boot manually you would enter e g "linux=vmlinuz.. iomem=relaxed" - #Get a newer version of flashrom than in Debian repo - #In my case the older version did not detect the exact chip on x200 - #This was fixed by cloning and building the most recent version +####Flashing Internally +To internally flash your ROM use the kernel parameter "iomem=relaxed". Thus, if you boot manually you would enter e g "linux=vmlinuz.. iomem=relaxed". - #Note these tools are built and ready [at](https://www.mirrorservice.org/sites/libreboot.org/release/stable/20160907/libreboot_r20160907_util.tar.xz) or similar +Get a newer version of flashrom than in Debian repo. In my case the older version did not detect the exact chip on x200, which was fixed by getting most recent version + +Note these tools are built and ready [at](https://www.mirrorservice.org/sites/libreboot.org/release/stable/20160907/libreboot_r20160907_util.tar.xz) or similar #backup current rom - sudo ./flashrom -p internal -r ~/this_is_my0.rom + sudo ./flashrom -p internal -r libreboot.rom #remove old GRUB (test) config ./cbfstool libreboot.rom remove -n grubtest.cfg #get the new GRUB (test) config into your ROM ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t raw + #change background in GRUB menu (dest must be called background.png /jpg) + #./cbfstool yourrom.rom remove background.png -n background.png + #./cbfstool yourrom.rom add -f background.png -n background.png -t raw + sudo ./flash update libreboot.rom @@ -156,10 +159,6 @@ ROM-chip (eg.): Winbond W25Q16DV (Note: the image built from Libreboot needs to 5 DI (IO0) -> 18 - #change background (dest must be called background.png /jpg) - ./cbfstool yourrom.rom remove background.png -n background.png - ./cbfstool yourrom.rom add -f background.png -n background.png -t raw - #remember to backup current image if you'd like #can read current contents a nr of times and they should be the same ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -r factory.rom @@ -174,16 +173,16 @@ ROM-chip (eg.): Winbond W25Q16DV (Note: the image built from Libreboot needs to ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=2048 -r factory9.rom ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=2048 -r factory10.rom ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=2048 -r factory11.rom - sha512sum factory*.rom #they should be the same.. + sha512sum factory*.rom #they _should_ be the same - #Flash ROM (can try different speeds) + #Flash ROM (can try different speeds), choose an appropriate ROM (keyboard layout, GRUB/Seabios) ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=512 -w ~/libreboot_r20160907_grub_kgpe-d16/kgpe-d16_svenska_txtmode.rom ## NOTE ## # In my case (KGPE-D16) it was very difficult - seemingly at random - to achieve a configuration such as read and write had good reliability. # Furthermore, writing had good success rate while reading was more error prone. # Thus, it is possible to write to the ROM and read (e.g.) 10 times and compare the resulting `sha512sum` to that of the ROM downloaded from Libreboot. - # If the sum EXACTLY matches atleast once, it is reasonable to assume that the write indeed succeeded. + # If the sum EXACTLY matches atleast once, it is reasonable to assume that the write indeed succeeded (we believe). ##Coreboot diff --git "a/tr\303\244ffar.mdwn" "b/tr\303\244ffar.mdwn" index 241dafa..c1a7fed 100644 --- "a/tr\303\244ffar.mdwn" +++ "b/tr\303\244ffar.mdwn" @@ -1,11 +1,11 @@ #Tidigare träffar -* **3/2 -18** | 11:00 - 23:00 | Chalmers NC | Närvarande: 2 +* **17/2 -18** | 11:00 - 24:00 | Chalmers NC | Närvarande: 3 +* **3/2 -18** | 11:00 - 23:00 | Chalmers NC | Närvarande: 2 * **20/1 -18** | 11:00 - 16:00 | Chalmers NC | Närvarande: 2 -* **10/11 -17** | 17:00 - sent | Chalmers NC | Närvarande: 3 +* **10/11 -17** | 17:00 - 02:00 | Chalmers NC | Närvarande: 3 #Kommande träffar -* **17/2 -18** | 11:00 | * **3/3 -18** | 11:00 | * **10/3 -18** | 10:00-19:00 | [Digidem hackaton](http://civictechgbg.se/hackathon-1/) * **17/3 -18** | 11:00 | -- 2.39.2