Flashrom is a utility which can be used to detect, read, and write BIOS chips.