MTD for FPGA framegrabber

Jörn Engel joern at wohnheim.fh-wedel.de
Fri Jun 3 10:29:30 EDT 2005


On Fri, 3 June 2005 15:13:25 +0200, Clemens Koller wrote:
> 
> Then I tried to start the MTD stuff:
> # modprobe mtdchar
> 	loads mtdcore also... okay!
> # modprobe map_rom
> 	loads chipreg also... okay!

Bullshit!

> # modprobe physmap
> 	probes my SRAM area via map_rom and adds mtd_to mtdcore, so I get
> 	two devices: /dev/mtd/0 and /dev/mtd/0ro

Bullshit!

Since you want to access sram, you want to create a standalone mtd
driver, similar to phram.  As a starter, you can simply use phram and
switch from memcpy() to dma later.

Jörn

-- 
When you close your hand, you own nothing. When you open it up, you
own the whole world.
-- Li Mu Bai in Tiger & Dragon




More information about the linux-mtd mailing list