Other Parts Discussed in Thread: DM385
Hi All,
We are using CBB RDK GA 1.3 for DM385 .
we need to interface USB based Wi-Fi and BT module.
We are able to enable USB Host interface on our custom board. So we can detect USB flash drive and USB SD card reader on USB port.
Now When we try to load Marvell's USB driver with CBB RDK Kernel we are getting Kernel crash as shown below.
USB Driver is able to load Wi-Fi firmware but then after Kernel crashes at "woal_submit_rx_urb".
Are we missing any configuration in Kernel or filesystem ?
Steps:
# cp usb8766_uapsta.bin /lib/firmware/mrvl/usb8766_uapsta.bin
# insmod mlan.ko
# insmod usb8797.ko
Anyone knows the problem or possible solution??
It would be very much helpful for us to identify root cause.
Thanks in advance,
Kalpesh Panchal
===============================================================================================
oot@xyz:~/bin_usb8797# insmod mlan.ko
root@xyz:~/bin_usb8797# echo "/sbin/mdev" > /proc/sys/kernel/hotplug
root@xyz:~/bin_usb8797# insmod usb8797.ko
[ 54.280000] wlan: Loading MWLAN driver
[ 54.290000] usbcore: registered new interface driver usb8xxx
[ 54.300000] wlan: Driver loaded successfully
root@xyz:~/bin_usb8797#
root@xyz:~/bin_usb8797# [ 65.520000] usb 1-1: new high speed USB device using musb-hdrc and address 2
[ 65.660000] usb 1-1: New USB device found, idVendor=1286, idProduct=2043
[ 65.660000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 65.670000] usb 1-1: Product: Marvell Wireless Device
[ 65.680000] usb 1-1: Manufacturer: Marvell
[ 65.680000] usb 1-1: SerialNumber: 0000000000000000
[ 65.690000] VID/PID = 1286/2043, Boot2 version = 4000
[ 65.690000] rx_work=0 cpu_num=1
[ 65.720000] Firmware :mrvl/usb8797_uapsta.bin
[ 66.880000] WLAN FW is downloaded
[ 67.440000] usb_reset_device() successful.
[ 67.440000] usb 1-1: USB disconnect, address 2
[ 67.940000] usb 1-1: new high speed USB device using musb-hdrc and address 3
[ 68.080000] usb 1-1: New USB device found, idVendor=1286, idProduct=2044
[ 68.080000] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 68.090000] usb 1-1: Product: Bluetooth and Wireless LAN Composite Device
[ 68.100000] usb 1-1: Manufacturer: Marvell
[ 68.100000] usb 1-1: SerialNumber: AC3FA40CC8DA
[ 68.110000] VID/PID = 1286/2044, Boot2 version = 3201
[ 68.120000] rx_work=0 cpu_num=1
[ 68.150000] WLAN FW is active
[ 68.410000] Internal error: Oops - bad syscall: 862534 [#1]
[ 68.410000] last sysfs file: /sys/devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/dev
[ 68.410000] Modules linked in: usb8xxx mlan syslink
[ 68.410000] CPU: 0 Not tainted (2.6.37_DM385_CBB_0.80.00 #160)
[ 68.410000] PC is at woal_submit_rx_urb+0x58c/0x28 [usb8xxx]
[ 68.410000] LR is at 0x88b0
[ 68.410000] pc : [<bf16d938>] lr : [<000088b0>] psr: a0000013
[ 68.410000] sp : beb54c20 ip : 00000000 fp : c2beda00
[ 68.410000] r10: c2acde00 r9 : bf177f20 r8 : c2bf5360
[ 68.410000] r7 : 00000090 r6 : ffffffff r5 : 00000004 r4 : c2bf5000
[ 68.410000] r3 : bf16d934 r2 : 00000004 r1 : c4392f6c r0 : c2bf5000
[ 68.410000] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 68.410000] Control: 10c5387d Table: 82ab0019 DAC: 00000017
[ 68.410000] Process khubd (pid: 15, stack limit = 0xc40ba2e8)
[ 68.410000] Stack: (0xbeb54c20 to 0xc40bc000)
[ 68.410000] 4c20: 4004fb78 400ff000 401ae000 00000000 00989680 400e7b78 40010020 00008d44
[ 68.410000] 4c40: bff00000 beb54de4 00000000 00000000 00000000 400ff000 00000000 00008acc
[ 68.410000] 4c60: 00000000 00008540 00000000 00000000 00000000 400ff000 00008d44 00000000
[ 68.410000] 4c80: 00008540 00000000 00000000 00000000 400ff000 401c2fd4 402d4000 beb54de4
[ 68.410000] 4ca0: 00000002 00008a34 00008d44 00000000 00008540 00000000 00000000 00000000
[ 68.410000] 4cc0: 400ff000 00000000 beb54c98 401c2f8c 00000000 00000000 00000000 00000000
[ 68.410000] 4ce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.410000] 4d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.410000] 4d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 68.410000] 4d40: 401b95bc 4004fb78 00000000 0177ff8e 00000000 4004fea8 40010790 000082d0
[ 68.410000] 4d60: 400ff6c0 400ff000 00000000 400102f0 0001111c 400e7b78 4004fea8 00000001
[ 68.410000] 4d80: 00000001 00000000 400ff6c0 beb54df0 00000000 401b95bc 00000000 00000000
[ 68.410000] 4da0: 00000000 00008540 00000000 00000000 00000000 00000000 00000000 400ed914
[ 68.410000] 4dc0: 00008a34 00000000 00000000 00008540 00000000 0000856c 00008da4 400e8568
[ 68.410000] 4de0: beb54de4 beb54ee2 beb54f00 00000000 beb54f0b beb54f17 beb54f2c beb54f33
[ 68.410000] 4e00: beb54f3c beb54f47 beb54f62 beb54f6d beb54f90 beb54f9b beb54fa6 beb54fb2
[ 68.410000] 4e20: beb54fbb beb54fc8 beb54fd3 00000000 00000010 0000b0d7 00000006 00001000
[ 68.410000] 4e40: 00000011 00000064 00000003 00008034 00000004 00000020 00000005 00000008
[ 68.410000] 4e60: 00000007 400da000 00000008 00000000 00000009 00008540 0000000b 00000000
[ 68.410000] 4e80: 0000000c 00000000 0000000d 00000000 0000000e 00000000 00000017 00000000
[ 68.410000] 4ea0: 00000019 beb54ece 0000001f beb54fde 0000000f beb54ede 00000000 00000000
[ 68.410000] 4ec0: 00000000 00000000 00000000 a50c0000 79c6fac3 0aa821c6 10875a34 377606af
[ 68.410000] 4ee0: 2f2e006c 2f6e6962 6f6d6572 645f6574 67756265 696c635f 2e746e65 0074756f
[ 68.410000] 4f00: 66627830 30303066 70003030 6c766572 6c657665 43004e3d 4f534e4f 2f3d454c
[ 68.410000] 4f20: 2f766564 736e6f63 00656c6f 454d4f48 4f002f3d 5750444c 002f3d44 6c6e7572
[ 68.410000] 4f40: 6c657665 4900533d 5f54494e 53524556 3d4e4f49 76737973 74696e69 382e322d
[ 68.410000] 4f60: 45540036 6c3d4d52 78756e69 54415000 732f3d48 3a6e6962 6e69622f 73752f3a
[ 68.410000] 4f80: 62732f72 2f3a6e69 2f727375 006e6962 4c4e5552 4c455645 7200533d 77746f6f
[ 68.410000] 4fa0: 3d746961 52500032 454c5645 3d4c4556 5053004e 4853414c 5000313d 2f3d4457
[ 68.410000] 4fc0: 2f74706f 00626263 76657270 73756f69 56004e3d 4f425245 6e3d4553 2f2e006f
[ 68.410000] 4fe0: 2f6e6962 6f6d6572 645f6574 67756265 696c635f 2e746e65 0074756f 00000000
[ 68.410000] 5000: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
[ 68.410000] 5020: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
[ 68.410000] 5040: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
[ 68.410000] 5060: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ????????
