MrChromebox / scripts

Scripts for setup/install/firmware update for ChromeOS devices
The Unlicense
533 stars 162 forks source link

Relies on WP switch when it should be relying on WP ranges #411

Open PeapGit opened 2 weeks ago

PeapGit commented 2 weeks ago

Chrome OS has a WP switch and WP ranges. The difference between the 2 is one tells how much you can manipulate. But you can have WP ranges at 0, 0 which has WP off while WP switch is on. You can still manipulate WP things but you can't change WP ranges. I have verified this by using the old GBB flag script which doesn't check for WP. The firmware utility you created only checks for the WP switch. It should check for the ranges.

PeapGit commented 2 weeks ago

The command to see this is flashrom --wp-status