Status: Untriaged
Owner:
bhthomp...@chromium.org
CC:
s...@chromium.org,
vpala...@chromium.org,
vben...@chromium.org,
dpa...@chromium.org
Labels: Type-Bug Pri-2 Cr-OS-Firmware-BIOS OS-Chrome
New issue 242757 by
bhthomp...@chromium.org: Enable cros_write_firmware
with an option to preserve vpd
http://code.google.com/p/chromium/issues/detail?id=242757
In some cases we may want to be able to rewrite a system's firmware using
the direct cros_write_firmware script, but leave the VPD (HWID, serial,
codes, etc.) intact. This would allow you to rewrite your firmware from a
development host machine, while keeping the target system's ability to do
things like auto update (which depends on a valid HWID).
It looks like we can do this by adding to _GetFlashScript() in
write_firmware.py. After staring at the function for a while, I believe we
can do this by using a bit of space after address + length to store the
original VPD, and adding in additional U-Boot commands to manage the
reading and writing back to SPI. I am not sure if we need to add user
facing options for VPD offset and size, or if we can get away with hard
coding those, or if we can read them easily somewhere.
Does this sound feasible?
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings