(2014-07-02, 16:18)Matt Devo Wrote: (2014-07-02, 05:48)tlee Wrote: Hi Matt!
I mistakenly did not back up the stock firmware; what might I 'lose' if I go back to vanilla Chrome? It seems like some things are tied to firmware (eg. MAC address).
If I were to go back to the recovery firmware boot, what would the Chrome OS lack (mac addr?) ?
thanks!
well, your MAC address would be the same as it is now (the "default" value), but that wouldn't have any real effect, save if you had more than one ChromeBox with that MAC connected to the same router. The only thing you'd need to change is your device's hardware id (from the generic value in the recovery firmware), so that you'd be able to receive ChromeOS updates. I'll add that to the wiki shortly
From the rooting around that I've done, it seems the VPD is the the most important piece of my-chromebox-specific information... is that true? Would I be missing anything else?
Fortunately I did flash with v2.12, so your script saved my VPD.
Would something like this work:
#boot into chromium
flashrom -r /tmp/bios.bin
#save bios.bin!
#script: get cbfstool
get_cbfstool
# Get VPD ->
/tmp/boot/util/cbfstool /tmp/bios.bin extract -n vpd.bin -f /tmp/vpd.bin
# save vpd.bin!
# use recovery image to flash stock firmware in from Matt's dropbox (firmware-panther-factory-recovery.bin)
flashrom –w /tmp/stock-firmware.bin
#read stock image back out
flashrom –r /tmp/stockflashedfirmware.bin
dd if=/tmp/vpd.bin bs=1 seek=$((0x00600000)) count=$((0x00004000)) of=/tmp/stockflashedfirmware.bin
# Write back to firmware
flashrom –w /tmp/stockflashedfirmware.bin
#restore chrome os with VPD!