[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: MTD and Adapter ROMs
Date said:
> Well, just having documentation on how all the spooge in drivers/mtd
> actually goes together would go along way to helping people use it.

Bah. That takes all the fun out of 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 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.

Basically right. Once your map driver has successfully probed the chip and
registered the MTD device, you should be able to open /dev/mtd0 and read,
write and ioctl(MEMERASE) it. Not necessarily in that order.


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:17    [W:0.074 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site