2009-11-20 03:29:18     usb OTG does not work on USB-SATA hard disk within DMA mode

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

2009-11-20 03:29:18     usb OTG does not work on USB-SATA hard disk within DMA mode

yacobi chen (CHINA)

Message: 82597   

 

Hi,

 

I want to drive a USB-SATA hard disk with usb OTG in BF527.

 

The hard disk can be read and written successfully within the non-DMA mode of  USB OTG. However, the write speed can only reach 3MB/s. The hard disk can not be driven when I config the USB OTG in DMA mode. System print the followting messages:

 

root:/mnt> time dd if=/dev/zero of=test2 bs=1K count=100000

[17179634.000000] musb_h_tx_flush_fifo 125: Could not flush host TX fifo: csr: 0

003

[17179634.000000] musb_h_tx_flush_fifo 125: Could not flush host TX fifo: csr: 0

003

[17179634.000000] musb_h_tx_flush_fifo 125: Could not flush host TX fifo: csr: 0

003

[17179634.116000] usb 1-1: reset high speed USB device using musb_hdrc and address 2

 

The BF527 is version 0.1 on my board and The USB to SATA bridge is INIC-1611L. The hard disk is WD3200AVVS. The uclinux  version is 2009-pre and its kernel is 2.6.28.

QuoteReplyEditDelete

 

 

2009-11-20 03:53:12     Re: usb OTG does not work on USB-SATA hard disk within DMA mode

Sonic Zhang (CHINA)

Message: 82598   

 

Are you sure you use USB OTG other than USB host on bf527?

 

USB OTG support on bf527/bf548 is not done yet.

QuoteReplyEditDelete

 

 

2009-11-20 22:38:19     Re: usb OTG does not work on USB-SATA hard disk within DMA mode

yacobi chen (CHINA)

Message: 82609   

 

Thanks Sonic.

 

I configed the USB_OTG controller to host mode.

 

Tests did by ADI can be seen in   docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:musb

 

Any suggestion?

QuoteReplyEditDelete

 

 

2009-11-22 22:45:10     Re: usb OTG does not work on USB-SATA hard disk within DMA mode

Sonic Zhang (CHINA)

Message: 82628   

 

Please update to the 2009R1-RC6 blackfin Linux release.

Attachments

    Outcomes