root@(none):~# ./calibrator --debug plt autocalibrate wlan0 /lib/modules/2.6.37_ SVI_DM368_5.1.0/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko ./930-0049-R1 .1.ini /lib/firmware/ti-connectivity/wl1271-nvs.bin 00:00:00:00:00:00 [ 90.184670] SVI: Turning WiFi power on [ 90.311381] SVI: Turning WiFi power off [ 90.316104] SVI: Turning WiFi power on [ 90.463427] SVI: Turning WiFi power on [ 90.784735] SVI: Turning WiFi power off [ 90.880671] wl12xx: loaded [ 90.901711] wl12xx: power up [ 90.943463] SVI: Turning WiFi power on [ 91.463905] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.137) -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422955982 .nlmsg_pid = 882 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422955982 .nlmsg_pid = 882 --------------------------- END NETLINK MESSAGE --------------------------- -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422955983 .nlmsg_pid = 882 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422955983 .nlmsg_pid = 882 --------------------------- END NETLINK MESSAGE --------------------------- Using nvs version 2.1 -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE -----------------[ 91.576057] wl12xx: power down ---------- [H[ 91.580555] SVI: Turning WiFi power off EADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422955984 .nlmsg_pid = 882 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422955984 .nlmsg_pid = 882 --------------------------- END NETLINK MESSAGE --------------------------- Calibrate /lib/firmware/ti-connectivity/wl1271-nvs.bin -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 556 .nlmsg_type = 17 <0x11> .nlmsg_flags = 0 <> .nlmsg_seq = 1422955985 .nlmsg_pid = 882 [PAYLOAD] 540 octets 2d 01 00 00 08 00 01 00 03 00 00 00 10 02 45 00 0c 02 -.............E... 03 00 0d 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a6 ff ff 00 .................. --------------------------- END NETLINK MESSAGE --------------------------- Fail to calibrate ith radio status (-90) -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422955985 .nlmsg_pid = 882 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422955985 .nlmsg_pid = 882 --------------------------- END NETLINK MESSAGE --------------------------- Writing mac address 00:00:00:00:00:00 to file /lib/firmware/ti-connectivity/wl1271-nvs.bin -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422955986 .nlmsg_pid = 8[ 91.943388] SVI: Turning WiFi power on 82 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422955986 .nlmsg_pid = 882 --------------------------- END NETLINK MESSAGE --------------------------- [ 92.063461] netconsole: network logging stopped, interface wlan0 unregistered [ 92.133836] SVI: Turning WiFi power off Calibration done. FEM1 has 2 bands. AutoFEM is off. Resulting nvs is /lib/firmware/ti-connectivity/wl1271-nvs.bin root@(none):~# rm new-nvs.bin root@(none):~# ./calibrator set ref_nvs ./930-0049-R1.1.ini ./new-nvs.bin root@(none):~# cp new-nvs.bin /lib/firmware/ti-connectivity/wl1271-nvs.bin root@(none):~# modprobe wl12xx_sdio [ 22.991368] SVI: Turning WiFi power on [ 23.112423] SVI: Turning WiFi power off [ 23.117149] SVI: Turning WiFi power on [ 23.264461] SVI: Turning WiFi power on [ 23.585781] SVI: Turning WiFi power off [ 23.681590] wl12xx: loaded root@(none):~# ./calibrator --debug plt calibrate dual [ 43.376540] wl12xx: power up [ 43.404505] SVI: Turning WiFi power on [ 43.875000] wl12xx: firmware booted in PLT mode (PLT 6.3.10.0.137) -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422956472 .nlmsg_pid = 983 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422956472 .nlmsg_pid = 983 --------------------------- END NETLINK MESSAGE --------------------------- -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422956473 .nlmsg_pid = 983 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422956473 .nlmsg_pid = 983 --------------------------- END NETLINK MESSAGE --------------------------- Unknown arch. Not setting nvs ver 2.1Calibrate ./new-nvs.bin -- Debug: [ 43.984024] wl12xx: power down Received Message[ 43.988223] SVI: Turning WiFi power off : -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 556 .nlmsg_type = 17 <0x11> .nlmsg_flags = 0 <> .nlmsg_seq = 1422956474 .nlmsg_pid = 983 [PAYLOAD] 540 octets 2d 01 00 00 08 00 01 00 04 00 00 00 10 02 45 00 0c 02 -.............E... 03 00 0d 00 01 00 02 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a6 ff ff 00 .................. --------------------------- END NETLINK MESSAGE --------------------------- Fail to calibrate ith radio status (-90) -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422956474 .nlmsg_pid = 983 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422956474 .nlmsg_pid = 983 --------------------------- END NETLINK MESSAGE --------------------------- -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [HEADER] 16 octets .nlmsg_len = 36 .nlmsg_type = 2 .nlmsg_flags = 0 <> .nlmsg_seq = 1422956475 .nlmsg_pid = 983 [ERRORMSG] 20 octets .error = 0 "Success" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .nlmsg_type = 17 <0x11> .nlmsg_flags = 5 .nlmsg_seq = 1422956475 .nlmsg_pid = 983 --------------------------- END NETLINK MESSAGE --------------------------- root@(none):~#