From 8df313c4d6607181576471e08d7e909c9c0f33e9 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 11 Aug 2014 09:00:00 -0400 Subject: Libreboot release 6 beta 5. - build: added 'luks', 'lvm', 'cmosdump' and 'cmostest' to the list of modules for grub.elf - Documentation: added pics showing T60 unbricking (still need to write a tutorial) - build: include cmos.layout (coreboot/src/mainboard/manufacturer/model/cmos.layout) files in libreboot_bin - Documentation: added ../docs/howtos/x60tablet_unbrick.html - Documentation: added ../docs/howtos/t60_unbrick.html - Documentation: added ../docs/howtos/t60_lcd_15.html - Documentation: added ../docs/howtos/t60_security.html - Documentation: added ../docs/howtos/t60_heatsink.html - Documentation: Renamed RELEASE.html to release.html - Documentation: removed pcmcia reference in x60_security.html (it's cardbus) - Documentation: added preliminary information about randomized seal (for physical intrusion detection) in x60_security.html and t60_security.html - Documentation: added preliminary information about preventing/mitigating cold-boot attack in x60_security.html and t60_security.html - Documentation: added info to ../docs/index.html#macbook21 warning about issues with macbook21 - Documentation: X60/T60: added information about checking custom ROM's using dd to see whether or not the top 64K region is duplicated below top or not. Advise caution about this in the tutorial that deals with flashing on top of Lenovo BIOS, citing the correct dd commands necessary if it is confirmed that the ROM has not been applied with dd yet. (in the case that the user compiled their own ROM's from libreboot, without using the build scripts, or if they forgot to use dd, etc). - Split resources/libreboot/patch/gitdiff into separate patch files (getcb script updated to accomodate this change). - Re-added .git files to bucts - Fixed the oversight where macbook21_firstflash wasn't included in binary archives --- (limited to 'docs/future/fastboot/grub.cfg') diff --git a/docs/future/fastboot/grub.cfg b/docs/future/fastboot/grub.cfg new file mode 100644 index 0000000..705cd7b --- /dev/null +++ b/docs/future/fastboot/grub.cfg @@ -0,0 +1,63 @@ +#### THIS GOES INTO THE CBFS (2nd alternative: hard drive not found from memdisk) + +### First try to load the configuration file from a USB disk +if [ -f "(usb0,1)/grub.cfg" ] ; then + source (usb0,1)/grub.cfg +else + if [ -f "(usb0)/grub.cfg" ] ; then + source (usb0)/grub.cfg + else + ### Otherwise allow 10 seconds to decide something else + set default=0 + set timeout=10 + menuentry 'CBFS: SeaBIOS' { + chainloader (cbfsdisk)/elf/seabios.elf + } + menuentry 'CBFS: Indicate normal boot success' { + cmosclean 0x30:0 + cmosclean 0x30:1 + cmosclean 0x30:2 + cmosclean 0x30:3 + cmosclean 0x30:4 + cmosclean 0x30:5 + } + menuentry 'CBFS: to show coreboot CBMEM logs, type' { + set pager=1 + cbmemc + set pager=0 + } + menuentry 'CBFS: to show coreboot CBFS content, type' { + lscoreboot + error + } + menuentry 'CBFS: to show coreboot TIMESTAMPS, type' { + coreboot_boottime + error + } + menuentry 'CBFS: reboot' { + # reset to normal + cmosclean 48:0 + cmosclean 48:1 + # reset boot count + cmosclean 48:4 + cmosclean 48:5 + cmosclean 48:6 + cmosclean 48:7 + # rebooting makes it impossible to shut down with normal. + reboot + } + menuentry 'CBFS: halt' { + # reset to normal + cmosclean 48:0 + cmosclean 48:1 + # reset boot count + cmosclean 48:4 + cmosclean 48:5 + cmosclean 48:6 + cmosclean 48:7 + # rebooting makes it impossible to shut down with normal. + halt + } + + fi +fi -- cgit v0.9.1