Attaching level 5 debug messages for deeper look into the problem. Nazim
On 9/4/07, Nazim Khan <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to get the USB WiFi (Zydas 1211b chipset) on Davinci EVM Board. > The firmware upload seems to be OK, but the very next URB Request > to do usb_reset_configuration() times out. > > I some how feel that there is some issue musb_hdrc driver. > Any pointers? > > ----------------------------- console snap ------------------------------ > bash-2.05b# lsmod > Module Size Used by > zd1211rw 81156 0 > musb_hdrc 33124 0 > usbcore 132544 3 zd1211rw,musb_hdrc > > usb 1-1: new high speed USB device using musb_hdrc and address 4 > usb 1-1: configuration #1 chosen from 1 choice > usb 1-1: print_id() 0ace:1215 v4810 high > usb 1-1: reset high speed USB device using musb_hdrc and address 4 > zd1211rw 1-1:1.0: zd_netdev_alloc() netdev->flags 0x1002 > zd1211rw 1-1:1.0: zd_netdev_alloc() netdev->features 0x00000000 > zd1211rw 1-1:1.0: zd_chip_read_mac_addr_fw() > zd1211rw 1-1:1.0: probe() successful > zd1211rw 1-1:1.0: eth1 > zd1211rw 1-1:1.0: zd_usb_init_hw() > usb 1-1: request_fw_file() fw name zd1211/zd1211b_ub > usb 1-1: upload_firmware() firmware device id 0x4810 is equal to the > actual device id > usb 1-1: request_fw_file() fw name zd1211/zd1211b_uphr > usb 1-1: upload_code() transfer size 4018 > usb 1-1: upload_code() firmware confirm return value 0x01 > zd1211rw 1-1:1.0: zd_usb_init_hw() couldn't reset configuration. Error > number -110 > SIOCSIFFLAGS: Connection timed out > -------------------------------------------------------------------------------------------------------------------- > > Nazim >
bash-2.05b# ifconfig eth1 up Resetting device configuration with 1 ms delay SIOCSIFFLAGS: Connection timed out bash-2.05b# dmesg rb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d440 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d440 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d480 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d480 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d4c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d4c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d500 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d500 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d540 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d540 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d580 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d580 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d5c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d5c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d600 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d600 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d640 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d640 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d680 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d680 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d6c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d6c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d700 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d700 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d740 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d740 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d780 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d780 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d7c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d7c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d800 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d800 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d840 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d840 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d880 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d880 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d8c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d8c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d900 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d900 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d940 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d940 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d980 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d980 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241d9c0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241d9c0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241da00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241da00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241da40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241da40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241da80 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241da80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dac0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dac0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241db00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241db00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241db40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241db40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241db80 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241db80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dbc0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dbc0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dc00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dc00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dc40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dc40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dc80 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dc80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dcc0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dcc0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dd00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dd00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dd40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dd40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dd80 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dd80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241ddc0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241ddc0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241de00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241de00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241de40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241de40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241de80 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241de80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241dec0 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241dec0 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241df00 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241df00 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 64 bytes to c241df40 musb_write_fifo 179: TX ep0 fifo c405e420 count 64 buf c241df40 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_continue 1002: Sending 50 bytes to c241df80 musb_write_fifo 179: TX ep0 fifo c405e420 count 50 buf c241df80 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c32320, count 0, urb c36629a0, stage 3 musb_h_ep0_irq 1134: ep0 STATUS, csr 0060 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0041, qh c1c32320, count 0, urb c36629a0, stage 4 __musb_giveback 306: complete c36629a0 (0), dev2 ep0out, 4018/4018 musb_start_urb 216: qh c1c326a0 urb c36629a0 dev2 ep0out, hw_ep 0, c26ba260/8 musb_ep_program 653: --> hw0 urb c36629a0 spd3 dev2 ep0out h_addr00 h_port00 bytes 8 musb_ep_program 672: <NULL>: DMA Channel= 00000000 <7>musb_write_fifo 179: TX ep0 fifo c405e420 count 8 buf c26ba260 musb_start_urb 258: Start TX0 pio davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c326a0, count 0, urb c36629a0, stage 1 musb_h_ep0_continue 983: start IN-DATA davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0001, qh c1c326a0, count 1, urb c36629a0, stage 2 musb_read_fifo 217: RX ep0 fifo c405e420 count 1 buf c1c3bcdf musb_h_ep0_irq 1134: ep0 STATUS, csr 0042 davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0000, qh c1c326a0, count 0, urb c36629a0, stage 4 __musb_giveback 306: complete c36629a0 (0), dev2 ep0in, 1/1 usb 1-1: upload_code() firmware confirm return value 0x01 Resetting device configuration with 1 ms delay musb_start_urb 216: qh c1c326a0 urb c36629a0 dev2 ep0out, hw_ep 0, c263dc00/8 musb_ep_program 653: --> hw0 urb c36629a0 spd3 dev2 ep0out h_addr00 h_port00 bytes 8 musb_ep_program 672: <NULL>: DMA Channel= 00000000 <7>musb_write_fifo 179: TX ep0 fifo c405e420 count 8 buf c263dc00 musb_start_urb 258: Start TX0 pio davinci_interrupt 294: IRQ 00000001 musb_interrupt 1476: ** IRQ host usb0000 tx0001 rx0000 musb_h_ep0_irq 1045: <== csr0 0200, qh c1c326a0, count 0, urb c36629a0, stage 1 musb_h_ep0_continue 980: start no-DATA musb_h_ep0_irq 1134: ep0 STATUS, csr 0060 musb_urb_dequeue 1971: urb=c36629a0, dev2 ep0out __musb_giveback 306: complete c36629a0 (-2), dev2 ep0out, 0/0 usb 1-1: ifconfig timed out on ep0out len=0/0 zd1211rw 1-1:1.0: zd_usb_init_hw() couldn't reset configuration. Error number -110
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
