public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* USB-flash driver
@ 2004-10-28  9:44 mike
  0 siblings, 0 replies; 2+ messages in thread
From: mike @ 2004-10-28  9:44 UTC (permalink / raw)
  To: linux-mtd

Dear all

    I am new to this place,thanks for anyone helping.

    My situation is , to make my ARM-based board to be a USB mass 
storage disk from outside view. I am using Motorola M9328MXL development 
board with USB client.
    My question is how can i utilize mtd api to make the driver? Or 
anyone done that before? Or anyone can give me some advises?

Thanks very much
Mike,Lee

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB-flash driver
       [not found] ` <4181B55A.7020909@avantwave.com>
@ 2004-10-29  9:36   ` mike
  0 siblings, 0 replies; 2+ messages in thread
From: mike @ 2004-10-29  9:36 UTC (permalink / raw)
  To: linux-mtd

Fillod Stephane wrote:

>
>>>   My situation is , to make my ARM-based board to be a USB mass 
>>> storage disk from outside view. I am using Motorola M9328MXL 
>>> development board with USB client.
>>>   
>>
>>
>> So your board is going to be an USB peripheral, right?
>>
>>  
>>
>>>   My question is how can i utilize mtd api to make the driver? Or 
>>> anyone done that before? Or anyone can give me some advises?
>>>   
>>
>>
>> Have a look at the fine Linux-USB Gadget project 
>> http://www.linux-usb.org/gadget
>> Your board should use the "File-backed Storage" driver, with the 
>> actual file
>> (mtdblock or mtdchar?) being accessed through the VFS.
>>
>> Once you find out the details, some feedback on the list will be much
>> appreciated, especially from the next person asking this soon-to-be a 
>> FAQ :-)
>>
>>
>> Best Regards,
>>
>>  
>>
Dear Fillod

   Actually, i do have a USB ram disk driver from the BSP of motorola, i 
also located the read write code to the driver, but it is RAM ,not flash.
     I have a guess and please fix me.
   Can I use the functions in <include/linux/mtd/CFI.h > to 
read/write/erase my chip (AM29PLD127 AMD CFI flash) DIRECTLY?

   I think this can speed up my process if i need to rewrite the gadget 
driver on M9328 chip

   Thanks for helping
best regard
Mike,Lee

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-29  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28  9:44 USB-flash driver mike
     [not found] <1CFEB358338412458B21FAA0D78FE86D4F0C69@rennsmail02.eu.thmulti.com>
     [not found] ` <4181B55A.7020909@avantwave.com>
2004-10-29  9:36   ` mike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox