Lu, Yinghai wrote:
So you need to scripts for flash
- get mac address from the legacy bios from flash
- flash your linuxbios.
- reprogram you mac address again.
Or conbine 2/3 to update linuxbios image, and flash it if you like.
Maybe this is a case where we might want to teach that kind of information to the flashrom utility?
It could detect the ck804, read the required information, and, when a specific option is set, change the to-be-flashed image on the fly.
Late when you like update linuxbios with linuxbios, just use flash util with execlude command line to keep the mac address.
Most of the flash drivers do "dummy exclusions" right now. Should we try to fix them up?
Good HW design should use serial EEPROM on smbus to preserve the MAC address instead like s2895.
Good hardware design also uses SCSI instead of IDE, but that does not always help ;-)