2010-01-29 04:17:06 USB on BF548 EZ-KIT doesn't work
Konstantin Utkin (RUSSIAN FEDERATION)
Message: 85318
Board: ADSP-BF548 EZ-KIT LITE REV 1.4
I want to use that board as USB-HOST with uClinux ( with example program on VisualDSP board works fine as USB-Device ).
According documentation, SW16 pin 2 is ON, JP11 both SET.
I have uploaded images from different releases: uImage-bf548-ezkit-2009R1-RC6, uImage-bf548-ezkit-2009R1.1-RC4, uImage-bf548-ezkit-2008R1.5-RC3 , and had the same result: USB does not work: driver initialized, device registered, but absolutely no reaction on plugging any USB device to board (or plugging board to PC).
Boot log looks like:
...
ezkit_init(): registering device resources
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, musb-dma, host, debug=0
musb_hdrc: USB Host mode controller at ffc03c00 using DMA, 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
dma_alloc_init: dma_page @ 0x03dce000 - 512 pages at 0x03e00000
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
...
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc00500, dma channel@4
bfin-spi bfin-spi.1: Blackfin on-chip SPI Controller Driver, Version 1.0, regs_base@ffc02300, dma channel@5
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: bf54x-keys as /devices/platform/bf54x-keys/input/input0
bf54x-keys: Blackfin BF54x Keypad registered IRQ 76
...
bfin-sdh bfin-sdh.0: unable to request DMA channel
bfin-sdh: probe of bfin-sdh.0 failed with error -16
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
...
Then I have compiled my own image (based on 2008R1.5-RC3) in different variations (USB as OTG, as HOST only, as DEVICE only, all with log level=3 ), and had the same result. In /proc i can read status:
root:/> cat /proc/driver/musb_hdrc
Status: HDRC, Mode=Host (Power=20, DevCtl=88)
OTG state: a_idle; inactive
Options: musb-dma, host, debug=3 [eps=8]
Root port status: 00000100
So, is there any other jumper/switch, or option in kernel needed to turn on?
QuoteReplyEditDelete
2010-01-29 04:20:25 Re: USB on BF548 EZ-KIT doesn't work
Mike Frysinger (UNITED STATES)
Message: 85319
post the full boot log from the 2009R1.1 build instead of snipping out things you think irrelevant
make sure you're using the right cable headers if you're using the combo one from the ezkit package
QuoteReplyEditDelete
2010-01-29 04:33:17 Re: USB on BF548 EZ-KIT doesn't work
Konstantin Utkin (RUSSIAN FEDERATION)
Message: 85320
...headers, that's it! It was two different mini-USB in pack :))))) Thanks, Mike!
Who would have thought that my mistake would be so primitive!