This commit is contained in:
Trammell Hudson 2018-07-18 06:50:46 -04:00
commit 770c696117
Failed to extract signature
3 changed files with 2686 additions and 7 deletions

View File

@ -3,17 +3,19 @@ BOARD=x230.flash
export CONFIG_COREBOOT=y
CONFIG_FLASHROM=y
CONFIG_GPG=y
CONFIG_FLASHTOOLS=y
CONFIG_PCIUTILS=y
CONFIG_MBEDTLS=y
CONFIG_QRENCODE=y
CONFIG_TPMTOTP=y
#CONFIG_MBEDTLS=y
#CONFIG_QRENCODE=y
#CONFIG_TPMTOTP=y
CONFIG_DROPBEAR=y
CONFIG_LINUX_CONFIG=config/linux-x230.config
CONFIG_LINUX_CONFIG=config/linux-x230-flash.config
CONFIG_LINUX_USB=y
CONFIG_LINUX_E1000E=y
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
export CONFIG_BOOTSCRIPT=/bin/x230-flash.init
# This board is "special" in that we only want the top 4 MB of the ROM

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,15 @@
/boot/start-xen
mount -o ro /dev/sda2 /boot
unsealtotp.sh
mount /dev/sda1 /boot
mount -o remount,rw /boot
rm /boot/kexec_*
usb-scan
mount -o rw $CONFIG_USB_BOOT_DEV /media
mkdir /media/gpg_keys
gpg --home=/media/gpg_keys --edit-card
gpg --home=/media/gpg_keys --export --armor e@mail.address > /media/gpg_keys/public.key
gpg --home=/media/gpg_keys --export-secret-keys --armor e@mail.address > /media/gpg_keys/private.key
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/public.key" -f /media/gpg_keys/public.key
cbfs -o /media/coreboot.rom -a "heads/initrd/.gnupg/keys/private.key" -f /media/gpg_keys/private.key
mount -o remount,ro /media
flash.sh /media/coreboot.com
cbmem --console | grep '^ME'
cbmem --console | less