This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB port: HW design and USBMODE register question

Expert 2280 points

Hi

I'm not able to make USB1 port working on our custom board based on AM335x. The port must work in host mode only, but in the HW design the USB1_ID pin has been left floating and the USB1_VBUS is connected to 5V power (always on since the boot even if nothing is connected to USB port). Could it be a problem?

I'm booting with Linux, and I've modified the MUSB Controller instance 1 to be in host mode, therefore writing USB1MODE register to ignore USB1_ID pin. Everything seems fine during initialization, but when I plug a device, even if it is power, it seems not to be detected by the kernel.

Any suggestion? Thanks.

Regards, Max

  • USB1_VBUS is an input pin to sense the Vbus. USB1_DRVVBUS should be used for driving 5V onto the bus.

    Since USB1_ID is not connected to you should enable software controlled ID pin logic. This requires MODE.D7 =1 (MUX enabled) and MODE.D8 = 0 (ID grounded).

    You can read DEVCTL register value to see what is current controller mode by looking at DEVCTL.D7 bit (=0 means host ; =1 means device ; D7 valid only when D0 =1)

    Ajay

  • Ajay

    What are exactly MODE and DEVCTL looking at AM335x Tec. Reference Manual?

    I am setting USB1MODE (offset 0x00e8 of USB0_BASE 0x4740 1000) bit 8 to 0, to force host mode. But bit 7 is reserved in TRM document: do I need to set it???

    DEVCTL seems at offset 0x460 of USB0_BASE, so it is in USB0 Core registers which are not described in TRM? What these registers are used for?

    Initialization seems fine, but...

    [    0.076480]  >>>> Musb init dev cf89ae08 pdev cf89ae00 musb_plat c059c340 board_data c059be8c
    [    0.113560]  >>>> TI81xx Probing pdev cf89ae00 dev cf89ae08 plat cf868940 data c059be8c
    [    0.113920] registerd cppi-dma Intr @ IRQ 17
    [    0.113936] Cppi41 Init Done Qmgr-base(d083a000) dma-base(d0838000)
    [    0.113950] Cppi41 Init Done
    [    0.113977]  >>>> TI81xx Create Musb 0 plat data mode 3
    [    0.113995]  >>>> TI81xx Create Musb pdev cf89ae00 musb cf93c200 pdata cf868940
    [    0.114353]  >>>> TI81xx Create Musb 1 plat data mode 1
    [    0.114376]  >>>> TI81xx Create Musb pdev cf89ae00 musb cf93c000 pdata cf868940
    [    0.153724] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.153724] >>>> Musb Probing cf93c200 cf93c208
    [    0.153924]  >>>> Init controller cf93c200 cf93c208 cf911440
    [    0.153972]  >>>> Pointers d080a000 d080a000 d080a000
    [    0.153991]  >>>> Plat mode 3 minpw 0 setpw   (null) ops c05be040 musb cf94a0ec
    [    0.154020] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.154432]  >>>> Set mode d080a000 d080a400 3
    [    0.154823] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    0.154851] musb-hdrc: MHDRC RTL version 2.0
    [    0.154866] musb-hdrc: setup fifo_mode 4
    [    0.154899] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    0.155461] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using DMA, IRQ 18
    [    0.155626]  >>>> Musb Probing cf93c000 cf93c008
    [    0.155660]  >>>> Init controller cf93c000 cf93c008 cf911640
    [    0.155698]  >>>> Pointers d080c800 d080c800 d080c800
    [    0.155716]  >>>> Plat mode 1 minpw 0 setpw   (null) ops c05be040 musb cf8ac0ec
    [    0.155739] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.156090]  >>>> Set mode d080c800 d080cc00 1
    [    0.156458] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    0.156485] musb-hdrc: MHDRC RTL version 2.0
    [    0.156500] musb-hdrc: setup fifo_mode 4
    [    0.156528] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    0.156572] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.156670] /ti-sdk-am335x-evm-05.03.02.00/board-support/linux-3.1.0-psp04.06.00.03.sdk/drivers/usb/core/inode.c: creating file 'devices'
    [    0.156712] /ti-sdk-am335x-evm-05.03.02.00/board-support/linux-3.1.0-psp04.06.00.03.sdk/drivers/usb/core/inode.c: creating file '001'
    [    0.156748] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.156872] usb usb1: default language 0x0409
    [    0.156914] usb usb1: udev 1, busnum 1, minor = 0
    [    0.156931] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.156952] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.156971] usb usb1: Product: MUSB HDRC host driver
    [    0.156986] usb usb1: Manufacturer: Linux 3.1.0 musb-hcd
    [    0.157002] usb usb1: SerialNumber: musb-hdrc.1
    [    0.157600] usb usb1: usb_probe_device
    [    0.157625] usb usb1: configuration #1 chosen from 1 choice
    [    0.157679] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    [    0.158006] hub 1-0:1.0: usb_probe_interface
    [    0.158025] hub 1-0:1.0: usb_probe_interface - got id
    [    0.158044] hub 1-0:1.0: USB hub found
    [    0.158077] hub 1-0:1.0: 1 port detected
    [    0.158091] hub 1-0:1.0: standalone hub
    [    0.158105] hub 1-0:1.0: individual port power switching
    [    0.158121] hub 1-0:1.0: no over-current protection
    [    0.158134] hub 1-0:1.0: Single TT
    [    0.158150] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [    0.158167] hub 1-0:1.0: power on to power good time: 10ms
    [    0.158196] hub 1-0:1.0: local power source is good
    [    0.158215] hub 1-0:1.0: enabling power on all ports
    [    0.158624] /ti-sdk-am335x-evm-05.03.02.00/board-support/linux-3.1.0-psp04.06.00.03.sdk/drivers/usb/core/inode.c: creating file '001'
    [    0.158851] musb-hdrc musb-hdrc.1: USB Host mode controller at d080c800 using DMA, IRQ 19

    ...but if a read registers (I've modified the debugfs to dump both), both DevCtl are 0x99, therefore "USB devices" as per your explanation. In fact the controller does not drive high the USB1_DRVVBUS, which is the behaviour I would expect if it was in peripheral mode:

    MUSB (M)HDRC Register Dump (d080a400)
    FAddr       : 00
    Power       : e0
    Frame       : 0000
    Index       : 0f
    Testmode    : 00
    TxMaxPp     : 0000
    TxCSRp      : 0000
    RxMaxPp     : 0000
    RxCSR       : 0000
    RxCount     : 0000
    ConfigData  : 33
    DevCtl      : 99
    MISC        : 00
    TxFIFOsz    : 07
    RxFIFOsz    : 07
    TxFIFOadd   : 0780
    RxFIFOadd   : 0780
    VControl    : 00000000
    HWVers      : 0800
    EPInfo      : ff
    RAMInfo     : 0d
    LinkInfo    : 5c
    VPLen       : 3c
    HS_EOF1     : 80
    FS_EOF1     : 77
    LS_EOF1     : 72
    SOFT_RST    : 00
    DMA_CNTLch0 : 0000
    DMA_ADDRch0 : 00000000
    DMA_COUNTch0: 00000000
    DMA_CNTLch1 : 0000
    DMA_ADDRch1 : 00000000
    DMA_COUNTch1: 00000000
    DMA_CNTLch2 : 0000
    DMA_ADDRch2 : 00000000
    DMA_COUNTch2: 00000000
    DMA_CNTLch3 : 0000
    DMA_ADDRch3 : 00000000
    DMA_COUNTch3: 00000000
    DMA_CNTLch4 : 0000
    DMA_ADDRch4 : 00000000
    DMA_COUNTch4: 00000000
    DMA_CNTLch5 : 0000
    DMA_ADDRch5 : 00000000
    DMA_COUNTch5: 00000000
    DMA_CNTLch6 : 0000
    DMA_ADDRch6 : 00000000
    DMA_COUNTch6: 00000000
    DMA_CNTLch7 : 0000
    DMA_ADDRch7 : 00000000
    DMA_COUNTch7: 00000000

    MUSB (M)HDRC Register Dump (d080cc00)
    FAddr       : 00
    Power       : e0
    Frame       : 0000
    Index       : 0f
    Testmode    : 00
    TxMaxPp     : 0000
    TxCSRp      : 0000
    RxMaxPp     : 0000
    RxCSR       : 0000
    RxCount     : 0000
    ConfigData  : 33
    DevCtl      : 99
    MISC        : 00
    TxFIFOsz    : 07
    RxFIFOsz    : 07
    TxFIFOadd   : 0780
    RxFIFOadd   : 0780
    VControl    : 00000000
    HWVers      : 0800
    EPInfo      : ff
    RAMInfo     : 0d
    LinkInfo    : 5c
    VPLen       : 3c
    HS_EOF1     : 80
    FS_EOF1     : 77
    LS_EOF1     : 72
    SOFT_RST    : 00
    DMA_CNTLch0 : 0000
    DMA_ADDRch0 : 00000000
    DMA_COUNTch0: 00000000
    DMA_CNTLch1 : 0000
    DMA_ADDRch1 : 00000000
    DMA_COUNTch1: 00000000
    DMA_CNTLch2 : 0000
    DMA_ADDRch2 : 00000000
    DMA_COUNTch2: 00000000
    DMA_CNTLch3 : 0000
    DMA_ADDRch3 : 00000000
    DMA_COUNTch3: 00000000
    DMA_CNTLch4 : 0000
    DMA_ADDRch4 : 00000000
    DMA_COUNTch4: 00000000
    DMA_CNTLch5 : 0000
    DMA_ADDRch5 : 00000000
    DMA_COUNTch5: 00000000
    DMA_CNTLch6 : 0000
    DMA_ADDRch6 : 00000000
    DMA_COUNTch6: 00000000
    DMA_CNTLch7 : 0000
    DMA_ADDRch7 : 00000000
    DMA_COUNTch7: 0000000

    What is wrong?

    Regards,

    Max




  • DEVCTL is mentor core register which are not added in TRM. You can refer http://www.ti.com/lit/ug/spruer7e/spruer7e.pdf for Mentor only registers (starting offset 0x400) as they are same across all musb controllers. This document as enough details of DEVCTL and other mentor registers.

    USB1MODE is at offset 0xe8 as you correctly identified and MODE.d7 should be 1 and MODE.D8 = 0 for host mode. As there are two controllers so all the mentor core registers are seperately available for each of them. USB1 DEVCTL will be at 0x47401c60 whereas for USB0 it will be at 0x47401460.

    You said USB1_DRVVBUS is left floating and USB1_VBUS is always on, you may want to check a similar issue reported at e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/791/p/169145/617763.aspx#617763 which got solved when DRVVBUS was used to activate VBUS.

    Ajay

  • Ajay,

    Thanks for the doc about DEVCTL. I've downloaded a snapshot of v3.2-staging branch from git repository, and now I'm running tests with that version.

    Ajay said:
    USB1MODE is at offset 0xe8 as you correctly identified and MODE.d7 should be 1 and MODE.D8 = 0 for host mode. As there are two controllers so all the mentor core registers are seperately available for each of them. USB1 DEVCTL will be at 0x47401c60 whereas for USB0 it will be at 0x47401460.

    In ti81xx_musb_set_mode, MODE.d7 = 1 (USBMODE_USBID_MUXSEL bit) is done only if cpu_is_ti816x() return true: but on AM335x EVM this function returns false, so this bit is never set. Is this correct? Or do I need to modify the code to set it?

    Ajay said:
    You said USB1_DRVVBUS is left floating and USB1_VBUS is always on, you may want to check a similar issue reported at e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/791/p/169145/617763.aspx#617763 which got solved when DRVVBUS was used to activate VBUS.

    Thanks for the hint. We have removed the connection between USB1_VBUS pad and +5V, connecting it to the VBUS of USB1 port that is expected to be driven by the Controller with the USB1_DRVVBUS pin. Looking at TRM it seems this is done automatically by the Controller. I do not find anything in musb source code to drive this pin. Unfortunately we have another HW constraint that we cannot workaround easily: USB1_VBUS and USB0_VBUS are connected together . I've run some more tests: these are some logs that I captured on TI AM335x EVM board at init:

    [    0.186829]  XXXX [0] Musb Probing
    [    0.186997]  XXXX [0] Init controller musb-hdrc.0
    [    0.187057]  XXXX (0) Plat mode 3 minpw 0 setpw   (null) ops c060c1b0 musb cf8f2100
    [    0.187405]  XXXX (0) Set mode 3
    [    0.187737]  XXXX (0) Setting DEVCTL to 0x00 (ti81xx_musb_disable)
    [    0.187751]  XXXX (0) Setting DEVCTL to 0x00 (musb_generic_disable)
    [    0.187850]  XXXX (0) Request int 18 cf8f2100 c02ac298 musb-hdrc.0
    [    0.188484]  XXXX [1] Musb Probing
    [    0.188514]  XXXX [1] Init controller musb-hdrc.1
    [    0.188562]  XXXX (1) Plat mode 1 minpw 0 setpw   (null) ops c060c1b0 musb cf914100
    [    0.188887]  XXXX (1) Set mode 1
    [    0.189200]  XXXX (1) Setting DEVCTL to 0x00 (ti81xx_musb_disable)
    [    0.189213]  XXXX (1) Setting DEVCTL to 0x00 (musb_generic_disable)
    [    0.189300]  XXXX (1) Request int 19 cf914100 c02ac298 musb-hdrc.1
    [    0.190633]  XXXX (1) Calling musb_start (musb_hub_control)
    [    0.190648]  XXXX (1) DEVCTL (d081ec00) is 0x88 (musb_start)
    [    0.190675]  XXXX (1) Setting DEVCTL to 0x89 (musb_start)
    [    0.192312]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [    0.192327]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    [    1.245614]  XXXX (1) ISR usbintr (00000100) epintr(00000000)
    [    1.245627]  XXXX (1) ISR DRVVBUS 0
    [    1.245635]  XXXX (1) ISR DRVVBUS case 2
    [    1.245647]  XXXX (1) VBUS on (a_wait_vrise), devctl 19
    [    2.192270]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [    2.197909]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    [    4.192264]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [    4.197896]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    .....

    And these on our custom board:

    [    0.191494]  XXXX [0] Musb Probing
    [    0.191687]  XXXX [0] Init controller musb-hdrc.0
    [    0.191758]  XXXX (0) Plat mode 3 minpw 0 setpw   (null) ops c0608e30 musb cf900100
    [    0.192183]  XXXX (0) Set mode 3
    [    0.192570]  XXXX (0) Setting DEVCTL to 0x00 (ti81xx_musb_disable)
    [    0.192590]  XXXX (0) Setting DEVCTL to 0x00 (musb_generic_disable)
    [    0.192722]  XXXX (0) Request int 18 cf900100 c02ab3d8 musb-hdrc.0
    [    0.193494]  XXXX [1] Musb Probing
    [    0.193533]  XXXX [1] Init controller musb-hdrc.1
    [    0.193595]  XXXX (1) Plat mode 1 minpw 0 setpw   (null) ops c0608e30 musb cf904100
    [    0.194019]  XXXX (1) Set mode 1
    [    0.194396]  XXXX (1) Setting DEVCTL to 0x00 (ti81xx_musb_disable)
    [    0.194414]  XXXX (1) Setting DEVCTL to 0x00 (musb_generic_disable)
    [    0.194536]  XXXX (1) Request int 19 cf904100 c02ab3d8 musb-hdrc.1
    [    0.196291]  XXXX (1) Calling musb_start (musb_hub_control)
    [    0.196312]  XXXX (1) DEVCTL (d081ec00) is 0x80 (musb_start)
    [    0.196330]  XXXX (1) Setting DEVCTL to 0x81 (musb_start)
    [    0.200989]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [    0.201015]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    [    2.200939]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [    2.206642]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    [    2.351509]  XXXX (1) ISR usbintr (00000001) epintr(00000000)
    [    2.357574]  XXXX (1) Power=e0 DevCtl=91 int_usb=0x1
    [    2.362809]  XXXX (1) SUSPEND state a_idle (musb_stage0_irq)
    [    4.200931]  XXXX (0) OTG timer devctl 0x91 (b_idle) (otg_timer)
    [    4.206629]  XXXX (0) OTG timer set DEVCTL to 0x91 (otg_timer)
    .....

    Both are taken with no device connected on USB ports, nor on USB0 neither on USB1. When musb_start is called for port (1) , the DEVCTL has the BDEVICE bit high on both boards, even if port has been configured in host mode; the main difference is the VBUS bits that are 0x2 on EVM and 0x0 on our board. Then a different interrupt occurs: on EVM a 0x100 interrupt, which moves state to a_wait_vrise and DEVCTL to 0x19. While on our board a 0x01 interrupt occurs, with DEVCTL changed to 0x91, on port (1) but also on port (0)!

    When I plug a device on USB1 host port on our board, DEVCTL on port (0) move to 0x80 and no iterrupt arises:

    [   74.200912]  XXXX (0) OTG timer devctl 0x91 (b_idle) (otg_timer)
    [   74.206685]  XXXX (0) OTG timer set DEVCTL to 0x91 (otg_timer)
    [   76.200932]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [   76.206632]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)

    And when I un-plug it:

    [   32.200917]  XXXX (0) OTG timer devctl 0x80 (b_idle) (otg_timer)
    [   32.206618]  XXXX (0) OTG timer set DEVCTL to 0x81 (otg_timer)
    [   32.352230]  XXXX (1) ISR usbintr (00000001) epintr(00000000)
    [   32.358291]  XXXX (1) Power=e0 DevCtl=91 int_usb=0x1
    [   32.363528]  XXXX (1) SUSPEND state a_idle (musb_stage0_irq)
    [   34.200903]  XXXX (0) OTG timer devctl 0x91 (b_idle) (otg_timer)
    [   34.206595]  XXXX (0) OTG timer set DEVCTL to 0x91 (otg_timer)

    On the other hand, USB0 (perpheral port) is working fine if nothing is connected on USB1.

    Regards,

    Max





  • Max,

    In TI PSP driver we have disabled the SW controlled IP pin logic for AM335x but as you need to use it for your custom board so you should change the same. USB1_DRVBUS will be driver when SESSION is set and controller detects the ID pin to be grounded (either through connector if MODE.D7 =0  OR through MODE.D8 = 0 when MODE.D7=1)

    I think you should definitely not connect USB0_VBUS and USB1_VBUS as mentor controller senses VBUS using these input pins and decides on USBx_DRVVBUS.

    Port1 DEVCTL becoming 0x91 seems to be due to VBUS always ON in yur board and thus controller think it to be in device mode connected to external host. This was exact same issue in other e2e thread.

    Ajay

  • Hi, Ajay,

        I have some problem with usb. Could you help me?  It is the USB1 port working on our custom board based on AM335x. When I run a Qt applition, the USB will not work immediately and get this information:

        reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:3

     

    I doubt that the usb mode has been changed,so I've done the work below.

    Before run a Qt application.

    root@am335x-evm:~# cat /proc/driver/musb_hdrc.1

    Status: MHDRC, Mode=Host (Power=f0, DevCtl=5d)

     OTG state: a_host; active

    Options: pio, otg (peripheral+host), [eps=16]

    Peripheral address: 00 Root port status: 00000503

    After run a Qt application.

    root@am335x-evm:~# cat /proc/driver/musb_hdrc.1

    Status: MHDRC, Mode=Host (Power=f0, DevCtl=99)

     OTG state: a_host; active

    Options: pio, otg (peripheral+host), [eps=16]

    Peripheral address: 00 Root port status: 00000503

    Why this happen? What shoud I do to let the USB1 keep with HOST mode ?

     

  • What USB device is connected to USB1 host port? What does the Qt app do to the USB device?

    Does the issue happen every time run the Qt app?

    Before start the Qt app, please do 'dmesg -c', then start the Qt app, then does 'dmesg' command give any new kernel message?

    Do you use USBx_MODE register or grounding ID pin to put USB1 in host mode?

    By the way, I think it is better to start a new thread post whenever you have a new query. You can add URL reference in your post if you think other posts are relevant. Thanks.

  • Hi, Bin Liu

        Thank you for reply.

        On our board, there is a usb hub connected to USB1 host port, and I've programmed the USB1_MODE Register IDDIG bit field with a value of '0' value. As for usb hub, there are 3G, wifi and usb to SATA module connected to it.

        The Qt app have nothing to do with USB1, it just a video surveillance app.If I don't run the application, everyting is normal. Once I run it, as I mentioned before, the USB1 mode switched from host to device and make the modules which connected to hub not work.

         Here is the demsg info.

    2781.demsg info.txt
    root@am335x-evm:~# dmesg -c
    [    0.000000] Linux version 3.2.0 (eric@ubuntu) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #199 Tue Apr 23 16:33:26 CST 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] On node 0 totalpages: 65536
    [    0.000000] free_area_init_node: node 0, pgdat c069a5d4, node_mem_map c06d2000
    [    0.000000]   Normal zone: 512 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 65024 pages, LIFO batch:15
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 252872k/252872k available, 9272k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0602000   (6120 kB)
    [    0.000000]       .init : 0xc0602000 - 0xc0643000   ( 260 kB)
    [    0.000000]       .data : 0xc0644000 - 0xc06a30f8   ( 381 kB)
    [    0.000000]        .bss : 0xc06a311c - 0xc06d1fe4   ( 188 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.058959] pid_max: default: 32768 minimum: 301
    [    0.059082] Security Framework initialized
    [    0.059173] Mount-cache hash table entries: 512
    [    0.059539] CPU: Testing write buffer coherency: ok
    [    0.079559] omap_hwmod: gfx: failed to hardreset
    [    0.095855] omap_hwmod: pruss: failed to hardreset
    [    0.096923] print_constraints: dummy: 
    [    0.097290] NET: Registered protocol family 16
    [    0.099456] OMAP GPIO hardware version 0.1
    [    0.102081] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.104217]  omap_i2c.1: alias fck already exists
    [    0.104583] _omap_mux_get_by_name: Could not find signal gpmc_ad8.lcd_data23
    [    0.104614] _omap_mux_get_by_name: Could not find signal gpmc_ad9.lcd_data22
    [    0.104644] _omap_mux_get_by_name: Could not find signal gpmc_ad10.lcd_data21
    [    0.104644] _omap_mux_get_by_name: Could not find signal gpmc_ad11.lcd_data20
    [    0.104675] _omap_mux_get_by_name: Could not find signal gpmc_ad12.lcd_data19
    [    0.104705] _omap_mux_get_by_name: Could not find signal gpmc_ad13.lcd_data18
    [    0.104736] _omap_mux_get_by_name: Could not find signal gpmc_ad14.lcd_data17
    [    0.104736] _omap_mux_get_by_name: Could not find signal gpmc_ad15.lcd_data16
    [    0.104888]  da8xx_lcdc.0: alias fck already exists
    [    0.105438] register g_hid keyboard device.
    [    0.105621] register g_hid keyboard device OK.
    [    0.105651] register g_hid mouse device.
    [    0.105804] register g_hid mouse device OK.
    [    0.107269]  omap_hsmmc.0: alias fck already exists
    [    0.107543]  davinci-mcasp.0: alias fck already exists
    [    3.101043] Configure 3g_weakup Enable pin...
    [    3.101043] Configure 3g_power Enable pin...
    [    4.098815] _omap_mux_get_by_name: Could not find signal gpmc_ben1_mux0.gpio1_28
    [    4.099182]  omap2_mcspi.1: alias fck already exists
    [    4.099426]  omap2_mcspi.2: alias fck already exists
    [    4.099670]  edma.0: alias fck already exists
    [    4.099700]  edma.0: alias fck already exists
    [    4.099731]  edma.0: alias fck already exists
    [    4.130065] bio: create slab <bio-0> at 0
    [    4.132415] SCSI subsystem initialized
    [    4.132812] libata version 3.00 loaded.
    [    4.134460] usbcore: registered new interface driver usbfs
    [    4.134796] usbcore: registered new interface driver hub
    [    4.134979] usbcore: registered new device driver usb
    [    4.135437] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    4.135711] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    4.148773] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    4.149871] tps65910 1-002d: JTAGREVNUM 0x0
    [    4.152282] print_constraints: VRTC: 
    [    4.153717] print_constraints: VIO: at 1800 mV 
    [    4.156036] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal 
    [    4.158325] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal 
    [    4.159362] print_constraints: VDD3: 5000 mV 
    [    4.160766] print_constraints: VDIG1: at 1800 mV 
    [    4.162200] print_constraints: VDIG2: at 1800 mV 
    [    4.163604] print_constraints: VPLL: at 1800 mV 
    [    4.165039] print_constraints: VDAC: at 1800 mV 
    [    4.166442] print_constraints: VAUX1: at 1800 mV 
    [    4.167907] print_constraints: VAUX2: at 3300 mV 
    [    4.169342] print_constraints: VAUX33: at 3300 mV 
    [    4.170776] print_constraints: VMMC: at 3300 mV 
    [    4.171264] tps65910 1-002d: No interrupt support, no core IRQ
    [    4.172637] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    4.173797] Switching to clocksource gp timer
    [    4.189666] usbcore: registered new interface driver huawei_ether
    [    4.189697] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    4.189849] musb-hdrc musb-hdrc.0: dma type: pio
    [    4.190185] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    4.190185] musb-hdrc: MHDRC RTL version 2.0 
    [    4.190216] musb-hdrc: setup fifo_mode 4
    [    4.190246] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    4.190704] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
    [    4.190887] musb-hdrc musb-hdrc.1: dma type: pio
    [    4.191192] musb-hdrc musb-hdrc.1: host: value of mode reg=80 regval(80)
    [    4.191223] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [    4.191253] musb-hdrc: MHDRC RTL version 2.0 
    [    4.191253] musb-hdrc: setup fifo_mode 4
    [    4.191284] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [    4.191314] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    4.191375] drivers/usb/core/inode.c: creating file 'devices'
    [    4.191406] drivers/usb/core/inode.c: creating file '001'
    [    4.191406] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    4.191528] usb usb1: default language 0x0409
    [    4.191558] usb usb1: udev 1, busnum 1, minor = 0
    [    4.191558] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    4.191589] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.191589] usb usb1: Product: MUSB HDRC host driver
    [    4.191619] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    4.191619] usb usb1: SerialNumber: musb-hdrc.1
    [    4.192108] usb usb1: usb_probe_device
    [    4.192108] usb usb1: configuration #1 chosen from 1 choice
    [    4.192169] usb usb1: adding 1-0:1.0 (config #1, interface 0)
    [    4.192443] hub 1-0:1.0: usb_probe_interface
    [    4.192474] hub 1-0:1.0: usb_probe_interface - got id
    [    4.192474] hub 1-0:1.0: USB hub found
    [    4.192504] hub 1-0:1.0: 1 port detected
    [    4.192504] hub 1-0:1.0: standalone hub
    [    4.192535] hub 1-0:1.0: individual port power switching
    [    4.192535] hub 1-0:1.0: no over-current protection
    [    4.192535] hub 1-0:1.0: Single TT
    [    4.192565] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
    [    4.192565] hub 1-0:1.0: power on to power good time: 10ms
    [    4.192596] hub 1-0:1.0: local power source is good
    [    4.192596] hub 1-0:1.0: enabling power on all ports
    [    4.192962] drivers/usb/core/inode.c: creating file '001'
    [    4.193145] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
    [    4.193572] NET: Registered protocol family 2
    [    4.193786] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    4.194183] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    4.194335] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    4.194427] TCP: Hash tables configured (established 8192 bind 8192)
    [    4.194427] TCP reno registered
    [    4.194458] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    4.194488] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    4.194641] NET: Registered protocol family 1
    [    4.194915] RPC: Registered named UNIX socket transport module.
    [    4.194946] RPC: Registered udp transport module.
    [    4.194946] RPC: Registered tcp transport module.
    [    4.194946] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    4.195190] NetWinder Floating Point Emulator V0.97 (double precision)
    [    4.195434] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    4.195434] Registering NAND on CS0
    [    4.207824] VFS: Disk quotas dquot_6.5.2
    [    4.207885] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    4.208435] msgmni has been set to 493
    [    4.209228] io scheduler noop registered
    [    4.209259] io scheduler deadline registered
    [    4.209320] io scheduler cfq registered (default)
    [    4.210632] Could not set LED4 to fully on
    [    4.211822] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    4.229003] Console: switching to colour frame buffer device 100x30
    [    4.240234] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    4.242004] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    5.017486] console [ttyO0] enabled
    [    5.021392] hub 1-0:1.0: port 1: status 0101 change 0001
    [    5.021820] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    5.029693] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    5.037506] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    5.045440] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    5.053253] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    5.070617] brd: module loaded
    [    5.078674] loop: module loaded
    [    5.082153] i2c-core: driver [tsl2550] using legacy suspend method
    [    5.088623] i2c-core: driver [tsl2550] using legacy resume method
    [    5.097167] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    5.104431] omap2-nand driver initializing
    [    5.109100] ONFI flash detected
    [    5.112487] ONFI param page 0 valid
    [    5.116149] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    5.124572] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
    [    5.124633] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
    [    5.124908] Creating 8 MTD partitions on "omap2-nand.0":
    [    5.130462] 0x000000000000-0x000000020000 : "SPL"
    [    5.136871] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    5.143829] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    5.150756] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    5.157623] 0x000000080000-0x000000260000 : "U-Boot"
    [    5.164855] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    5.171691] 0x000000280000-0x000000780000 : "Kernel"
    [    5.180175] 0x000000780000-0x000010000000 : "File System"
    [    5.290466] OneNAND driver initializing
    [    5.295959] CAN device driver interface
    [    5.299957] CAN bus driver for Bosch D_CAN controller 1.0
    [    5.344573] usb 1-1: new high-speed USB device number 2 using musb-hdrc
    [    5.354492] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    5.360961] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    5.368164] davinci_mdio.0: probed
    [    5.371734] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    5.379272] PPP generic driver version 2.4.2
    [    5.384094] PPP BSD Compression module registered
    [    5.389007] PPP Deflate Compression module registered
    [    5.394714] PPP MPPE Compression module registered
    [    5.399719] NET: Registered protocol family 24
    [    5.404388] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
    [    5.411773] CSLIP: code copyright 1989 Regents of the University of California.
    [    5.419769] usbcore: registered new interface driver zd1201
    [    5.425842] usbcore: registered new interface driver cdc_ether
    [    5.432098] usbcore: registered new interface driver cdc_eem
    [    5.438171] usbcore: registered new interface driver dm9601
    [    5.444030] cdc_ncm: 04-Aug-2011
    [    5.447570] usbcore: registered new interface driver cdc_ncm
    [    5.453613] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.460449] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
    [    5.460693] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    5.467163] ohci_hcd: block sizes: ed 64 td 64
    [    5.467651] usbcore: registered new interface driver cdc_acm
    [    5.473541] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    5.481903] Initializing USB Mass Storage driver...
    [    5.487457] usbcore: registered new interface driver usb-storage
    [    5.493713] USB Mass Storage support registered.
    [    5.498962] usbcore: registered new interface driver usbserial
    [    5.505401] usb 1-1: udev 2, busnum 1, minor = 1
    [    5.505401] usb 1-1: New USB device found, idVendor=0409, idProduct=005a
    [    5.512390] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    5.520202] USB Serial support registered for generic
    [    5.525634] usb 1-1: usb_probe_device
    [    5.525634] usb 1-1: configuration #1 chosen from 1 choice
    [    5.525817] usb 1-1: adding 1-1:1.0 (config #1, interface 0)
    [    5.526123] hub 1-1:1.0: usb_probe_interface
    [    5.526153] hub 1-1:1.0: usb_probe_interface - got id
    [    5.526153] hub 1-1:1.0: USB hub found
    [    5.530120] hub 1-1:1.0: 4 ports detected
    [    5.534301] hub 1-1:1.0: standalone hub
    [    5.534332] hub 1-1:1.0: ganged power switching
    [    5.534332] hub 1-1:1.0: global over-current protection
    [    5.534332] hub 1-1:1.0: Single TT
    [    5.534362] hub 1-1:1.0: TT requires at most 16 FS bit times (1332 ns)
    [    5.534362] hub 1-1:1.0: Port indicators are supported
    [    5.534362] hub 1-1:1.0: power on to power good time: 0ms
    [    5.534484] hub 1-1:1.0: local power source is good
    [    5.534515] hub 1-1:1.0: no over-current condition exists
    [    5.534515] hub 1-1:1.0: enabling power on all ports
    [    5.535095] drivers/usb/core/inode.c: creating file '002'
    [    5.535217] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
    [    5.535247] hub 1-0:1.0: port 1 enable change, status 00000503
    [    5.535491] usbcore: registered new interface driver usbserial_generic
    [    5.542297] usbserial: USB Serial Driver core
    [    5.547027] USB Serial support registered for IPWireless converter
    [    5.553619] usbcore: registered new interface driver ipwtty
    [    5.559448] ipw: v0.4:IPWireless tty driver
    [    5.563934] USB Serial support registered for GSM modem (1-port)
    [    5.570526] usbcore: registered new interface driver option
    [    5.576354] option: v0.7.2:USB Driver for GSM modems
    [    5.581695] USB Serial support registered for pl2303
    [    5.587066] usbcore: registered new interface driver pl2303
    [    5.592864] pl2303: Prolific PL2303 USB to serial adaptor driver
    [    5.599578] mousedev: PS/2 mouse device common for all mice
    [    5.606536] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
    [    5.614807] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    5.621612] i2c /dev entries driver
    [    5.625701] Linux video capture interface: v2.00
    [    5.630859] usbcore: registered new interface driver uvcvideo
    [    5.636871] USB Video Class driver (1.1.1)
    [    5.641601] hub 1-1:1.0: port 3: status 0101 change 0001
    [    5.641815] hub 1-1:1.0: port 4: status 0101 change 0001
    [    5.643402] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.651977] cpuidle: using governor ladder
    [    5.656768] cpuidle: using governor menu
    [    5.665313] usbcore: registered new interface driver usbhid
    [    5.671142] usbhid: USB HID core driver
    [    5.676055] usbcore: registered new interface driver snd-usb-audio
    [    5.683929] machine_is_am335xevm()=1
    [    5.688140] _regulator_get: 1-001b supply IOVDD not found, using dummy regulator
    [    5.695953] _regulator_get: 1-001b supply DVDD not found, using dummy regulator
    [    5.703613] _regulator_get: 1-001b supply AVDD not found, using dummy regulator
    [    5.711273] _regulator_get: 1-001b supply DRVDD not found, using dummy regulator
    [    5.721862] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    [    5.732604] ALSA device list:
    [    5.735748]   #0: AM335X MB
    [    5.738647] oprofile: hardware counters not available
    [    5.743896] oprofile: using timer interrupt.
    [    5.748382] nf_conntrack version 0.5.0 (3951 buckets, 15804 max)
    [    5.755187] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    5.760833] TCP cubic registered
    [    5.764221] NET: Registered protocol family 17
    [    5.768890] can: controller area network core (rev 20090105 abi 8)
    [    5.775421] NET: Registered protocol family 29
    [    5.780059] can: raw protocol (rev 20090105)
    [    5.784515] can: broadcast manager protocol (rev 20090105 t)
    [    5.790466] Registering the dns_resolver key type
    [    5.795471] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    5.803466] ThumbEE CPU extension supported.
    [    5.807983] mux: Failed to setup hwmod io irq -22
    [    5.813537] Power Management for AM33XX family
    [    5.818420] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    5.825073] Copied the M3 firmware to UMEM
    [    5.829345] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
    [    5.838562] hub 1-1:1.0: state 7 ports 4 chg 0018 evt 0000
    [    5.839019] hub 1-1:1.0: port 3, status 0101, change 0000, 12 Mb/s
    [    5.847167] clock: disabling unused clocks to save power
    [    5.855133] hub 1-1:1.0: port 3 not reset yet, waiting 10ms
    [    5.855407] Detected MACID=0:18:31:93:89:b
    [    5.864257] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    5.873504] Waiting for root device /dev/mmcblk0p2...
    [    5.906311] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    5.917419] mmc0: new high speed SD card at address 1234
    [    5.923645] mmcblk0: mmc0:1234 SA02G 1.83 GiB 
    [    5.931701]  mmcblk0: p1 p2
    [    5.935058] usb 1-1.3: new high-speed USB device number 3 using musb-hdrc
    [    5.954620] hub 1-1:1.0: port 3 not reset yet, waiting 10ms
    [    5.990661] kjournald starting.  Commit interval 5 seconds
    [    5.996459] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    6.055114] usb 1-1.3: skipped 1 descriptor after endpoint
    [    6.055114] usb 1-1.3: skipped 1 descriptor after endpoint
    [    6.055145] usb 1-1.3: skipped 1 descriptor after endpoint
    [    6.055145] usb 1-1.3: skipped 1 descriptor after endpoint
    [    6.055175] usb 1-1.3: skipped 1 descriptor after interface
    [    6.055267] usb 1-1.3: default language 0x0409
    [    6.055511] usb 1-1.3: udev 3, busnum 1, minor = 2
    [    6.055541] usb 1-1.3: New USB device found, idVendor=0451, idProduct=9261
    [    6.062713] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    6.070343] usb 1-1.3: Product: TUSB9261 Firmware v1
    [    6.075531] usb 1-1.3: Manufacturer: Texas Instruments
    [    6.080871] usb 1-1.3: SerialNumber: 2592157D2013041217FB9B5077FC98EFB
    [    6.088256] usb 1-1.3: usb_probe_device
    [    6.088287] usb 1-1.3: configuration #1 chosen from 1 choice
    [    6.088562] usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
    [    6.088958] usb-storage 1-1.3:1.0: usb_probe_interface
    [    6.088989] usb-storage 1-1.3:1.0: usb_probe_interface - got id
    [    6.089141] scsi0 : usb-storage 1-1.3:1.0
    [    6.094299] usb 1-1.3: adding 1-1.3:1.1 (config #1, interface 1)
    [    6.094696] usbserial_generic 1-1.3:1.1: usb_probe_interface
    [    6.094726] usbserial_generic 1-1.3:1.1: usb_probe_interface - got id
    [    6.094879] usbhid 1-1.3:1.1: usb_probe_interface
    [    6.094879] usbhid 1-1.3:1.1: usb_probe_interface - got id
    [    6.096862] usbhid 1-1.3:1.1: looking for a minor, starting at 96
    [    6.097412] generic-usb 0003:0451:9261.0001: hiddev0,hidraw0: USB HID v1.10 Device [Texas Instruments TUSB9261 Firmware v1] on usb-musb-hdrc.1-1.3/input1
    [    6.112243] drivers/usb/core/inode.c: creating file '003'
    [    6.112487] hub 1-1:1.0: port 4, status 0101, change 0000, 12 Mb/s
    [    6.124725] hub 1-1:1.0: port 4 not reset yet, waiting 10ms
    [    6.204711] usb 1-1.4: new high-speed USB device number 4 using musb-hdrc
    [    6.224731] hub 1-1:1.0: port 4 not reset yet, waiting 10ms
    [    6.325469] usb 1-1.4: default language 0x0409
    [    6.325988] usb 1-1.4: udev 4, busnum 1, minor = 3
    [    6.326019] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8176
    [    6.333190] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    6.340820] usb 1-1.4: Product: 802.11n WLAN Adapter
    [    6.346008] usb 1-1.4: Manufacturer: Realtek
    [    6.350433] usb 1-1.4: SerialNumber: 00e04c000001
    [    6.355834] usb 1-1.4: usb_probe_device
    [    6.355865] usb 1-1.4: configuration #1 chosen from 1 choice
    [    6.355987] usb 1-1.4: adding 1-1.4:1.0 (config #1, interface 0)
    [    6.356353] usbserial_generic 1-1.4:1.0: usb_probe_interface
    [    6.356384] usbserial_generic 1-1.4:1.0: usb_probe_interface - got id
    [    6.357208] drivers/usb/core/inode.c: creating file '004'
    [    6.411346] EXT3-fs (mmcblk0p2): using internal journal
    [    6.416839] EXT3-fs (mmcblk0p2): recovery complete
    [    6.421844] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    6.429077] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    6.435760] Freeing init memory: 260K
    [    7.078491] udevd (794): /proc/794/oom_adj is deprecated, please use /proc/794/oom_score_adj instead.
    [    7.095855] scsi 0:0:0:0: Direct-Access     ATA      WDC WD5000LPVT-8 1A01 PQ: 0 ANSI: 6
    [    7.114288] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    [    7.137756] sd 0:0:0:0: [sda] Write Protect is off
    [    7.142791] sd 0:0:0:0: [sda] Mode Sense: 17 00 00 00
    [    7.146362] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [    7.374786] hub 1-1:1.0: state 7 ports 4 chg 0000 evt 0004
    [    7.374938] hub 1-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
    [    7.521606]  sda: unknown partition table
    [    7.535369] hub 1-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
    [    7.574462] sd 0:0:0:0: [sda] Attached SCSI disk
    [    7.664001] usb 1-1.2: new full-speed USB device number 5 using musb-hdrc
    [    7.877563] usb 1-1.2: skipped 6 descriptors after interface
    [    7.877593] usb 1-1.2: skipped 5 descriptors after interface
    [    7.877593] usb 1-1.2: skipped 5 descriptors after interface
    [    7.878021] usb 1-1.2: default language 0x0409
    [    7.878906] usb 1-1.2: udev 5, busnum 1, minor = 4
    [    7.878936] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1001
    [    7.886169] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    7.893798] usb 1-1.2: Product: HUAWEI Mobile 
    [    7.898437] usb 1-1.2: Manufacturer: HUAWEI Technology
    [    7.904205] usb 1-1.2: usb_probe_device
    [    7.904235] usb 1-1.2: configuration #1 chosen from 1 choice
    [    8.013916] usb 1-1.2: adding 1-1.2:1.0 (config #1, interface 0)
    [    8.014282] usb-storage 1-1.2:1.0: usb_probe_interface
    [    8.014312] usb-storage 1-1.2:1.0: usb_probe_interface - got id
    [    8.029571] usbserial_generic 1-1.2:1.0: usb_probe_interface
    [    8.029602] usbserial_generic 1-1.2:1.0: usb_probe_interface - got id
    [    8.029663] option 1-1.2:1.0: usb_probe_interface
    [    8.029663] option 1-1.2:1.0: usb_probe_interface - got id
    [    8.029693] option 1-1.2:1.0: GSM modem (1-port) converter detected
    [    8.036834] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
    [    8.044433] usb 1-1.2: adding 1-1.2:1.1 (config #1, interface 1)
    [    8.044677] usb-storage 1-1.2:1.1: usb_probe_interface
    [    8.044708] usb-storage 1-1.2:1.1: usb_probe_interface - got id
    [    8.140167] usbserial_generic 1-1.2:1.1: usb_probe_interface
    [    8.140197] usbserial_generic 1-1.2:1.1: usb_probe_interface - got id
    [    8.140228] option 1-1.2:1.1: usb_probe_interface
    [    8.140258] option 1-1.2:1.1: usb_probe_interface - got id
    [    8.140289] option 1-1.2:1.1: GSM modem (1-port) converter detected
    [    8.147369] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
    [    8.154846] usb 1-1.2: adding 1-1.2:1.2 (config #1, interface 2)
    [    8.155059] usb-storage 1-1.2:1.2: usb_probe_interface
    [    8.155120] usb-storage 1-1.2:1.2: usb_probe_interface - got id
    [    8.281158] usbserial_generic 1-1.2:1.2: usb_probe_interface
    [    8.281188] usbserial_generic 1-1.2:1.2: usb_probe_interface - got id
    [    8.281219] option 1-1.2:1.2: usb_probe_interface
    [    8.281250] option 1-1.2:1.2: usb_probe_interface - got id
    [    8.281280] option 1-1.2:1.2: GSM modem (1-port) converter detected
    [    8.288299] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
    [    8.295928] drivers/usb/core/inode.c: creating file '005'
    [   11.838897] FAT-fs (sda): bogus number of reserved sectors
    [   11.844665] FAT-fs (sda): Can't find a valid FAT filesystem
    [   12.066650] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
    [   16.151245] 
    [   16.151275] CPSW phy found : id is : 0x4dd074
    [   16.158203] PHY 0:01 not found
    [   26.824249] Disabling lock debugging due to kernel taint
    [   26.865966] rtw driver version=v3.4.4_4749.20121105 
    [   26.871154] Build at: Apr 10 2013 15:37:06
    [   26.875549] rtl8192cu 1-1.4:1.0: usb_probe_interface
    [   26.875579] rtl8192cu 1-1.4:1.0: usb_probe_interface - got id
    [   26.875701] register rtw_netdev_ops to netdev_ops
    [   26.880615] CHIP TYPE: RTL8188C_8192C
    [   26.884460] 
    [   26.884460] usb_endpoint_descriptor(0):
    [   26.890014] bLength=7
    [   26.892364] bDescriptorType=5
    [   26.895477] bEndpointAddress=81
    [   26.898742] wMaxPacketSize=200
    [   26.901916] bInterval=0
    [   26.904449] RT_usb_endpoint_is_bulk_in = 1
    [   26.908721] 
    [   26.908752] usb_endpoint_descriptor(1):
    [   26.914276] bLength=7
    [   26.916656] bDescriptorType=5
    [   26.919738] bEndpointAddress=2
    [   26.922912] wMaxPacketSize=200
    [   26.926116] bInterval=0
    [   26.928649] RT_usb_endpoint_is_bulk_out = 2
    [   26.933013] 
    [   26.933013] usb_endpoint_descriptor(2):
    [   26.938568] bLength=7
    [   26.940917] bDescriptorType=5
    [   26.944000] bEndpointAddress=3
    [   26.947204] wMaxPacketSize=200
    [   26.950378] bInterval=0
    [   26.952911] RT_usb_endpoint_is_bulk_out = 3
    [   26.957275] 
    [   26.957275] usb_endpoint_descriptor(3):
    [   26.962799] bLength=7
    [   26.965179] bDescriptorType=5
    [   26.968261] bEndpointAddress=84
    [   26.971527] wMaxPacketSize=40
    [   26.974639] bInterval=1
    [   26.977172] RT_usb_endpoint_is_int_in = 4, Interval = 1
    [   26.982604] nr_endpoint=4, in_num=2, out_num=2
    [   26.982635] 
    [   26.988800] USB_SPEED_HIGH
    [   26.991851] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C.
    [   26.997589] RF_Type is 3!!
    [   27.000579] EEPROM type is E-FUSE
    [   27.004028] ====> ReadAdapterInfo8192C
    [   27.013275] Boot from EFUSE, Autoload OK !
    [   27.077636] EEPROMVID = 0x0bda
    [   27.080841] EEPROMPID = 0x8176
    [   27.084014] EEPROMCustomerID : 0x00
    [   27.087646] EEPROMSubCustomerID: 0x00
    [   27.091461] RT_CustomerID: 0x00
    [   27.094726] _ReadMACAddress MAC Address from EFUSE = 00:13:ef:c0:08:41
    [   27.101562] EEPROMRegulatory = 0x0
    [   27.105102] _ReadBoardType(0)
    [   27.108184] BT Coexistance = disable
    [   27.111907] RT_ChannelPlan: 0x02
    [   27.115295] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0)
    [   27.123718] ### PS params=>  power_mgnt(0),usbss_enable(0) ###
    [   27.129821] ### AntDivCfg(0)
    [   27.132812] readAdapterInfo_8192CU(): REPLACEMENT = 1
    [   27.138092] <==== ReadAdapterInfo8192C in 140 ms
    [   27.143920] rtw_macaddr_cfg MAC Address  = 00:13:ef:c0:08:41
    [   27.149841] MAC Address from pnetdev->dev_addr= 00:13:ef:c0:08:41
    [   27.156829] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0
    [   27.164367] usbcore: registered new interface driver rtl8192cu
    [   27.184539] +871x_drv - drv_open, bup=0
    [   27.206878]  ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
    [   27.213439] FirmwareDownload92C accquire FW from embedded image
    [   27.219635] fw_ver=v80, fw_subver=0, sig=0x88c0
    [   27.271240] fw download ok!
    [   27.274169] Set RF Chip ID to RF_6052 and RF type to 1T1R.
    [   27.588928] IQK:Start!!!
    [   27.596801] Path A IQK Success!!
    [   27.604187] Path A IQK Success!!
    [   27.609802] IQK: final_candidate is 0
    [   27.613616] IQK: RegE94=102 RegE9C=f RegEA4=fe RegEAC=2 RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
    [   27.613616]  Path A IQ Calibration Success !
    [   27.737396] pdmpriv->TxPowerTrackControl = 1
    [   27.743591] MAC Address from REG_MACID = 00:13:ef:c0:08:41
    [   27.749328] rtl8192cu_hal_init in 560ms
    [   27.753326] MAC Address = 00:13:ef:c0:08:41
    [   27.760131] -871x_drv - drv_open, bup=1
    [   27.963714] FAT-fs (mmcblk0p1): error, clusters badly computed (247 != 235)
    [   27.971038] FAT-fs (mmcblk0p1): Filesystem has been set read-only
    [   28.105285] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
    [   28.110015] set_mode = IW_MODE_INFRA
    [   28.124298] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
    [   28.229858] IW_SCAN_THIS_ESSID, ssid=neofire, len=7
    [   29.538330] survey done event(b)
    [   29.542663] FAT-fs (mmcblk0p1): error, clusters badly computed (248 != 236)
    [   29.551239] wpa_set_auth_algs, AUTH_ALG_OPEN_SYSTEM
    [   29.556365] set_mode = IW_MODE_INFRA
    [   29.560302] 
    [   29.560333]  wpa_ie(length:22):
    [   29.565124] 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x04 
    [   29.570343] 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00 
    [   29.575500] 0x00 0x0f 0xac 0x02 0x00 0x00 0x43 0xe2 
    [   29.580871] =>rtw_wx_set_essid
    [   29.584045] ssid=neofire, len=7
    [   29.587341] Set SSID under fw_state=0x00000008
    [   29.591979] [by_bssid:0][assoc_ssid:neofire][to_roaming:0] new candidate: neofire(e2:18:85:56:87:34) rssi:-85
    [   29.602325] rtw_select_and_join_from_scanned_queue: candidate: neofire(e2:18:85:56:87:34)
    [   29.610900] rtw_restructure_ht_ie IEEE80211_HT_CAP_MAX_AMSDU is set
    [   29.617431] link to Artheros AP
    [   29.620727] <=rtw_wx_set_essid, ret 0
    [   29.624725] Set BSSID under fw_state=0x00000088
    [   29.677581] link to Artheros AP
    [   29.680877] issue_deauth to e2:18:85:56:87:34
    [   29.698059] OnAuthClient
    [   29.700714] network.SupportedRates[0]=82
    [   29.704803] network.SupportedRates[1]=84
    [   29.708923] network.SupportedRates[2]=8B
    [   29.712982] network.SupportedRates[3]=96
    [   29.717071] network.SupportedRates[4]=0C
    [   29.721160] network.SupportedRates[5]=12
    [   29.725250] network.SupportedRates[6]=18
    [   29.729339] network.SupportedRates[7]=24
    [   29.733489] network.SupportedRates[8]=30
    [   29.737579] network.SupportedRates[9]=48
    [   29.741668] network.SupportedRates[10]=60
    [   29.745849] network.SupportedRates[11]=6C
    [   29.750000] bssrate_len = 12
    [   30.045776] link_timer_hdl: assoc timeout and try again
    [   30.051300] network.SupportedRates[0]=82
    [   30.055389] network.SupportedRates[1]=84
    [   30.059478] network.SupportedRates[2]=8B
    [   30.063568] network.SupportedRates[3]=96
    [   30.067657] network.SupportedRates[4]=0C
    [   30.071746] network.SupportedRates[5]=12
    [   30.075836] network.SupportedRates[6]=18
    [   30.079895] network.SupportedRates[7]=24
    [   30.083984] network.SupportedRates[8]=30
    [   30.088134] network.SupportedRates[9]=48
    [   30.092193] network.SupportedRates[10]=60
    [   30.096405] network.SupportedRates[11]=6C
    [   30.100555] bssrate_len = 12
    [   30.117004] OnAssocRsp
    [   30.119506] report_join_res(1)
    [   30.122680] rtw_joinbss_update_network
    [   30.126586] +rtw_update_ht_cap()
    [   30.129974] rtw_joinbss_update_stainfo
    [   30.134216] HW_VAR_BASIC_RATE: BrateCfg(0x15d)
    [   30.139343] FAT-fs (mmcblk0p1): error, clusters badly computed (249 != 237)
    [   30.147033] WMM(0): 0, a44c
    [   30.150024] WMM(1): 0, a49c
    [   30.157318] FAT-fs (mmcblk0p1): error, clusters badly computed (250 != 238)
    [   30.165649] WMM(2): 0, 5e4338
    [   30.169647] WMM(3): 0, 2f3238
    [   30.172729] HTOnAssocRsp
    [   30.177978] update raid entry, mask=0xfffff, arg=0x80
    [   30.183959] rtl8192c_set_FwJoinBssReport_cmd mstatus(1)
    [   30.189910] SetFwRsvdPagePkt
    [   30.192962] Set RSVD page location to Fw.
    [   30.197631] =>mlmeext_joinbss_event_callback
    [   30.273315] FAT-fs (mmcblk0p1): error, clusters badly computed (251 != 239)
    [   30.281677] 
    [   30.281677]  ~~~~stastakey:unicastkey
    [   30.287933] 
    [   30.287933]  ~~~~stastakey:groupkey
    [   30.293121] ==> rtw_set_key algorithm(4),keyid(2),key_mask(4)
    [   30.803405] OnAction_back
    [   30.806182] OnAction_back, action=0
    [   30.809814] issue_action_BA, category=3, action=1, status=0
    [   30.815704] OnAction_back
    [   30.818450] OnAction_back, action=0
    [   30.822082] issue_action_BA, category=3, action=1, status=0
    [   31.757446] rtl8192c_dm_RF_Saving(): RF_Normal
    [   38.474182] omaplfb: OMAPLFBInitFBDev: Device 0: Unknown FB format
    [   38.480743] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [   38.489288] pgd = cec18000
    [   38.492126] [00000000] *pgd=8edef831, *pte=00000000, *ppte=00000000
    [   38.498687] Internal error: Oops: 17 [#1]
    [   38.502838] Modules linked in: omaplfb(O+) pvrsrvkm(O) 8192cu(O)
    [   38.509124] CPU: 0    Tainted: G           O  (3.2.0 #199)
    [   38.514953] PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
    [   38.520629] LR is at PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm]
    [   38.527160] pc : [<bf0980b4>]    lr : [<bf09476c>]    psr: 40000013
    [   38.527160] sp : cec57df0  ip : cec57e00  fp : cec57dfc
    [   38.539123] r10: bf0c63b4  r9 : bf0c61a8  r8 : bf0c6000
    [   38.544555] r7 : 00000000  r6 : cfaec46c  r5 : cfaec404  r4 : 00000000
    [   38.551361] r3 : ce480c80  r2 : 00000001  r1 : ce480c88  r0 : 00000000
    [   38.558166] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [   38.565612] Control: 10c5387d  Table: 8ec18019  DAC: 00000015
    [   38.571594] Process modprobe (pid: 2242, stack limit = 0xcec562f0)
    [   38.578033] Stack: (0xcec57df0 to 0xcec58000)
    [   38.582580] 7de0:                                     cec57e24 cec57e00 bf09476c bf0980b4
    [   38.591094] 7e00: ce480c80 cfb20880 cfaec400 bf0c8098 bf0c6058 bf0c6014 cec57e84 cec57e28
    [   38.599639] 7e20: bf0c6d3c bf09467c 00000001 bf0c638c bf0c620c bf0c61f8 bf0c62b0 bf0c61e4
    [   38.608154] 7e40: bf0c61d0 bf0c61bc c01c79c0 cf850a00 bf0c7fac cfae36c0 00000000 c06a3140
    [   38.616668] 7e60: bf0c7f64 cec56000 00000000 cfb203c0 0000085f bf0ca000 cec57e94 cec57e88
    [   38.625213] 7e80: bf0ca010 bf0c698c cec57eec cec57e98 c0008704 bf0ca00c cec57ebc cec57ea8
    [   38.633728] 7ea0: 00000002 00000009 ce5187c0 00000000 cec57edc cec57ec0 bf0c7fac bf0c7f64
    [   38.642242] 7ec0: 0000001c bf0c7fac bf0c7f64 0000001c 00000001 cfb203c0 0000085f 00000001
    [   38.650787] 7ee0: cec57fa4 cec57ef0 c006c09c c00086d4 bf0c7f70 cec57f00 c00083a4 00000000
    [   38.659301] 7f00: 0001b058 d0be08e0 d0be08e0 000000ca 00000000 bf0c7f64 00000003 d0bde000
    [   38.667846] 7f20: 00008673 d0be395c d0be382c d0be5e14 cfaec400 000020a0 00002580 00000000
    [   38.676361] 7f40: 00000000 0000001d 0000001e 0000000c 0000000a 00000009 00000000 00000000
    [   38.684875] 7f60: 00000000 00000000 00000000 00000000 00000000 c05e3808 00000000 0001b070
    [   38.693420] 7f80: 00000000 00000000 00000080 c00143a8 cec56000 00000000 00000000 cec57fa8
    [   38.701934] 7fa0: c0014200 c006bfb0 0001b070 00000000 401d6000 00008673 0001b058 00000000
    [   38.710479] 7fc0: 0001b070 00000000 00000000 00000080 00000000 0001b070 0001b008 0001b0f0
    [   38.718994] 7fe0: 0001b058 beb6599c 0000bdd0 40171684 60000010 401d6000 0003a671 00001b02
    [   38.727508] Backtrace: 
    [   38.730133] [<bf0980a8>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf09476c>] (PVRSRVRegisterDCDeviceKM+0xfc/0x188 [pvrsrvkm])
    [   38.742401] [<bf094670>] (PVRSRVRegisterDCDeviceKM+0x0/0x188 [pvrsrvkm]) from [<bf0c6d3c>] (OMAPLFBInit+0x3bc/0x5ac [omaplfb])
    [   38.754272]  r7:bf0c6014 r6:bf0c6058 r5:bf0c8098 r4:cfaec400
    [   38.760223] [<bf0c6980>] (OMAPLFBInit+0x0/0x5ac [omaplfb]) from [<bf0ca010>] (OMAPLFB_Init+0x10/0x34 [omaplfb])
    [   38.770751] [<bf0ca000>] (OMAPLFB_Init+0x0/0x34 [omaplfb]) from [<c0008704>] (do_one_initcall+0x3c/0x180)
    [   38.780731] [<c00086c8>] (do_one_initcall+0x0/0x180) from [<c006c09c>] (sys_init_module+0xf8/0x1ac8)
    [   38.790283] [<c006bfa4>] (sys_init_module+0x0/0x1ac8) from [<c0014200>] (ret_fast_syscall+0x0/0x30)
    [   38.799713] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5902000) 
    [   38.806213] ---[ end trace 09934cfb7b1020b9 ]---
    [   38.826904] Unable to handle kernel NULL pointer dereference at virtual address 00000000
    [   38.835388] pgd = ce428000
    [   38.838256] [00000000] *pgd=8edef831, *pte=00000000, *ppte=00000000
    [   38.844818] Internal error: Oops: 17 [#2]
    [   38.848968] Modules linked in: bufferclass_ti(O+) omaplfb(O+) pvrsrvkm(O) 8192cu(O)
    [   38.856994] CPU: 0    Tainted: G      D    O  (3.2.0 #199)
    [   38.862823] PC is at AllocateDeviceID+0xc/0x54 [pvrsrvkm]
    [   38.868469] LR is at PVRSRVRegisterBCDeviceKM+0x104/0x188 [pvrsrvkm]
    [   38.875091] pc : [<bf0980b4>]    lr : [<bf0943a0>]    psr: 40000013
    [   38.875091] sp : ce4c9e38  ip : ce4c9e48  fp : ce4c9e44
    [   38.887054] r10: bf0d0000  r9 : 00000378  r8 : cfb201c0
    [   38.892517] r7 : cfa67ab0  r6 : 00000000  r5 : cfa67a84  r4 : 00000000
    [   38.899291] r3 : 00000002  r2 : 00000009  r1 : ce480088  r0 : 00000000
    [   38.906097] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [   38.913543] Control: 10c5387d  Table: 8e428019  DAC: 00000015
    [   38.919525] Process modprobe (pid: 2246, stack limit = 0xce4c82f0)
    [   38.925964] Stack: (0xce4c9e38 to 0xce4ca000)
    [   38.930511] 9e20:                                                       ce4c9e6c ce4c9e48
    [   38.939025] 9e40: bf0943a0 bf0980b4 ce480080 cec47780 bf0cddf4 00000000 cfa67a80 00000000
    [   38.947570] 9e60: ce4c9e94 ce4c9e70 bf0d01d8 bf0942a8 bf0cdb40 00000000 c0081438 c06a3140
    [   38.956085] 9e80: bf0cdcc0 ce4c8000 ce4c9eec ce4c9e98 c0008704 bf0d000c ce4c9ebc ce4c9ea8
    [   38.964630] 9ea0: 00000002 00000007 ce5187c0 00000000 ce4c9edc ce4c9ec0 bf0cdd08 bf0cdcc0
    [   38.973144] 9ec0: 0000001c bf0cdd08 bf0cdcc0 0000001c 00000001 cfb201c0 00000378 00000001
    [   38.981658] 9ee0: ce4c9fa4 ce4c9ef0 c006c09c c00086d4 bf0cdccc ce4c9f00 c00083a4 00000000
    [   38.990203] 9f00: 0001b088 d0be955c d0be955c 0000006a 00000000 bf0cdcc0 00000003 d0be8000
    [   38.998718] 9f20: 00006470 d0bec5c8 d0bec48c d0bee0f8 cee304c0 00000e08 00000fb8 00000000
    [   39.007263] 9f40: 00000000 0000001f 00000020 0000000e 0000000b 00000009 00000000 00000000
    [   39.015777] 9f60: 00000000 00000000 00000000 00000000 00000000 c05e3808 00000000 0001b070
    [   39.024291] 9f80: 00000000 00000000 00000080 c00143a8 ce4c8000 00000000 00000000 ce4c9fa8
    [   39.032836] 9fa0: c0014200 c006bfb0 0001b070 00000000 4005d000 00006470 0001b088 00000000
    [   39.041351] 9fc0: 0001b070 00000000 00000000 00000080 00000000 0001b070 0001b008 0001b018
    [   39.049896] 9fe0: 0001b088 bef6599c 0000bdd0 401d1684 60000010 4005d000 00000000 00000000
    [   39.058410] Backtrace: 
    [   39.061004] [<bf0980a8>] (AllocateDeviceID+0x0/0x54 [pvrsrvkm]) from [<bf0943a0>] (PVRSRVRegisterBCDeviceKM+0x104/0x188 [pvrsrvkm])
    [   39.073394] [<bf09429c>] (PVRSRVRegisterBCDeviceKM+0x0/0x188 [pvrsrvkm]) from [<bf0d01d8>] (bc_cat_init+0x1d8/0x24c [bufferclass_ti])
    [   39.085876]  r7:00000000 r6:cfa67a80 r5:00000000 r4:bf0cddf4
    [   39.091827] [<bf0d0000>] (bc_cat_init+0x0/0x24c [bufferclass_ti]) from [<c0008704>] (do_one_initcall+0x3c/0x180)
    [   39.102416]  r6:ce4c8000 r5:bf0cdcc0 r4:c06a3140
    [   39.107269] [<c00086c8>] (do_one_initcall+0x0/0x180) from [<c006c09c>] (sys_init_module+0xf8/0x1ac8)
    [   39.116790] [<c006bfa4>] (sys_init_module+0x0/0x1ac8) from [<c0014200>] (ret_fast_syscall+0x0/0x30)
    [   39.126220] Code: e89da800 e1a0c00d e92dd800 e24cb004 (e5902000) 
    [   39.132781] ---[ end trace 09934cfb7b1020ba ]---
    [   39.227325] Unhandled fault: external abort on non-linefetch (0x1018) at 0x4028d014
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# 
    root@am335x-evm:~# /videowidget1 -qws &                               (our Qt app)
    root@am335x-evm:~# [  245.085845] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  245.091857] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:1
    [  245.595794] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  245.601806] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:2
    [  246.105773] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  246.111785] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:3
    [  246.615753] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  246.621765] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:4
    [  247.125793] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  247.131774] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:5
    [  247.139434] [dvobjpriv:d085901c][ERROR] continual_urb_error:5 > 4
    [  247.645751] usb 1-1.4: RTKTHREAD timed out on ep0in len=0/4
    [  247.651580] reg 0x210, usb read 4 fail, status:-110 value=0x0, vendorreq_times:1
    [  247.659301] [dvobjpriv:d085901c][ERROR] continual_urb_error:6 > 4
    [  247.665740] ###> rtw_cmd_thread break.................
    [  247.671081] rtw_cmd_thread: leaving... check & free all cmd_obj resources
    [  247.678161] rtw_cmd_thread: leaving... call up terminate_cmdthread_sema
    
    root@am335x-evm:~# 
    root@am335x-evm:~# dmesg   
    [  245.085845] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  245.091857] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:1
    [  245.595794] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  245.601806] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:2
    [  246.105773] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  246.111785] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:3
    [  246.615753] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  246.621765] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:4
    [  247.125793] usb 1-1.4: kworker/0:2 timed out on ep0in len=0/1
    [  247.131774] reg 0x4c, usb read 1 fail, status:-110 value=0x0, vendorreq_times:5
    [  247.139434] [dvobjpriv:d085901c][ERROR] continual_urb_error:5 > 4
    [  247.645751] usb 1-1.4: RTKTHREAD timed out on ep0in len=0/4
    [  247.651580] reg 0x210, usb read 4 fail, status:-110 value=0x0, vendorreq_times:1
    [  247.659301] [dvobjpriv:d085901c][ERROR] continual_urb_error:6 > 4
    [  247.665740] ###> rtw_cmd_thread break.................
    [  247.671081] rtw_cmd_thread: leaving... check & free all cmd_obj resources
    [  247.678161] rtw_cmd_thread: leaving... call up terminate_cmdthread_sema
    root@am335x-evm:~#
    

     

  • From the log I am unable to explain what happened. It shows USB EP0 traffic timeout. Have you measured ARM load? Is that because the Qt app causes ARM is fully loaded and no time slot to serve USB requests?

    Just want to double check, the exact value of USB1_MODE should be 0x80 for host mode.

    Do you use TI released Linux SDK package on AM335x EVM? I see a couple problems from the log.

    - EHCI/OHCI drivers are loaded which shouldn't. AM335x does not have those controllers;

    - Kernel crashes in pvrsrvkm driver right after kernel booted. You probably want to fix this issue first.

  • Hi, Bin Liu

    Thank you for you reply.

    I'm sure that USB1_MODE's value is 0x80. We use the TI SDK package on AM335x EVM. The usage rate of CPU and memory is very low, so I don't think it's the problem of ARM fully loaded. I have unloaded EHCI/OHCI drivers, but the problem still happened.

    So I have some questions below:

    1.Where is the persrvkm driver's source codes? I can't find them.

    2. As I mentioned before, USB1 mode switched from host to peripheral (DevCtl register's value switched from 0x5d to 0x99) after run the Qt app. What kinds of reasons(software or hardware) can cause the mode change?

    I hope you will help me.Thank you.

     

     

  • Sorry, I cannot think of any reason why the Qt app will affect the USB module at this moment. Maybe you can try to turn on MUSB ISR debug messages to see if that gives any hint. Please do the following then run your test.

    echo "file ti81xx.c func ti81xx_interrupt +p" > /sys/kernel/debug/dynamic_debug/control

     

    The pvrsrvkm driver source code is in the installer 'Graphics_SDK_setuplinux_4_08_00_02_minimal_demos.bin' inside the SDK package.

    http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/AM335xSDK/latest/index_FDS.html

    By the way, you don't need to install the pvrsrvkm modules if you don't use OpenGLES.