2009-03-11 14:23:16     Booting from BF527 USB OTG

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2009-03-11 14:23:16     Booting from BF527 USB OTG

Kevin Dimmer (UNITED KINGDOM)

Message: 70793   

 

Hi

 

Is it possible to get u-boot to read a FLASH memory stick connected to the BF527 OTG port in host mode.

 

Thanks

 

Kevin

 

 

QuoteReplyEditDelete

 

 

2009-03-11 14:32:40     Re: Booting from BF527 USB OTG

Robin Getz (UNITED STATES)

Message: 70794   

 

Kevin:

 

On trunk - yes.

 

bfin> usb info

1: Mass Storage,  USB Revision 2.0

- SanDisk Corporation U3 Cruzer Micro 000016244373FFB4

- Class: (from Interface) Mass Storage

- PacketSize: 64  Configurations: 1

- Vendor: 0x0781  Product 0x5406 Version 0.16

   Configuration: 1

   - Interfaces: 1 Bus Powered 200mA

     Interface: 0

     - Alternate Setting 0, Endpoints: 2

     - Class Mass Storage, Transp. SCSI, Bulk only

     - Endpoint 1 In Bulk MaxPacket 512

     - Endpoint 1 Out Bulk MaxPacket 512

 

bfin> usb dev

 

USB device 0: Vendor: SanDisk  Rev: 2.21 Prod: U3 Cruzer Micro

            Type: Removable Hard Disk

            Capacity: 979.8 MB = 0.9 GB (2006673 x 512)

---

 

-Robin

 

QuoteReplyEditDelete

 

 

2009-03-11 14:40:04     Re: Booting from BF527 USB OTG

Kevin Dimmer (UNITED KINGDOM)

Message: 70795   

 

Great Thanks.

 

Does this support using the port in OTG peripheral mode as well.

As we can power the board using this port in peripheral mode, might we be able to connect and download files into FLASH on the board.

 

Thanks

 

 

 

Kevin

 

 

 

 

QuoteReplyEditDelete

 

 

2009-03-11 17:32:24     Re: Booting from BF527 USB OTG

Robin Getz (UNITED STATES)

Message: 70797   

 

Kevin:

 

I don't think there are any peripheral bus drivers in U-Boot -- for that you need the kernel.

 

-Robin

QuoteReplyEditDelete

 

 

2009-03-11 18:21:39     Re: Booting from BF527 USB OTG

Mike Frysinger (UNITED STATES)

Message: 70798   

 

correct ... there is no gadget framework in u-boot yet.  there is an experimental branch upstream, but i dont know when they plan on merging it.

Attachments

    Outcomes