}
+#### Flashing Internally
+
+To internally flash your ROM (on Coreboot or Libreboot) 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, 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 libreboot.rom
+
+ #Optional: remove old GRUB (test) config
+ ./cbfstool libreboot.rom remove -n grubtest.cfg
+ #Optional: get the new GRUB (test) config into your ROM
+ ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t raw
+
+ #Optional: 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 ./flashrom -p internal -w libreboot.rom #updated image
+
## Libreboot
### Our external flashing setup
## LASTLY FLASH TO CHIP (here internally)
#sudo ./flashrom/flashrom -p internal -w x200.rom
-#### Flashing Internally
-
-To internally flash your ROM (on Coreboot or Libreboot) 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, 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 libreboot.rom
-
- #Optional: remove old GRUB (test) config
- ./cbfstool libreboot.rom remove -n grubtest.cfg
- #Optional: get the new GRUB (test) config into your ROM
- ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t raw
-
- #Optional: 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 ./flashrom -p internal -w libreboot.rom #updated image
-
-
## Extend 2MB ROM to 8MB
### Here is the script we use to flash 8mb chip