From: mike <mikelee@avantwave.com>
To: linux-mtd@lists.infradead.org
Subject: Re: USB-flash driver
Date: Fri, 29 Oct 2004 17:36:32 +0800 [thread overview]
Message-ID: <41820F20.5060900@avantwave.com> (raw)
In-Reply-To: <4181B55A.7020909@avantwave.com>
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
next parent reply other threads:[~2004-10-29 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1CFEB358338412458B21FAA0D78FE86D4F0C69@rennsmail02.eu.thmulti.com>
[not found] ` <4181B55A.7020909@avantwave.com>
2004-10-29 9:36 ` mike [this message]
2004-10-28 9:44 USB-flash driver mike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41820F20.5060900@avantwave.com \
--to=mikelee@avantwave.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox