1018 Commits
Author SHA1 Message Date
Trammell hudson c87c2f4575 blobs/dev.cpio: add /root so that 9p rootfs works
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-11-01 17:55:41 +01:00
Trammell hudson d126aacf50 qemu-coreboot: remove unused i2c drivers 2019-10-29 19:01:34 +01:00
Trammell hudson 819e3cfeab kvmtool: enable DAX, which might allow faster invocation of initramfs 2019-10-29 18:56:10 +01:00
Trammell hudson fdc9326629 kvmtool: download from official kernel.org tree 2019-10-29 18:55:40 +01:00
Trammell hudson f301bd1a0e qemu-coreboot: build kvmtool, remove tpmtotp
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 18:14:10 +01:00
Trammell hudson bd8776f601 kvmtool: linux kernel modules required to support lkvm 2019-10-29 18:13:42 +01:00
Trammell hudson f89c8973bf kvmtool: add kvmtool module
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 18:12:22 +01:00
Trammell hudson 2980eb0522 pin msrtools and tpmtotp to current git heads
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 13:36:04 +01:00
Trammell hudson e5038e6adf musl-cross: crossgcc binary changed names (#617)
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 13:26:23 +01:00
Trammell hudson 56aa508b8d musl-cross: pin to a specific checkout (#617)
Add `--strip 1` to tar file extraction in the `Makefile`,
which ensures that the directory name in `build/` will
match the one listed in `$($(MODULE)_dir)`.

Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 13:15:56 +01:00
Trammell hudson 4f0e778582 musl-cross: update patch for recent git commits (#617)
Signed-off-by: Trammell hudson <hudson@trmm.net>
2019-10-29 12:52:55 +01:00
Kyle Rankin 5d91d6a099 Merge pull request #612 from MrChromebox/patch-1
update Librem blobs
2019-09-30 10:21:57 -07:00
MrChromebox 71a2ddfb1e blobs/librem_kbl: update get_blobs script
update file hashes to match Purism fork
2019-09-30 12:14:56 -05:00
MrChromebox 5fa06316cf blobs/librem_skl: update get_blobs script
update file hashes to match Purism fork
2019-09-30 12:14:09 -05:00
Kyle Rankin b7f2249b66 Merge pull request #606 from MrChromebox/oem-factory-reset
OEM factory reset
2019-08-23 07:39:04 -07:00
Matt DeVillier aab9004c53 gui-init: add clean boot check
Add a check to determine if first boot after flashing a cleaned
ROM, and prompt user to run the OEM Factory Reset if so

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-21 17:10:25 -05:00
Matt DeVillier ba23fb7ac2 gpg-gui: remove OEM factory reset option
superseded by newer version in main options menu

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-21 17:10:24 -05:00
Matt DeVillier d8bcc7b841 gui-init: add OEM Factory Reset to options menu
Add an OEM Factory Reset menu option, which performs an
unattended reset and configuration of the device's TPM,
GPG security token, and boot device / boot selection.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-21 17:10:24 -05:00
Matt DeVillier f067d9af23 initrd/bin: add OEM Factory Reset
Add oem-factory-reset script which performs an unattended
reset and configuration of the device's TPM, GPG security token,
and boot device / boot selection.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-21 17:10:23 -05:00
Matt DeVillier 4f54a97cf2 etc/function: add detect_boot_device()
Add function to detect boot device. Start by checking
CONFIG_BOOT_DEV, then iterate thru all bootable partitions.
Check if partition is mountable, contains grub directory.

Update CONFIG_BOOT_DEV and mount on /boot if successful.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-21 17:10:23 -05:00
Kyle Rankin c5999d9b12 Merge pull request #600 from MrChromebox/ux_tweaks_2
UX Tweaks [2/2]
2019-08-21 15:04:59 -07:00
Trammell hudson b532315733 Merge branch 'msrtools' 2019-08-11 17:05:55 +02:00
Matt DeVillier a27affcc7d flash.sh: persist serial in cbfs
Librem devices store their serial number as a text file
in cbfs; persist this across flashes.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-05 11:06:46 -05:00
Matt DeVillier e8e1032027 gpg_add_key_reflash: handle user cancellation
if user chooses abort option, exit without flashing ROM

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-05 11:03:47 -05:00
Matt DeVillier c33209add1 confirm_gpg_card: prompt for retry on detection failure
Initial card detection can sometimes fail, so prompt the user
to remove/reinsert their GPG card before retrying. Since
errexit is likely set, disable it prior to calling --card-status so
we can handle the error ourself, then re-set if necessary when done.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
2019-08-05 11:03:47 -05:00