hi,

>>that will allow the Davinci EVM to look like an USB mass storage device when 
>>inserted into a host PC
You'll operate your board as an usb device or in linux caled "gadget". 
(www.linux-usb.org/gadget)
 
In august David Brownell posted the following answer to a question of me:

You'll need to build a new kernel.  Reconfig is a bit quirky; fire up xconfig
(or menuconfig) and:

 - Goto Drivers/USB, enable host.

 - Goto Drivers/USB/Gadget; enable gadget, select one or more gadget driver;
   you'll be stuck with "dummy HCD" so far
(->there is a gadget driver for file-backed storage, i think that's the driver 
you are looking for.
in the kernel source you'll find it as file: drivers/usb/gadget/file_storage)

 - Up one level in kconfig, enable "Inventra Highspeed Dual Role Controller 
(TI..."
   and select driver mode "USB Peripheral" ... probably with DMA disabled.

 - Go back to "gadget" and be sure that "Inventra ... " is selected.

 - Go back and disable USB host side.

(Hmm, that seems excessively nasty...)

There you go ... rebuild, install, reboot.  You'll also need to remove J7 (or
switch it to 1-2) and get a nonstandard A-to-A cable, unless you desolder the
USB-A connector and replace it with a B, Mini-B, or Mini-AB one.

hope it helps.

regards
andy


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] im Auftrag von peike
Gesendet: Mo 18.09.2006 15:30
An: davinci-linux-open-s... 
Betreff: [SPAM] How to Add USB Mass Storage Device Functi on to U-Boot-1.1 .3 
for DaVinci?
 


Hello,Members
    I want to add 'do_usb' and 'do_usbboot' commands for DaVinci u-boot-1.1.3. 
I wonder if we can implement USB Mass Storage Device(Subclass:using USB MSC 
Bulk-Only Transport or ATA Command Block)Class that will allow the Davinci EVM 
to look like an USB mass storage device when inserted into a host PC. I found 
there are many source codes about usb in u-boot-1.1.3, such 
as~/uboot_1_1_3/common/cmd_usb.c, 
~/uboot_1_1_3/drivers/usbdcore.c,usbdcore_ep0.c, usbdcore_omap1510.c, etc. How 
can i modify these sample codes to Mass Storage Device (or bulk-only 
device)class for Davinci EVM? Or if Linux-2.6.10 support USB device class for 
Davinci EVM? 
Thanks for any help!
 
Best regards/Bill


 
 
 




_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to