insmod xr829.ko
[ 1301.446264] ======== XRADIO WIFI OPEN ========
[ 1301.451886] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 1301.458807] [XRADIO] Allocated hw_priv @ 9fcf367b
[ 1301.464149] [ADDR_MGT] get_addr_by_name: t->addr:
[ 1301.470212] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 1301.486586] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 1301.694504] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1301.695649] [XRADIO] Detect SDIO card 1
[ 1301.705830] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 1301.730256] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1301.755207] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1301.769876] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1301.792116] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 1301.803781] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 1301.815693] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 1301.828308] mmc1: new high speed SDIO card at address 0001
[ 1301.834903] [SBUS] XRadio Device:sdio clk=50000000
[ 1301.840929] [XRADIO] XRADIO_HW_REV 1.0 detected.
[ 1301.888225] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x01400000.
[ 1301.919908] [XRADIO] Bootloader complete
[ 1302.008664] [XRADIO] Firmware completed.
[ 1302.014775] [WSM] Firmware Label:XR_C09.08.52.64_DBG_02.100 2GHZ HT40 Jan 3 2020 13:14:37
[ 1302.032558] [XRADIO] Firmware Startup Done.
[ 1302.037710] [XRADIO_WRN] enable Multi-Rx!
[ 1302.043019] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’
xr829模块正常加载
然后复位使能蓝牙模组
#echo 0 > /sys/class/rfkill/rfkill0/state
sunxi-rfkill soc@3000000:rfkill@0: block state already is 1
#echo 1 > /sys/class/rfkill/rfkill0/state
sunxi-rfkill soc@3000000:rfkill@0: set block: 0
sunxi-rfkill soc@3000000:rfkill@0: bt power on success
#hciattach -n /dev/ttyS1 xradio &
xradio_init[ 1512.240158] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
[ 1512.247268] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1512.274750] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1512.291146] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
[ 1512.318371] [XR_BT_LPM] bluedroid_write_proc_btwake: bluedroid_write_proc_btwake 1
[ 1512.326935] [XR_BT_LPM] bluedroid_write_proc_btwake: wakeup bt device
[ 1512.334295] [XR_BT_LPM] bluedroid_write_proc_lpm: disable lpm mode
set LPM mode:disabled[userial_sync] uart sync count: 1.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 2.
[userial_sync] read buf: 4f 4b.
[userial_sync] Receive OK, uart sync done.
Set uart mode done
[userial_sync] uart sync count: 1.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 2.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 3.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 4.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 5.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 6.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 7.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 8.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 9.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 10.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 11.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 12.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 13.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 14.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 15.
[userial_sync] read buf: 00 00[ 1512.692241] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1512.701113] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1513.208986] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1513.225374] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 16.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 17.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 18.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 19.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 20.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 21.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 22.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 23.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 24.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 25.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 26.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 27.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 28.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 29.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 30.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 31.
[userial_sync] read buf: 00 00[ 1514.055150] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1514.064059] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1514.571624] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1514.588061] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 32.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 33.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 34.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 35.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 36.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 37.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 38.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 39.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 40.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 41.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 42.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 43.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 44.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 45.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 46.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 47.
[userial_sync] read buf: 00 00[ 1515.417694] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1515.426576] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1515.934164] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1515.950555] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 48.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 49.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 50.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 51.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 52.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 53.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 54.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 55.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 56.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 57.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 58.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 59.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 60.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 61.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 62.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 63.
[userial_sync] read buf: 00 00[ 1516.780085] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1516.788985] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1517.296540] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1517.312993] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 64.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 65.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 66.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 67.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 68.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 69.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 70.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 71.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 72.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 73.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 74.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 75.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 76.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 77.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 78.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 79.
[userial_sync] read buf: 00 00[ 1518.142702] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1518.151591] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1518.659187] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1518.675566] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 80.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 81.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 82.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 83.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 84.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 85.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 86.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 87.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 88.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 89.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 90.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 91.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 92.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 93.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 94.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 95.
[userial_sync] read buf: 00 00[ 1519.505031] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1519.513909] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1520.021487] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1520.037931] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 96.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 97.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 98.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 99.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 100.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 101.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 102.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 103.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 104.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 105.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 106.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 107.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 108.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 109.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 110.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 111.
[userial_sync] read buf: 00 00[ 1520.867689] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1520.876577] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
[ 1521.384156] sunxi-rfkill soc@3000000:rfkill@0: set block: 0
[ 1521.400576] sunxi-rfkill soc@3000000:rfkill@0: bt power on success
workaround for no sync done.
[userial_sync] uart sync count: 112.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 113.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 114.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 115.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 116.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 117.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 118.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 119.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 120.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 121.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 122.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 123.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 124.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 125.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 126.
[userial_sync] read buf: 00 00.
[userial_sync] uart sync count: 127.
[userial_sync] read buf: 00 00[ 1522.230050] sunxi-rfkill soc@3000000:rfkill@0: set block: 1
.
[ 1522.238909] sunxi-rfkill soc@3000000:rfkill@0: bt power off success
Initialization timed out.
[1]+ Done(1) hciattach -n /dev/ttyS1 xradio
请问这是什么原因导致的