Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KGPE-D16 port (no TPM) #335

Merged
merged 9 commits into from
Mar 7, 2018
Merged

Conversation

tlaurion
Copy link
Collaborator

@tlaurion tlaurion commented Mar 1, 2018

Contains flammit's modifications made atop of this branch

  • kexec-boot script calls Xen from grub parsed configuration. No more Xen into the firmware!

Usage:

  • KVM chip gets it's IP from DHCP. You can ssh to it. From there, connect to the system serial console with screen /dev/ttyS0 115200.
  • Flashing heads update firmwares is done through flashrom-kgpe-d16.sh /media/coreboot.rom from bmc or serial. Thanks to Timothy Pearson.
  • Flashing the BMC is done from a local serial connection. Flammit proposes dropbear ssh server to connect to heads.
  • Qubes disk password is prompted through OpenBMC console.
  • User's keys can be merged into rom following these instructions

Limitation:

  • It is currently impossible to reflash the KVM chip from within the KVM itself. It's possible to do it from the console connection: flashrom-kgpe-d16-openbmc.sh /media/flash-asus-XXXXXXXXXXXX. Do not forget to turn off REST api access and changing default ssh password when building OpenBMC

Still missing:

  • TPM2.0 toolset to properly acquire, measure and attest system integrity.

flammit and others added 9 commits February 19, 2018 14:29
if "CONFIG_TPM=y" is not present in the config file, functionalities
needing TPM could be disabled, while leaving other functionalities intact.

This will make Heads a more general-usage bootloader payload atop coreboot.
Guarded linuxboot specific init entries
Removed Makefile entries into separate file (conflicts with srcing /etc/config)
Added CONFIG_BOOT_LOCAL/_REMOTE to control interface setup
Fixed CONFIG_TPM usage
@osresearch
Copy link
Collaborator

This is an exciting addition and I'm so glad to merge it.

@osresearch osresearch merged commit 77d2fc9 into linuxboot:master Mar 7, 2018
@tlaurion
Copy link
Collaborator Author

tlaurion commented Aug 5, 2018

TPMv2 support should be working out of the box as of coreboot/coreboot@bce49c2

To be tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants