-
Notifications
You must be signed in to change notification settings - Fork 0
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
Talos II - 0.6 - Heads - No flashrom support #190
Comments
#35 is still a thing (as per 0.6 release notes) |
Absence of TPM is dealt correctly (dynamically turn off TPM support if no TPM is detected) with linuxboot/heads#1002, which release 0.6 was not based on. |
Question for next steps: Or more simply, what are you using for persistent storage option in your setup/tests? |
We used only USB drives according to https://docs.dasharo.com/variants/talos_2/hardware-matrix/ We do not have linked adapter attached. |
You did the review :) I think I disabled |
Well, sorry we missed that. Heads relies solely on flashrom to persist user config related changes, and have those cbfs files part of what is measured before usage. This is flash.sh, taking CONFIG_FLASHROM_OPTIONS from board config. Then gpg-gui.sh uses flash.sh -r to backup rom if settings are to be injected in running rom, or takes to be flashed rom as input to inject keyring and trust db. Same concept with config-gui.sh but with config.user file override. Flashrom is needed to save user config overrides: from changing drive boot source (config.user) to inject public key (keyring and trust db) and to keep other config changes overrides after firmware upgrades, with cbfs adding those changes (files) into rom to be flashed and then flashing only the changed blocks back into SPI. @SergiiDmytruk : I confirm that building fails at https://app.circleci.com/pipelines/github/tlaurion/heads/1197/workflows/5cee5383-75d5-47c5-aa0c-ab39e64abb99/jobs/10388 when trying to enable flashrom in Talos II board configs.
This is great news. |
Comments like these would make a good documentation about Heads internals, which should also include description of possible |
So at first, we need to enable flashrom in the build and see if we can read/write to PNOR via |
Dasharo version
0.6
Dasharo variant
Workstation/Server
Affected component(s) or functionality
Flashrom is needed for:
Brief summary
Without keyring+trustdb injected in ROM:
How reproducible
100%
How to reproduce
Steps to reproduce the behavior:
Unsafe boot options (no detach signed digest verification) work.
Expected behavior
Actual behavior
flashrom is not available.
So there is no possibility of injecting gpg keyring and trusteddb inside a firmware to be flashed (new or running firmware backup) through GPG options/ownership options nor upgrade firmware internally through Heads.
The text was updated successfully, but these errors were encountered: