Chromium Code Reviews
Descriptionvboot_reference/make_dev_firmware: check write protection status before making changes
Complete the missing part of "checking (and disabling) write protection status.
This also helps to prevent erasing RW regions on system with WP enabled and
then causing boot failure.
BUG=chrome-os-partner:1276
TEST=(1) On CR-48 with WP enabled, run make_dev_firmware.sh without turning off WP.
Result: Error message "Write protection is still enabled. Please verify
that hardware write protection is disabled." (as expected)
(2) Disable WP and run again.
Result: firmware has been changed successfully.
Change-Id: Iaf2243cb2cd3c7f83ce4f36543ea3da1e3ca55a1
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=38d3ef7
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix param checking #Messages
Total messages: 4 (0 generated)
|