I bought a M29F040B 4 Mib flash chip for my EPIA-V motherboard today in order to get LinuxBIOS on it, and found that flash_and_burn didn't support it. So, I got the datasheet and modified a copy of the M29F400BT driver to work with it.
I make no guarantees, of course, but it seems to Work For Me (TM), so I thought you might want to include it. I haven't managed to get LinuxBIOS working yet, though, but burning the original BIOS to it works and boots.
I'm attaching the patch as MIME.
Fredrik Tolf
On 8/23/06, Fredrik Tolf fredrik@dolda2000.com wrote:
How is this part different from the am29f040b? The programming sequences look mostly the same.
On Wed, 2006-08-23 at 18:52 -0500, Richard Smith wrote:
Mostly, indeed. There are a couple of differences, though, the most important being that the address sequence as 555, 2AA, 555 instead of AAA, 555, AAA. Then there are a couple of other differences as well, such as when reading the product code, and the fact that the block layout is uniform. There may have been some other things as well, but I don't quite remember.
Fredrik Tolf
On Wed, 2006-08-23 at 19:16 -0500, Richard Smith wrote:
[Snipped my senseless rambling]
Ok.. Just checking. Great. Thanks for the patch.
Sorry, I misread you as asking how it was different from the M29F400BT. Actually, I hadn't checked the flashrom utility in the trunk, and it appears someone got there before me. The existing driver worked perfectly for my chip.
Fredrik Tolf
* Fredrik Tolf fredrik@dolda2000.com [060824 01:35]:
Can you remake the patch for the flashrom utility from LinuxBIOSv2 please?