2008-03-12 04:24:41     about USB 2.0 HOST port on BF548EZKIT

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

2008-03-12 04:24:41     about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52377   

 

hi, any test on the BF548EZKIT USB 2.0 host port ?

 

failed to find  USB OTG/HOST controller option for BF54X in 2008R1 uClinux menuconfig,

 

pls advise , thanks.

QuoteReplyEditDelete

 

 

2008-03-12 05:11:39     Re: about USB 2.0 HOST port on BF548EZKIT

Bryan Wu (CHINA)

Message: 52379    It is in the menuconfig:

 

=============

--- USB support

<*>   Support for Host-side USB

 

 

<*>   Inventra Highspeed Dual Role Controller (TI, ADI, ...)

---     Blackfin BF54x, BF525 and BF527 high speed USB support

        Driver Mode (USB Host)  --->

[ ]     Disable DMA (always use PIO) (NEW)

(0)     Logging Level (0 - none / 3 - annoying / ... ) (NEW)

=============

 

-Bryan

QuoteReplyEditDelete

 

 

2008-03-12 07:58:56     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52386   

 

oh, sorry for my ignorance :=)

 

thanks a lot.

QuoteReplyEditDelete

 

 

2008-03-12 23:19:43     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52419   

 

hi, Dear Bryan,

 

I tested a Netac USB disk on BF548EZKIT using 2008R1 uClinux config as you told, and bootinfo shows

 

SCSI subsystem initialized

 

usbcore: registered new interface driver usbfs

 

usbcore: registered new interface driver hub

 

usbcore: registered new device driver usb

 

musb_hdrc: version 6.0, ?dma?, host, debug=0

 

musb_hdrc: kernel must blacklist external hubs

 

musb_hdrc: USB Host mode controller at ffc03c00 using PIO, IRQ 82

 

musb_hdrc musb_hdrc.0: MUSB HDRC host driver

 

musb_hdrc musb_hdrc.0: new USB bus registered, assigned bus number 1

 

usb usb1: configuration #1 chosen from 1 choice

 

hub 1-0:1.0: USB hub found

 

hub 1-0:1.0: 1 port detected

 

......

 

and found no LED light on the U-Disk, and no partition detected in the /proc/partitions,

 

I've checked the jumpers and SW16.2 ON, but PE7 doesn't seem to work to introduce 5V for OTG.

 

and from above bootinfo, USB OTG still use PIO mode instead of DMA though I choose DMA in menuconfig

 

and http://docs.blackfin.uclinux.org/doku.php?id=usb_peripherals doc page seems to need update on USB HOST part

QuoteReplyEditDelete

 

 

2008-03-12 23:58:36     Re: about USB 2.0 HOST port on BF548EZKIT

Bryan Wu (CHINA)

Message: 52422    Could you please attach the full boot message and .config of your kernel?

And what kind of your u-disk, any URL?

 

-Bryan

QuoteReplyEditDelete

 

 

2008-03-13 00:31:11     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52423    yes, FYI, thanks.

bootinfo.txt

config_bf548

QuoteReplyEditDelete

 

 

2008-03-13 01:18:26     Re: about USB 2.0 HOST port on BF548EZKIT

Bryan Wu (CHINA)

Message: 52424    Please provide some information about your u-disk?

Can you try other u-disk again? we tested lots of u-disk on BF54x.

 

Thanks

-Bryan

QuoteReplyEditDelete

 

 

2008-03-13 01:52:41     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52425   

 

it's  Netac brand.

 

in fact, no 5V is offerred for USB OTG, seems PE7 won't work.

 

and one thing strange, failed to cat /proc/drivers/pflags, saying,

 

root:/proc/driver> cat pflags

Not Supported

 

so I can' check PE7 status :=(

QuoteReplyEditDelete

 

 

2008-03-13 02:30:08     Re: about USB 2.0 HOST port on BF548EZKIT

Mike Frysinger (UNITED STATES)

Message: 52426    the pflags driver wasnt finished ported to the BF54x ... but it's been thrown out anyways in trunk

QuoteReplyEditDelete

 

 

2008-03-13 04:56:48     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52444    in fact, I just want to find out the USB disk write throughput for BF54X.

QuoteReplyEditDelete

 

 

2008-03-13 12:40:19     Re: about USB 2.0 HOST port on BF548EZKIT

Bryan Wu (CHINA)

Message: 52461    Hi Zhu Hua,

 

As you described here, please make sure it is the hardware problem or software problem firstly.

 

Do you have other BF548-EZKIT board to test the Linux kernel and your u-disk?

 

-Bryan

QuoteReplyEditDelete

 

 

2008-03-13 20:22:04     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52493   

 

thanks Bryan.

 

yes, I've got one BF548EZKIT at hand. and it's a sv0.0 BF549 chip, is this the BUG for this silicon version? sv0.1 and later will be OK?

 

and in fact I just want to know the throughput of this USB 2.0 HOST port,e.g, when writing to a USB disk, so your test result will OK for me, thanks.

QuoteReplyEditDelete

 

 

2008-03-14 02:54:32     Re: about USB 2.0 HOST port on BF548EZKIT

Bryan Wu (CHINA)

Message: 52501    OK, you can find some information here:

 

https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_id=141&tracker_item_id=3806

 

we tested the ipod on the BF54x.

 

-Bryan

QuoteReplyEditDelete

 

 

2008-03-14 03:36:29     Re: about USB 2.0 HOST port on BF548EZKIT

hua zhu (CHINA)

Message: 52503    oh, great , thanks a lot.

Attachments

Outcomes