-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add support for Acer Chromebook 515 Plus (CB515-2H) / Google Omnigul Platform #1658
base: master
Are you sure you want to change the base?
Conversation
@mdrobnak nice!
We will move from there? You can also join matrix channel and ping me from there, while I prefer PR to be examples for boards porting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this contribution! now let's make this build! Put as draft this PR until ready to be tested by others and to prevent people from bricking their laptop until ready!
Ok I'll get this going shortly. |
@mdrobnak please merge master in this branch and keep this PR updated with the most verbose trail of what your state is, others might chime in and make your progress less lonely :) |
Board configuration from: nitropad-nv41. Linux configuration from: linux-nitropad-x.config Coreboot configuration from: MrChromeBox EDK2 configuration for omnigul. Signed-off-by: Matthew Drobnak <[email protected]>
Signed-off-by: Matthew Drobnak <[email protected]>
CONFIG_TPM_GOOGLE=y | ||
CONFIG_TPM_GOOGLE_CR50=y | ||
CONFIG_TPM_GOOGLE_IMMEDIATELY_COMMIT_FW_SECDATA=y | ||
CONFIG_GOOGLE_TPM_IRQ_TIMEOUT_MS=100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be too small. Is there timeouts in dmesg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that I've seen. I can try modifying that.
Disk Unlock:
Attaching debug.log as that's larger. |
Signed-off-by: Matthew Drobnak <[email protected]>
Signed-off-by: Matthew Drobnak <[email protected]>
Signed-off-by: Matthew Drobnak <[email protected]>
Use MrChromeBox Coreboot and Linux 6.6.30. Add CircleCI Board config. Signed-off-by: Matthew Drobnak <[email protected]>
As written under matrix thread for this updated PR at https://matrix.to/#/!pAlHOfxQNPXOgFGTmo:matrix.org/$VKP1ynETRMavsOqy3SqUf_nadPUgyoSC9H_13y8Dpjo?via=matrix.org&via=nitro.chat&via=fairydust.space The white rabbit to be followed is why CR50 TPM refuses to to add TPM DUK nv region into TPM which doesn't seem supported on CR50 not sure why:
|
Attached are two files: debug_after_reboot_attempt_duk_seal.log Tlaurion edit: fail/success notes in parenthesis |
…515-2H) / Google Omnigul.
TLDR: Chromebooks have a fTPM which differs from dTPM (documentation and understanding is missing to be supported correctly from the TPM toolstack), correct @mdrobnak ? Putting this as draft until this is worked seperately. |
@mdrobnak revisiting because interest at https://matrix.to/#/!pAlHOfxQNPXOgFGTmo:matrix.org/$E4N2td-clfQq3IP4F4v_04oSLABpj-Kcm5rNVvDgi30?via=matrix.org&via=nitro.chat&via=envs.net Not all boards support TPM DUK, and can today be deactivated as a possibility through heads/initrd/bin/kexec-save-default Line 190 in b28c257
Until TPM DUK (seperate secret sealing nvram region issue figured out), Chromebooks could be supported with this bfeature missing? Thoughts? |
Implementation of Issue #1663.
This is implemented using the @MrChromebox Coreboot. Linux 6.1.90, Linux 6.5.13, 6.6.30 all work to recognize the UFS storage. This PR uses 6.6.30.
Version 4.22.01 of Coreboot does not have the Intel ME, VBT, or Flash Descriptor, thus MrChromeBox is used.
Items tested:
Issues:
Configuration Sources:
Linux Configuration based on linux-nitropad-x.config
Coreboot Configuration based on MrChromeBox UEFI configuration. Modified to have Linux payload as per the wiki's instructions.