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.

WL127x calibration and nvs size issues

Other Parts Discussed in Thread: WL1271

Hi, 

I am facing an issue when calibrating the chip TiWi-R2 with ti-utils (ol_R5.SP7.01).

Actually, I obtained the drivers (wl12xx, ...), firmware, and calibrator tool from git://github.com/TI-ECS/build-utilites.git.

The build process went just fine (git tag is ol_R5.SP7.01). However the calibration fails.

Here is what I did for calibration:

$ rmmod wl12xx_sdio.ko 

$ rm /lib/firmware/ti-connectivity/wl127x-nvs.bin 

$ ./calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /lib/firmware/ti-connectivity/ini_files/127x/TQS_S_2.6.ini /lib/firmware/ti-connectivity/wl127x-nvs.bin 00:50:c2:f0:03:87

Here are the calibration logs:

wl12xx: loaded
wl12xx: power up
wl12xx: ERROR nvs size is not as expected: 1024 != 912
wl12xx: ERROR nvs size is not as expected: 1024 != 912
wl12xx: ERROR nvs size is not as expected: 1024 != 912
wl12xx: ERROR firmware boot in PLT mode failed despite 3 retries
Fail to set PLT power mode on
Calibration not complete. Removing half-baked nvs

In addition to the calibration problem, I also noticed a problem while using 'wl1271-nvs.bin' from ti-utils. Then I tried using 'wl1271-nvs.bin' from linux-firmware (http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ti-connectivity). With the linux-firmware nvs file, everything went just fine as you can see from the logs below.

-> Logs with 'wl127x-nvs.bin' from ti-utils

Compat-wireless backport release: ol_R5.SP7.01
Backport based on wl12xx.git ol_R5.SP7.01
cfg80211: Calling CRDA to update world regulatory domain
wl12xx: driver version: ol_R5.SP7.01
wl12xx: compilation time: Mon Nov 10 16:35:57 2014
mmc0: card claims to support voltages below the defined range. These will be ignored.
mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
mmc0: new SDIO card at address 0001
wl12xx: loaded
wl12xx: state: 0
wl12xx: ERROR nvs size is not as expected: 1113 != 912
wl12xx: ERROR nvs size is not as expected: 1113 != 912
wl12xx: ERROR nvs size is not as expected: 1113 != 912
wl12xx: ERROR firmware boot failed despite 3 retries

-> Logs with 'wl127x-nvs.bin' from linux-firmware

Compat-wireless backport release: ol_R5.SP7.01
Backport based on wl12xx.git ol_R5.SP7.01
cfg80211: Calling CRDA to update world regulatory domain
wl12xx: driver version: ol_R5.SP7.01
wl12xx: compilation time: Wed Nov 12 11:05:19 2014
mmc0: card claims to support voltages below the defined range. These will be ignored.
mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
mmc0: new SDIO card at address 0001
wl12xx: loaded
wl12xx: state: 0
wl12xx: firmware booted (Rev 6.3.10.0.139)

I am pretty sure that my calibration problem and the one with 'wl127x-nvs.bin' from ti-utils are related.

How to fix all these?

Any help will be appreciate. Thanks,

Fabrice

  • Hi,

    I am attaching dump of nvs files that I have used, hoping it can help figure out how to solve these issues.

    The size is 912 bytes
    
     0000 01 6d 54 00 00 ef be 01 71 54 ad de 00 00 00 00 
     0010 00 00 00 00 00 00 00 00 01 99 01 fe f9 e2 b8 a1 
     0020 bb ce e8 03 fe f8 00 ff 03 fc fd fc 02 fb fd f5 
     0030 01 fb fd f2 00 fb fc 01 02 fd fc 06 02 fc fe 08 
     0040 00 fd fd 08 fd 08 0b 0d 0f 12 15 18 1c 21 26 2b 
     0050 32 37 00 3f 00 49 00 54 00 5e 00 6c 00 75 00 84 
     0060 00 90 00 9d 00 ac 00 b7 00 63 00 03 fd 07 08 09 
     0070 0b 0d 10 13 15 1a 1d 23 28 2d 00 32 00 3b 00 42 
     0080 00 4a 00 57 00 5c 00 68 00 75 00 80 00 8d 00 a1 
     0090 00 aa 00 08 fd 06 09 09 0c 0f 10 14 18 1a 1f 25 
     00A0 2a 2f 00 39 00 3b 00 45 00 4e 00 59 00 61 00 71 
     00B0 00 79 00 87 00 96 00 a4 00 b2 00 07 fd 07 09 0a 
     00C0 0c 0f 11 14 18 1c 1f 26 2b 31 00 35 00 40 00 46 
     00D0 00 4e 00 5c 00 60 00 6e 00 7b 00 85 00 94 00 a7 
     00E0 00 ab 00 0b fd 07 0a 09 0d 0f 12 14 1a 1b 21 26 
     00F0 2c 31 00 3c 00 3d 00 47 00 51 00 5c 00 64 00 74 
     0100 00 80 00 8f 00 a2 00 af 00 be 00 0a fd 07 0a 0a 
     0110 0d 0f 11 15 19 1c 21 26 2c 33 00 39 00 41 00 48 
     0120 00 52 00 5f 00 69 00 7b 00 89 00 9e 00 b0 00 cf 
     0130 00 b4 00 0c fd 07 0a 0b 0e 10 12 16 1a 1e 24 28 
     0140 2e 34 00 3b 00 42 00 4c 00 56 00 60 00 6a 00 78 
     0150 00 86 00 96 00 a7 00 c2 00 b3 00 0d fd 07 09 0b 
     0160 0d 0f 13 15 1a 1e 21 27 2d 33 00 3a 00 43 00 46 
     0170 00 50 00 5b 00 65 00 72 00 83 00 8d 00 a0 00 b2 
     0180 00 bc 00 f7 f9 fb fc fd fe 00 01 03 04 04 05 06 
     0190 08 fd 00 04 0a fa 00 05 f3 f8 fb 00 05 09 0e 16 
     01A0 f7 00 03 03 07 04 00 fc f9 07 04 00 fd f9 f5 09 
     01B0 04 00 fb f5 02 13 00 00 00 00 00 00 00 00 00 00 
     01C0 00 00 00 00 00 00 00 00 00 00 aa 03 00 00 00 02 
     01D0 ff ff 00 00 01 05 00 00 01 00 01 41 01 07 03 18 
     01E0 10 05 fb f0 e8 00 00 00 00 00 00 0f 3f 07 03 18 
     01F0 10 05 fb f0 e8 00 00 00 00 00 00 00 00 07 03 18 
     0200 10 05 fb f0 e8 00 00 00 00 00 00 00 00 00 00 00 
     0210 ec f6 00 0c 18 f8 fc 00 08 10 f0 f8 00 0a 14 00 
     0220 64 01 80 00 1c 1f 22 24 28 29 19 1f 22 23 27 28 
     0230 19 1c 1e 20 24 25 50 50 50 50 50 50 50 50 50 50 
     0240 50 50 50 50 20 50 50 50 50 50 50 50 50 50 20 50 
     0250 50 50 01 02 02 02 02 00 1a 1a 1a 1a 1a 21 10 1e 
     0260 2d 00 d9 01 80 00 1d 1f 22 26 27 29 1d 1f 22 26 
     0270 27 27 16 1d 1e 20 24 25 50 50 50 50 50 50 50 50 
     0280 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0290 50 50 50 50 01 02 02 02 02 00 15 15 15 19 19 15 
     02A0 0e 1e 2d 00 00 00 00 00 00 00 00 00 00 00 00 00 
     02B0 00 00 ee f4 f8 fe 05 ea f3 fa 01 06 e5 f1 fa 02 
     02C0 07 00 9a 01 ae 01 c2 01 cc 01 db 01 db 01 d1 01 
     02D0 80 80 80 80 80 80 80 00 00 00 00 00 00 00 1c 1e 
     02E0 21 23 25 50 18 1e 21 23 25 50 16 1c 1e 20 20 50 
     02F0 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0300 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0310 50 50 50 01 02 02 02 02 00 1a 1a 1a 1a 1a 1a 10 
     0320 10 10 10 10 10 10 1e 2d 00 9a 01 ae 01 c2 01 cc 
     0330 01 db 01 db 01 d1 01 80 80 80 80 80 80 80 00 00 
     0340 00 00 00 00 00 1c 1e 21 23 25 50 18 1e 21 23 25 
     0350 50 16 1c 1e 20 20 50 50 50 50 50 50 50 50 50 50 
     0360 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0370 50 50 50 50 50 50 50 50 50 50 01 02 02 02 02 00 
     0380 1a 1a 1a 1a 1a 1a 10 10 10 10 10 10 10 1e 2d 00 
    

    The size is 1113 bytes
    
     0000 01 6d 54 eb de 16 36 01 71 54 da 00 00 00 00 00 
     0010 00 00 00 00 00 00 00 00 01 99 01 f8 00 00 00 00 
     0020 00 00 00 05 00 f7 fa 00 00 00 00 00 00 00 00 00 
     0030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0040 00 00 00 07 fd 06 08 08 0b 0d 0f 12 15 17 1e 20 
     0050 26 2c 00 33 00 3a 00 43 00 4f 00 59 00 6a 00 72 
     0060 00 85 00 8d 00 a3 00 af 00 c2 00 00 00 00 00 00 
     0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     00F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0180 00 00 00 fc fd fd ff ff ff 00 00 01 01 01 01 01 
     0190 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     01A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     01B0 00 00 00 00 02 13 00 00 00 00 00 00 00 00 00 00 
     01C0 00 00 00 00 00 00 00 00 00 00 aa 03 00 00 00 02 
     01D0 ff ff 00 00 01 05 00 01 05 00 00 04 02 01 00 01 
     01E0 00 00 00 00 00 09 04 19 10 08 00 f7 ef e6 de 00 
     01F0 00 00 00 0f 3f 09 04 19 10 08 00 f7 ef e6 de 00 
     0200 00 00 00 00 00 09 04 19 10 08 00 f7 ef e6 de 00 
     0210 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 
     0220 00 00 00 00 00 ec f6 00 0c 18 f8 fc 00 08 10 f0 
     0230 f8 00 0a 14 00 4f 01 80 00 1d 1f 22 26 27 29 25 
     0240 19 1f 22 25 25 27 23 16 1d 1e 20 24 25 22 50 50 
     0250 50 50 50 50 50 50 50 50 50 50 50 50 20 50 50 50 
     0260 50 50 50 50 50 50 20 50 50 50 01 02 02 02 02 00 
     0270 02 33 33 38 38 3d 3d 3d 3d 00 00 00 00 00 00 00 
     0280 00 00 00 00 00 00 00 00 00 0e 1e 2d 00 d9 01 80 
     0290 00 1d 1f 22 26 27 29 25 1d 1f 22 26 27 27 24 16 
     02A0 1d 1e 20 24 25 22 50 50 50 50 50 50 50 50 50 50 
     02B0 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     02C0 50 50 01 02 02 02 02 00 02 17 17 17 1a 16 17 1a 
     02D0 17 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     02E0 00 10 1e 2d 00 00 00 00 00 00 00 00 00 00 00 00 
     02F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ee 
     0310 f4 f8 fe 05 ea f3 fa 01 06 e5 f1 fa 02 07 00 00 
     0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     03A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     03B0 00 00 00 00 00 00 00 00 00 00 00 00 9a 01 ae 01 
     03C0 c2 01 cc 01 db 01 db 01 d1 01 80 80 80 80 80 80 
     03D0 80 00 00 00 00 00 00 00 1c 1e 21 23 25 50 25 18 
     03E0 1e 21 23 25 50 24 16 1c 1e 20 20 50 1e 50 50 50 
     03F0 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0400 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 
     0410 01 02 02 02 02 00 02 10 10 10 10 10 10 10 00 00 
     0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
     0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 
     0450 10 10 10 10 10 10 1e 2d 00 
    

    At this point, I am stuck on these issues and any help would be appreciate.

    Thanks,

    Fabrice

  • Hi Fabrice,

    Please see: http://processors.wiki.ti.com/index.php/WL12xx_NLCP_Calibration_Process
    Please try to regenerate the nvs file and see if it helps.

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    Thank you for your reply.

    Regarding the size of the regenerated nvs file, I was able to fix this. It was related to the config of my NFS root filesystem.

    I am now left with following calibration error:

    # ifconfig wlan0 down
    # rmmod wl12xx_sdio
    # modprobe wl12xx_sdio
    # ifconfig wlan0 hw ether 00:50:c2:f0:03:87
    # ifconfig wlan0 down
    # ./calibrator dev wlan0 plt power_mode on
    wl12xx: power up
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR firmware boot in PLT mode failed despite 3 retries
    command failed: Input/output error (-5)

    Any hint for this?

    Thanks in advance,

    Fabrice

  • Hi Fabrice,

    Do you see this only during calibration? Are you able to turn on WLAN normally?

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    Actually I found that I was unable to calibrate because hostapd was running. When I stop hostapd, rmmod wl12xx_sdio and perform calibration, it works fine. I can say now that all my issues are resolved. Thank you for your help/hint on these.

    While trying to solve these issues, some other questions rised up. I am putting them here in the hope you can also help.

    1) After calibration, is it mandatory to reboot the system?

    If I can avoid rebooting, it will be a plus!

    I found that, if I don't reboot, I can correctly insmod wl12xx_sdio, but when I launch hostapd I get the following error:

    # /usr/local/bin/hostapd /etc/hostapd.conf -B
    Configuration file: /etc/hostapd.conf
    wl12xx: state: 0
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR firmware boot failed despite 3 retries
    Could not set interface wlan0 flags: Invalid argument
    nl80211 driver initialization failed.

    2) Is it sufficient to just generated a new nvs file when needed or the calibration step is really something needed? Why this calibration step?

    Thanks in advance,

    Regards,

    Fabrice

  • Hi Fabrice,

    It is NOT required to reboot the system after calibration.
    Can you please share the complete logs when you try to run the hostapd after calibration?

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    I am probably doing something completely wrong. Here follows the result of launching hostapd after calibration.

    # ifconfig wlan0 down

    # rmmod wl12xx_sdio

    # ./calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /lib/firmware/ti-connectivity/ini_files/127x/TQS_S_2.6.ini /mnt/data/wl127x-nvs.bin 00:50:c2:f0:03:87
    wl12xx: loaded
    wl12xx: power up
    wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.137)
    Using nvs version 2.1
    Calibrate /mnt/data/wl127x-nvs.bin
    Writing calibration data to /mnt/data/wl127x-nvs.bin
    Writing mac address 00:50:c2:f0:03:87 to file /mnt/data/wl127x-nwl12xx: power down
    vs.bin
    Calibration done. FEM1 has 1 bands. AutoFEM is off. Resulting nvs is /mnt/data/wl127x-nvs.bin

    # insmod  /lib/modules/$(/bin/uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko

    # ifconfig wlan0 hw ether 00:50:c2:f0:03:87

    # /usr/local/bin/hostapd -dd /etc/hostapd.conf -B
    Configuration file: /etc/hostapd.conf
    nl80211: interface wlan0 in phy phy2
    rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
    nl80211: Using driver-based off-channel TX
    nl80211: Supports Probe Response offload in AP mode
    nl80211: Add own interface ifindex 5
    nl80211: Set mode ifindex 5 iftype 3 (AP)
    nl80211: Setup AP - device_ap_sme=0 use_monitor=0
    nl80211: Subscribe to mgmt frames with AP handle 0xd9290
    nl80211: Register frame type=0xb0 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Register frame type=0x0 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Register frame type=0x20 nl_handle=0xd9290
    nl80211: Register frame match - hexdumpwl12xx: state: 0
    (len=0): [NULL]
    nl80211: Register frame type=0xa0 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Register frame type=0xc0 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Register frame type=0xd0 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Register frame type=0x40 nl_handle=0xd9290
    nl80211: Register frame match - hexdump(len=0): [NULL]
    nl80211: Set TX rates failed: ret=-100 (Network is down)
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR firmware boot failed despite 3 retries
    Could not set interface wlan0 flags: Invalid argument
    netlink: Operstate: linkmode=0, operstate=6
    nl80211: Set mode ifindex 5 iftype 2 (STATION)
    nl80211: Unsubscribe mgmt frames handle 0xd9290 (AP teardown)
    nl80211: Set TX rates failed: ret=-100 (Network is down)
    nl80211 driver initialization failed.

    Any hint on what I am doing wrong?

    Thanks & Regards,

    Fabrice

  • Hi,

    Its very weird! I think your steps are correct.
    I am able to successfully execute your commands. Just to confirm, you are using the hostapd from ol_R5.SP7.01, right?

    Also, can you enable the wl12xx driver logs and execute the same steps and share the logs?

    echo 0xFFFF > /sys/module/wl12xx/parameters/debug_level
    echo 8 > /proc/sys/kernel/printk


    Regards,
    Gigi Joseph.

  • Hi Joseph,

    Here are the logs.

    version 3.1.0-rc4 (nansi@S-RD-7) (gcc version 4.7.2 (Buildroot 2012.11) ) #10 PREEMPT Wed Nov 19 15:06:21 CET 2014
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Syscom MR3000
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138/am18x variant 0x1
    On node 0 totalpages: 30720
    free_area_init_node: node 0, pgdat c0513d58, node_mem_map c052b000
      DMA zone: 240 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 30480 pages, LIFO batch:7
    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    pcpu-alloc: [0] 0 
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30480
    Kernel command line: mem=120M console=ttyS1,115200n8 noinitrd rootwait eth0_addr=00:50:C2:f0:03:86 ip=192.168.2.233 root=/dev/nfs rw nfsroot=192.168.2.69:/srv/nfs/default ubi.mtd=NAND-Rootfs,2048
    MR3000: eth0_addr=00:50:C2:f0:03:86 (command line)
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 120MB = 120MB total
    Memory: 116488k/116488k available, 6392k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)
        vmalloc : 0xc8000000 - 0xfea00000   ( 874 MB)
        lowmem  : 0xc0000000 - 0xc7800000   ( 120 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .text : 0xc0008000 - 0xc0400000   (4064 kB)
          .init : 0xc0400000 - 0xc04e6000   ( 920 kB)
          .data : 0xc04e6000 - 0xc05146c0   ( 186 kB)
           .bss : 0xc05146e4 - 0xc052a5b4   (  88 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    gpio_to_irq: gpio=0, irq=101
    gpio_to_irq: gpio=0, irq=101
    DaVinci: 144 gpio irqs
    print_constraints: dummy: 
    NET: Registered protocol family 16
    mux: PCBID setup
    mux: setting signal GPIO3_4          PINMUX8  = 0x00000000 -> 0x00008000 warn
    mux: setting signal GPIO3_5          PINMUX8  = 0x00008000 -> 0x00008800 warn
    mux: setting signal GPIO3_6          PINMUX8  = 0x00008800 -> 0x00008880 warn
    mux: setting signal GPIO3_7          PINMUX8  = 0x00008880 -> 0x00008888 warn
    mux: setting signal GPIO3_4          PINMUX8  = 0x00008888 -> 0x00008888 
    mux: setting signal GPIO3_5          PINMUX8  = 0x00008888 -> 0x00008888 
    mux: setting signal GPIO3_6          PINMUX8  = 0x00008888 -> 0x00008888 
    mux: setting signal GPIO3_7          PINMUX8  = 0x00008888 -> 0x00008888 
    MR3000: BOARD PCB ID = 0x3
    mux: I2C0 setup
    mux: setting signal I2C0_SDA         PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal I2C0_SCL         PINMUX4  = 0x22222288 -> 0x22222288 
    mux: MMC/SD0 setup
    mux: setting signal MMCSD0_DAT_0     PINMUX10 = 0x00222222 -> 0x00222222 
    mux: setting signal MMCSD0_DAT_1     PINMUX10 = 0x00222222 -> 0x00222222 
    mux: setting signal MMCSD0_DAT_2     PINMUX10 = 0x00222222 -> 0x00222222 
    mux: setting signal MMCSD0_DAT_3     PINMUX10 = 0x00222222 -> 0x00222222 
    mux: setting signal MMCSD0_CLK       PINMUX10 = 0x00222222 -> 0x00222222 
    mux: setting signal MMCSD0_CMD       PINMUX10 = 0x00222222 -> 0x00222222 
    mux: MMC/SD1 setup
    mux: setting signal MMCSD1_DAT_0     PINMUX18 = 0x82022200 -> 0x82022200 
    mux: setting signal MMCSD1_DAT_1     PINMUX19 = 0x02822222 -> 0x02822222 
    mux: setting signal MMCSD1_DAT_2     PINMUX19 = 0x02822222 -> 0x02822222 
    mux: setting signal MMCSD1_DAT_3     PINMUX19 = 0x02822222 -> 0x02822222 
    mux: setting signal MMCSD1_CLK       PINMUX18 = 0x82022200 -> 0x82022200 
    mux: setting signal MMCSD1_CMD       PINMUX18 = 0x82022200 -> 0x82022200 
    mux: setting signal GPIO6_8          PINMUX13 = 0x88000010 -> 0x88000010 
    mux: setting signal GPIO6_9          PINMUX13 = 0x88000010 -> 0x88000010 
    mux: setting signal GPIO6_9          PINMUX13 = 0x88000010 -> 0x88000010 
    mux: setting signal GPIO6_8          PINMUX13 = 0x88000010 -> 0x88000010 
    mux: UART setup
    mux: setting signal UART0_RXD        PINMUX3  = 0x11221111 -> 0x11221111 
    mux: setting signal UART0_TXD        PINMUX3  = 0x11221111 -> 0x11221111 
    mux: setting signal NUART0_CTS       PINMUX3  = 0x11221111 -> 0x12221111 warn
    mux: setting signal NUART0_RTS       PINMUX3  = 0x12221111 -> 0x22221111 warn
    mux: setting signal UART1_RXD        PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal UART1_TXD        PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal UART2_RXD        PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal UART2_TXD        PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal NUART2_CTS       PINMUX0  = 0x44111111 -> 0x44111111 
    mux: setting signal NUART2_RTS       PINMUX0  = 0x44111111 -> 0x44111111 
    mux: LCD setup
    mux: setting signal GPIO7_8          PINMUX17 = 0x00088822 -> 0x00088882 warn
    mux: setting signal GPIO7_9          PINMUX17 = 0x00088882 -> 0x00088888 warn
    mux: setting signal GPIO7_10         PINMUX16 = 0x22222280 -> 0x82222280 warn
    mux: setting signal GPIO7_11         PINMUX16 = 0x82222280 -> 0x88222280 warn
    mux: setting signal GPIO7_12         PINMUX16 = 0x88222280 -> 0x88822280 warn
    mux: setting signal GPIO7_13         PINMUX16 = 0x88822280 -> 0x88882280 warn
    mux: setting signal GPIO7_14         PINMUX16 = 0x88882280 -> 0x88888280 warn
    mux: setting signal GPIO7_15         PINMUX16 = 0x88888280 -> 0x88888880 warn
    mux: setting signal GPIO8_8          PINMUX19 = 0x02822222 -> 0x02822282 warn
    mux: setting signal GPIO8_9          PINMUX19 = 0x02822282 -> 0x02822288 warn
    mux: setting signal GPIO8_11         PINMUX18 = 0x82022200 -> 0x88022200 warn
    mux: setting signal GPIO6_0          PINMUX19 = 0x02822288 -> 0x08822288 warn
    mux: LEDS setup
    mux: setting signal GPIO7_5          PINMUX17 = 0x00088888 -> 0x00088888 
    mux: setting signal GPIO7_6          PINMUX17 = 0x00088888 -> 0x00088888 
    mux: setting signal GPIO7_7          PINMUX17 = 0x00088888 -> 0x00088888 
    mux: TIWI setup
    mux: setting signal GPIO5_9          PINMUX11 = 0x00080000 -> 0x08080000 warn
    mux: setting signal GPIO5_10         PINMUX11 = 0x08080000 -> 0x08880000 warn
    mux: GPRS setup
    mux: setting signal GPIO8_10         PINMUX18 = 0x88022200 -> 0x88022200 
    mux: PPS setup
    mux: setting signal ECAP2            PINMUX1  = 0x22222224 -> 0x22222224 
    mux: WLAN setup
    mux: setting signal GPIO5_11         PINMUX11 = 0x08880000 -> 0x08880000 
    mux: setting signal GPIO5_11         PINMUX11 = 0x08880000 -> 0x08880000 
    gpio_to_irq: gpio=91, irq=192
    mux: NAND setup
    mux: setting signal EMA_D_0          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_1          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_2          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_3          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_4          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_5          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_6          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_D_7          PINMUX9  = 0x11111111 -> 0x11111111 
    mux: setting signal EMA_A_1          PINMUX12 = 0x81100000 -> 0x81100000 
    mux: setting signal EMA_A_2          PINMUX12 = 0x81100000 -> 0x81100000 
    mux: setting signal NEMA_CS_3        PINMUX7  = 0x10110010 -> 0x10110010 
    mux: setting signal NEMA_CS_4        PINMUX7  = 0x10110010 -> 0x10110110 warn
    mux: setting signal NEMA_WE          PINMUX7  = 0x10110110 -> 0x10110110 
    mux: setting signal NEMA_OE          PINMUX7  = 0x10110110 -> 0x10110110 
    mux: DSP setup
    mux: setting signal ACLKR            PINMUX0  = 0x44111111 -> 0x44111111 
    mux: setting signal ACLKX            PINMUX0  = 0x44111111 -> 0x44111111 
    mux: setting signal AFSR             PINMUX0  = 0x44111111 -> 0x44111111 
    mux: setting signal AFSX             PINMUX0  = 0x44111111 -> 0x44111111 
    mux: setting signal GPIO0_11         PINMUX0  = 0x44111111 -> 0x44181111 warn
    mux: setting signal AHCLKX           PINMUX0  = 0x44181111 -> 0x44181111 
    mux: setting signal ECAP2            PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal CLKR1            PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal CLKX1            PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal FSR1             PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal FSX1             PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal DR1              PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal DX1              PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal CLKS1            PINMUX1  = 0x22222224 -> 0x22222224 
    mux: setting signal AXR_7            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_6            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_5            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_4            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_3            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_2            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_1            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal AXR_0            PINMUX2  = 0x11111111 -> 0x11111111 
    mux: setting signal SPI0_CLK         PINMUX3  = 0x22221111 -> 0x22221111 
    mux: setting signal SPI0_SOMI        PINMUX3  = 0x22221111 -> 0x22221111 
    mux: setting signal SPI0_SIMO        PINMUX3  = 0x22221111 -> 0x22221111 
    mux: setting signal SPI0_SCS2        PINMUX3  = 0x22221111 -> 0x12221111 warn
    mux: setting signal SPI0_SCS3        PINMUX3  = 0x12221111 -> 0x11221111 warn
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    PTP clock support registered
    Bluetooth: Core ver 2.16
    NET: Registered protocol family 31
    Bluetooth: HCI device and connection manager initialized
    Bluetooth: HCI socket layer initialized
    Bluetooth: L2CAP socket layer initialized
    Switching to clocksource timer0_1
    musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    Waiting for USB PHY clock good...
    musb-hdrc: ConfigData=0x06 (UTMI-8, dyn FIFOs, SoftConn)
    musb-hdrc: MHDRC RTL version 1.800 
    musb-hdrc: setup fifo_mode 2
    musb-hdrc: 7/9 max ep, 2624/4096 memory
    musb-hdrc musb-hdrc: MUSB HDRC host driver
    musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 3.1.0-rc4 musb-hcd
    usb usb1: SerialNumber: musb-hdrc
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using PIO, IRQ 58
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    mux: RMII setup
    mux: setting signal RMII_TXD_0       PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_TXD_1       PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_TXEN        PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_CRS_DV      PINMUX15 = 0x00000080 -> 0x00000080 
    mux: setting signal RMII_RXD_0       PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_RXD_1       PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_RXER        PINMUX14 = 0x88888888 -> 0x88888888 
    mux: setting signal RMII_MHZ_50_CLK  PINMUX15 = 0x00000080 -> 0x00000080 
    mux: setting signal MDIO_CLK         PINMUX4  = 0x22222288 -> 0x22222288 
    mux: setting signal MDIO_D           PINMUX4  = 0x22222288 -> 0x22222288 
    EMAC: RMII PHY configured, MII PHY will not be functional
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
    ROMFS MTD (C) 2007 Red Hat, Inc.
    msgmni has been set to 227
    io scheduler noop registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    console [ttyS1] enabled
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    ring-logs ring-logs.0: messages (64k)
    ring-logs ring-logs.0: kern (64k)
    ring-logs ring-logs.0: daemon (64k)
    ring-logs ring-logs.0: syslog (64k)
    ring-logs ring-logs.0: status (64k)
    ring-logs ring-logs.0: auth (64k)
    ring-logs ring-logs.0: syscom (1024k)
    ring-logs ring-logs.0: core (64k)
    ring-logs ring-logs.0: ring (64k)
    ring-logs ring-logs.0: post-process (64k)
    ring-logs ring-logs.0: alerting (64k)
    ring-logs ring-logs.0: modem (64k)
    ring-logs ring-logs.0: ofono (64k)
    ring-logs ring-logs.0: dosfsck (64k)
    ring-logs ring-logs.0: ntpd.loops (64k)
    ring-logs ring-logs.0: ntpd.peers (64k)
    brd: module loaded
    spi_davinci spi_davinci.1: DMA: supported
    spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0
    spi_davinci spi_davinci.1: Controller at 0xfef0e000
    m25p80 spi1.0: m25p128 (16384 Kbytes)
    Creating 7 MTD partitions on "m25p80":
    0x000000000000-0x000000080000 : "SPI-BootLoader"
    0x000000080000-0x0000000c0000 : "SPI-BootEnv"
    0x0000000c0000-0x000000340000 : "SPI-Kernel-1"
    0x000000340000-0x000000480000 : "SPI-Data"
    0x000000480000-0x000000700000 : "SPI-Kernel-2"
    0x000000700000-0x000000fc0000 : "SPI-Unused-1"
    0x000000fc0000-0x000001000000 : "SPI-EnvData"
    ONFI flash detected
    ONFI param page 0 valid
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron MT29F1G08ABBDAH4)
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
    Creating 5 MTD partitions on "davinci_nand.1":
    0x000000000000-0x000000080000 : "NAND-Unused-1"
    0x000000080000-0x0000000c0000 : "NAND-Unused-2"
    0x0000000c0000-0x000000340000 : "NAND-Unused-3"
    0x000000340000-0x000000480000 : "NAND-Unused-4"
    0x000000480000-0x000008000000 : "NAND-Rootfs"
    davinci_nand davinci_nand.1: controller rev. 2.5
    UBI: attaching mtd11 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: sub-page size:              512
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: max. sequence number:       1262
    UBI: attached mtd11 to ubi0
    UBI: MTD device name:            "NAND-Rootfs"
    UBI: MTD device size:            123 MiB
    UBI: number of good PEBs:        984
    UBI: number of bad PEBs:         4
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     2
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 984
    UBI: number of PEBs reserved for bad PEB handling: 9
    UBI: max/mean erase counter: 6/2
    UBI: image sequence number:  1745862489
    UBI: background thread "ubi_bgt0d" started, PID 219
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver NatSemi DP83640
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    ohci ohci.0: DA8xx OHCI
    ohci ohci.0: new USB bus registered, assigned bus number 2
    Waiting for USB PHY clock good...
    ohci ohci.0: irq 59, io mem 0x01e25000
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: DA8xx OHCI
    usb usb2: Manufacturer: Linux 3.1.0-rc4 ohci_hcd
    usb usb2: SerialNumber: ohci.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    usbcore: registered new interface driver cdc_acm
    cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
    USB Serial support registered for GSM modem (1-port)
    usbcore: registered new interface driver option
    option: v0.7.2:USB Driver for GSM modems
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    rtc-ds1307 1-0068: rtc core: registered ds1339 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    omap_rtc: RTC power up reset detected
    omap_rtc: already running
    i2c /dev entries driver
    pps-ecap: pps-ecap: Probing eCAP PPS source device
    pps pps0: new PPS source pps-ecap.0
    pps-ecap: pps-ecap: controller revision 0x44d22100
    pps pps0: Registered eCAP as PPS source
    ina219 1-0041: hwmon0: sensor 'ina219'
    lm73 1-004a: hwmon1: sensor 'lm73'
    sht21 1-0040: initialized
    watchdog watchdog: heartbeat 60 sec
    Bluetooth: HCI UART driver ver 2.2
    Bluetooth: HCI H4 protocol initialized
    Bluetooth: HCI BCSP protocol initialized
    Bluetooth: HCILL protocol initialized
    Bluetooth: HCIATH3K protocol initialized
    Bluetooth: Generic Bluetooth USB driver ver 0.6
    usbcore: registered new interface driver btusb
    cpuidle: using governor ladder
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
    mux: setting signal GPIO6_0          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_enb_cs
    mux: setting signal GPIO8_11         PINMUX18 = 0x88022200 -> 0x88022200 
    Registered led device: lcd_pclk
    mux: setting signal GPIO8_9          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_hsync
    mux: setting signal GPIO8_8          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_vsync
    mux: setting signal GPIO7_8          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: lcd_d0
    mux: setting signal GPIO7_9          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: lcd_d1
    mux: setting signal GPIO7_10         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d2
    mux: setting signal GPIO7_11         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d3
    mux: setting signal GPIO7_12         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d4
    mux: setting signal GPIO7_13         PINMUX16 = 0x88888880 -> 0x88888880 
    mmc1: new SDHC card at address 1234
    Registered led device: lcd_d5
    mux: setting signal GPIO7_14         PINMUX16 = 0x88888880 -> 0x88888880 
    mmcblk0: mmc1:1234 SA04G 3.63 GiB 
    Registered led device: lcd_d6
    mux: setting signal GPIO7_15         PINMUX16 = 0x88888880 -> 0x88888880 
     mmcblk0: p1
    Registered led device: lcd_d7
    mux: setting signal GPIO7_5          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-run
    mux: setting signal GPIO7_6          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-data
    mux: setting signal GPIO7_7          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-error
    mux: setting signal GPIO5_9          PINMUX11 = 0x08880000 -> 0x08880000 
    Registered led device: tiwi_bt_en
    mux: setting signal GPIO5_10         PINMUX11 = 0x08880000 -> 0x08880000 
    Registered led device: tiwi_wl_en
    mux: setting signal GPIO8_10         PINMUX18 = 0x88022200 -> 0x88022200 
    Registered led device: gprs_pwr_en
    nf_conntrack version 0.5.0 (1820 buckets, 7280 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM ver 1.11
    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    _regulator_get: deviceless supply cvdd not found, using dummy regulator
    rtc-ds1307 1-0068: setting system clock to 2014-11-25 15:22:45 UTC (1416928965)
    net eth0: attached PHY driver [NatSemi DP83640] (mii_bus:phy_addr=0:01, id=20005ce1)
    EMAC: enable PHY energy detection mode (Syscom patch)
    davinci_mdio davinci_mdio.0: resetting idled controller
    PHY: 0:01 - Link is Up - 100/Full
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.2.233, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.2.233, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=192.168.2.69, rootpath=
    Freeing init memory: 920K
    udevd[441]: starting version 182
    SysLink version : 02.00.00.68_beta1
    SysLink module created on Date:Nov 18 2014 Time:12:22:30
    Entered KnlUtilsDrv_initializeModule
    Trace enabled
    Trace SetFailureReason enabled
    traceMask value: 0x101
    Leaving KnlUtilsDrv_initializeModule 0x0
    ipc-ARM: ipc_init() done!
    pca953x 1-0049: interrupt support not compiled in
    gpiochip_find_base: found new base at 252
    i2c i2c-1: new_device: Instantiated device pca9537 at 0x49
    gpio_to_irq: gpio=252, irq=-6
    pca953x 1-0070: interrupt support not compiled in
    gpiochip_find_base: found new base at 244
    i2c i2c-1: new_device: Instantiated device pca9538 at 0x70
    gpio_to_irq: gpio=244, irq=-6
    gpio_to_irq: gpio=245, irq=-6
    gpio_to_irq: gpio=246, irq=-6
    gpio_to_irq: gpio=247, irq=-6
    gpio_to_irq: gpio=248, irq=-6
    gpio_to_irq: gpio=249, irq=-6
    gpio_to_irq: gpio=250, irq=-6
    gpio_to_irq: gpio=251, irq=-6
    No entry for the specified index
    gpio_to_irq: gpio=102, irq=203
    No entry for the specified index
    gpio_to_irq: gpio=103, irq=204
    ipc-DSP: ipc_init() done
    Compat-wireless backport release: ol_R5.SP7.01
    Backport based on wl12xx.git ol_R5.SP7.01
    cfg80211: Calling CRDA to update world regulatory domain
    wl12xx: driver version: ol_R5.SP7.01
    wl12xx: compilation time: Thu Nov 20 08:50:59 2014
    mmc0: card claims to support voltages below the defined range. These will be ignored.
    mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    mmc0: new SDIO card at address 0001
    wl12xx: loaded
    ipc-DSP-cmd: sensor_correction 1
    ipc-DSP-cmd: sample rate = 2000Hz
    ipc-DSP-cmd: data filter = 0
    ipc-ARM-acq: user_kernel nb_overruns = 1298
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: loaded
    wl12xx: testmode cmd set plt mode
    wl12xx: power up
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: booting firmware ti-connectivity/wl127x-fw-4-plt.bin
    wl12xx: pause1 0xf03
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x0
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xdeadbeef
    wl12xx: nvs burst write 0x305470: 0xbad
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 183348
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 183348 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a3600c to 0x0
    wl12xx: uploading fw chunk 0xc8a3a00c to 0x4000
    wl12xx: uploading fw chunk 0xc8a3e00c to 0x8000
    wl12xx: uploading fw chunk 0xc8a4200c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a4600c to 0x10000
    wl12xx: uploading fw chunk 0xc8a4a00c to 0x14000
    wl12xx: uploading fw chunk 0xc8a4e00c to 0x18000
    wl12xx: uploading fw chunk 0xc8a5200c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a5600c to 0x20000
    wl12xx: uploading fw chunk 0xc8a5a00c to 0x24000
    wl12xx: uploading fw chunk 0xc8a5e00c to 0x28000
    wl12xx: uploading fw last chunk (3124 B) 0xc8a6200c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41028
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41028 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a62c48 to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a66c48 to 0x20004000
    wl12xx: uploading fw last chunk (8260 B) 0xc8a6ac48 to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8a6cc94 to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 28468
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 28468 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a6ce5c to 0x40be0
    wl12xx: uploading fw last chunk (12084 B) 0xc8a70e5c to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8a73d98 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8a75d3c to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: cmd_box_addr 0x407b4 event_box_addr 0x4cf80
    wl12xx: acx event mbox mask
    wl12xx: cmd configure (17)
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: IRQ
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: cmd test
    wl12xx: FEM autodetect: manual, manufacturer: 1
    
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000000: 00 00 00 00 19 00 00 00 00 00 ec f6 00 0c 18 f8
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000010: fc 00 08 10 f0 f8 00 0a 14 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000030: 00 00 00 00 00 00 77 01 80 00 1d 1f 22 26 27 29
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000040: 1a 1f 22 25 25 27 16 1d 1e 20 24 25 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000050: 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000060: 50 50 50 50 50 50 50 50 01 02 02 02 02 00 15 15
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000070: 15 11 15 15 0e 1e 2d 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: cmd test
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000000: 00 00 00 00 26 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000020: 00 00 00 00
    wl12xx: cmd test
    wl12xx: acx mem map
    wl12xx: cmd interrogate
    wl12xx: available tx blocks: 0
    wl12xx: wl1271 mem cfg
    wl12xx: cmd configure (1)
    wl12xx: cmd data path
    wl12xx: rx start cmd channel 1
    wl12xx: tx start cmd channel 1
    wl12xx: acx sleep auth
    wl12xx: cmd configure (29)
    wl12xx: acx pm config
    wl12xx: cmd configure (64)
    wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.137)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd set plt mode
    wl12xx: power down
    

    : 6/2
    UBI: image sequence number:  1745862489
    UBI: background thread "ubi_bgt0d" started, PID 219
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: detected phy mask fffffffd
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver NatSemi DP83640
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    ohci ohci.0: DA8xx OHCI
    ohci ohci.0: new USB bus registered, assigned bus number 2
    Waiting for USB PHY clock good...
    ohci ohci.0: irq 59, io mem 0x01e25000
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: DA8xx OHCI
    usb usb2: Manufacturer: Linux 3.1.0-rc4 ohci_hcd
    usb usb2: SerialNumber: ohci.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    usbcore: registered new interface driver cdc_acm
    cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbserial
    USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    usbserial: USB Serial Driver core
    USB Serial support registered for FTDI USB Serial Device
    usbcore: registered new interface driver ftdi_sio
    ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
    USB Serial support registered for GSM modem (1-port)
    usbcore: registered new interface driver option
    option: v0.7.2:USB Driver for GSM modems
    USB Serial support registered for pl2303
    usbcore: registered new interface driver pl2303
    pl2303: Prolific PL2303 USB to serial adaptor driver
    rtc-ds1307 1-0068: rtc core: registered ds1339 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    omap_rtc: RTC power up reset detected
    omap_rtc: already running
    i2c /dev entries driver
    pps-ecap: pps-ecap: Probing eCAP PPS source device
    pps pps0: new PPS source pps-ecap.0
    pps-ecap: pps-ecap: controller revision 0x44d22100
    pps pps0: Registered eCAP as PPS source
    ina219 1-0041: hwmon0: sensor 'ina219'
    lm73 1-004a: hwmon1: sensor 'lm73'
    sht21 1-0040: initialized
    watchdog watchdog: heartbeat 60 sec
    Bluetooth: HCI UART driver ver 2.2
    Bluetooth: HCI H4 protocol initialized
    Bluetooth: HCI BCSP protocol initialized
    Bluetooth: HCILL protocol initialized
    Bluetooth: HCIATH3K protocol initialized
    Bluetooth: Generic Bluetooth USB driver ver 0.6
    usbcore: registered new interface driver btusb
    cpuidle: using governor ladder
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
    mux: setting signal GPIO6_0          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_enb_cs
    mux: setting signal GPIO8_11         PINMUX18 = 0x88022200 -> 0x88022200 
    Registered led device: lcd_pclk
    mux: setting signal GPIO8_9          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_hsync
    mux: setting signal GPIO8_8          PINMUX19 = 0x08822288 -> 0x08822288 
    Registered led device: lcd_vsync
    mux: setting signal GPIO7_8          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: lcd_d0
    mux: setting signal GPIO7_9          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: lcd_d1
    mux: setting signal GPIO7_10         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d2
    mux: setting signal GPIO7_11         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d3
    mux: setting signal GPIO7_12         PINMUX16 = 0x88888880 -> 0x88888880 
    Registered led device: lcd_d4
    mux: setting signal GPIO7_13         PINMUX16 = 0x88888880 -> 0x88888880 
    mmc1: new SDHC card at address 1234
    Registered led device: lcd_d5
    mux: setting signal GPIO7_14         PINMUX16 = 0x88888880 -> 0x88888880 
    mmcblk0: mmc1:1234 SA04G 3.63 GiB 
    Registered led device: lcd_d6
    mux: setting signal GPIO7_15         PINMUX16 = 0x88888880 -> 0x88888880 
     mmcblk0: p1
    Registered led device: lcd_d7
    mux: setting signal GPIO7_5          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-run
    mux: setting signal GPIO7_6          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-data
    mux: setting signal GPIO7_7          PINMUX17 = 0x00088888 -> 0x00088888 
    Registered led device: led-error
    mux: setting signal GPIO5_9          PINMUX11 = 0x08880000 -> 0x08880000 
    Registered led device: tiwi_bt_en
    mux: setting signal GPIO5_10         PINMUX11 = 0x08880000 -> 0x08880000 
    Registered led device: tiwi_wl_en
    mux: setting signal GPIO8_10         PINMUX18 = 0x88022200 -> 0x88022200 
    Registered led device: gprs_pwr_en
    nf_conntrack version 0.5.0 (1820 buckets, 7280 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    Bluetooth: RFCOMM TTY layer initialized
    Bluetooth: RFCOMM socket layer initialized
    Bluetooth: RFCOMM ver 1.11
    Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    _regulator_get: deviceless supply cvdd not found, using dummy regulator
    rtc-ds1307 1-0068: setting system clock to 2014-11-25 15:22:45 UTC (1416928965)
    net eth0: attached PHY driver [NatSemi DP83640] (mii_bus:phy_addr=0:01, id=20005ce1)
    EMAC: enable PHY energy detection mode (Syscom patch)
    davinci_mdio davinci_mdio.0: resetting idled controller
    PHY: 0:01 - Link is Up - 100/Full
    IP-Config: Guessing netmask 255.255.255.0
    IP-Config: Complete:
         device=eth0, addr=192.168.2.233, mask=255.255.255.0, gw=255.255.255.255,
         host=192.168.2.233, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=192.168.2.69, rootpath=
    Freeing init memory: 920K
    udevd[441]: starting version 182
    SysLink version : 02.00.00.68_beta1
    SysLink module created on Date:Nov 18 2014 Time:12:22:30
    Entered KnlUtilsDrv_initializeModule
    Trace enabled
    Trace SetFailureReason enabled
    traceMask value: 0x101
    Leaving KnlUtilsDrv_initializeModule 0x0
    ipc-ARM: ipc_init() done!
    pca953x 1-0049: interrupt support not compiled in
    gpiochip_find_base: found new base at 252
    i2c i2c-1: new_device: Instantiated device pca9537 at 0x49
    gpio_to_irq: gpio=252, irq=-6
    pca953x 1-0070: interrupt support not compiled in
    gpiochip_find_base: found new base at 244
    i2c i2c-1: new_device: Instantiated device pca9538 at 0x70
    gpio_to_irq: gpio=244, irq=-6
    gpio_to_irq: gpio=245, irq=-6
    gpio_to_irq: gpio=246, irq=-6
    gpio_to_irq: gpio=247, irq=-6
    gpio_to_irq: gpio=248, irq=-6
    gpio_to_irq: gpio=249, irq=-6
    gpio_to_irq: gpio=250, irq=-6
    gpio_to_irq: gpio=251, irq=-6
    No entry for the specified index
    gpio_to_irq: gpio=102, irq=203
    No entry for the specified index
    gpio_to_irq: gpio=103, irq=204
    ipc-DSP: ipc_init() done
    Compat-wireless backport release: ol_R5.SP7.01
    Backport based on wl12xx.git ol_R5.SP7.01
    cfg80211: Calling CRDA to update world regulatory domain
    wl12xx: driver version: ol_R5.SP7.01
    wl12xx: compilation time: Thu Nov 20 08:50:59 2014
    mmc0: card claims to support voltages below the defined range. These will be ignored.
    mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
    mmc0: new SDIO card at address 0001
    wl12xx: loaded
    ipc-DSP-cmd: sensor_correction 1
    ipc-DSP-cmd: sample rate = 2000Hz
    ipc-DSP-cmd: data filter = 0
    ipc-ARM-acq: user_kernel nb_overruns = 1298
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: loaded
    wl12xx: testmode cmd set plt mode
    wl12xx: power up
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: booting firmware ti-connectivity/wl127x-fw-4-plt.bin
    wl12xx: pause1 0xf03
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x0
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xdeadbeef
    wl12xx: nvs burst write 0x305470: 0xbad
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 183348
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 183348 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a3600c to 0x0
    wl12xx: uploading fw chunk 0xc8a3a00c to 0x4000
    wl12xx: uploading fw chunk 0xc8a3e00c to 0x8000
    wl12xx: uploading fw chunk 0xc8a4200c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a4600c to 0x10000
    wl12xx: uploading fw chunk 0xc8a4a00c to 0x14000
    wl12xx: uploading fw chunk 0xc8a4e00c to 0x18000
    wl12xx: uploading fw chunk 0xc8a5200c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a5600c to 0x20000
    wl12xx: uploading fw chunk 0xc8a5a00c to 0x24000
    wl12xx: uploading fw chunk 0xc8a5e00c to 0x28000
    wl12xx: uploading fw last chunk (3124 B) 0xc8a6200c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41028
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41028 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a62c48 to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a66c48 to 0x20004000
    wl12xx: uploading fw last chunk (8260 B) 0xc8a6ac48 to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8a6cc94 to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 28468
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 28468 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a6ce5c to 0x40be0
    wl12xx: uploading fw last chunk (12084 B) 0xc8a70e5c to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8a73d98 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8a75d3c to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: cmd_box_addr 0x407b4 event_box_addr 0x4cf80
    wl12xx: acx event mbox mask
    wl12xx: cmd configure (17)
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: IRQ
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: cmd test
    wl12xx: FEM autodetect: manual, manufacturer: 1
    
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000000: 00 00 00 00 19 00 00 00 00 00 ec f6 00 0c 18 f8
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000010: fc 00 08 10 f0 f8 00 0a 14 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000030: 00 00 00 00 00 00 77 01 80 00 1d 1f 22 26 27 29
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000040: 1a 1f 22 25 25 27 16 1d 1e 20 24 25 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000050: 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000060: 50 50 50 50 50 50 50 50 01 02 02 02 02 00 15 15
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000070: 15 11 15 15 0e 1e 2d 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: cmd test
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000000: 00 00 00 00 26 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000020: 00 00 00 00
    wl12xx: cmd test
    wl12xx: acx mem map
    wl12xx: cmd interrogate
    wl12xx: available tx blocks: 0
    wl12xx: wl1271 mem cfg
    wl12xx: cmd configure (1)
    wl12xx: cmd data path
    wl12xx: rx start cmd channel 1
    wl12xx: tx start cmd channel 1
    wl12xx: acx sleep auth
    wl12xx: cmd configure (29)
    wl12xx: acx pm config
    wl12xx: cmd configure (64)
    wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.137)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd test
    wl12xx: cmd test
    wl12xx: testmode cmd set plt mode
    wl12xx: power down
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: loaded
    wl12xx: mac80211 configure filter changed 100 total 80000100
    wl12xx: mac80211 start
    wl12xx: mac80211 add interface type 3 mac 00:50:c2:f0:03:87
    wl12xx: state: 0
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: booting firmware ti-connectivity/wl127x-fw-4-sr.bin
    wl12xx: pause1 0x40f73
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x80316a38
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xc2f00387
    wl12xx: nvs burst write 0x305470: 0x50
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 196376
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 196376 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8aec00c to 0x0
    wl12xx: uploading fw chunk 0xc8af000c to 0x4000
    wl12xx: uploading fw chunk 0xc8af400c to 0x8000
    wl12xx: uploading fw chunk 0xc8af800c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8afc00c to 0x10000
    wl12xx: uploading fw chunk 0xc8b0000c to 0x14000
    wl12xx: uploading fw chunk 0xc8b0400c to 0x18000
    wl12xx: uploading fw chunk 0xc8b0800c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b0c00c to 0x20000
    wl12xx: uploading fw chunk 0xc8b1000c to 0x24000
    wl12xx: uploading fw chunk 0xc8b1400c to 0x28000
    wl12xx: uploading fw last chunk (16152 B) 0xc8b1800c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41432
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41432 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1bf2c to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1ff2c to 0x20004000
    wl12xx: uploading fw last chunk (8664 B) 0xc8b23f2c to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8b2610c to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 29652
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 29652 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b262d4 to 0x40be0
    wl12xx: uploading fw last chunk (13268 B) 0xc8b2a2d4 to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8b2d6b0 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8b2f654 to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: pause1 0x40f73
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x80316a78
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xc2f00387
    wl12xx: nvs burst write 0x305470: 0x50
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 196376
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 196376 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8aec00c to 0x0
    wl12xx: uploading fw chunk 0xc8af000c to 0x4000
    wl12xx: uploading fw chunk 0xc8af400c to 0x8000
    wl12xx: uploading fw chunk 0xc8af800c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8afc00c to 0x10000
    wl12xx: uploading fw chunk 0xc8b0000c to 0x14000
    wl12xx: uploading fw chunk 0xc8b0400c to 0x18000
    wl12xx: uploading fw chunk 0xc8b0800c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b0c00c to 0x20000
    wl12xx: uploading fw chunk 0xc8b1000c to 0x24000
    wl12xx: uploading fw chunk 0xc8b1400c to 0x28000
    wl12xx: uploading fw last chunk (16152 B) 0xc8b1800c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41432
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41432 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1bf2c to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1ff2c to 0x20004000
    wl12xx: uploading fw last chunk (8664 B) 0xc8b23f2c to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8b2610c to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 29652
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 29652 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b262d4 to 0x40be0
    wl12xx: uploading fw last chunk (13268 B) 0xc8b2a2d4 to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8b2d6b0 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8b2f654 to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: pause1 0x40f73
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x80316a78
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xc2f00387
    wl12xx: nvs burst write 0x305470: 0x50
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 196376
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 196376 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8aec00c to 0x0
    wl12xx: uploading fw chunk 0xc8af000c to 0x4000
    wl12xx: uploading fw chunk 0xc8af400c to 0x8000
    wl12xx: uploading fw chunk 0xc8af800c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8afc00c to 0x10000
    wl12xx: uploading fw chunk 0xc8b0000c to 0x14000
    wl12xx: uploading fw chunk 0xc8b0400c to 0x18000
    wl12xx: uploading fw chunk 0xc8b0800c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b0c00c to 0x20000
    wl12xx: uploading fw chunk 0xc8b1000c to 0x24000
    wl12xx: uploading fw chunk 0xc8b1400c to 0x28000
    wl12xx: uploading fw last chunk (16152 B) 0xc8b1800c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41432
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41432 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1bf2c to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b1ff2c to 0x20004000
    wl12xx: uploading fw last chunk (8664 B) 0xc8b23f2c to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8b2610c to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 29652
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 29652 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8b262d4 to 0x40be0
    wl12xx: uploading fw last chunk (13268 B) 0xc8b2a2d4 to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8b2d6b0 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8b2f654 to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: ERROR timeout waiting for the hardware to complete initialization
    wl12xx: ERROR firmware boot failed despite 3 retries
    wl12xx: mac80211 stop
    wl12xx: elp work
    wl12xx: mac80211 configure filter changed 0 total 80000000
    

    Regards,

    Fabrice

  • Hi Fabrice,

    Can you confirm if the WLAN_EN line is actually going low on power down?
    What is the behaviour if you do the below?

    # ifconfig wlan0 up
    # ifconfig wlan0 down
    # ifconfig wlan0 up

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    Good catch!! WLAN_EN does not goes down and up. I will fix this and try again.

    For my own understanding, why does autocalibrate/calibrate step is actually needed? Why it is not sufficient to just create and use a ref_nvs file?

    Thanks & Regards,

    Fabrice

  • Hi Fabrice,

    Regarding the WLAN_EN not going low, please see: http://e2e.ti.com/support/wireless_connectivity/f/307/t/181835.aspx

    Calibration is required -  as it is a process of determining radio parameters for a chip per the chip. Not sure I understood your question - the ref_nvs is generated as a consequence of the calibration process.

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    Thanks for your help regarding WLAN_EN not being toggled. I did some patches on my side according the discussion thread you mentionned. Now I can correctly toggle WLAN_EN and I can do that many times with ifconfig up and down. But I am now facing a new issue witch seems to be related to Davinci mmc subsystem on my kernel version (3.1.0-rc4).

    Below are all what I did:

    # echo 0xFFFF > /sys/module/wl12xx/parameters/debug_level
    # echo 8 > /proc/sys/kernel/printk


    # cat /sys/kernel/debug/gpio | grep wl12
    gpio-90 (wl12xx_en ) out lo
    gpio-91 (wl12xx_irq ) in hi
    # cat /proc/interrupts | grep wl12
    192: 0 GPIO wl12xx


    # ifconfig wlan0 hw ether 00:50:c2:f0:03:87
    # ifconfig -a
    wlan0 Link encap:Ethernet HWaddr 00:50:C2:F0:03:87
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    # ifconfig wlan0 up
    # dmesg | grep wl12 > dmesg_wlan_up.txt
    # ifconfig -a
    wlan0 Link encap:Ethernet HWaddr 00:50:C2:F0:03:87
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    # cat /sys/kernel/debug/gpio | grep wl12
    gpio-90 (wl12xx_en ) out hi
    gpio-91 (wl12xx_irq ) in lo
    # cat /proc/interrupts | grep wl12
    192: 3 GPIO wl12xx

    # ifconfig wlan0 down
    # dmesg | grep wl12 > dmesg_wlan_down.txt
    # ifconfig -a
    wlan0 Link encap:Ethernet HWaddr 00:50:C2:F0:03:87
    BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    # cat /sys/kernel/debug/gpio | grep wl12
    gpio-90 (wl12xx_en ) out lo
    gpio-91 (wl12xx_irq ) in hi
    # cat /proc/interrupts | grep wl12
    192: 5 GPIO wl12xx

    # rmmod wl12xx_sdio
    # rm /mnt/data/wl127x-nvs.bin

    # calibrator plt autocalibrate wlan0 /lib/modules/$(uname -r)/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko /lib/firmware/ti-connectivity/ini_files/127x/TQS_S_2.6.ini /mnt/data/wl127x-nvs.bin 00:50:c2:f0:03: 87
    wl12xx: SDIO init
    wl12xx_set_power() ON
    wl1271_sdio: probe of mmc0:0001:1 failed with error -110
    wl1271_sdio: probe of mmc0:0001:2 failed with error -110
    Fail to set PLT power mode on
    wl12xx: SDIO exit
    wl12xx_set_power() ON
    wl12xx_set_power() OFF
    Calibration not complete. Removing half-baked nvs

    I am also attaching my patches and log files in case these can help solving the issue.

    diff --git a/arch/arm/mach-davinci/board-omapl138-mr3000.c b/arch/arm/mach-davinci/board-omapl138-mr3000.c
    index bbb2d31..9b58b47 100644
    --- a/arch/arm/mach-davinci/board-omapl138-mr3000.c
    +++ b/arch/arm/mach-davinci/board-omapl138-mr3000.c
    @@ -753,6 +753,7 @@ static void __init mr3000_leds_init(const short pins[], struct platform_device *
     		pr_warning("Could not register LEDS device: %d\n", ret);
     }
     
    +#if 0
     /*
      * TIWI
      */
    @@ -801,6 +802,7 @@ static void __init mr3000_tiwi_init(void)
     	if (ret)
     		pr_warning("Could not register TIWI device: %d\n", ret);
     }
    +#endif
     
     /*
      * GPRS
    @@ -1153,6 +1155,7 @@ mmc_setup_wp_fail:
     /*
      * WLAN
      */
    +#if 0
     static const short mr3000_wlan_pins[] __initconst = {
     	DA850_GPIO5_11,
     	-1
    @@ -1188,6 +1191,71 @@ static void __init mr3000_wlan_init(void)
     	if (ret)
     		pr_warning("Error setting wl12xx platform data: %d\n", ret);
     }
    +#else
    +static const short mr3000_wlan_pins[] __initconst = {
    +	DA850_GPIO5_10, DA850_GPIO5_11,
    +	-1
    +};
    +
    +#define MR3000_WLAN_EN  GPIO_TO_PIN(5, 10)
    +#define MR3000_WLAN_IRQ GPIO_TO_PIN(5, 11)
    +
    +#include <linux/delay.h>
    +
    +static void wl12xx_set_power(bool enable) 
    +{
    +#if 1
    +        if(enable) {
    +                gpio_set_value(MR3000_WLAN_EN, 1);
    +		pr_info("wl12xx_set_power() ON");
    +                mdelay(70);
    +        }
    +        else {
    +                gpio_set_value(MR3000_WLAN_EN, 0);
    +		pr_info("wl12xx_set_power() OFF");
    +        }
    +#endif
    +}
    +
    +static struct wl12xx_platform_data mr3000_wlan_data __initdata = {
    +        .set_power = wl12xx_set_power,
    +        .irq = -1,
    +        .board_ref_clock = WL12XX_REFCLOCK_38,
    +        .platform_quirks = WL12XX_PLATFORM_QUIRK_EDGE_IRQ,
    +};
    +
    +static void __init mr3000_wlan_init(void)
    +{
    +	int ret;
    +
    +	pr_info("mux: WLAN setup\n");
    +	ret = davinci_cfg_reg_list(mr3000_wlan_pins);
    +	if (ret) {
    +		pr_warning("mux: WLAN setup failed: %d\n", ret);
    +		return;
    +	}
    +
    +#if 1
    +	ret = gpio_request_one(MR3000_WLAN_EN, GPIOF_OUT_INIT_LOW, "wl12xx_en");
    +	//ret = gpio_request_one(MR3000_WLAN_EN, GPIOF_OUT_INIT_HIGH, "wl12xx_en");
    +	if (ret) {
    +		pr_warning("Could not open GPIO wl12xx_en: %d\n", ret);
    +		return;
    +	}
    +#endif
    +
    +	ret = gpio_request_one(MR3000_WLAN_IRQ, GPIOF_IN, "wl12xx_irq");
    +	if (ret) {
    +		pr_warning("Could not open GPIO wl12xx_irq: %d\n", ret);
    +		return;
    +	}
    +
    +	mr3000_wlan_data.irq = gpio_to_irq(MR3000_WLAN_IRQ);
    +	ret = wl12xx_set_platform_data(&mr3000_wlan_data);
    +	if (ret)
    +		pr_warning("Error setting wl12xx platform data: %d\n", ret);
    +}
    +#endif
     
     /*
      * I2C
    @@ -1753,7 +1821,9 @@ static void __init da850_evm_init(void)
     		mr3000_leds_init(mr3000_leds_0xf_pins, &mr3000_leds_0xf_device);
     	} else {
     		mr3000_leds_init(mr3000_leds_pins, &mr3000_leds_device);
    +#if 0
     		mr3000_tiwi_init();
    +#endif
     		mr3000_gprs_init();
     	}
     
    

    --- a/workspace/wl12xx/drivers/net/wireless/wl12xx/sdio.c
    +++ b/workspace/wl12xx/drivers/net/wireless/wl12xx/sdio.c
    @@ -37,6 +37,10 @@
     #include "wl12xx_80211.h"
     #include "io.h"
     
    +#if 1
    +#include "debug.h"
    +#endif
    +
     #ifndef SDIO_VENDOR_ID_TI
     #define SDIO_VENDOR_ID_TI		0x0097
     #endif
    @@ -134,7 +138,12 @@ static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue)
     	int ret;
     	struct sdio_func *func = dev_to_sdio_func(glue->dev);
     	struct mmc_card *card = func->card;
    +#if 1
    +	struct wl1271 *wl = platform_get_drvdata(glue->core);
     
    +        if(wl->set_power) wl->set_power(true);
    +        wl1271_info("wl12xx_sdio_power_on()");
    +#endif
     	ret = pm_runtime_get_sync(&card->dev);
     	if (ret) {
     		/*
    @@ -145,6 +154,9 @@ static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue)
     		ret = mmc_power_restore_host(card->host);
     		if (ret < 0) {
     			pm_runtime_put_sync(&card->dev);
    +#if 1
    +                        if(wl->set_power) wl->set_power(false);
    +#endif
     			goto out;
     		}
     	}
    @@ -162,6 +174,9 @@ static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue)
     	int ret;
     	struct sdio_func *func = dev_to_sdio_func(glue->dev);
     	struct mmc_card *card = func->card;
    +#if 1
    +	struct wl1271 *wl = platform_get_drvdata(glue->core);
    +#endif
     
     	sdio_claim_host(func);
     	sdio_disable_func(func);
    @@ -174,6 +189,10 @@ static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue)
     
     	/* Let runtime PM know the card is powered off */
     	pm_runtime_put_sync(&card->dev);
    +#if 1
    +        if(wl->set_power) wl->set_power(false);
    +        wl1271_info("wl12xx_sdio_power_off()");
    +#endif
     
     out:
     	return ret;
    @@ -364,12 +383,37 @@ static struct sdio_driver wl1271_sdio_driver = {
     
     static int __init wl1271_init(void)
     {
    +#if 1
    +        const struct wl12xx_platform_data *wlan_data;
    +        wlan_data = wl12xx_get_platform_data();
    +
    +        wl1271_info("sdio init");
    +
    +        if(!IS_ERR(wlan_data) && wlan_data->set_power) {
    +                wlan_data->set_power(true);
    +        }
    +#endif
     	return sdio_register_driver(&wl1271_sdio_driver);
     }
     
     static void __exit wl1271_exit(void)
     {
    +#if 1
    +        const struct wl12xx_platform_data *wlan_data;
    +        wlan_data = wl12xx_get_platform_data();
    +
    +        wl1271_info("sdio exit");
    +
    +        if (!IS_ERR(wlan_data) && wlan_data->set_power) {
    +                wlan_data->set_power(true);
    +        }
    +#endif
     	sdio_unregister_driver(&wl1271_sdio_driver);
    +#if 1
    +        if (!IS_ERR(wlan_data) && wlan_data->set_power) {
    +                wlan_data->set_power(false);
    +        }
    +#endif
     }
     
     module_init(wl1271_init);
    @@ -383,4 +427,4 @@ MODULE_FIRMWARE(WL127X_FW_NAME_MULTI);
     MODULE_FIRMWARE(WL128X_FW_NAME_SINGLE);
     MODULE_FIRMWARE(WL128X_FW_NAME_MULTI);
     MODULE_FIRMWARE(WL127X_PLT_FW_NAME);
    -MODULE_FIRMWARE(WL128X_PLT_FW_NAME);
    \ No newline at end of file
    +MODULE_FIRMWARE(WL128X_PLT_FW_NAME);
    

    Backport based on wl12xx.git ol_R5.SP7.01
    wl12xx: driver version: ol_R5.SP7.01-dirty
    wl12xx: compilation time: Tue Dec  2 15:28:44 2014
    wl12xx: SDIO init
    wl12xx_set_power() ON
    wl12xx_set_power() ON
    wl12xx: wl12xx_sdio_power_on()
    wl12xx_set_power() OFF
    wl12xx: wl12xx_sdio_power_off()
    wl12xx: loaded
    

    ...
    
    wl12xx: mac80211 start
    wl12xx: mac80211 add interface type 2 mac 00:50:c2:f0:03:87
    wl12xx: state: 0
    wl12xx_set_power() ON
    wl12xx: wl12xx_sdio_power_on()
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: chip id 0x4030111 (1271 PG20)
    wl12xx: booting firmware ti-connectivity/wl127x-fw-4-sr.bin
    wl12xx: pause1 0xf03
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00310000 reg_size 00006000
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: DRPW_SCRATCH_START 0031002c
    wl12xx: clk2 0x0
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: soft reset bootdata 0x0
    wl12xx: nvs burst write 0x30546c: 0xc2f00387
    wl12xx: nvs burst write 0x305470: 0x50
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: ACX_EEPROMLESS_IND_REG
    wl12xx: chip id 0x4030111
    wl12xx: firmware chunks to be uploaded: 6
    wl12xx: chunk 5 addr 0x0 len 196376
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 196376 chunk_size 16384
    wl12xx: mem_start 00000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a3300c to 0x0
    wl12xx: uploading fw chunk 0xc8a3700c to 0x4000
    wl12xx: uploading fw chunk 0xc8a3b00c to 0x8000
    wl12xx: uploading fw chunk 0xc8a3f00c to 0xc000
    wl12xx: mem_start 00010000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a4300c to 0x10000
    wl12xx: uploading fw chunk 0xc8a4700c to 0x14000
    wl12xx: uploading fw chunk 0xc8a4b00c to 0x18000
    wl12xx: uploading fw chunk 0xc8a4f00c to 0x1c000
    wl12xx: mem_start 00020000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a5300c to 0x20000
    wl12xx: uploading fw chunk 0xc8a5700c to 0x24000
    wl12xx: uploading fw chunk 0xc8a5b00c to 0x28000
    wl12xx: uploading fw last chunk (16152 B) 0xc8a5f00c to 0x2c000
    wl12xx: chunk 4 addr 0x20000000 len 41432
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 41432 chunk_size 16384
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 20000000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a62f2c to 0x20000000
    wl12xx: mem_start 20004000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a66f2c to 0x20004000
    wl12xx: uploading fw last chunk (8664 B) 0xc8a6af2c to 0x20008000
    wl12xx: chunk 3 addr 0x40000 len 448
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 448 chunk_size 16384
    wl12xx: mem_start 00040000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (448 B) 0xc8a6d10c to 0x40000
    wl12xx: chunk 2 addr 0x40be0 len 29652
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 29652 chunk_size 16384
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: mem_start 00040BE0 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw chunk 0xc8a6d2d4 to 0x40be0
    wl12xx: uploading fw last chunk (13268 B) 0xc8a712d4 to 0x44be0
    wl12xx: chunk 1 addr 0x312000 len 8092
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 8092 chunk_size 16384
    wl12xx: mem_start 00312000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (8092 B) 0xc8a746b0 to 0x312000
    wl12xx: chunk 0 addr 0x316000 len 3784
    wl12xx: starting firmware upload
    wl12xx: fw_data_len 3784 chunk_size 16384
    wl12xx: mem_start 00316000 mem_size 000177C0
    wl12xx: reg_start 00300000 reg_size 00008800
    wl12xx: mem2_start 00000000 mem2_size 00000000
    wl12xx: mem3_start 00000000 mem3_size 00000000
    wl12xx: uploading fw last chunk (3784 B) 0xc8a76654 to 0x316000
    wl12xx: chip id after firmware boot: 0x4030111
    wl12xx: mem_start 00040000 mem_size 00014FC0
    wl12xx: reg_start 00300000 reg_size 0000A000
    wl12xx: mem2_start 003004F8 mem2_size 00000004
    wl12xx: mem3_start 00040404 mem3_size 00000000
    wl12xx: cmd_box_addr 0x407b4 event_box_addr 0x4cf80
    wl12xx: acx event mbox mask
    wl12xx: cmd configure (17)
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: IRQ
    wl12xx: MBOX ptrs: 0x4cf80 0x4cfc0
    wl12xx: cmd test
    wl12xx: FEM autodetect: manual, manufacturer: 1
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000000: 00 00 00 00 19 00 00 00 00 00 ec f6 00 0c 18 f8
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000010: fc 00 08 10 f0 f8 00 0a 14 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000030: 00 00 00 00 00 00 77 01 80 00 1d 1f 22 26 27 29
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000040: 1a 1f 22 25 25 27 16 1d 1e 20 24 25 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000050: 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000060: 50 50 50 50 50 50 50 50 01 02 02 02 02 00 15 15
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000070: 15 11 15 15 0e 1e 2d 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_RADIO_PARAM: 000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: cmd test
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000000: 00 00 00 00 26 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    wl12xx: TEST_CMD_INI_FILE_EXT_RADIO_PARAM: 00000020: 00 00 00 00
    wl12xx: cmd test
    wl12xx: cmd template_set 2 (role 255)
    wl12xx: cmd template_set 3 (role 255)
    wl12xx: cmd template_set 9 (role 255)
    wl12xx: cmd template_set 10 (role 255)
    wl12xx: cmd template_set 0 (role 255)
    wl12xx: cmd template_set 6 (role 255)
    wl12xx: cmd template_set 5 (role 255)
    wl12xx: cmd template_set 4 (role 255)
    wl12xx: cmd template_set 1 (role 255)
    wl12xx: cmd template_set 15 (role 255)
    wl12xx: cmd template_set 14 (role 255)
    wl12xx: cmd template_set 13 (role 255)
    wl12xx: cmd template_set 16 (role 255)
    wl12xx: cmd template_set 7 (role 255)
    wl12xx: cmd template_set 7 (role 255)
    wl12xx: cmd template_set 7 (role 255)
    wl12xx: cmd template_set 7 (role 255)
    wl12xx: wl1271 mem cfg
    wl12xx: cmd configure (1)
    wl12xx: cmd config firmware logger
    wl12xx: acx sg cfg
    wl12xx: cmd configure (22)
    wl12xx: acx sg enable
    wl12xx: cmd configure (21)
    wl12xx: acx mem map
    wl12xx: cmd interrogate
    wl12xx: available tx blocks: 99
    wl12xx: acx rx msdu life time
    wl12xx: cmd configure (60)
    wl12xx: acx dco itrim parameters
    wl12xx: cmd configure (55)
    wl12xx: acx tx config options
    wl12xx: cmd configure (15)
    wl12xx: wl1271 rx interrupt config
    wl12xx: cmd configure (39)
    wl12xx: acx cca threshold
    wl12xx: cmd configure (16)
    wl12xx: acx frag threshold: 2352
    wl12xx: cmd configure (40)
    wl12xx: cmd data path
    wl12xx: rx start cmd channel 1
    wl12xx: tx start cmd channel 1
    wl12xx: acx pm config
    wl12xx: cmd configure (64)
    wl12xx: acx set rate mgmt params
    wl12xx: cmd configure (52)
    wl12xx: acx config hangover
    wl12xx: cmd configure (66)
    wl12xx: firmware booted (Rev 6.3.10.0.139)
    wl12xx: 11a is not supported
    wl12xx: cmd role enable
    wl12xx: open_count=0, current_fw=1 (force_mr=0)
    wl12xx: acx sleep auth
    wl12xx: cmd configure (29)
    wl12xx: acx config ps
    wl12xx: cmd configure (65)
    wl12xx: acx fm coex setting
    wl12xx: cmd configure (23)
    wl12xx: acx rate policies
    wl12xx: basic_rate: 0x3, full_rate: 0x3
    wl12xx: cmd configure (27)
    wl12xx: cmd configure (27)
    wl12xx: cmd configure (27)
    wl12xx: acx group address tbl
    wl12xx: cmd configure (63)
    wl12xx: acx connection monitor parameters: disabled
    wl12xx: cmd configure (18)
    wl12xx: acx beacon filter table
    wl12xx: cmd configure (24)
    wl12xx: acx beacon filter opt
    wl12xx: cmd configure (11)
    wl12xx: acx bcn dtim options
    wl12xx: cmd configure (20)
    wl12xx: acx rssi snr avg weights
    wl12xx: cmd configure (43)
    wl12xx: acx slot
    wl12xx: cmd configure (2)
    wl12xx: acx service period timeout
    wl12xx: cmd configure (33)
    wl12xx: acx rts threshold: 2353
    wl12xx: cmd configure (62)
    wl12xx: acx ac cfg 0 cw_ming 15 cw_max 63 aifs 3 txop 0
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: acx ac cfg 1 cw_ming 15 cw_max 63 aifs 7 txop 0
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: acx ac cfg 2 cw_ming 15 cw_max 63 aifs 1 txop 3008
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: acx ac cfg 3 cw_ming 15 cw_max 63 aifs 1 txop 1504
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: acx feature cfg
    wl12xx: cmd configure (67)
    wl12xx: acx keep alive config
    wl12xx: cmd configure (45)
    wl12xx: acx keep alive config
    wl12xx: cmd configure (45)
    wl12xx: acx keep alive config
    wl12xx: cmd configure (45)
    wl12xx: acx keep alive config
    wl12xx: cmd configure (45)
    wl12xx: acx keep alive mode: 0
    wl12xx: cmd configure (44)
    wl12xx: acx ba initiator policy
    wl12xx: cmd configure (46)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: mac80211 set rx filters: wowlan   (null)
    wl12xx: configure_wowlan: wow   (null)
    wl12xx: acx toggle rx data filter en: 0 act: 1
    wl12xx: cmd configure (36)
    wl12xx: mac80211 bss info changed 0xe
    wl12xx: acx slot
    wl12xx: cmd configure (2)
    wl12xx: acx_set_preamble
    wl12xx: cmd configure (30)
    wl12xx: acx_set_ctsprotect
    wl12xx: cmd configure (28)
    wl12xx: mac80211 conf tx 0
    wl12xx: acx ac cfg 3 cw_ming 7 cw_max 15 aifs 2 txop 3264
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: mac80211 conf tx 1
    wl12xx: acx ac cfg 2 cw_ming 15 cw_max 31 aifs 2 txop 6016
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: mac80211 conf tx 2
    wl12xx: acx ac cfg 0 cw_ming 31 cw_max 1023 aifs 3 txop 0
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: mac80211 conf tx 3
    wl12xx: acx ac cfg 1 cw_ming 31 cw_max 1023 aifs 7 txop 0
    wl12xx: cmd configure (3)
    wl12xx: acx tid config
    wl12xx: cmd configure (9)
    wl12xx: mac80211 bss info changed 0x2000
    wl12xx: mac80211 bss info changed 0x4000
    wl12xx: elp work
    wl12xx: chip to elp
    wl12xx: waking up chip from elp
    wl12xx: IRQ
    wl12xx: wakeup time: 10 ms
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: mac80211 config ch 1 psm off power 20 idle changed 0xffffffff
    wl12xx: elp work
    wl12xx: chip to elp
    wl12xx: waking up chip from elp
    wl12xx: IRQ
    wl12xx: wakeup time: 10 ms
    wl12xx: acx rate policies
    wl12xx: basic_rate: 0x1, full_rate: 0x1
    wl12xx: cmd configure (27)
    wl12xx: cmd configure (27)
    wl12xx: cmd configure (27)
    wl12xx: acx dot11_cur_tx_pwr 20
    wl12xx: cmd configure (61)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: mac80211 configure filter changed 0 total 80000000
    wl12xx: mac80211 config ch 1 psm off power 20 idle changed 0x10
    wl12xx: acx group address tbl
    wl12xx: cmd configure (63)
    wl12xx: mac80211 configure filter changed 0 total 80000000
    wl12xx: acx group address tbl
    wl12xx: cmd configure (63)
    wl12xx: elp work
    wl12xx: chip to elp
    

    ...
    
    wl12xx: mac80211 configure filter changed 0 total 80000000
    wl12xx: mac80211 configure filter changed 0 total 80000000
    wl12xx: waking up chip from elp
    wl12xx: IRQ
    wl12xx: wakeup time: 10 ms
    wl12xx: acx group address tbl
    wl12xx: cmd configure (63)
    wl12xx: acx group address tbl
    wl12xx: cmd configure (63)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: elp work
    wl12xx: chip to elp
    wl12xx: mac80211 remove interface
    wl12xx: removing interface 00:50:c2:f0:03:87
    wl12xx: waking up chip from elp
    wl12xx: IRQ
    wl12xx: wakeup time: 10 ms
    wl12xx: cmd role disable
    wl12xx: open_count=0, current_fw=1 (force_mr=0)
    wl12xx: IRQ work
    wl12xx: intr: 0x20 (fw_rx_counter = 0, drv_rx_counter = 0, tx_results_counter = 0)
    wl12xx: WL1271_ACX_INTR_HW_AVAILABLE
    wl12xx: mac80211 stop
    wl12xx_set_power() OFF
    wl12xx: wl12xx_sdio_power_off()
    

    After some search, I have found this link:

    http://git.ti.com/glsdk/meta-ti-glsdk/blobs/f6fa9fe735c73a9d3030cd1d6f66163f8504fba1/recipes-kernel/linux/linux-omapl138-psp-2.6.37/0001-TI-WL12xx-MMC-patches-03.21.00.04.patch

    This patch is for kernel 2.6.27, and I am using 3.1.0-rc4. However, some of the changes are not present in my kernel version, especially the one in drivers/mmc/host/davinci_mmc.c which toggles the WLAN_EN.

    Do you think this patch can to some extend help solving my issue? Or do you have any other hint?

     

    Thanks in advance and regards,

    Fabrice

  • Hi Fabrice,

    I think the "wl12xx_set_power" has to be assigned to the "set_power" method of omap_mmc_platform_data (and not to the wl12xx_platform_data).

    As shown below (reference from AM335x).

    pdata->slots[0].set_power = wl12xx_set_power;

    You can take a look at: 
    http://processors.wiki.ti.com/index.php/WL18xx_Platform_Integration_Guide#Power_Control_.E2.80.93_without_voltage_regulator 

    for more details.

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    I saw this wiki page, but the thing is that I am on a Davinci/AM18x board and not on a AM335x board. That is, I can use the "set_power" method of either davinci_mmc_config or wl12xx_platform_data. I have tried these two possibilities, but I am facing the same issue. I cannot use omap_mmc_platform_data which is for AM335x board.

    There is something weird going on!!!

    Regards,

    Fabrice

  • Hi Fabrice,

    Any luck with this? Can you try the Voltage regulator method (http://processors.wiki.ti.com/index.php/WL18xx_Platform_Integration_Guide#Power_Control_.E2.80.93_using_a_fixed_voltage_regulator) and see if it is of any help?

    Regards,
    Gigi Joseph.
  • I had a similar issue (sdio timeouts: error -110) on a DM368 platform & 2.6.37 kernel and eventually fixed it by enabling CONFIG_PM_RUNTIME in my kernel configuration.

    -Carl
  • Hi Joseph,

    I left this issue aside as I am planning to upgrade to a new kernel version. After upgrading, I will try again to solve this.

    Thanks and regards,

    Fabrice
  • Hi Carl,

    CONFIG_PM_RUNTIME is disable in my configuration. I am planning to upgrade my kernel, at that time I will re-work on this issue and I will consider your hint.

    Thanks & regards,

    Fabrice