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

configs/config.protectli_vp2420: bump for Timeout fix #407

Merged
merged 6 commits into from
Oct 3, 2023

Conversation

miczyg1
Copy link
Contributor

@miczyg1 miczyg1 commented Sep 26, 2023

UNTESTED.

I accidentally bricked the platform when developing fix and had to move to vp4670. So there may be some changes between EDK2 revision which break the booting on this platform.

@miczyg1 miczyg1 force-pushed the protectli_vault_ehl/timeout_fix branch from 529f28b to 9c29558 Compare September 26, 2023 14:01
@miczyg1 miczyg1 temporarily deployed to Protectli September 26, 2023 14:01 — with GitHub Actions Inactive
@miczyg1 miczyg1 temporarily deployed to Protectli October 2, 2023 09:59 — with GitHub Actions Inactive
@miczyg1
Copy link
Contributor Author

miczyg1 commented Oct 2, 2023

@mkopec tested and works now. Please review

@miczyg1 miczyg1 force-pushed the protectli_vault_ehl/timeout_fix branch from 0c77fcd to 6aa8bd3 Compare October 2, 2023 11:00
@miczyg1 miczyg1 force-pushed the protectli_vault_ehl/timeout_fix branch from 6aa8bd3 to ef92d10 Compare October 2, 2023 11:03
@miczyg1 miczyg1 force-pushed the protectli_vault_ehl/timeout_fix branch from ef92d10 to 135f7dc Compare October 2, 2023 11:13
@miczyg1 miczyg1 temporarily deployed to Protectli October 2, 2023 11:13 — with GitHub Actions Inactive
@miczyg1
Copy link
Contributor Author

miczyg1 commented Oct 2, 2023

@mkopec tested and works now. Please review

Ah the problem is not vboot itself but the amount of cache... This SoC have barely 4MB L3 cache, while FW_MAIN_A is nearly 3MB in size. Fetching it all and calculating a hash for vboot verifications fills up whole cache and romstage has no space for execution already... The issue was no triggered before because the payload was a bit smaller, but it doesn't;t change the fact that we were living on the edge here. I guess we will need a rebase and switch to VBOOT_CBFS_INTEGRATION to reduce the cache usage in pre-ram phase during verification.

@miczyg1 miczyg1 force-pushed the protectli_vault_ehl/timeout_fix branch from 135f7dc to 8fbb7e0 Compare October 2, 2023 12:56
@miczyg1 miczyg1 temporarily deployed to Protectli October 2, 2023 12:56 — with GitHub Actions Inactive
@miczyg1
Copy link
Contributor Author

miczyg1 commented Oct 2, 2023

To reduce the cache usage I have removed separate verstage (now vboot will run inside botoblock)

When system_uuid CBFS file is present and contains the UUID
in a string format, the driver will parse it and convert to binary
format to populate the SMBIOS type 1 UUID field.

TEST=Add UUID file and boot MSI PRO Z690-A DDR4 WIFI and check with
dmidecode if the UUID is populated correctly.

Signed-off-by: Michał Żygowski <[email protected]>
Change-Id: I22f22f4e8742716283d2fcaba4894c06cef3a4bf
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64639
Reviewed-by: Krystian Hebel <[email protected]>
Tested-by: build bot (Jenkins) <[email protected]>
@mkopec mkopec temporarily deployed to Protectli October 3, 2023 10:29 — with GitHub Actions Inactive
@mkopec mkopec merged commit ebf42a8 into protectli_vault_ehl/develop Oct 3, 2023
1 check passed
@mkopec mkopec deleted the protectli_vault_ehl/timeout_fix branch October 3, 2023 12:28
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.

2 participants