From: eliot Date: Sat, 17 Feb 2018 15:34:38 +0000 (+0100) Subject: Fixed break X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=a80c9f87f1b63af4eb554a37ea8851d17ba2adbc;p=inbyggd-frihet-wiki.git Fixed break --- diff --git a/guider.mdwn b/guider.mdwn index 7092bfc..3daa041 100644 --- a/guider.mdwn +++ b/guider.mdwn @@ -25,53 +25,52 @@ If you don't encrypt /boot the default GRUB-scripts works better, i e it boots a ###X200 ####Flashing Externally [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" - -clone libreboot ... - -#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 - -./download flashrom -cd flashrom -sudo apt-get install libusb-1.0-0-dev build-dep linux-image-$(uname -r) -make install #needs sudo? -make - -#backup current rom -sudo ./flashrom -p internal -r ~/this_is_my0.rom -sudo ./flashrom -p internal -r ~/this_is_my1.rom -sudo ./flashrom -p internal -r ~/this_is_my2.rom - - -#build libreboot, for the ROM + 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" + clone libreboot ... + + #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 + + ./download flashrom + cd flashrom + sudo apt-get install libusb-1.0-0-dev build-dep linux-image-$(uname -r) + make install #needs sudo? + make + + #backup current rom + sudo ./flashrom -p internal -r ~/this_is_my0.rom + sudo ./flashrom -p internal -r ~/this_is_my1.rom + sudo ./flashrom -p internal -r ~/this_is_my2.rom + + + #build libreboot, for the ROM -#dependencies for Debian -sudo ./oldbuild dependencies trisquel7 + #dependencies for Debian + sudo ./oldbuild dependencies trisquel7 -#download and build necessary -./download grub -y -./download coreboot -y -./oldbuild module grub -./oldbuild module coreboot + #download and build necessary + ./download grub -y + ./download coreboot -y + ./oldbuild module grub + ./oldbuild module coreboot -#finally build the ROM we want -./oldbuild roms withgrub x200_8mb + #finally build the ROM we want + ./oldbuild roms withgrub x200_8mb -cd bin/grub -ls + cd bin/grub + ls -#./oldbuild clean all + #./oldbuild clean all -## Moving on -#cp new.rom ich9deblob/x86_64 -#cd ich9deblob/x86_64 -#/ich9gen --macaddress XX:XX:XX:XX:XX:XX -#dd if=ich9fdgbe_8m.bin of=libreboot.rom bs=1 count=12k conv=notrunc #for 8mb chip -#mv new.rom ../../ -#sudo ./flash update libreboot.rom + ## Moving on + #cp new.rom ich9deblob/x86_64 + #cd ich9deblob/x86_64 + #/ich9gen --macaddress XX:XX:XX:XX:XX:XX + #dd if=ich9fdgbe_8m.bin of=libreboot.rom bs=1 count=12k conv=notrunc #for 8mb chip + #mv new.rom ../../ + #sudo ./flash update libreboot.rom