[coreboot] [flashrom] emit a warning if first byte of flash is 0x02?

Frieder Ferlemann frieder.ferlemann at web.de
Mon May 11 19:44:02 CEST 2009


I don't know whether this proposal really makes sense
but 8051 based Embedded Controlers are very likely to
have 0x02 (the opcode for LJMP) at address 0x0000 and
at some of its IRQ entry points at address 0x0003 + n*8

It might be worth warning about because erasing/writing
the flash while the EC is running might not be a good idea.

This posting was triggered by todays publication of:
"Flash Programming for Dummies", A book by Carl-Daniel Hailfinger
which specifically mentions interactions with embedded controlers.

And a grep for "Embedded" "Controler" "EC" within the
flashrom sources did not reveal a warning message.


More information about the coreboot mailing list