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

Clear settings on CMOS reset #1233

Open
mkopec opened this issue Feb 5, 2025 · 1 comment
Open

Clear settings on CMOS reset #1233

mkopec opened this issue Feb 5, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@mkopec
Copy link
Member

mkopec commented Feb 5, 2025

The problem you're addressing (if any)

With some features like BIOS password, option rom verification or fast boot, it's possible to misconfigure the BIOS in such a way that entering the setup menu again may be difficult or impossible.

Describe the solution you'd like

Have a way to reset BIOS settings. CMOS reset is the usual way to do this, even though settings are not actually stored in CMOS at all. coreboot could detect a CMOS reset and wipe the entire SMMSTORE region, resetting all settings to default.

Where is the value to a user, and who might that user be?

Easier recovery in case something goes wrong

Describe alternatives you've considered

No response

Additional context

Some UEFI implementations don't clear all settings, for example ThinkPads store BIOS password in the EC and it can't be reset easily. This makes a stolen laptop with a BIOS password worthless to a common thief, requiring expensive tools and expertise to restore functionality. That might be a valuable feature to consider

@mkopec mkopec added the enhancement New feature or request label Feb 5, 2025
@miczyg1
Copy link
Contributor

miczyg1 commented Feb 5, 2025

Feel free to pick the commits from : https://github.com/Dasharo/coreboot/commits/msi_mem_oc/

Dasharo/coreboot@2b23493
Dasharo/coreboot@0eec2e4

Although one may put the call somewhere else than mainboard's bootblock entry

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

No branches or pull requests

2 participants