D1-H 使用内置FANOUT REFCLK 24M时钟扫到卡但是无法下载固件
-
[ 15.763263][ 15.763263] ======== XRADIO WIFI OPEN ======== [ 15.770569][ 15.770569] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 15.779230][ 15.779230] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 15.788116][ 15.788116] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 15.806534][ 15.806534] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 16.158083][ 16.158083] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 16.170922][ 16.170922] [XRADIO] Detect SDIO card 1 [ 16.181998][ 16.181998] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 16.209670][ 16.209670] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 16.233815][ 16.233815] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 16.252653][ 16.252653] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 16.279628][ 16.279628] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 16.293081][ 16.293081] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 16.306785][ 16.306785] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 16.324944][ 16.324944] mmc2: new high speed SDIO card at address 0001 [ 16.343747][ 16.343747] [SBUS] XRadio Device:sdio clk=50000000 [ 16.360502][ 16.360502] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 16.483883][ 16.483883] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [ 16.593457][ 16.593457] [XRADIO] Bootloader complete [ 17.138413][ 17.138413] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 17.571269][ 17.571269] [XRADIO_ERR] xradio_firmware: wait for download completion failed. Read: 0xFFFFFFFF [ 17.594485][ 17.594485] [XRADIO_ERR] xradio_load_firmware: can't download firmware. [ 17.603764][ 17.603764] [XRADIO_ERR] xradio_load_firmware failed(-110). [ 17.613037][ 17.613037] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success [ 17.748248][ 17.748248] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 17.756403][ 17.756403] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 17.764552][ 17.764552] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 17.772665][ 17.772665] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 17.781030][ 17.781030] mmc2: card 0001 removed [ 17.786530][ 17.786530] [XRADIO] Remove SDIO card 1 [ 17.792516][ 17.792516] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 17.828132][ 17.828132] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 17.849201][ 17.849201] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 17.859197][ 17.859197] xradio_core_init failed (-110)! [ 17.878141][ 17.878141] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 17.904007][ 17.904007] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RTO !! [ 17.913008][ 17.913008] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RTO !! [ 17.921267][ 17.921267] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 17.937887][ 17.937887] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 17.953800][ 17.953800] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 17.963051][ 17.963051] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 17.972010][ 17.972010] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 17.980988][ 17.980988] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 17.989171][ 17.989171] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 18.009905][ 18.009905] xt_time: kernel timezone is -0000 [ 18.032430][ 18.032430] Error: Driver 'gt9xxnew_ts' is already registered, aborting... [ 19.788243][ 19.788243] ======== XRADIO WIFI OPEN ======== [ 19.795187][ 19.795187] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 19.803393][ 19.803393] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 19.813200][ 19.813200] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 19.840210][ 19.840210] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 20.050260][ 20.050260] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 20.062758][ 20.062758] [XRADIO] Detect SDIO card 1 [ 20.073213][ 20.073213] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 20.093157][ 20.093157] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 20.119383][ 20.119383] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 20.135394][ 20.135394] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 20.159295][ 20.159295] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 20.172219][ 20.172219] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 20.185470][ 20.185470] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 20.199392][ 20.199392] mmc2: new high speed SDIO card at address 0001 [ 20.207730][ 20.207730] [SBUS] XRadio Device:sdio clk=50000000 [ 20.223252][ 20.223252] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 20.273703][ 20.273703] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [ 20.315910][ 20.315910] [XRADIO] Bootloader complete [ 21.014043][ 21.014043] [XRADIO_ERR] xradio_firmware: wait for download completion failed. Read: 0xFFFFFFFF [ 21.025220][ 21.025220] [XRADIO_ERR] xradio_load_firmware: can't download firmware. [ 21.034002][ 21.034002] [XRADIO_ERR] xradio_load_firmware failed(-110). [ 21.042814][ 21.042814] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success [ 21.163655][ 21.163655] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 21.171759][ 21.171759] [XRADIO] Remove SDIO card 1 [ 21.171775][ 21.171775] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 21.185540][ 21.185540] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 21.193670][ 21.193670] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 7, RTO !! [ 21.202023][ 21.202023] mmc2: card 0001 removed [ 21.213388][ 21.213388] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 21.231535][ 21.231535] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 21.244107][ 21.244107] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 21.254279][ 21.254279] xradio_core_init failed (-110)! [ 21.263169][ 21.263169] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 21.299296][ 21.299296] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RTO !! [ 21.308775][ 21.308775] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 52, RTO !! [ 21.317076][ 21.317076] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B kmodloader done [ 21.377217][ 21.377217] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 21.405391][ 21.405391] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 21.414360][ 21.414360] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 21.423298][ 21.423298] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 21.432228][ 21.432228] sunxi-mmc 4021000.sdmmc: smc 2 p1 err, cmd 5, RTO !! [ 21.440382][ 21.440382] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
-
-
量了一下好像内置REFCLK_OUT没有输出,但是我这个探头电容很大,可能会导致这个问题
-
@yuzukitsuru
error 110: timeout降频试一试?
-
@whycan
降速了好像也没有用io绑错了
[ 19.052197] ======== XRADIO WIFI OPEN ======== [ 19.057744] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 19.064598] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 19.072289] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 19.097764] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 19.307190] sunxi_hosts[1] should not be null [ 19.307197] [XRADIO] Detect SDIO card 1 [ 21.361925] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success [ 21.469153] sunxi_hosts[1] should not be null [ 21.469161] [XRADIO] Remove SDIO card 1 [ 21.488339] [SBUS_ERR] sdio probe timeout! [ 21.492954] [XRADIO_ERR] sbus_sdio_init failed [ 21.499076] xradio_core_init failed (-110)!
-
@yuzukitsuru
示波器量下有没有24Mhz了,没有的话就找个有源晶振试一试。 -
@whycan
找了一个好的板子拆了晶振是这样的root@TinaLinux:/lib/modules/5.4.61# insmod xr829.ko ======== XRADIO WIFI OPEN ======== [XRADIO_ERR] debugfs isnot initialized [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [XRADIO] Allocated hw_priv @ 00000000e2194bdf sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [XRADIO] Detect SDIO card 1 sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO] XRADIO_HW_REV 1.0 detected. [XRADIO_ERR] xradio_load_firmware: Wait for wakeup:device is not responding. [XRADIO_ERR] Device will restart at 1 times! sunxi-rfkill soc@3000000:rfkill@0: wlan power off success sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! mmc1: card 0001 removed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [XRADIO] Remove SDIO card 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [XRADIO] Detect SDIO card 1 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO] XRADIO_HW_REV 1.0 detected. [XRADIO_ERR] xradio_load_firmware: Wait for wakeup:device is not responding. [XRADIO_ERR] Device will restart at 2 times! sunxi-rfkill soc@3000000:rfkill@0: wlan power off success sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! mmc1: card 0001 removed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [XRADIO] Remove SDIO card 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [XRADIO] Detect SDIO card 1 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO] XRADIO_HW_REV 1.0 detected. [XRADIO_ERR] xradio_load_firmware: Wait for wakeup:device is not responding. [XRADIO_ERR] Device will restart at 3 times! sunxi-rfkill soc@3000000:rfkill@0: wlan power off success sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! mmc1: card 0001 removed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [XRADIO] Remove SDIO card 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [XRADIO] Detect SDIO card 1 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO] XRADIO_HW_REV 1.0 detected. ^C[XRADIO_ERR] xradio_load_firmware: Wait for wakeup:device is not responding. [XRADIO_ERR] Device will restart at 4 times! sunxi-rfkill soc@3000000:rfkill@0: wlan power off success sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [XRADIO] Remove SDIO card 1 sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! mmc1: card 0001 removed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [XRADIO] Detect SDIO card 1 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO_ERR] xradio_register_bh failed(-4). sunxi-rfkill soc@3000000:rfkill@0: wlan power off success sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [XRADIO] Remove SDIO card 1 sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! mmc1: card 0001 removed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B ^Csunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator xradio_core_init failed (-4)! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
-
正常情况
root@TinaLinux:/lib/modules/5.4.61# insmod xr829.ko ======== XRADIO WIFI OPEN ======== [XRADIO_ERR] debugfs isnot initialized [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [XRADIO] Allocated hw_priv @ 0000000035532399 sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 sunxi-rfkill soc@3000000:rfkill@0: wlan power on success sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [XRADIO] Detect SDIO card 1 sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B mmc1: new high speed SDIO card at address 0001 [SBUS] XRadio Device:sdio clk=50000000 [XRADIO] XRADIO_HW_REV 1.0 detected. [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [XRADIO] Bootloader complete [XRADIO] Firmware completed. [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09 [XRADIO] Firmware Startup Done. [XRADIO_WRN] enable Multi-Rx! ieee80211 phy1: Selected rate control algorithm 'minstrel_ht' ···
-
解决了,示波器测量发现过充,电阻解决
[ 15.077675] ======== XRADIO WIFI OPEN ======== [ 15.086009] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 15.093245] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 15.101203] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 15.119168] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 15.289156] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 15.427605] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 15.439043] [XRADIO] Detect SDIO card 1 [ 15.461469] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 15.491817] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 15.525136] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 15.540610] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 15.567424] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 15.579332] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 15.591648] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 15.605149] mmc2: new high speed SDIO card at address 0001 [ 15.613632] [SBUS] XRadio Device:sdio clk=50000000 [ 15.621530] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 15.772529] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [ 15.927766] [XRADIO] Bootloader complete [ 16.099634] [XRADIO] Firmware completed. [ 16.105809] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09 [ 16.124345] [XRADIO] Firmware Startup Done. [ 16.129480] [XRADIO_WRN] enable Multi-Rx! [ 16.139231] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 16.169753] xt_time: kernel timezone is -0000
-
@yuzukitsuru 你好,我现在调试xr829接d1-h 的 J2 REFCLK-OUT时钟输出脚,跟这个帖子里面的错误信息是一样的下载固件失败,现在用示波器也测不到cpu有24M时钟信号输出。(用外部24M晶振功能测试是好的)
后来你调好的时候有用示波器测到cpu有时钟信号输出吗?
软件dts文件里面是否需要做修改开启?
最后是串的多大的电阻?
谢谢!! -
@apollo5520 用1k电阻接地了
-
@yuzukitsuru 加了电阻还是不行,依旧测不到CPU有24M时钟输出信号,还有其他地方需要修改吗?
-
@apollo5520 测不到信号就不是这个问题了,加载驱动的时候默认会打开dxco。我那个问题是信号噪音过大的问题
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号