[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: MTD and Adapter ROMs
On Fri, 7 Sep 2001, David Woodhouse wrote:
> said:
>> Has anyone tried adapting any of the MTD code to allow read/write
>> access to adapter EEPROMs like the netboot ROM on some network cards
>> -- or more to the point, HPT adapter cards?
>Should be relatively simple if you just provide the appropriate 'map'
>driver to access the flash and set the Vpp line when asked.
>See drivers/mtd/maps/l440gx.c in my tree.
>There's also the code at
>which possibly ought to be merged with the MTD code.

Well, just having documentation on how all the spooge in drivers/mtd
actually goes together would go along way to helping people use it. The
flash chip is an SST 39SF010. It will appear somewhere in PCI memory
space once I reenable the adapter ROM. It is a JEDEC compilant device.
I have some code from SST for programming it, but I'd rather go the
general route instead of the one-shot flash-and-run module.

I was playing with the physmap driver but that kept oppsing the machine.
That was with 2.4.7 tho'.

I think it'll be as "simple" as adding the ID to jedec.c. Load chips/*,
maps/hpt-rom (doctored physmap to enable the rom and use it's location),
and then see if I can get mtdchar to drive the mess.


PS: Never use the PoS "load.exe" from HPT. It's apparently designed for a
4MHz 286. The delay loops are VERY wrong on any modern processor. A
PII 233 fails to properly write 10% of the bytes.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:02    [W:0.078 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site