diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-07-20 03:37:00 (EDT) |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2014-08-22 13:15:07 (EDT) |
commit | 488242eb941305ef61319b8499d4a1e8ccf218a1 (patch) | |
tree | b0347f360df51ac5a8edd06068e7ae24510864d6 /docs/howtos/grub_cbfs.html | |
parent | 8b484a19b51fb0591d938b3b7cf4fcb8f06c7a2f (diff) | |
download | libreboot-488242eb941305ef61319b8499d4a1e8ccf218a1.zip libreboot-488242eb941305ef61319b8499d4a1e8ccf218a1.tar.gz libreboot-488242eb941305ef61319b8499d4a1e8ccf218a1.tar.bz2 |
Libreboot release 6 beta 3.
- Fixed typo that existed in 2nd beta where the release date of the
2nd beta was listed as being in year 2016, when in actual fact it
was 2014.
- Documentation: added (preliminary) details about (rare) buggy CPU's
on the ThinkPad T60 that were found to fail (instability, kernel
panics, etc) without the microcode updates.
- Documentation: added docs/howtos/x60_heatsink.html for showing how
to change the heatsink on the Thinkpad X60
- Added ROM images for Azerty (French) keyboard layout in GRUB
(courtesy of Olivier Mondoloni)
- Tidied up some scripts:
- Re-factored those scripts (made easier to read/maintain):
build-x60, build-x60t, build-t60, build-macbook21
- Reduced the number of grub configs to 2 (or 1, for macbook21), the
build scripts now generate the other configs at build time.
- Deleted build-x60, build-x60t, build-t60, build-macbook21 and
replaced with intelligent (generic) buildrom-withgrub script
- Updated build to use buildrom-withgrub script for building the ROM
images.
- coreboot.rom and coreboot_serial.rom renamed to
coreboot_usqwerty.rom and coreboot_serial_usqwerty.rom
- coreboot_dvorak and coreboot_serial_dvorak.rom renamed to
coreboot_usdvorak.rom and coreboot_serial_usdvorak.rom
- Renamed coreboot*rom to libreboot*rom
- Made flash, lenovobios_firstflash and lenovobios_secondflash
scripts fail if the specified file does not exist.
- Updated all relevant parts of the documentation to reflect the
above.
- Replaced background.png with background.jpg. added
gnulove.jpg. (resources/grub/background/)
- Updated buildrom-withgrub to use background.jpg instead of
background.png
- Updated buildrom-withgrub to use gnulove.jpg aswell
- Updated resources/grub/config/macbook21/grub*cfg to use gnulove.jpg
background.
- Updated resources/grub/config/{x60,t60,x60t}/grub*cfg to use
background.jpg background.
- Documentation: updated docs/index.html#grub_custom_keyboard to be
more generally useful.
- nvramtool:
- Updated builddeps-coreboot script to build it
- Updated build script to include it in libreboot_bin
- Documentation: added docs/howtos/x60_security.html (security
hardening for X60)
Diffstat (limited to 'docs/howtos/grub_cbfs.html')
-rw-r--r-- | docs/howtos/grub_cbfs.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/howtos/grub_cbfs.html b/docs/howtos/grub_cbfs.html index 8446686..d95904d 100644 --- a/docs/howtos/grub_cbfs.html +++ b/docs/howtos/grub_cbfs.html @@ -29,7 +29,7 @@ </p> <p> - A coreboot or libreboot ROM is not simply "flat"; there is an actual filesystem inside called CBFS (coreboot filesystem). A utility called 'cbfstool' + A libreboot (or coreboot) ROM is not simply "flat"; there is an actual filesystem inside called CBFS (coreboot filesystem). A utility called 'cbfstool' allows you to change the contents of the ROM. In this case, libreboot is configured such that the grub.cfg exists directly inside CBFS instead of inside the grub.elf payload's 'memdisk' (which is itself stored in CBFS). </p> @@ -61,30 +61,30 @@ <p> You can work directly with one of the ROM's already included in libreboot_bin.tar.gz. For the purpose of this tutorial it is assumed - that your ROM is named 'coreboot.rom' so please make sure to adapt. + that your ROM is named 'libreboot_usqwerty.rom' so please make sure to adapt. </p> <p> If you want to re-use the ROM that you currently have flashed (and running) then see <a href="../index.html#build_flashrom">../index.html#build_flashrom</a> and then run:<br/> - <b>$ sudo ./flashrom -p internal -r coreboot.rom</b><br/> - Notice that this is using <b>"-r"</b> (read) instead of <b>"-w"</b> (write). This will create a dump (copy) of your current firmware and name it <b>coreboot.rom</b>. You need to take ownership of the file. For example:<br/> - <b>$ sudo chown yourusername:yourusername coreboot.rom</b><br/> - <b># chown yourusername:yourusername coreboot.rom</b> + <b>$ sudo ./flashrom -p internal -r libreboot_usqwerty.rom</b><br/> + Notice that this is using <b>"-r"</b> (read) instead of <b>"-w"</b> (write). This will create a dump (copy) of your current firmware and name it <b>libreboot_usqwerty.rom</b>. You need to take ownership of the file. For example:<br/> + <b>$ sudo chown yourusername:yourusername libreboot_usqwerty.rom</b><br/> + <b># chown yourusername:yourusername libreboot_usqwerty.rom</b> </p> <p> Display contents of ROM:<br/> - <b>$ ./cbfstool coreboot.rom print</b> + <b>$ ./cbfstool libreboot_usqwerty.rom print</b> </p> <p> - The coreboot.rom file contains your grub.cfg. + The libreboot_usqwerty.rom file contains your grub.cfg. </p> <p> Extract grub.cfg from the ROM:<br/> - <b>$ ./cbfstool coreboot.rom extract -n grub.cfg -f grub.cfg</b> + <b>$ ./cbfstool libreboot_usqwerty.rom extract -n grub.cfg -f grub.cfg</b> </p> <p> @@ -93,22 +93,22 @@ <p> Delete the grub.cfg that remained inside the ROM:<br/> - <b>$ ./cbfstool coreboot.rom remove -n grub.cfg</b> + <b>$ ./cbfstool libreboot_usqwerty.rom remove -n grub.cfg</b> </p> <p> Display ROM contents and now you see grub.cfg no longer exists there:<br/> - <b>$ ./cbfstool coreboot.rom print</b> + <b>$ ./cbfstool libreboot_usqwerty.rom print</b> </p> <p> Add the modified version that you just made:<br/> - <b>$ ./cbfstool coreboot.rom add -n grub.cfg -f grub.cfg -t raw</b> + <b>$ ./cbfstool libreboot_usqwerty.rom add -n grub.cfg -f grub.cfg -t raw</b> </p> <p> Now display ROM contents again and see that it exists again:<br/> - <b>$ ./cbfstool coreboot.rom print</b> + <b>$ ./cbfstool libreboot_usqwerty.rom print</b> </p> <p> |