root@TinaLinux:/mnt/UDISK# insmod aic8800_bsp.ko
[ 38.167214] aicbsp_init
[ 38.170146] RELEASE_DATE:2024_0914_ad9d7749
[ 38.174978] aicbsp_resv_mem_init
root@TinaLinux:/mnt/UDISK# insmod aic8800_fdrv.ko
[ 42.611009] AICWFDBG(LOGTRACE) >>> rwnx_mod_init()
[ 42.616471] AICWFDBG(LOGINFO) rwnx v6.4.3.0 - - 241c091M (master)
[ 42.623322] AICWFDBG(LOGINFO) RELEASE_DATE:2024_0914_ad9d7749
[ 42.629960] AICWFDBG(LOGTRACE) rwnx_init_cmd_array Enter
[ 42.636131] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[0]:a97386e8
[ 42.643850] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[1]:816dd046
[ 42.651559] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[2]:a4df5e41
[ 42.659280] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[3]:0e391626
[ 42.666999] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[4]:89195abe
[ 42.674717] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[5]:10450b6d
[ 42.682436] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[6]:bb136311
[ 42.690145] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[7]:91b45439
[ 42.697871] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[8]:0bc294b1
[ 42.705592] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[9]:11d8e768
[ 42.713309] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[10]:51f87f41
[ 42.721116] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[11]:28d9570b
[ 42.728932] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[12]:4e425012
[ 42.736752] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[13]:dc1f0d80
[ 42.744579] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[14]:63776d09
[ 42.752401] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[15]:16d17bc4
[ 42.760208] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[16]:9f5e35af
[ 42.768026] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[17]:2c69b4f5
[ 42.775843] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[18]:6c6c99a7
[ 42.783658] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[19]:526176b4
[ 42.791464] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[20]:41e6fceb
[ 42.799286] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[21]:a6c8f617
[ 42.807104] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[22]:490997c9
[ 42.814919] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[23]:b4c0af91
[ 42.822736] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[24]:ef0a52d8
[ 42.830542] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[25]:97a1434f
[ 42.838358] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[26]:e952635d
[ 42.846174] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[27]:00e30592
[ 42.853989] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[28]:a8784a44
[ 42.861805] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[29]:6df42f23
[ 42.869611] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[30]:1877147f
[ 42.877430] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[31]:a8612c81
[ 42.885253] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[32]:b84c5331
[ 42.893077] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[33]:8e6830a6
[ 42.900883] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[34]:fb93338c
[ 42.908701] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[35]:7fa96c82
[ 42.916518] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[36]:4b8fbd49
[ 42.924333] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[37]:f2600f97
[ 42.932149] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[38]:29af9a9d
[ 42.939956] AICWFDBG(LOGTRACE) rwnx_init_cmd_array cmd_queue[39]:eac856f9
[ 42.947771] AICWFDBG(LOGTRACE) rwnx_init_cmd_array Exit
[ 42.953833] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1
[ 42.960957] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI
[ 42.969161] aicbsp: aicbsp_platform_power_on
[ 42.973961] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 43.040322] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 43.097519] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.108760] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 43.128918] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.153965] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
[ 43.161629] sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
[ 43.168486] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.183077] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.201308] mmc0: queuing unknown CIS tuple 0x10 (5 bytes)
[ 43.212779] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 43.224725] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 43.236756] mmc0: queuing unknown CIS tuple 0x10 (5 bytes)
[ 43.244388] mmc0: new SDIO card at address 76bb
[ 43.272064] aicbsp: aicbsp_sdio_probe:1 vid:0xC8A1 did:0xC08D
[ 43.282955] aicbsp: aicbsp_sdio_probe:2 vid:0xC8A1 did:0xC18D
[ 43.289505] aicbsp: aicbsp_sdio_probe after replace:1
[ 43.295255] AICWFDBG(LOGINFO) aicwf_sdio_chipmatch USE AIC8800DC
[ 43.302110] the device is PRODUCT_ID_AIC8800DC
[ 43.307198] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 43.314428] aicbsp: aicwf_sdio_reg_init
[ 43.318949] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 43.330990] aicbsp: Set SDIO Clock 50 MHz
[ 43.337021] AICWFDBG(LOGINFO) btenable = 1
[ 43.342044] AICWFDBG(LOGINFO) IS_CHIP_ID_H
[ 43.346917] AICWFDBG(LOGINFO) aicbsp: aicbsp_driver_fw_init, chip rev: 7
[ 43.354498] rwnx_load_firmware :firmware path = /etc/fw_patch_table_8800dc_u02h.bin
[ 43.396454] file md5:43ecb08df5fe83ad0ffe0dbab53ef837
[ 43.402387] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack head_t->len:4 base_len:4
[ 43.410806] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack memcpy_len:4
[ 43.418050] AICWFDBG(LOGDEBUG) aicbt_patch_info_unpack adid_addrinf:10dc94 addr_adid:100f60
[ 43.427633] rwnx_plat_bin_fw_upload_android
[ 43.432333] rwnx_load_firmware :firmware path = /etc/fw_adid_8800dc_u02h.bin
[ 43.440671] file md5:f00fbd9fe6509b786018967936203dd3
[ 43.447177] rwnx_plat_bin_fw_upload_android
[ 43.451984] rwnx_load_firmware :firmware path = /etc/fw_patch_8800dc_u02h.bin
[ 43.460659] file md5:1fa2f80f0b6b7b22338b9c3533d69883
[ 43.475588] aicbt_patch_table_load bt btmode[1]:1
[ 43.481061] aicbt_patch_table_load bt uart_baud[1]:1500000
[ 43.487424] aicbt_patch_table_load bt uart_flowctrl[1]:1
[ 43.493583] aicbt_patch_table_load bt lpm_enable[1]:0
[ 43.499440] aicbt_patch_table_load bt tx_pwr[1]:28463
[ 43.509074] aicbsp: bt patch version: - Jul 11 2024 10:36:50 - git 7b2cd39
[ 43.516901] ############ aicwifi_init begin
[ 43.522112] AICWFDBG(LOGINFO) chip_id=c7, chip_sub_id=2!!
[ 43.528357] AICWFDBG(LOGDEBUG) set_bbpll_config rd_mem_addr_cfm.memdata:8
[ 43.536189] AICWFDBG(LOGINFO) set_bbpll_config Crystal not provided by CPU
[ 43.544311] AICWFDBG(LOGDEBUG) [0x40500010]=6
[ 43.553979] ############ system_config_8800dc done
[ 43.559352] AICWFDBG(LOGTRACE) >>> rwnx_plat_patch_load()
[ 43.565424] AICWFDBG(LOGINFO) testmode=0
[ 43.569819] AICWFDBG(LOGINFO) rwnx_plat_patch_loading
[ 43.575489] h_u02 is loaing ###############
[ 43.580176] rwnx_plat_bin_fw_upload_android
[ 43.584873] rwnx_load_firmware :firmware path = /etc/fmacfw_patch_8800dc_h_u02.bin
[ 43.594170] file md5:9ace5e22880dc408045ad1f5c889271b
[ 43.606152] AICWFDBG(LOGINFO) dpd calib & write
[ 43.611239] aicwf_dpd_calib_8800dc
[ 43.615279] AICWFDBG(LOGERROR) misc_ram_addr=120ebc
[ 43.621480] AICWFDBG(LOGTRACE) bit_mask:aef414e2,b0a4bf37,7fc4d938,6d8ab0c9
[ 43.629311] rwnx_plat_bin_fw_upload_android
[ 43.634018] rwnx_load_firmware :firmware path = /etc/fmacfw_calib_8800dc_h_u02.bin
[ 43.643460] file md5:342855cf657b97dcb97594f4f4a1cbee
[ 43.657148] AICWFDBG(LOGINFO) Start app: 00130009, 4
[ 43.923171] ############ rwnx_plat_patch_load done
[ 43.929287] AICWFDBG(LOGINFO) wifisetting_cfg_addr=11019c, ldpc_cfg_addr=120980, agc_cfg_addr=120180, txgain_cfg_addr=120000
[ 43.943970] ### Upload fmacfw_patch_tbl_8800dc_h_u02.bin
[ 43.950028] rwnx_load_firmware :firmware path = /etc/fmacfw_patch_tbl_8800dc_h_u02.bin
[ 43.959339] file md5:a5731a82178f302b3c7744a6417ae9be
[ 43.965121] tbl size = 720
[ 43.968249] AICWFDBG(LOGINFO) FMACFW_PATCH_TBL_8800DC_U02_DESCRIBE_BASE = 187c00
[ 43.976930] di Aug 05 2024 12:22:48 - g640d25c
[ 43.976936] patch_tbl: 110890 180c75
[ 43.986343] patch_tbl: 1108f4 182f09
[ 43.990736] patch_tbl: 11087c 180cd5
[ 43.995155] patch_tbl: 1107e4 181565
[ 43.999545] patch_tbl: 110578 1840e1
[ 44.003955] patch_tbl: 110840 181789
[ 44.008344] patch_tbl: 1104fc 18191d
[ 44.012757] patch_tbl: 1106e4 1858dd
[ 44.017152] patch_tbl: 11063c 185355
[ 44.021538] patch_tbl: 110640 1854fd
[ 44.025951] patch_tbl: 1105f8 1856c9
[ 44.030336] patch_tbl: 110860 183a45
[ 44.034740] patch_tbl: 110494 181951
[ 44.039133] patch_tbl: 110740 18197d
[ 44.043548] patch_tbl: 1107c0 181a0d
[ 44.047937] patch_tbl: 110528 185af5
[ 44.052339] patch_tbl: 110530 1858c9
[ 44.056724] patch_tbl: 11055c 181a59
[ 44.061114] patch_tbl: 1107a0 181f71
[ 44.065519] patch_tbl: 110654 183aa1
[ 44.069907] patch_tbl: 110818 18352d
[ 44.074337] patch_tbl: 110824 183575
[ 44.078729] patch_tbl: 1108cc 18236d
[ 44.083146] patch_tbl: 1108d0 181f75
[ 44.087537] patch_tbl: 110630 1824e9
[ 44.091938] patch_tbl: 110758 184145
[ 44.096330] patch_tbl: 1106e0 184189
[ 44.100724] patch_tbl: 110864 18443d
[ 44.105136] patch_tbl: 110520 18447d
[ 44.109555] patch_tbl: 1106d0 1845c5
[ 44.113960] patch_tbl: 1108fc 184619
[ 44.118351] patch_tbl: 110574 184591
[ 44.122764] patch_tbl: 1106bc 184725
[ 44.127155] patch_tbl: 110558 1848fd
[ 44.131541] patch_tbl: 110590 181a89
[ 44.135947] patch_tbl: 1104f4 18267d
[ 44.140339] patch_tbl: 110500 181e91
[ 44.144745] patch_tbl: 1106dc 184aad
[ 44.149133] patch_tbl: 110518 184af5
[ 44.153541] patch_tbl: 110568 184b91
[ 44.157927] patch_tbl: 110648 184bbd
[ 44.162340] patch_tbl: 110660 184dc1
[ 44.166727] patch_tbl: 110688 184f35
[ 44.171121] patch_tbl: 11049c 1826ed
[ 44.175523] patch_tbl: 11073c 182701
[ 44.179917] patch_tbl: 11041c 185929
[ 44.184331] patch_tbl: 1103f0 185a99
[ 44.188718] patch_tbl: 1100c4 184725
[ 44.193126] patch_tbl: 110054 184dc1
[ 44.197521] patch_tbl: 110f34 1836ed
[ 44.201934] patch_tbl: 110f04 183e45
[ 44.206320] patch_tbl: 110de4 183e65
[ 44.210717] patch_tbl: 110e04 184045
[ 44.215123] patch_tbl: 110e6c 183fd9
[ 44.219512] patch_tbl: 110ab0 1840a9
[ 44.223925] patch_tbl: 110dcc 183f69
[ 44.228315] patch_tbl: 1100e0 183f85
[ 44.232722] patch_tbl: 110dd4 184219
[ 44.237107] patch_tbl: 110e5c 183db5
[ 44.241501] patch_tbl: 110b00 1831dd
[ 44.245914] patch_tbl: 110ae8 181e09
[ 44.250309] patch_tbl: 110aa0 1844e5
[ 44.254712] patch_tbl: 110e64 184559
[ 44.259098] patch_tbl: 110f80 184a49
[ 44.263513] patch_tbl: 11148c 184991
[ 44.267896] patch_tbl: 110b84 184bbd
[ 44.272300] patch_tbl: 110d6c 18531d
[ 44.276685] patch_tbl: 40030084 187c80
[ 44.281267] patch_tbl: 40030000 2a6b8
[ 44.285782] patch_tbl: 40030004 4d9d0
[ 44.290266] patch_tbl: 187c80 47706008
[ 44.294867] patch_tbl: 187c84 d0332b00
[ 44.299457] patch_tbl: 40030080 3
[ 44.303576] patch_tbl: 4010001c 0
[ 44.307680] ############ aicwf_patch_config_8800dc done
[ 44.313554] AICWFDBG(LOGINFO) Read FW mem: 00120000
[ 44.319216] AICWFDBG(LOGINFO) cfm: [00120000] = 00ffd888
[ 44.325191] AICWFDBG(LOGINFO) Start app: 00120000, 5
[ 44.338495] AICWFDBG(LOGDEBUG) aicwf_sdio_probe:1
[ 44.343790] AICWFDBG(LOGDEBUG) Class=7
[ 44.347989] AICWFDBG(LOGDEBUG) sdio vendor ID: 0xc8a1
[ 44.353659] AICWFDBG(LOGDEBUG) sdio device ID: 0xc08d
[ 44.359320] AICWFDBG(LOGDEBUG) Function#: 1
[ 44.364017] AICWFDBG(LOGINFO) aicwf_sdio_chipmatch USE AIC8800DC
[ 44.370850] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 44.371696] aicbsp: sdio_err:<aicwf_sdio_bus_pwrctl,1402>: bus down
[ 44.378079] aicsdio: aicwf_sdio_reg_init
[ 44.389618] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
[ 44.401518] AICWFDBG(LOGINFO) Set SDIO Clock 50 MHz
[ 44.417156] aicwf_prealloc_init enter
[ 44.421725] pre alloc rxbuff list len: 30
[ 44.426250] aicbsp: aicbsp_resv_mem_alloc_skb, alloc resv_mem_txdata succuss, id: 0, size: 98304
[ 44.436327] AICWFDBG(LOGINFO) sdio_bustx_thread the policy of current thread is:1
[ 44.441793] AICWFDBG(LOGINFO) sdio_busrx_thread the policy of current thread is:1
[ 44.444774] AICWFDBG(LOGINFO) sdio_bustx_thread the rt_priority of current thread is:1
[ 44.453138] AICWFDBG(LOGINFO) sdio_busrx_thread the rt_priority of current thread is:1
[ 44.453143] AICWFDBG(LOGINFO) sdio_busrx_thread the current pid is:1224
[ 44.462033] AICWFDBG(LOGINFO) sdio_bustx_thread the current pid is:1223
[ 44.485800] AICWFDBG(LOGTRACE) >>> rwnx_platform_init()
[ 44.491722] AICWFDBG(LOGTRACE) >>> rwnx_cfg80211_init()
[ 44.497582] aicbsp: aicbsp_get_feature, set FEATURE_SDIO_CLOCK 50 MHz
[ 44.504823] AICWFDBG(LOGINFO) rwnx_cfg80211_init sizeof(struct rwnx_hw):16360
[ 44.513085] AICWFDBG(LOGTRACE) >>> rwnx_init_aic()
[ 44.518458] AICWFDBG(LOGTRACE) >>> rwnx_cmd_mgr_init()
[ 44.524373] tcp_ack_init
[ 44.527316] AICWFDBG(LOGINFO) aicwf_prealloc_txq_alloc size is diff will to be kzalloc
[ 44.536423] AICWFDBG(LOGINFO) aicwf_prealloc_txq_alloc txq kzalloc successful
[ 44.544759] AICWFDBG(LOGTRACE) >>> rwnx_send_dbg_mem_read_req()
[ 44.551405] AICWFDBG(LOGTRACE) rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 44.562751] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 44.570948] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x401
[ 44.577874] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 44.585067] AICWFDBG(LOGTRACE) >>> rwnx_send_dbg_mem_read_req()
[ 44.591739] AICWFDBG(LOGTRACE) rwnx_send_msg (1025)DBG_MEM_READ_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 44.603087] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 44.610976] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x401
[ 44.617879] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 44.625025] AICWFDBG(LOGINFO) FDRV chip_id=c7, chip_sub_id=2!!
[ 44.631575] AICWFDBG(LOGTRACE) >>> rwnx_platform_on()
[ 44.637251] AICWFDBG(LOGINFO) userconfig file path:aic_userconfig_8800dc.txt
[ 44.645360] AICWFDBG(LOGINFO) ### Load file aic_userconfig_8800dc.txt
[ 44.652592] AICWFDBG(LOGINFO) rwnx_load_firmware :firmware path = /etc/aic_userconfig_8800dc.txt
[ 44.662850] AICWFDBG(LOGINFO) file md5:159af09b93ce2f8f042cb57d287e0df2
[ 44.670369] AICWFDBG(LOGINFO) ### Load file done: aic_userconfig_8800dc.txt, size=1056
[ 44.679268] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: AIC USERCONFIG 2022/0803/1707
[ 44.688646] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: txpwr_lvl
[ 44.696074] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=enable value=1
[ 44.704184] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_1m_2g4 value=20
[ 44.713664] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_2m_2g4 value=20
[ 44.723140] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_5m5_2g4 value=20
[ 44.732713] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_11m_2g4 value=20
[ 44.742287] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_6m_2g4 value=20
[ 44.751771] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_9m_2g4 value=20
[ 44.761236] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_12m_2g4 value=20
[ 44.770811] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_18m_2g4 value=20
[ 44.780384] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_24m_2g4 value=18
[ 44.789957] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_36m_2g4 value=18
[ 44.799530] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_48m_2g4 value=16
[ 44.809103] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11b_11ag_54m_2g4 value=16
[ 44.818680] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs0_2g4 value=20
[ 44.828351] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs1_2g4 value=20
[ 44.838021] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs2_2g4 value=20
[ 44.847691] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs3_2g4 value=20
[ 44.857361] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs4_2g4 value=18
[ 44.867032] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs5_2g4 value=18
[ 44.876702] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs6_2g4 value=16
[ 44.886373] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs7_2g4 value=16
[ 44.896050] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs8_2g4 value=16
[ 44.905726] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11n_11ac_mcs9_2g4 value=16
[ 44.915403] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs0_2g4 value=20
[ 44.924683] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs1_2g4 value=20
[ 44.933963] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs2_2g4 value=20
[ 44.943244] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs3_2g4 value=20
[ 44.952524] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs4_2g4 value=18
[ 44.961805] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs5_2g4 value=18
[ 44.971076] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs6_2g4 value=16
[ 44.980356] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs7_2g4 value=16
[ 44.989637] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs8_2g4 value=16
[ 44.998918] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs9_2g4 value=16
[ 45.008199] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs10_2g4 value=15
[ 45.017582] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=lvl_11ax_mcs11_2g4 value=15
[ 45.026964] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: txpwr_ofst
[ 45.034526] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_enable value=0
[ 45.043129] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_1_4 value=0
[ 45.051923] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_5_9 value=0
[ 45.060706] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_10_13 value=0
[ 45.069694] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_36_64 value=0
[ 45.078682] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_100_120 value=0
[ 45.087865] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_122_140 value=0
[ 45.097048] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=ofst_chan_142_165 value=0
[ 45.106230] AICWFDBG(LOGINFO) rwnx_plat_userconfig_parsing2: xtal cap
[ 45.113563] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_enable value=0
[ 45.122161] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_cap value=24
[ 45.130554] AICWFDBG(LOGINFO) rwnx_plat_nvram_set_value:command=xtal_cap_fine value=31
[ 45.139444] AICWFDBG(LOGINFO) userconfig download complete
[ 45.139444]
[ 45.147266] AICWFDBG(LOGTRACE) rwnx_send_msg (124)MM_SET_STACK_START_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.159085] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.167332] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x7c
[ 45.174119] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.181245] AICWFDBG(LOGINFO) is 5g support = 0, vendor_info = 0x00
[ 45.188293] AICWFDBG(LOGTRACE) rwnx_send_msg (129)MM_GET_FW_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.200011] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.207912] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x81
[ 45.214692] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.221841] AICWFDBG(LOGINFO) Firmware Version: zh Aug 08 2023 20:31:22 - g41bc49e
[ 45.230430] AICWFDBG(LOGTRACE) >>> rwnx_send_txpwr_lvl_req()
[ 45.236787] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:enable:1
[ 45.244602] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_1m_2g4:20
[ 45.253780] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_2m_2g4:20
[ 45.262958] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_5m5_2g4:20
[ 45.272233] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_11m_2g4:20
[ 45.281500] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_6m_2g4:20
[ 45.290678] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_9m_2g4:20
[ 45.299855] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_12m_2g4:20
[ 45.309130] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_18m_2g4:20
[ 45.318404] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_24m_2g4:18
[ 45.327684] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_36m_2g4:18
[ 45.336960] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_48m_2g4:16
[ 45.346237] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11b_11ag_54m_2g4:16
[ 45.355518] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs0_2g4:20
[ 45.364893] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs1_2g4:20
[ 45.374266] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs2_2g4:20
[ 45.383638] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs3_2g4:20
[ 45.393010] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs4_2g4:18
[ 45.402383] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs5_2g4:18
[ 45.411755] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs6_2g4:16
[ 45.421120] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs7_2g4:16
[ 45.430497] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs8_2g4:16
[ 45.439870] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11n_11ac_mcs9_2g4:16
[ 45.449242] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs0_2g4:20
[ 45.458225] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs1_2g4:20
[ 45.467207] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs2_2g4:20
[ 45.476192] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs3_2g4:20
[ 45.485180] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs4_2g4:18
[ 45.494164] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs5_2g4:18
[ 45.503148] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs6_2g4:16
[ 45.512130] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs7_2g4:16
[ 45.521105] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs8_2g4:16
[ 45.530092] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs9_2g4:16
[ 45.539076] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs10_2g4:15
[ 45.548155] AICWFDBG(LOGINFO) get_userconfig_txpwr_lvl_v2_in_fdrv:lvl_11ax_mcs11_2g4:15
[ 45.557235] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:enable:1
[ 45.563879] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_1m_2g4:20
[ 45.571886] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_2m_2g4:20
[ 45.579887] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_5m5_2g4:20
[ 45.587992] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_11m_2g4:20
[ 45.596097] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_6m_2g4:20
[ 45.604108] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_9m_2g4:20
[ 45.612122] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_12m_2g4:20
[ 45.620220] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_18m_2g4:20
[ 45.628333] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_24m_2g4:18
[ 45.636440] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_36m_2g4:18
[ 45.644546] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_48m_2g4:16
[ 45.652651] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11b_11ag_54m_2g4:16
[ 45.660749] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs0_2g4:20
[ 45.668951] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs1_2g4:20
[ 45.677154] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs2_2g4:20
[ 45.685356] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs3_2g4:20
[ 45.693559] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs4_2g4:18
[ 45.701762] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs5_2g4:18
[ 45.709957] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs6_2g4:16
[ 45.718160] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs7_2g4:16
[ 45.726367] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs8_2g4:16
[ 45.734573] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11n_11ac_mcs9_2g4:16
[ 45.742782] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs0_2g4:20
[ 45.750588] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs1_2g4:20
[ 45.758403] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs2_2g4:20
[ 45.766217] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs3_2g4:20
[ 45.774030] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs4_2g4:18
[ 45.781843] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs5_2g4:18
[ 45.789648] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs6_2g4:16
[ 45.797461] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs7_2g4:16
[ 45.805274] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs8_2g4:16
[ 45.813087] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs9_2g4:16
[ 45.820892] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs10_2g4:15
[ 45.828807] AICWFDBG(LOGINFO) rwnx_send_txpwr_lvl_req:lvl_11ax_mcs11_2g4:15
[ 45.836722] AICWFDBG(LOGTRACE) rwnx_send_msg (120)MM_SET_TXPWR_IDX_LVL_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.848730] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.856685] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x78
[ 45.863509] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.870636] AICWFDBG(LOGTRACE) >>> rwnx_send_txpwr_ofst_req()
[ 45.877120] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:enable :0
[ 45.885337] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_1_4 :0
[ 45.893551] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_5_9 :0
[ 45.901765] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_10_13 :0
[ 45.909980] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_36_64 :0
[ 45.918197] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_100_120:0
[ 45.926417] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_122_140:0
[ 45.934623] AICWFDBG(LOGINFO) get_userconfig_txpwr_ofst_in_fdrv:chan_142_165:0
[ 45.942834] AICWFDBG(LOGTRACE) >>> rwnx_msg_free()
[ 45.948204] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 45.954564] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 45.966191] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 45.974143] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 45.980898] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 45.988071] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 45.994441] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.006069] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.013974] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.020761] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.027935] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 46.034328] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.045955] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.053864] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.060660] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.067821] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_config_req()
[ 46.074231] AICWFDBG(LOGTRACE) rwnx_send_msg (104)MM_SET_RF_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.085860] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.093768] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x68
[ 46.100551] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.107723] AICWFDBG(LOGTRACE) >>> rwnx_send_rf_calib_req()
[ 46.114014] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:enable :0
[ 46.121332] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:xtal_cap :0
[ 46.128665] AICWFDBG(LOGINFO) get_userconfig_xtal_cap:xtal_cap_fine:0
[ 46.135999] AICWFDBG(LOGTRACE) rwnx_send_msg (106)MM_SET_RF_CALIB_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.147523] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.392682] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x6a
[ 46.399519] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.406671] AICWFDBG(LOGTRACE) >>> rwnx_send_get_macaddr_req()
[ 46.413239] AICWFDBG(LOGTRACE) rwnx_send_msg (116)MM_GET_MAC_ADDR_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.424765] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.432894] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x74
[ 46.439647] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.446801] AICWFDBG(LOGINFO) get macaddr: bc:2b:02:0a:b6:74
[ 46.453251] AICWFDBG(LOGTRACE) >>> rwnx_send_reset()
[ 46.458820] AICWFDBG(LOGTRACE) rwnx_send_msg (1)MM_RESET_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.469463] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.478057] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1
[ 46.484728] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.491878] AICWFDBG(LOGTRACE) >>> rwnx_send_version_req()
[ 46.498031] AICWFDBG(LOGTRACE) rwnx_send_msg (5)MM_VERSION_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.508874] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.516774] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x5
[ 46.523475] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.530631] AICWFDBG(LOGTRACE) >>> rwnx_set_vers()
[ 46.536029] AICWFDBG(LOGINFO) rwnx_handle_dynparams unsupport mcs11 change to mcs9
[ 46.536042] AICWFDBG(LOGTRACE) >>> rwnx_send_me_config_req()
[ 46.550897] ieee80211 phy0: HT supp 1, VHT supp 1, HE supp 1
[ 46.557254] AICWFDBG(LOGTRACE) rwnx_send_msg (5121)ME_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.568288] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.576213] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1401
[ 46.583204] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.590514] AICWFDBG(LOGTRACE) >>> rwnx_send_me_chan_config_req()
[ 46.597460] AICWFDBG(LOGTRACE) rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.608997] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.616951] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1403
[ 46.623984] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.631417] AICWFDBG(LOGINFO) getRegdomainFromRwnxDB set ccode:00
[ 46.638536] AICWFDBG(LOGINFO) rwnx_get_countrycode_channels support channel:1 2 3 4 5 6 7 8 9 10 11 12 13 14
[ 46.649826] ieee80211 phy0:
[ 46.649826] *******************************************************
[ 46.649826] ** CAUTION: USING PERMISSIVE CUSTOM REGULATORY RULES **
[ 46.649826] *******************************************************
[ 46.674129] AICWFDBG(LOGTRACE) >>> rwnx_send_me_chan_config_req()
[ 46.680970] AICWFDBG(LOGTRACE) rwnx_send_msg (5123)ME_CHAN_CONFIG_CFM reqcfm:1 in_irq:0 in_softirq:0 in_atomic:0
[ 46.692499] AICWFDBG(LOGTRACE) rwnx_cmd_malloc get cmd_array[0]:a97386e8
[ 46.700686] AICWFDBG(LOGDEBUG) rwnx_rx_handle_msg msg->id:0x1403
[ 46.707729] AICWFDBG(LOGTRACE) rwnx_cmd_free cmd_array[0]:a97386e8
[ 46.714884] AICWFDBG(LOGTRACE) >>> rwnx_dbgfs_register()
[ 46.720952] AICWFDBG(LOGINFO) fw_log_init: c61e0000, c61e2800
[ 46.727439] AICWFDBG(LOGINFO) rwnx_interface_add: wlan%d, 2, 10
[ 46.734345] AICWFDBG(LOGINFO) interface add:bc 2b 2 a b6 74
[ 47.367580] get_txpwr_max:txpwr_max:20
[ 47.463747] AICWFDBG(LOGINFO) New interface create wlan0
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
Can't attach to device hci0. No such device(19)
btsnoop version: 1 datalink type: 1002
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# lsmod
aic8800_bsp 81920 1 aic8800_fdrv
aic8800_fdrv 413696 0
root@TinaLinux:/mnt/UDISK# insmod aic8800_btlpm.ko
[ 72.961080] aic_bluetooth_mod_init
[ 72.965452] -->rfkill_bluetooth_init
[ 72.969956] <--rfkill_bluetooth_init
[ 72.974054] [BT_LPM] bluesleep_init: BlueSleep Mode Driver Ver 1.3.3
[ 72.981688] [BT_LPM] bluesleep_probe: bt_hostwake gpio=207 assert=1
[ 72.981688]
[ 72.990489] [BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 72.990489]
[ 72.998955] [BT_LPM] bluesleep_probe: bt_wake gpio=206 assert=1
[ 72.998955]
[ 73.007290] [BT_LPM] bluesleep_probe: uart_index (1)
[ 73.007290]
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
Can't attach to device hci0. No such device(19)
btsnoop version: 1 datalink type: 1002
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosl
eep&
root@TinaLinux:/mnt/UDISK# Device setup complete
[1]+ Done hciattach -s 1500000 /dev/ttyS1 any 1500000 flow nosleep
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
device: hci0 snap_len: 1500 filter: 0x0
^C
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcidump -w output.hci &
root@TinaLinux:/mnt/UDISK# HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
device: hci0 snap_len: 1500 filter: 0x0
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: BC:2B:02:0A:B6:75 ACL MTU: 251:14 SCO MTU: 0:0
DOWN
RX bytes:220 acl:0 sco:0 events:16 errors:0
TX bytes:91 acl:0 sco:0 commands:16 errors:0
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
root@TinaLinux:/mnt/UDISK# hciconfig hci0 up
root@TinaLinux:/mnt/UDISK# hciconfig -a
hci0: Type: Primary Bus: UART
BD Address: BC:2B:02:0A:B6:75 ACL MTU: 251:14 SCO MTU: 0:0
UP RUNNING
RX bytes:440 acl:0 sco:0 events:32 errors:0
TX bytes:182 acl:0 sco:0 commands:32 errors:0
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT
Can't read local name on hci0: Input/output error (5)
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# ls
1111.txt aic8800_btlpm.ko output.hci
aic8800_bsp.ko aic8800_fdrv.ko
root@TinaLinux:/mnt/UDISK# hcidump -r output.hci
HCI sniffer - Bluetooth packet analyzer ver 5.54
btsnoop version: 1 datalink type: 1002
< HCI Command: Read Local Supported Features (0x04|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
Read Local Supported Features (0x04|0x0003) ncmd 5
status 0x00
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
< HCI Command: Read Local Version Information (0x04|0x0001) plen 0
> HCI Event: Command Complete (0x0e) plen 12
Read Local Version Information (0x04|0x0001) ncmd 5
status 0x00
HCI Version: 5.2 (0xb) HCI Revision: 0x14
LMP Version: 5.2 (0xb) LMP Subversion: 0x14
Manufacturer: not assigned (2875)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0
> HCI Event: Command Complete (0x0e) plen 10
Read BD ADDR (0x04|0x0009) ncmd 5
status 0x00 bdaddr BC:2B:02:0A:B6:75
< HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0
> HCI Event: Command Complete (0x0e) plen 7
LE Read Buffer Size (0x08|0x0002) ncmd 5
status 0x00 pktlen 0x00fb maxpkt 0x0e
< HCI Command: LE Read Local Supported Features (0x08|0x0003) plen 0
> HCI Event: Command Complete (0x0e) plen 12
LE Read Local Supported Features (0x08|0x0003) ncmd 5
status 0x00 features 0xdff9010800000000 (Link Layer supports LE Encryption)
< HCI Command: LE Read Supported States (0x08|0x001c) plen 0
> HCI Event: Command Complete (0x0e) plen 12
LE Read Supported States (0x08|0x001c) ncmd 5
< HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0
> HCI Event: Command Complete (0x0e) plen 68
Read Local Supported Commands (0x04|0x0002) ncmd 5
status 0x00
Commands: 2000800000c000000000e40000002822000000000000040000f7ffff7f000000
30f0ffffffffff07
< HCI Command: Set Event Mask (0x03|0x0001) plen 8
Mask: 0x90e8040200800020
> HCI Event: Command Complete (0x0e) plen 4
Set Event Mask (0x03|0x0001) ncmd 5
status 0x00
< HCI Command: LE Set Event Mask (0x08|0x0001) plen 8
mask 0xbf1f0a0000000000 (Reserved)
> HCI Event: Command Complete (0x0e) plen 4
LE Set Event Mask (0x08|0x0001) ncmd 5
status 0x00
< HCI Command: LE Read White List Size (0x08|0x000f) plen 0
> HCI Event: Command Complete (0x0e) plen 5
LE Read White List Size (0x08|0x000f) ncmd 5
< HCI Command: LE Clear White List (0x08|0x0010) plen 0
> HCI Event: Command Complete (0x0e) plen 4
LE Clear White List (0x08|0x0010) ncmd 5
status 0x00
< HCI Command: Unknown (0x08|0x002a) plen 0
> HCI Event: Command Complete (0x0e) plen 5
Unknown (0x08|0x002a) ncmd 5
< HCI Command: Unknown (0x08|0x0029) plen 0
> HCI Event: Command Complete (0x0e) plen 4
Unknown (0x08|0x0029) ncmd 5
< HCI Command: Unknown (0x08|0x003b) plen 0
> HCI Event: Command Complete (0x0e) plen 5
Unknown (0x08|0x003b) ncmd 5
< HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8
Mask: 0x0000800000000000
> HCI Event: Command Complete (0x0e) plen 4
Set Event Mask Page 2 (0x03|0x0063) ncmd 5
status 0x00
< HCI Command: Unknown (0x08|0x0031) plen 3
> HCI Event: Command Complete (0x0e) plen 4
Unknown (0x08|0x0031) ncmd 5
< HCI Command: Read Local Name (0x03|0x0014) plen 0
> HCI Event: Command Complete (0x0e) plen 252
Read Local Name (0x03|0x0014) ncmd 5
status 0x02 name ''
Error: Unknown Connection Identifier
root@TinaLinux:/mnt/UDISK#
上面是整个模组的加载调试信息,目前wifi部分是没有问题的,但是蓝牙的hci设备使用报错,大佬们帮忙看下问题可能出在哪里。(感觉爱科微的模组还是有点奇葩的,好像就他家想要生成hci设备还得专门初始化一段指令才会生成,其他家加载模组就会生成hci设备了)
[96359.536592] INFO: task kworker/0:1:9 blocked for more than 120 seconds.
[96359.544009] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96359.552774] kworker/0:1 D c0358d3c 0 9 2 0x00000000
[96359.559933] Workqueue: events fb_deferred_io_work
[96359.565154] Backtrace:
[96359.567978] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96359.576835] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96359.586224] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96359.596395] r9:00000000 r8:00000000 r7:00000002 r6:c0c5a000 r5:c0c5bd34
r4:7fffffff
[96359.605215] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96359.615583] r9:c1800000 r8:c0c5bd34 r7:00000000 r6:c0d800f8 r5:00000000
r4:c0c5bd9c
[96359.624384] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c020fa2c>] (spi_sync+0x74/0x8c)
[96359.634012] [<c020f9b8>] (spi_sync+0x0/0x8c) from [<c0194550>] (fbtft_write_spi+0xec/0xfc)
[96359.643219] r8:00002000 r7:c2820000 r6:c1800000 r5:c0c5bd9c r4:c0d2331c
[96359.650771] [<c0194464>] (fbtft_write_spi+0x0/0xfc) from [<c0194404>] (fbtft_write_vmem16_bus8+0x104/0x134)
[96359.661640] r6:00000000 r5:00002000 r4:c0d2331c
[96359.666855] [<c0194300>] (fbtft_write_vmem16_bus8+0x0/0x134) from [<c0191010>] (fbtft_update_display+0x144/0x304)
[96359.678299] [<c0190ecc>] (fbtft_update_display+0x0/0x304) from [<c0190a48>] (fbtft_deferred_io+0x6c/0x100)
[96359.689066] [<c01909dc>] (fbtft_deferred_io+0x0/0x100) from [<c0190434>] (fb_deferred_io_work+0x48/0xd8)
[96359.699654] [<c01903ec>] (fb_deferred_io_work+0x0/0xd8) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96359.710205] r9:c0c5a000 r8:c052b600 r7:00000000 r6:c0485024 r5:c0d232b0
r4:c0c22f00
[96359.719039] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96359.729155] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96359.738215] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96359.747134] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0c49e7c
[96359.753468] INFO: task 86t2_f1c200s:192 blocked for more than 120 seconds.
[96359.761132] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96359.769851] 86t2_f1c200s D c0358d3c 0 192 1 0x00000000
[96359.776956] Backtrace:
[96359.779726] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96359.788593] [<c0358e0c>] (schedule+0x0/0x8c) from [<c03592d0>] (schedule_preempt_disabled+0x10/0x14)
[96359.798803] [<c03592c0>] (schedule_preempt_disabled+0x0/0x14) from [<c0358260>] (__mutex_lock_slowpath+0x6c/0xb8)
[96359.810254] [<c03581f4>] (__mutex_lock_slowpath+0x0/0xb8) from [<c03582e8>] (mutex_lock+0x3c/0x40)
[96359.820228] r8:c04f42c0 r7:c01904c4 r6:c0d93494 r5:c0d23000 r4:c0d93494
[96359.827764] [<c03582ac>] (mutex_lock+0x0/0x40) from [<c01904f0>] (fb_deferred_io_mkwrite+0x2c/0xf8)
[96359.837847] r5:c0d23000 r4:c0d93490
[96359.841853] [<c01904c4>] (fb_deferred_io_mkwrite+0x0/0xf8) from [<c0081368>] (handle_pte_fault+0x774/0xa48)
[96359.852693] r9:c0f463e8 r8:80d9618f r7:c01904c4 r6:b6afa000 r5:c0e65160
r4:c04f42c0
[96359.861471] [<c0080bf4>] (handle_pte_fault+0x0/0xa48) from [<c00816f0>] (handle_mm_fault+0xb4/0xd8)
[96359.871570] [<c008163c>] (handle_mm_fault+0x0/0xd8) from [<c0016510>] (do_page_fault+0x1d4/0x278)
[96359.881474] [<c001633c>] (do_page_fault+0x0/0x278) from [<c000a1d0>] (do_DataAbort+0x40/0xa4)
[96359.890997] [<c000a190>] (do_DataAbort+0x0/0xa4) from [<c000f660>] (__dabt_usr+0x40/0x60)
[96359.900123] Exception stack(0xc0981fb0 to 0xc0981ff8)
[96359.922359] 1fa0: b6afa17a 00281d5c 00000062 ffbcffbc
[96359.932683] 1fc0: 00000000 00000000 00231928 00000066 000000bd 0000013f b6afa000 00000066
[96359.943117] 1fe0: 00000010 b6bb95c8 00000010 b6f1f12c 60000010 ffffffff
[96359.950646] r7:00000066 r6:ffffffff r5:60000010 r4:b6f1f12c
[96359.957087] INFO: task kworker/u2:2:8590 blocked for more than 120 seconds.
[96359.964834] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96359.973574] kworker/u2:2 D c0358d3c 0 8590 2 0x00000000
[96359.980715] Workqueue: spi1 sunxi_spi_work
[96359.985260] Backtrace:
[96359.988081] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96359.996939] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96360.006325] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96360.016518] r9:00000000 r8:00000000 r7:00000002 r6:c0fe6000 r5:c0d807e8
r4:7fffffff
[96360.025279] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96360.035644] r9:00000000 r8:c0c5bdbc r7:f1c06018 r6:c0c5bd78 r5:c0d80168
r4:f1c06000
[96360.044450] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c0212830>] (sunxi_spi_work+0x4b4/0x7fc)
[96360.054850] [<c021237c>] (sunxi_spi_work+0x0/0x7fc) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96360.065063] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96360.075175] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96360.084257] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96360.093185] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0adde7c
[96480.095636] INFO: task kworker/0:1:9 blocked for more than 120 seconds.
[96480.103042] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96480.111804] kworker/0:1 D c0358d3c 0 9 2 0x00000000
[96480.118951] Workqueue: events fb_deferred_io_work
[96480.124203] Backtrace:
[96480.127032] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96480.135930] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96480.145320] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96480.155496] r9:00000000 r8:00000000 r7:00000002 r6:c0c5a000 r5:c0c5bd34
r4:7fffffff
[96480.164297] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96480.174660] r9:c1800000 r8:c0c5bd34 r7:00000000 r6:c0d800f8 r5:00000000
r4:c0c5bd9c
[96480.183456] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c020fa2c>] (spi_sync+0x74/0x8c)
[96480.193084] [<c020f9b8>] (spi_sync+0x0/0x8c) from [<c0194550>] (fbtft_write_spi+0xec/0xfc)
[96480.202306] r8:00002000 r7:c2820000 r6:c1800000 r5:c0c5bd9c r4:c0d2331c
[96480.209853] [<c0194464>] (fbtft_write_spi+0x0/0xfc) from [<c0194404>] (fbtft_write_vmem16_bus8+0x104/0x134)
[96480.220687] r6:00000000 r5:00002000 r4:c0d2331c
[96480.225889] [<c0194300>] (fbtft_write_vmem16_bus8+0x0/0x134) from [<c0191010>] (fbtft_update_display+0x144/0x304)
[96480.237329] [<c0190ecc>] (fbtft_update_display+0x0/0x304) from [<c0190a48>] (fbtft_deferred_io+0x6c/0x100)
[96480.248095] [<c01909dc>] (fbtft_deferred_io+0x0/0x100) from [<c0190434>] (fb_deferred_io_work+0x48/0xd8)
[96480.258685] [<c01903ec>] (fb_deferred_io_work+0x0/0xd8) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96480.269243] r9:c0c5a000 r8:c052b600 r7:00000000 r6:c0485024 r5:c0d232b0
r4:c0c22f00
[96480.278030] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96480.288137] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96480.297195] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96480.306111] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0c49e7c
[96480.312444] INFO: task 86t2_f1c200s:192 blocked for more than 120 seconds.
[96480.320124] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96480.328848] 86t2_f1c200s D c0358d3c 0 192 1 0x00000000
[96480.335940] Backtrace:
[96480.338710] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96480.347568] [<c0358e0c>] (schedule+0x0/0x8c) from [<c03592d0>] (schedule_preempt_disabled+0x10/0x14)
[96480.357773] [<c03592c0>] (schedule_preempt_disabled+0x0/0x14) from [<c0358260>] (__mutex_lock_slowpath+0x6c/0xb8)
[96480.369225] [<c03581f4>] (__mutex_lock_slowpath+0x0/0xb8) from [<c03582e8>] (mutex_lock+0x3c/0x40)
[96480.379221] r8:c04f42c0 r7:c01904c4 r6:c0d93494 r5:c0d23000 r4:c0d93494
[96480.386767] [<c03582ac>] (mutex_lock+0x0/0x40) from [<c01904f0>] (fb_deferred_io_mkwrite+0x2c/0xf8)
[96480.396839] r5:c0d23000 r4:c0d93490
[96480.400844] [<c01904c4>] (fb_deferred_io_mkwrite+0x0/0xf8) from [<c0081368>] (handle_pte_fault+0x774/0xa48)
[96480.411698] r9:c0f463e8 r8:80d9618f r7:c01904c4 r6:b6afa000 r5:c0e65160
r4:c04f42c0
[96480.420490] [<c0080bf4>] (handle_pte_fault+0x0/0xa48) from [<c00816f0>] (handle_mm_fault+0xb4/0xd8)
[96480.430607] [<c008163c>] (handle_mm_fault+0x0/0xd8) from [<c0016510>] (do_page_fault+0x1d4/0x278)
[96480.440536] [<c001633c>] (do_page_fault+0x0/0x278) from [<c000a1d0>] (do_DataAbort+0x40/0xa4)
[96480.450071] [<c000a190>] (do_DataAbort+0x0/0xa4) from [<c000f660>] (__dabt_usr+0x40/0x60)
[96480.459186] Exception stack(0xc0981fb0 to 0xc0981ff8)
[96480.484248] 1fa0: b6afa17a 00281d5c 00000062 ffbcffbc
[96480.494706] 1fc0: 00000000 00000000 00231928 00000066 000000bd 0000013f b6afa000 00000066
[96480.505143] 1fe0: 00000010 b6bb95c8 00000010 b6f1f12c 60000010 ffffffff
[96480.512684] r7:00000066 r6:ffffffff r5:60000010 r4:b6f1f12c
[96480.519097] INFO: task kworker/u2:2:8590 blocked for more than 120 seconds.
[96480.526862] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96480.535614] kworker/u2:2 D c0358d3c 0 8590 2 0x00000000
[96480.542717] Workqueue: spi1 sunxi_spi_work
[96480.547319] Backtrace:
[96480.550090] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96480.558970] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96480.568413] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96480.578578] r9:00000000 r8:00000000 r7:00000002 r6:c0fe6000 r5:c0d807e8
r4:7fffffff
[96480.587373] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96480.597731] r9:00000000 r8:c0c5bdbc r7:f1c06018 r6:c0c5bd78 r5:c0d80168
r4:f1c06000
[96480.606531] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c0212830>] (sunxi_spi_work+0x4b4/0x7fc)
[96480.616961] [<c021237c>] (sunxi_spi_work+0x0/0x7fc) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96480.627173] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96480.637287] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96480.646343] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96480.655218] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0adde7c
[96600.654690] INFO: task kworker/0:1:9 blocked for more than 120 seconds.
[96600.662100] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96600.670854] kworker/0:1 D c0358d3c 0 9 2 0x00000000
[96600.678020] Workqueue: events fb_deferred_io_work
[96600.683278] Backtrace:
[96600.686101] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96600.694973] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96600.704360] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96600.714552] r9:00000000 r8:00000000 r7:00000002 r6:c0c5a000 r5:c0c5bd34
r4:7fffffff
[96600.723362] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96600.733745] r9:c1800000 r8:c0c5bd34 r7:00000000 r6:c0d800f8 r5:00000000
r4:c0c5bd9c
[96600.742571] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c020fa2c>] (spi_sync+0x74/0x8c)
[96600.752203] [<c020f9b8>] (spi_sync+0x0/0x8c) from [<c0194550>] (fbtft_write_spi+0xec/0xfc)
[96600.761413] r8:00002000 r7:c2820000 r6:c1800000 r5:c0c5bd9c r4:c0d2331c
[96600.768946] [<c0194464>] (fbtft_write_spi+0x0/0xfc) from [<c0194404>] (fbtft_write_vmem16_bus8+0x104/0x134)
[96600.779782] r6:00000000 r5:00002000 r4:c0d2331c
[96600.784983] [<c0194300>] (fbtft_write_vmem16_bus8+0x0/0x134) from [<c0191010>] (fbtft_update_display+0x144/0x304)
[96600.796438] [<c0190ecc>] (fbtft_update_display+0x0/0x304) from [<c0190a48>] (fbtft_deferred_io+0x6c/0x100)
[96600.807210] [<c01909dc>] (fbtft_deferred_io+0x0/0x100) from [<c0190434>] (fb_deferred_io_work+0x48/0xd8)
[96600.817787] [<c01903ec>] (fb_deferred_io_work+0x0/0xd8) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96600.828338] r9:c0c5a000 r8:c052b600 r7:00000000 r6:c0485024 r5:c0d232b0
r4:c0c22f00
[96600.837120] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96600.847227] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96600.856299] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96600.865222] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0c49e7c
[96600.871552] INFO: task 86t2_f1c200s:192 blocked for more than 120 seconds.
[96600.879218] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96600.887933] 86t2_f1c200s D c0358d3c 0 192 1 0x00000000
[96600.895028] Backtrace:
[96600.897799] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96600.906659] [<c0358e0c>] (schedule+0x0/0x8c) from [<c03592d0>] (schedule_preempt_disabled+0x10/0x14)
[96600.916883] [<c03592c0>] (schedule_preempt_disabled+0x0/0x14) from [<c0358260>] (__mutex_lock_slowpath+0x6c/0xb8)
[96600.928340] [<c03581f4>] (__mutex_lock_slowpath+0x0/0xb8) from [<c03582e8>] (mutex_lock+0x3c/0x40)
[96600.938314] r8:c04f42c0 r7:c01904c4 r6:c0d93494 r5:c0d23000 r4:c0d93494
[96600.945847] [<c03582ac>] (mutex_lock+0x0/0x40) from [<c01904f0>] (fb_deferred_io_mkwrite+0x2c/0xf8)
[96600.955936] r5:c0d23000 r4:c0d93490
[96600.959944] [<c01904c4>] (fb_deferred_io_mkwrite+0x0/0xf8) from [<c0081368>] (handle_pte_fault+0x774/0xa48)
[96600.970798] r9:c0f463e8 r8:80d9618f r7:c01904c4 r6:b6afa000 r5:c0e65160
r4:c04f42c0
[96600.979604] [<c0080bf4>] (handle_pte_fault+0x0/0xa48) from [<c00816f0>] (handle_mm_fault+0xb4/0xd8)
[96600.989711] [<c008163c>] (handle_mm_fault+0x0/0xd8) from [<c0016510>] (do_page_fault+0x1d4/0x278)
[96600.999634] [<c001633c>] (do_page_fault+0x0/0x278) from [<c000a1d0>] (do_DataAbort+0x40/0xa4)
[96601.009164] [<c000a190>] (do_DataAbort+0x0/0xa4) from [<c000f660>] (__dabt_usr+0x40/0x60)
[96601.018275] Exception stack(0xc0981fb0 to 0xc0981ff8)
[96601.041527] 1fa0: b6afa17a 00281d5c 00000062 ffbcffbc
[96601.051893] 1fc0: 00000000 00000000 00231928 00000066 000000bd 0000013f b6afa000 00000066
[96601.062222] 1fe0: 00000010 b6bb95c8 00000010 b6f1f12c 60000010 ffffffff
[96601.069752] r7:00000066 r6:ffffffff r5:60000010 r4:b6f1f12c
[96601.076175] INFO: task kworker/u2:2:8590 blocked for more than 120 seconds.
[96601.083892] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96601.092631] kworker/u2:2 D c0358d3c 0 8590 2 0x00000000
[96601.099801] Workqueue: spi1 sunxi_spi_work
[96601.104347] Backtrace:
[96601.107176] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96601.116044] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96601.125485] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96601.135651] r9:00000000 r8:00000000 r7:00000002 r6:c0fe6000 r5:c0d807e8
r4:7fffffff
[96601.144409] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96601.154791] r9:00000000 r8:c0c5bdbc r7:f1c06018 r6:c0c5bd78 r5:c0d80168
r4:f1c06000
[96601.163551] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c0212830>] (sunxi_spi_work+0x4b4/0x7fc)
[96601.173951] [<c021237c>] (sunxi_spi_work+0x0/0x7fc) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96601.184165] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96601.194278] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96601.203341] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96601.212259] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0adde7c
[96721.213767] INFO: task kworker/0:1:9 blocked for more than 120 seconds.
[96721.221178] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[96721.229937] kworker/0:1 D c0358d3c 0 9 2 0x00000000
[96721.237106] Workqueue: events fb_deferred_io_work
[96721.242326] Backtrace:
[96721.245150] [<c0358aac>] (__schedule+0x0/0x360) from [<c0358e94>] (schedule+0x88/0x8c)
[96721.254023] [<c0358e0c>] (schedule+0x0/0x8c) from [<c0357b78>] (schedule_timeout+0x20/0x130)
[96721.263443] [<c0357b58>] (schedule_timeout+0x0/0x130) from [<c0359118>] (wait_for_common+0xe0/0x16c)
[96721.273673] r9:00000000 r8:00000000 r7:00000002 r6:c0c5a000 r5:c0c5bd34
r4:7fffffff
[96721.282437] [<c0359038>] (wait_for_common+0x0/0x16c) from [<c03591bc>] (wait_for_completion+0x18/0x1c)
[96721.292829] r9:c1800000 r8:c0c5bd34 r7:00000000 r6:c0d800f8 r5:00000000
r4:c0c5bd9c
[96721.301637] [<c03591a4>] (wait_for_completion+0x0/0x1c) from [<c020fa2c>] (spi_sync+0x74/0x8c)
[96721.311269] [<c020f9b8>] (spi_sync+0x0/0x8c) from [<c0194550>] (fbtft_write_spi+0xec/0xfc)
[96721.320479] r8:00002000 r7:c2820000 r6:c1800000 r5:c0c5bd9c r4:c0d2331c
[96721.328011] [<c0194464>] (fbtft_write_spi+0x0/0xfc) from [<c0194404>] (fbtft_write_vmem16_bus8+0x104/0x134)
[96721.338845] r6:00000000 r5:00002000 r4:c0d2331c
[96721.344056] [<c0194300>] (fbtft_write_vmem16_bus8+0x0/0x134) from [<c0191010>] (fbtft_update_display+0x144/0x304)
[96721.355498] [<c0190ecc>] (fbtft_update_display+0x0/0x304) from [<c0190a48>] (fbtft_deferred_io+0x6c/0x100)
[96721.366264] [<c01909dc>] (fbtft_deferred_io+0x0/0x100) from [<c0190434>] (fb_deferred_io_work+0x48/0xd8)
[96721.376838] [<c01903ec>] (fb_deferred_io_work+0x0/0xd8) from [<c0031d68>] (process_one_work+0x1e8/0x330)
[96721.387395] r9:c0c5a000 r8:c052b600 r7:00000000 r6:c0485024 r5:c0d232b0
r4:c0c22f00
[96721.396181] [<c0031b80>] (process_one_work+0x0/0x330) from [<c0032c0c>] (worker_thread+0x1cc/0x358)
[96721.406300] [<c0032a40>] (worker_thread+0x0/0x358) from [<c0037da0>] (kthread+0xa8/0xb4)
[96721.415364] [<c0037cf8>] (kthread+0x0/0xb4) from [<c000f930>] (ret_from_fork+0x14/0x24)
[96721.424283] r7:00000000 r6:00000000 r5:c0037cf8 r4:c0c49e7c
大佬们,帮忙瞧瞧,给点指导意见,非常感谢
jkangli@admin-PowerEdge-T630-212:~/test/f1c100s/spidev$ /home/jkangli/f1c100s/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-arm9-musl/toolchain/bin/arm-openwrt-linux-muslgnueabi-gcc spidev_test.c
arm-openwrt-linux-muslgnueabi-gcc.bin: warning: environment variable 'STAGING_DIR' not defined
In file included from /home/jkangli/f1c100s/tina/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-arm9-musl/toolchain/include/sys/ioctl.h:7:0,
from spidev_test.c:20:
spidev_test.c: In function 'transfer':
spidev_test.c:60:18: error: '_IOC_SIZEBITS' undeclared (first use in this function)
ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
^
spidev_test.c:60:18: note: each undeclared identifier is reported only once for each function it appears in
jkangli@admin-PowerEdge-T630-212:~/test/f1c100s/spidev$
大佬们,这是缺少了那个头文件,是不是需要“-I”指定一下都文件
root@TinaLinux:/mnt/UDISK# hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 48:9A:5B:3C:30:9B ACL MTU: 27:8 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:13 errors:0
TX bytes:0 acl:0 sco:0 commands:13 errors:0
root@TinaLinux:/mnt/UDISK# hciconfig hci0 up
[ 272.410320] ssv_ble_hci_open():78
[ 272.415190] Config BLE HCI over HWIF
[ 272.420893] BLE TX: Reset
[ 272.444335] BLE RX: Command Complete. len=7
[ 272.449397] BLE TX: Read Local Supported Features
[ 272.457290] BLE RX: Command Complete. len=15
[ 272.462315] BLE TX: Read Local Version Information
[ 272.470281] BLE RX: Command Complete. len=15
[ 272.475281] BLE TX: Read BD_ADDR
[ 272.481531] BLE RX: Command Complete. len=13
[ 272.486736] BLE TX: LE Read Buffer Size
[ 272.493667] BLE RX: Command Complete. len=10
[ 272.499202] BLE TX: LE Read Local Supported Features
[ 272.506491] BLE RX: Command Complete. len=15
[ 272.512299] BLE TX: LE Read Advertising Channel TX Power
[ 272.520949] BLE RX: Command Complete. len=8
[ 272.525881] BLE TX: LE Read White List Size
[ 272.533600] BLE RX: Command Complete. len=8
[ 272.539244] BLE TX: LE Read Supported States
[ 272.545746] BLE RX: Command Complete. len=15
[ 272.551547] BLE TX: Set Event Mask
[ 272.558051] BLE RX: Command Complete. len=7
[ 272.562986] BLE TX: LE Set Event Mask
[ 272.569706] BLE RX: Command Complete. len=7
[ 272.574619] BLE TX: Read Local Supported Commands -optional-
[ 272.583529] BLE RX: Command Complete. len=71
[ 272.589667] BLE TX: LE Set Advertising Data
[ 272.595690] BLE RX: Command Complete. len=7
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK#
root@TinaLinux:/mnt/UDISK# hcitool scan
Scanning ...[ 966.058850] host driver doesn't implement this unknow hci cmd
[ 968.061465] Bluetooth: hci0 command 0x0401 tx timeout
Inquiry failed: Operation timed out
目前16M的配置没有问题,就在ids表格中新增芯片配置就可以了,但是32M的不行,会出现不识别,请问下,有人刚才支持过32M norflash吗?有弄过的帮忙指点一下,非常感谢!!!
sunxi dma exit
[0]HELLO! BOOT0 is starting!
[2]boot0 commit : f847d4e4b27dd960a09d765e9ffc91791bab2ced
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.65 (jkangli@server-211) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #841 Wed Aug 30 02:10:22 UTC 2023
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] cma: CMA: reserved 8 MiB at 81800000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat c05528ec, node_mem_map c057f000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25400 initcall_debug=0 console=ttyS1,115200 loglevel=8 root=/dev/mtdblock4 init=/pseudo_init rdinit=/rdinit partitions=boot@mtdblock1:bootlogo@mtdblock2:env@mtdblock3:rootfs@mtdblock4:rootfs_data@mtdblock5:misc@mtdblock6:private@mtdblock7:UDISK@mtdblock8 cma=8M fb_base=0x81e00000 androidboot.serialno=<NULL> boot_type=3
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 32MB = 32MB total
[ 0.000000] Memory: 18480k/18480k available, 14288k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0444e4c (4340 kB)
[ 0.000000] .init : 0xc0445000 - 0xc0463e18 ( 124 kB)
[ 0.000000] .data : 0xc0464000 - 0xc0553208 ( 957 kB)
[ 0.000000] .bss : 0xc0553208 - 0xc057e5c0 ( 173 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[ 0.000000] pll_cpu-set_default_rate=552000000 success!
[ 0.000000] pll_video-set_default_rate=297000000 success!
[ 0.000000] pll_ddr-set_default_rate=312000000 success!
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000365] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[ 0.085341] pid_max: default: 32768 minimum: 301
[ 0.090439] Mount-cache hash table entries: 512
[ 0.096364] CPU: Testing write buffer coherency: ok
[ 0.102053] Setting up static identity map for 0xc0347338 - 0xc0347390
[ 0.111878] devtmpfs: initialized
[ 0.117263] pinctrl core: initialized pinctrl subsystem
[ 0.124772] NET: Registered protocol family 16
[ 0.132517] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.144916] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[ 0.167432] bio: create slab <bio-0> at 0
[ 0.172781] pwm module init!
[ 0.177485] SCSI subsystem initialized
[ 0.181603] usbcore: registered new interface driver usbfs
[ 0.187383] usbcore: registered new interface driver hub
[ 0.193160] usbcore: registered new device driver usb
[ 0.201247] Advanced Linux Sound Architecture Driver Initialized.
[ 0.209122] cfg80211: Calling CRDA to update world regulatory domain
[ 0.216469] Switching to clocksource sun3i high-res couter
[ 0.224858] get det_vbus is fail, 84
[ 0.228535] of_get_named_gpio_flags: can't parse gpios property
[ 0.236141] NET: Registered protocol family 2
[ 0.242745] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.249727] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.256266] TCP: Hash tables configured (established 512 bind 512)
[ 0.262703] TCP: reno registered
[ 0.266041] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.271971] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.278997] NET: Registered protocol family 1
[ 0.296922] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.303535] jffs2: version 2.2. (NAND) (SUMMARY) ? 2001-2006 Red Hat, Inc.
[ 0.311532] msgmni has been set to 52
[ 0.318581] io scheduler noop registered
[ 0.322801] io scheduler cfq registered (default)
[ 0.328219] [pm]aw_pm_init!
[ 0.331461] [pm]valid
[ 0.333926] [pm]valid
[ 0.336848] [DISP]disp_module_init
[ 0.341998] of_get_named_gpio_flags: can't parse gpios property
[ 0.348790] of_get_named_gpio_flags: can't parse gpios property
[ 0.355226] of_get_named_gpio_flags: can't parse gpios property
[ 0.361588] of_get_named_gpio_flags exited with status 130
[ 0.367600] of_get_named_gpio_flags exited with status 96
[ 0.373524] of_get_named_gpio_flags exited with status 108
[ 0.379449] of_get_named_gpio_flags exited with status 131
[ 0.385439] of_get_named_gpio_flags: can't parse gpios property
[ 0.391768] of_get_named_gpio_flags: can't parse gpios property
[ 0.398177] of_get_named_gpio_flags: can't parse gpios property
[ 0.462171] pll_freq=297000000HZ, lcd_dclk_freq=14000000HZ, clk_div=21
[ 0.469527] num_screens=1
[ 0.472333] screen_id=0
[ 0.474865] para->mclk[MOD_CLK_LCD1CH0]=0xc0c0c340
[ 0.479724] para->mclk[MOD_CLK_LCD1CH1]=0xc0c0c440
[ 0.484630] disp tv init
[ 0.487251] tcon_clk=0xc0c0c340, tcon_clk_parent=0x0
[ 0.492328] tcon_clk=0xc0c0c340, tcon_clk_parent=0xc0c04400
[ 0.497971] tve_clk=0xc0c0c440, tve_clk_parent=0xc0c04400
[ 0.503469] disp al tv init
[ 0.509223] fetch script datadisp.screen2_output_type fail
[ 0.515231] fetch script datadisp.screen2_output_mode fail
[ 0.523623] fetch script datadisp.fb2_format fail
[ 0.528726] fetch script datadisp.fb2_scaler_mode_enable fail
[ 0.534941] fetch script datadisp.fb2_width fail
[ 0.539957] fetch script datadisp.fb2_height fail
[ 0.551704] [DISP] Fb_map_kernel_logo,line:561: this is not a bmp picture
[ 0.560521] [DISP]disp_module_init finish
[ 0.578967] uart0: ttyS0 at MMIO 0x1c25000 (irq = 104) is a SUNXI
[ 0.586396] uart1: ttyS1 at MMIO 0x1c25400 (irq = 105) is a SUNXI
[ 0.592720] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[ 0.600729] console [ttyS1] enabled, bootconsole disabled
[ 0.600729] console [ttyS1] enabled, bootconsole disabled
[ 0.613516] uart2: ttyS2 at MMIO 0x1c25800 (irq = 106) is a SUNXI
[ 0.625126] spi spi0: master is unqueued, this is deprecated
[ 0.632830] m25p80 spi0.0: found py25q256hb, expected m25p64
[ 0.639254] m25p80 spi0.0: py25q256hb (32768 Kbytes) - fast mode
[ 0.649886] sunxi_mbr->PartCount = 216375170
[ 0.654724] sunxipart: failed to parse sunxi_mbr)!
[ 0.660096] m25p80: probe of spi0.0 failed with error -22
[ 0.666435] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.674239] usbcore: registered new interface driver usb-storage
[ 0.681905] /soc/usbc0@0: could not find phandle
[ 0.687160] of_get_named_gpio_flags: can't parse gpios property
[ 0.693783] get regulator_io is no nocare
[ 0.698373] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[ 0.706387] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[ 0.718125] hub 1-0:1.0: USB hub found
[ 0.722497] hub 1-0:1.0: 1 port detected
[ 0.727333] wrn: hcd is not enable, need not stop hcd
[ 0.757185] rtc-pcf85063 2-0051: rtc core: registered pcf85063 as rtc0
[ 0.766572] i2c /dev entries driver
[ 0.771024] IR NEC protocol handler initialized
[ 0.776542] pdev->dev.of_node name :cir
[ 0.781133] Registered IR keymap rc-nec-terratec-cinergy-xs
[ 0.788207] input: sunxi_ir_recv as /devices/soc/1c22c00.cir/rc/rc0/input0
[ 0.796474] rc0: sunxi_ir_recv as /devices/soc/1c22c00.cir/rc/rc0
[ 0.808373] ipip: IPv4 over IPv4 tunneling driver
[ 0.814893] gre: GRE over IPv4 demultiplexor driver
[ 0.820324] ip_gre: GRE over IPv4 tunneling driver
[ 0.828196] TCP: cubic registered
[ 0.831892] Initializing XFRM netlink socket
[ 0.836792] NET: Registered protocol family 17
[ 0.841839] NET: Registered protocol family 15
[ 0.847293] VFP support v0.3: not present
[ 0.853071] [LCD]lcd_module_init
[ 0.860349] enhance_en=1
[ 0.863342] matrixresult:(0x0, 0x3c4, 0x0, 0x0)
[ 0.868421] ERROR,DE_BE_Layer_Set_Screen_Win:174 w,h=[0,0]
[ 0.874611] ERROR,DE_BE_Layer_Set_Screen_Win:174 w,h=[0,0]
[ 0.880713] ERROR,DE_BE_Layer_Set_Screen_Win:174 w,h=[0,0]
[ 0.886929] pll_freq=297000000HZ, lcd_dclk_freq=14000000HZ, clk_div=21
[ 0.894254] clk_div=21
[ 0.897103] [drivers/video/sunxi/disp/lcd/panels/st7796p_320x480.c][LCD_power_on]299
[ 1.122138] [LCD]open, step 0 finish
[ 1.162147] [drivers/video/sunxi/disp/lcd/panels/st7796p_320x480.c][LCD_panel_init]361
[ 1.171022] [drivers/video/sunxi/disp/lcd/panels/st7796p_320x480.c][lcd_init_data]103
[ 1.542664] [LCD]open, step 1 finish
[ 1.602147] [LCD]open, step 2 finish
[ 1.712569] [LCD]open, step 3 finish
[ 1.722206] [LCD]lcd_module_init finish
[ 1.727000] usb_serial_number:20080411
[ 1.731752] file system registered
[ 1.738365] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.746136] android_usb gadget: Number of LUNs=3
[ 1.751311] lun0: LUN: removable file: (no medium)
[ 1.756781] lun1: LUN: removable file: (no medium)
[ 1.762235] lun2: LUN: removable file: (no medium)
[ 1.768559] android_usb gadget: android_usb ready
[ 1.775488] rtc-pcf85063 2-0051: setting system clock to 2000-01-01 18:18:27 UTC (946750707)
[ 1.785178] ALSA device list:
[ 1.788486] No soundcards found.
[ 1.793260] VFS: Cannot open root device "mtdblock4" or unknown-block(0,0): error -6
[ 1.801918] Please append a correct "root=" boot option; here are the available partitions:
[ 1.811289] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
目前增加寄存器配置,使能了INC_EN寄存器使能中断号,情况是中断有响应,但是一直提示没有中断执行程序似得,这个问题是出在哪里?各位大佬帮忙看看;
irq 0, desc: c0420cc0, depth: 1, count: 0, unhandled: 0
->handle_irq(): c005a7fc, handle_bad_irq+0x0/0x210
->irq_data.chip(): c0428958, 0xc0428958
->action(): (null) ==> 看着是没有action,但是上面是在申请中断的是有中断处理函数的
IRQ_NOPROBE set
IRQ_NOREQUEST set
irq 0, desc: c0420cc0, depth: 1, count: 0, unhandled: 0
->handle_irq(): c005a7fc, handle_bad_irq+0x0/0x210
->irq_data.chip(): c0428958, 0xc0428958
->action(): (null)
IRQ_NOPROBE set
IRQ_NOREQUEST set
irq 0, desc: c0420cc0, depth: 1, count: 0, unhandled: 0
->handle_irq(): c005a7fc, handle_bad_irq+0x0/0x210
->irq_data.chip(): c0428958, 0xc0428958
->action(): (null)
100s芯片内置的硬件定时器,配置了相关寄存器后,一直不触发中断,是哪里的问题,各位大佬帮忙看看,下面是部分驱动代码:
static irqreturn_t timer_handler(int irq, void *dev_id)
{
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
writel(readl(TIMER_IRQ_ST_Register)|(1<<1), TIMER_IRQ_ST_Register);//清pending
return IRQ_HANDLED;
}
static ssize_t hw_timer_write(struct file *file, const char __user *buf, size_t count, loff_t * ppos)
{
int val;
copy_from_user(&val, buf, count); // copy_to_user();
writel(val, TIMER1_INTVAL_Rigster);//12000为定时1ms
// printk("%x\n",readl(TIMER0_INTVAL_Rigster));
// printk("%x\n",readl(TIMER0_CNTVAL_Rigster));
/*24M,Single mode,2 precale*/
writel(0x94, TIMER1_CTRL_Rister);
writel(readl(TIMER1_CTRL_Rister)|(1<<1), TIMER1_CTRL_Rister);
while((readl(TIMER1_CTRL_Rister)>>1)&1);
writel(readl(TIMER1_CTRL_Rister)|(1<<0), TIMER1_CTRL_Rister);//使能定时器
}
static struct file_operations hw_timer_fops = {
.owner = THIS_MODULE, /* 这是一个宏,推向编译模块时自动创建的__this_module变量 */
.open = hw_timer_open,
.write = hw_timer_write,
.read = hw_timer_read,
};
int major;
int init_timer_module(void)
{
int ret;
major = register_chrdev(0, "hw_timer", &hw_timer_fops);
hwtimerdrv_cls = class_create(THIS_MODULE, "hw_timer");
hwtimercls_device = device_create(hwtimerdrv_cls, NULL, MKDEV(major, 0), NULL, "timer0"); /* /dev/buttons */
TIMER_IRQ_EN_Register = (volatile unsigned long *)ioremap(TIMER_BASE+TIMER_IRQ_EN_REG,4);
TIMER_IRQ_ST_Register = (volatile unsigned long *)ioremap(TIMER_BASE+TIMER_IRQ_ST_REG,4);
TIMER1_CTRL_Rister = (volatile unsigned long *)ioremap(TIMER_BASE+TIMER_CTL_REG(1),4);
TIMER1_INTVAL_Rigster = (volatile unsigned long *)ioremap(TIMER_BASE+TIMER_INTVAL_REG(1),4);
TIMER1_CNTVAL_Rigster = (volatile unsigned long *)ioremap(TIMER_BASE+TIMER_CNTVAL_REG(1),4);
// writel(1200000, TIMER0_INTVAL_Rigster);//
writel(readl(TIMER_IRQ_EN_Register)|(1<<1), TIMER_IRQ_EN_Register);//使能定时器1中断
/*申请中断*/
if (request_irq(14, (irq_handler_t )timer_handler, 0,"sunxi_timer1", NULL))
{
printk("irq request failure\n");
return -1;
}
return 0;
}
root@TinaLinux:/# export TSLIB_CALIBFILE=/etc/pointercal;export TSLIB_CONFFILE=/
etc/ts.conf;export TSLIB_PLUGINDIR=/usr/lib/ts;export TSLIB_CONSOLEDEVICE=none;e
xport TSLIB_FBDEVICE=/dev/fb0;export TSLIB_TSDEVICE=/dev/input/event0;
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ts_calibrate
xres = 480, yres = 272
Took 15 samples...
Top left : X = 3495 Y = 3300
Took 11 samples...
Top right : X = 557 Y = 3183
Took 11 samples...
Bot right : X = 609 Y = 823
Took 13 samples...
Bot left : X = 3489 Y = 935
Took 14 samples...
Center : X = 2013 Y = 2048
507.976929 -0.130559 -0.001265
279.929535 0.002867 -0.072775
Calibration constants: 33290776 -8556 -82 18345462 187 -4769 65536
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ts_test
94.175296: 459 237 255
94.175296: 459 237 255
94.185553: 458 237 255
94.195795: 458 237 255
94.206035: 457 238 255
94.216333: 457 239 255
94.226508: 457 239 255
94.236740: 457 240 255
94.246991: 458 240 255
94.350075: 458 239 0
94.773312: 440 93 255
94.773312: 440 93 255
94.783571: 441 92 255
94.890074: 439 91 0
^Csignal 2 caught
root@TinaLinux:/#
root@TinaLinux:/# TSLIB_TSDEVICE=/dev/input/event0 ts_uinput &
root@TinaLinux:/# tslib: WARNING: no multitouch using VARIANCE filinput: ts_uinput as /devices/virtual/input/input1
ter
tslib: WARNING: no multitouch using VARIANCE filter
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# TSLIB_TSDEVICE=/dev/input/event1 ts_test
^Csignal 2 caught
root@TinaLinux:/#
root@TinaLinux:/etc# ./evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: 1c24800.sun3i-rtp
/dev/input/event1: ts_uinput
Select the device event number [0-1]: 1
Input driver version is 1.0.1
Input device ID: bus 0x6 vendor 0x0 product 0x0 version 0x0
Input device name: "ts_uinput"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 1000
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 479
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 271
Properties:
Testing ... (interrupt to exit)
^Croot@TinaLinux:/etc#
请问一下,电阻触摸屏,使用tslib校准后,查阅到可以通过ts_uinput 命令虚拟出一个event设备,应用层就直接可以通过这个设备来获取坐标了,不知道是否可行?使用后出现下面log:
root@TinaLinux:/# ts_uinput -n /dev/input/event1
tslib: WARNING: no multitouch using VARIANCE filter
open /dev/uinput: No such file or directory
Illegal instruction
是不行?还是我应该在系统层面去生成一个/dev/uinput 设备,这需要打开哪项配置?
麻烦各位大佬支支招
root@TinaLinux:/etc#
root@TinaLinux:/etc#
root@TinaLinux:/etc# export TSLIB_CALIBFILE=/etc/pointercal
root@TinaLinux:/etc# export TSLIB_CONFFILE=/etc/ts.conf
root@TinaLinux:/etc# export TSLIB_PLUGINDIR=/usr/lib/ts
root@TinaLinux:/etc# export TSLIB_CONSOLEDEVICE=/dev/ttyS2
root@TinaLinux:/etc# export TSLIB_FBDEVICE=/dev/fb0
root@TinaLinux:/etc# export TSLIB_TSDEVICE=/dev/input/event0
root@TinaLinux:/etc# ts_calibrate
open consoledevice: No such file or directory
KDSETMODE: Bad file descriptor
root@TinaLinux:/etc#
看了很多帖子,说的大概都是没有声明环境变量,但是我都声明了,还是提示这个错误,这是什么原因,麻烦各位大佬指点一下
发现一个好奇怪的点,不知道是不是哪里出了问题:
我参考这个帖子自动挂载:
https://whycan.com/t_711.html#p2588
插卡的时候会运行 inser.sh脚本,然后我在insert脚本中加入我的升级脚本,硬是不执行,我单独执行inset.sh他又执行了,不知道问题出在哪里,各位指点一下
insert.sh:
#!/bin/sh
if [ -n "$1" ] ; then
if [ -b /dev/$1 ]; then
if [ ! -d /media ]; then
mkdir -p /media
fi
if [ ! -d /media/$1 ]; then
mkdir -p /media/$1
fi
mount /dev/$1 /media/$1
if [ $? -ne 0 ]; then
rm -rf /media/$1
fi
fi
fi
test.sh
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: gslX680
/dev/input/event1: rotary-encoder
/dev/input/event2: gpio_keys.4
Select the device event number [0-2]: 0
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "gslX680"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 139 (KEY_MENU)
Event code 158 (KEY_BACK)
Event code 172 (KEY_HOMEPAGE)
Event code 217 (KEY_SEARCH)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Event code 50 (ABS_MT_WIDTH_MAJOR)
Value 0
Min 0
Max 200
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 800
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 480
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 0
Max 11
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)
Event: time 91.695696, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.695696, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.695696, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.695696, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.695696, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.695696, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.695696, -------------- SYN_REPORT ------------
Event: time 91.717247, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.717247, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.717247, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.717247, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.717247, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.717247, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.717247, -------------- SYN_REPORT ------------
Event: time 91.737107, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.737107, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.737107, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.737107, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.737107, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.737107, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.737107, -------------- SYN_REPORT ------------
Event: time 91.756910, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 91.756910, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 91.756910, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 5
Event: time 91.756910, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 26
Event: time 91.756910, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 91.756910, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.756910, -------------- SYN_REPORT ------------
Event: time 91.776873, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.776873, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.776873, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.776873, -------------- SYN_REPORT ------------
Event: time 91.796746, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.796746, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.796746, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.796746, -------------- SYN_REPORT ------------
Event: time 91.816663, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.816663, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.816663, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.816663, -------------- SYN_REPORT ------------
Event: time 91.836693, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 91.836693, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 91.836693, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 91.836693, -------------- SYN_REPORT ------------
Event: time 93.212418, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.212418, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.212418, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.212418, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.212418, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.212418, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.212418, -------------- SYN_REPORT ------------
Event: time 93.232394, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.232394, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.232394, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.232394, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.232394, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.232394, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.232394, -------------- SYN_REPORT ------------
Event: time 93.252406, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.252406, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.252406, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.252406, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.252406, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.252406, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.252406, -------------- SYN_REPORT ------------
Event: time 93.272211, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 93.272211, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 93.272211, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 789
Event: time 93.272211, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 29
Event: time 93.272211, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 93.272211, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.272211, -------------- SYN_REPORT ------------
Event: time 93.292054, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.292054, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.292054, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.292054, -------------- SYN_REPORT ------------
Event: time 93.311985, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.311985, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.311985, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.311985, -------------- SYN_REPORT ------------
Event: time 93.331882, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.331882, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.331882, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.331882, -------------- SYN_REPORT ------------
Event: time 93.351835, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 93.351835, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 93.351835, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 93.351835, -------------- SYN_REPORT ------------
Event: time 94.627715, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.627715, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.627715, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.627715, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.627715, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.627715, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.627715, -------------- SYN_REPORT ------------
Event: time 94.647626, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.647626, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.647626, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.647626, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.647626, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.647626, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.647626, -------------- SYN_REPORT ------------
Event: time 94.667544, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.667544, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.667544, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.667544, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.667544, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.667544, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.667544, -------------- SYN_REPORT ------------
Event: time 94.687408, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 94.687408, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 94.687408, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 778
Event: time 94.687408, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 478
Event: time 94.687408, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 94.687408, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.687408, -------------- SYN_REPORT ------------
Event: time 94.707267, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.707267, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.707267, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.707267, -------------- SYN_REPORT ------------
Event: time 94.727182, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.727182, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.727182, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.727182, -------------- SYN_REPORT ------------
Event: time 94.747112, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.747112, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.747112, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.747112, -------------- SYN_REPORT ------------
Event: time 94.767087, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 94.767087, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 94.767087, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 94.767087, -------------- SYN_REPORT ------------
Event: time 95.544680, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.544680, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.544680, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.544680, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.544680, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.544680, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.544680, -------------- SYN_REPORT ------------
Event: time 95.564643, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.564643, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.564643, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.564643, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.564643, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.564643, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.564643, -------------- SYN_REPORT ------------
Event: time 95.584612, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.584612, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.584612, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.584612, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.584612, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.584612, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.584612, -------------- SYN_REPORT ------------
Event: time 95.604416, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 95.604416, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 10
Event: time 95.604416, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 19
Event: time 95.604416, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 468
Event: time 95.604416, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 95.604416, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.604416, -------------- SYN_REPORT ------------
Event: time 95.624318, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.624318, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.624318, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.624318, -------------- SYN_REPORT ------------
Event: time 95.644262, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.644262, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.644262, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.644262, -------------- SYN_REPORT ------------
Event: time 95.664142, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.664142, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.664142, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.664142, -------------- SYN_REPORT ------------
Event: time 95.684172, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 95.684172, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 95.684172, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 95.684172, -------------- SYN_REPORT ------------
^Croot@TinaLinux:/etc#
四个角都有坐标上报,而且坐标值都是正确的
@jkl
我记得PE没有中断
我看了芯片手册,PE有外部中断
我怀疑可能是这个帖子的原因:
https://bbs.aw-ol.com/topic/1253/linux4 … 3229721575
大佬们,f1c100s的tina,加载编码器的驱动,内核直接奔溃了,这是怎么回事啊?
root@TinaLinux:/etc# insmod rotary_encoder.ko
[ 39.997294] of_get_named_gpio_flags exited with status 133
[ 40.003424] of_get_named_gpio_flags exited with status 134
[ 40.009732] drivers/input/misc/rotary_encoder.c 213 rotary_encoder_probe
[ 40.017248] drivers/input/misc/rotary_encoder.c 236 rotary_encoder_probe
[ 40.035130] drivers/input/misc/rotary_encoder.c 243 rotary_encoder_probe
[ 40.045594] drivers/input/misc/rotary_encoder.c 249 rotary_encoder_probe
[ 40.053235] drivers/input/misc/rotary_encoder.c 252 rotary_encoder_probe
[ 40.060782] drivers/input/misc/rotary_encoder.c 260 rotary_encoder_probe
[ 40.068404] drivers/input/misc/rotary_encoder.c 268 rotary_encoder_probe
[ 40.076026] drivers/input/misc/rotary_encoder.c 276 rotary_encoder_probe
[ 40.086303] input: rotary.4 as /devices/soc/rotary.4/input/input2
[ 40.104447] evbug: Connected device: input2 (rotary.4 at unknown)
[ 40.111381] drivers/input/misc/rotary_encoder.c 282 rotary_encoder_probe
[ 40.118905] drivers/input/misc/rotary_encoder.c 284 rotary_encoder_probe
[ 40.140230] Unable to handle kernel NULL pointer dereference at virtual address 00000005
[ 40.149363] pgd = c33f0000
[ 40.152419] [00000005] *pgd=833e7831, *pte=00000000, *ppte=00000000
[ 40.159468] Internal error: Oops: 1 [#1] ARM
[ 40.164201] Modules linked in: rotary_encoder(+) snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_timer snd_seq_device snd soundcore
[ 40.177864] CPU: 0 PID: 149 Comm: insmod Not tainted 3.10.65 #298
[ 40.184629] task: c339cb00 ti: c3350000 task.ti: c3350000
[ 40.190649] PC is at driver_bound+0x10/0x88
[ 40.195302] LR is at driver_probe_device+0x154/0x1f8
[ 40.200813] pc : [<c01dcb68>] lr : [<c01dce10>] psr: 60000013
[ 40.200813] sp : c3351d48 ip : c3351d60 fp : c3351d5c
[ 40.213540] r10: 00000013 r9 : 00000000 r8 : 00000002
[ 40.219333] r7 : bf04ca08 r6 : 00000000 r5 : 00000006 r4 : 00000001
[ 40.226572] r3 : 60000013 r2 : c04cd65c r1 : 00000000 r0 : 00000001
[ 40.233810] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 40.241722] Control: 0005317f Table: 833f0000 DAC: 00000015
[ 40.248089]
[ 40.248089] PC: 0xc01dcae8:
[ 40.252823] cae8 e595000c ebf94e98 e1a00004 eafffff6 c0452a12 0002000a c0452658 c05c4fe4
[ 40.261936] cb08 c0452a1a e1a0c00d e92dd830 e24cb004 e1a04000 e59f0030 eb06cef7 e5943004
[ 40.271047] cb28 e5931040 e2832040 e1520001 15930044 15810004 15801000 15832040 15832044
[ 40.280155] cb48 e59f0004 eb06cf05 e89da830 c05984b0 e1a0c00d e92dd830 e24cb004 e1a04000
[ 40.289266] cb68 e5900004 e2800020 eb06b78f e3500000 0a000004 e5942008 e59f1050 e59f0050
[ 40.298374] cb88 eb06c58f e89da830 e5943044 e5940004 e5931038 e2800020 e2811024 eb06b841
[ 40.307484] cba8 e1a00004 ebffffd6 ebffff8a e5943040 e3530000 089da830 e593003c e1a02004
[ 40.316594] cbc8 e3a01004 e280006c ebf97f16 e89da830 c03ad5a8 c0452a2c e1a0c00d e92dd830
[ 40.325709]
[ 40.325709] LR: 0xc01dcd90:
[ 40.330442] cd90 e59f1110 e1a00004 ebfff3f8 e1a00006 eb06ce57 e5943004 e59f00f4 e5931040
[ 40.339551] cdb0 e2832040 e1520001 05961020 05862020 0286601c 05836040 05831044 05812000
[ 40.348659] cdd0 eb06ce64 e5953008 e1580003 1a00001e e3a04000 ea00000a e5943040 e5933020
[ 40.357770] cdf0 e3530000 0a000014 e1a00004 e12fff33 e2506000 1affffd4 e1a00004 ebffff51
[ 40.366877] ce10 e3a04001 e10f2000 e3823080 e121f003 e5953000 e2433001 e5853000 e121f002
[ 40.375988] ce30 e3a03000 e3a02001 e3a01003 e59f0068 ebf9871d e1a00004 e89dabf0 e597301c
[ 40.385098] ce50 e3530000 1affffe7 eaffffea ebfffedf eaffffde e3760006 13760013 0affffdb
[ 40.394207] ce70 e594202c e5971000 e3520000 05942008 e1a03006 e59f0024 eb06c4cf eaffffd3
[ 40.403321]
[ 40.403321] SP: 0xc3351cc8:
[ 40.408053] 1cc8 c3066610 bf04c6a4 c3351cfc c3351ce0 c038e208 c001d4f0 c01dcb68 60000013
[ 40.417161] 1ce8 ffffffff c3351d34 c3351d5c c3351d00 c000f4b8 c000a1a0 00000001 00000000
[ 40.426269] 1d08 c04cd65c 60000013 00000001 00000006 00000000 bf04ca08 00000002 00000000
[ 40.435376] 1d28 00000013 c3351d5c c3351d60 c3351d48 c01dce10 c01dcb68 60000013 ffffffff
[ 40.444484] 1d48 00000001 00000006 c3351d84 c3351d60 c01dce10 c01dcb68 c3066610 c3066644
[ 40.453593] 1d68 bf04ca08 00000000 00000000 00000000 c3351da4 c3351d88 c01dcf54 c01dcccc
[ 40.462703] 1d88 00000000 bf04ca08 c01dcf00 00000000 c3351dcc c3351da8 c01db450 c01dcf10
[ 40.471811] 1da8 c3023f4c c305cf90 c33dd3f4 bf04ca08 c33dd3c0 c05985f0 c3351ddc c3351dd0
[ 40.480923]
[ 40.480923] IP: 0xc3351ce0:
[ 40.485655] 1ce0 c01dcb68 60000013 ffffffff c3351d34 c3351d5c c3351d00 c000f4b8 c000a1a0
[ 40.494763] 1d00 00000001 00000000 c04cd65c 60000013 00000001 00000006 00000000 bf04ca08
[ 40.503869] 1d20 00000002 00000000 00000013 c3351d5c c3351d60 c3351d48 c01dce10 c01dcb68
[ 40.512979] 1d40 60000013 ffffffff 00000001 00000006 c3351d84 c3351d60 c01dce10 c01dcb68
[ 40.522088] 1d60 c3066610 c3066644 bf04ca08 00000000 00000000 00000000 c3351da4 c3351d88
[ 40.531195] 1d80 c01dcf54 c01dcccc 00000000 bf04ca08 c01dcf00 00000000 c3351dcc c3351da8
[ 40.540304] 1da0 c01db450 c01dcf10 c3023f4c c305cf90 c33dd3f4 bf04ca08 c33dd3c0 c05985f0
[ 40.549411] 1dc0 c3351ddc c3351dd0 c01dc8b0 c01db3d8 c3351e0c c3351de0 c01dc4e0 c01dc8a0
[ 40.558523]
[ 40.558523] FP: 0xc3351cdc:
[ 40.563256] 1cdc c001d4f0 c01dcb68 60000013 ffffffff c3351d34 c3351d5c c3351d00 c000f4b8
[ 40.572366] 1cfc c000a1a0 00000001 00000000 c04cd65c 60000013 00000001 00000006 00000000
[ 40.581471] 1d1c bf04ca08 00000002 00000000 00000013 c3351d5c c3351d60 c3351d48 c01dce10
[ 40.590579] 1d3c c01dcb68 60000013 ffffffff 00000001 00000006 c3351d84 c3351d60 c01dce10
[ 40.599684] 1d5c c01dcb68 c3066610 c3066644 bf04ca08 00000000 00000000 00000000 c3351da4
[ 40.608793] 1d7c c3351d88 c01dcf54 c01dcccc 00000000 bf04ca08 c01dcf00 00000000 c3351dcc
[ 40.617902] 1d9c c3351da8 c01db450 c01dcf10 c3023f4c c305cf90 c33dd3f4 bf04ca08 c33dd3c0
[ 40.627013] 1dbc c05985f0 c3351ddc c3351dd0 c01dc8b0 c01db3d8 c3351e0c c3351de0 c01dc4e0
[ 40.636125]
[ 40.636125] R2: 0xc04cd5dc:
[ 40.640859] d5dc 00000001 00000002 00000003 00000004 00000005 00000006 00000007 00000008
[ 40.649964] d5fc 00000009 0000000a 0000000b 0000000c 0000000d 0000000e 0000000f 00000010
[ 40.659070] d61c 00000011 00000012 00000013 00000014 00000015 00000016 00000017 00000018
[ 40.668173] d63c 00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f c05b09f8
[ 40.677275] d65c c04cd65c c04cd65c 00000001 c04cd668 c04cd668 00004000 00000001 c04cd678
[ 40.686386] d67c c04cd678 000001f4 0000000a 00000000 00000000 00000000 00000000 0000000f
[ 40.695493] d69c 00000004 00000001 00000007 00000001 ffffffff ffffffff 00000000 00000000
[ 40.704599] d6bc 00000004 00000000 c001e110 00000000 00000000 00000000 00000000 00000000
[ 40.713716] Process insmod (pid: 149, stack limit = 0xc33501b8)
[ 40.720280] Stack: (0xc3351d48 to 0xc3352000)
[ 40.762742] 1d40: 00000001 00000006 c3351d84 c3351d60 c01dce10 c01dcb68
[ 40.772842] 1d60: c3066610 c3066644 bf04ca08 00000000 00000000 00000000 c3351da4 c3351d88
[ 40.782912] 1d80: c01dcf54 c01dcccc 00000000 bf04ca08 c01dcf00 00000000 c3351dcc c3351da8
[ 40.793003] 1da0: c01db450 c01dcf10 c3023f4c c305cf90 c33dd3f4 bf04ca08 c33dd3c0 c05985f0
[ 40.803008] 1dc0: c3351ddc c3351dd0 c01dc8b0 c01db3d8 c3351e0c c3351de0 c01dc4e0 c01dc8a0
[ 40.813062] 1de0: bf04c81f bf04ca90 c3351e0c bf04ca08 bf04e000 c05af580 bf04ca90 00000000
[ 40.823150] 1e00: c3351e34 c3351e10 c01dd504 c01dc3a8 c3350000 bf04e000 c05af580 bf04ca90
[ 40.833208] 1e20: 00000000 00000000 c3351e44 c3351e38 c01de58c c01dd46c c3351e54 c3351e48
[ 40.843265] 1e40: bf04e014 c01de550 c3351e94 c3351e58 c000a4d4 bf04e010 c3351e84 bf04ca48
[ 40.853349] 1e60: c3351f48 c335c600 bf04ca90 bf04ca48 c3351f48 c335c600 bf04ca90 c335c754
[ 40.863396] 1e80: 00000000 00000013 c3351f44 c3351e98 c0054e5c c000a3c8 bf04ca54 00007fff
[ 40.873484] 1ea0: c0051fc8 00000000 c3351ecc b6ee9ab0 bf04cb88 c48eb96c c00529c0 00000028
[ 40.883577] 1ec0: c3350000 bf04ca54 c008ada8 c008a4e0 ff000000 000000d2 c0055498 00000000
[ 40.893629] 1ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 40.903725] 1f00: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 01953010
[ 40.913705] 1f20: b6ee9ab0 000019bc 00000080 c000fa28 c3350000 00000000 c3351fa4 c3351f48
[ 40.923762] 1f40: c0055518 c0053a1c c48ea000 000019bc c48eb6c4 c48eb624 c48eb0d4 00000b9c
[ 40.933853] 1f60: 00000c8c 00000000 00000000 00000000 00000011 00000012 0000000c 00000000
[ 40.943953] 1f80: 00000008 00000000 00000000 00000000 00000000 00000003 00000000 c3351fa8
[ 40.953997] 1fa0: c000f8a0 c0055458 00000000 00000000 01953010 000019bc b6ee9ab0 00005d30
[ 40.964092] 1fc0: 00000000 00000000 00000003 00000080 000019bc 00000000 00000020 00000000
[ 40.974155] 1fe0: be9c1c3c be9c1c20 00011ae8 b6f3c4cc 60000010 01953010 00000000 00000000
[ 40.983446] Backtrace:
[ 40.986303] [<c01dcb58>] (driver_bound+0x0/0x88) from [<c01dce10>] (driver_probe_device+0x154/0x1f8)
[ 40.996512] r5:00000006 r4:00000001
[ 41.000532] [<c01dccbc>] (driver_probe_device+0x0/0x1f8) from [<c01dcf54>] (__driver_attach+0x54/0x94)
[ 41.010915] r9:00000000 r8:00000000 r7:00000000 r6:bf04ca08 r5:c3066644
r4:c3066610
[ 41.019712] [<c01dcf00>] (__driver_attach+0x0/0x94) from [<c01db450>] (bus_for_each_dev+0x88/0x98)
[ 41.029702] r7:00000000 r6:c01dcf00 r5:bf04ca08 r4:00000000
[ 41.036073] [<c01db3c8>] (bus_for_each_dev+0x0/0x98) from [<c01dc8b0>] (driver_attach+0x20/0x28)
[ 41.045870] r6:c05985f0 r5:c33dd3c0 r4:bf04ca08
[ 41.051041] [<c01dc890>] (driver_attach+0x0/0x28) from [<c01dc4e0>] (bus_add_driver+0x148/0x220)
[ 41.060873] [<c01dc398>] (bus_add_driver+0x0/0x220) from [<c01dd504>] (driver_register+0xa8/0x124)
[ 41.070856] r8:00000000 r7:bf04ca90 r6:c05af580 r5:bf04e000 r4:bf04ca08
[ 41.078424] [<c01dd45c>] (driver_register+0x0/0x124) from [<c01de58c>] (platform_driver_register+0x4c/0x60)
[ 41.089291] r9:00000000 r8:00000000 r7:bf04ca90 r6:c05af580 r5:bf04e000
r4:c3350000
[ 41.098106] [<c01de540>] (platform_driver_register+0x0/0x60) from [<bf04e014>] (init_module+0x14/0x1c [rotary_encoder])
[ 41.110168] [<bf04e000>] (init_module+0x0/0x1c [rotary_encoder]) from [<c000a4d4>] (do_one_initcall+0x11c/0x148)
[ 41.121551] [<c000a3b8>] (do_one_initcall+0x0/0x148) from [<c0054e5c>] (load_module+0x1450/0x1a3c)
[ 41.131557] [<c0053a0c>] (load_module+0x0/0x1a3c) from [<c0055518>] (SyS_init_module+0xd0/0xd4)
[ 41.141299] [<c0055448>] (SyS_init_module+0x0/0xd4) from [<c000f8a0>] (ret_fast_syscall+0x0/0x2c)
[ 41.151189] r6:00000003 r5:00000000 r4:00000000
[ 41.157540] Code: e1a0c00d e92dd830 e24cb004 e1a04000 (e5900004)
[ 41.164335] ---[ end trace 583c5997cde2296d ]---
这是我设备树的配置:
rotary@0 {
compatible = "rotary-encoder";
gpios = <&pio PE 5 0 6 1 0>, <&pio PE 6 0 6 1 0>;
linux,axis = <0>; /* REL_X */
rotary-encoder,relative-axis;
status = "okay";
};
在应用层调用ioctl函数,内核获取的应用层传过去的一个结构体内容,其中有两个结构体成员内容对不上,其他的结构体成员值都是对的,这是怎么回事?
这是驱动层的IOCTL:
long disp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
// printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
unsigned long karg[4];
unsigned long ubuffer[4] = { 0 };
s32 ret = 0;
int num_screens = 2;
struct disp_manager *mgr = NULL;
struct disp_device *dispdev = NULL;
struct disp_enhance *enhance = NULL;
struct disp_smbl *smbl = NULL;
struct disp_capture *cptr = NULL;
#if defined(SUPPORT_EINK)
struct disp_eink_manager *eink_manager = NULL;
#endif
#ifdef EINK_FLUSH_TIME_TEST
do_gettimeofday(&ioctrl_start_timer);
#endif /*test eink time */
num_screens = bsp_disp_feat_get_num_screens();
if (copy_from_user
((void *)karg, (void __user *)arg, 4 * sizeof(unsigned long))) {
__wrn("copy_from_user fail\n");
return -EFAULT;
}
ubuffer[0] = *(unsigned long *)karg;
ubuffer[1] = (*(unsigned long *)(karg + 1));
ubuffer[2] = (*(unsigned long *)(karg + 2));
ubuffer[3] = (*(unsigned long *)(karg + 3));
if (ubuffer[0] < num_screens)
mgr = g_disp_drv.mgr[ubuffer[0]];
if (mgr) {
dispdev = mgr->device;
enhance = mgr->enhance;
smbl = mgr->smbl;
cptr = mgr->cptr;
}
#if defined(SUPPORT_EINK)
eink_manager = g_disp_drv.eink_manager[0];
if (!eink_manager)
__wrn("eink_manager is NULL!\n");
#endif
if (cmd < DISP_FB_REQUEST) {
if (ubuffer[0] >= num_screens) {
__wrn
("para err, cmd = 0x%x,screen id = %d\n",
cmd, (int)ubuffer[0]);
return -1;
}
}
if (DISPLAY_DEEP_SLEEP & suspend_status) {
__wrn("ioctl:%x fail when in suspend!\n", cmd);
return -1;
}
if (cmd == DISP_print)
__wrn("cmd:0x%x,%ld,%ld\n", cmd, ubuffer[0], ubuffer[1]);
switch (cmd) {
。。。。。。。。
/* ----layer---- */
case DISP_LAYER_SET_CONFIG:
{
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
unsigned int i = 0;
const unsigned int lyr_cfg_size = ARRAY_SIZE(lyr_cfg);
mutex_lock(&g_disp_drv.mlock);
if (ubuffer[2] > lyr_cfg_size) {
__wrn("Total layer number is %d\n", lyr_cfg_size);
mutex_unlock(&g_disp_drv.mlock);
return -EFAULT;
}
if (copy_from_user(lyr_cfg,
(void __user *)ubuffer[1],
sizeof(struct disp_layer_config) * ubuffer[2])) {
__wrn("copy_from_user fail\n");
mutex_unlock(&g_disp_drv.mlock);
return -EFAULT;
}
printk("lyr_cfg[0].info.alpha_mode = %d,lyr_cfg[0].info.alpha_value = %x,lyr_cfg[0].info.fb.size[0].width = %d,lyr_cfg[0].info.fb.size[0].height = %d,lyr_cfg[0].channel = %d,lyr_cfg[0].layer_id = %d,lyr_cfg[0].enable = %d\n",
lyr_cfg[0].info.alpha_mode ,
lyr_cfg[0].info.alpha_value ,
lyr_cfg[0].info.fb.size[0].width ,
lyr_cfg[0].info.fb.size[0].height ,
lyr_cfg[0].channel ,
lyr_cfg[0].layer_id ,
lyr_cfg[0].enable);
#if !defined(CONFIG_EINK_PANEL_USED)
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
if (mgr && mgr->set_layer_config)
ret = mgr->set_layer_config(mgr, lyr_cfg, ubuffer[2]);
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
#endif
mutex_unlock(&g_disp_drv.mlock);
break;
}
。。。。
default:
ret = disp_ioctl_extend(cmd, (unsigned long)ubuffer);
break;
}
return ret;
}
这是应用层测试主函数:
int main(int argc, char *argv[])
{
unsigned long arg[3];
/* 一个 struct disp_layer_config 结构体对应一个图层的全部信息 */
struct disp_layer_config config;
unsigned int width = 1024;
unsigned int height = 600;
unsigned int ret = 0;
disp = open("/dev/disp", O_RDWR);
if (disp == -1) {
printf("hdmitester: open /dev/disp failed(%s)\n", strerror(errno));
return 0;
// goto err;
}
memset(&config, 0, sizeof(struct disp_layer_config));
/* 选择图层所属的通道以及本图层 ID(0-3)*/
config.channel = 0;
config.layer_id = 0;
config.enable = 1;
config.info.mode = LAYER_MODE_BUFFER;
// config.info.fb.addr[0] = (unsigned long long)mem_in; //FB 物理地址
config.info.fb.size[0].width = width;
config.info.fb.size[0].height = height;
config.info.fb.align[0] = 4;//bytes
config.info.fb.format = DISP_FORMAT_ARGB_8888; //DISP_FORMAT_YUV420_P
/* crop 表示裁剪区域的大小 */
config.info.fb.crop.x = 0;
config.info.fb.crop.y = 0;
/* 定点小数。 高 32bit 为整数,低 32bit 为小数 */
config.info.fb.crop.width = ((unsigned long)width) << 32;
/* 定点小数。 高 32bit 为整数,低 32bit 为小数 */
config.info.fb.crop.height= ((unsigned long)height)<<32;
config.info.fb.flags = DISP_BF_NORMAL;
config.info.fb.scan = DISP_SCAN_PROGRESSIVE;
config.info.alpha_mode = 1; //global pixel alpha
config.info.alpha_value = 0xff;//global alpha value
/* 显示窗口的大小 */
config.info.screen_win.x = 0;
config.info.screen_win.y = 0;
config.info.screen_win.width = width;
config.info.screen_win.height= height;
config.info.id = 0;
/* 上层调用 DE 显示引擎所用的 ioctl 接口 */
arg[0] = 0;//screen 0 即选择显示通路 0
arg[1] = (unsigned long)&config;
arg[2] = 1; //只设置一个图层即当前图层
ret = ioctl(disp, DISP_LAYER_SET_CONFIG, (void*)arg);
printf("%s() <<<\n",__func__);
return 0;
}
调试信息:
root@TinaLinux:/# ./lcd_test
[ 17.914242] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 3885 disp_ioctl
[ 17.922099] lyr_cfg[0].info.alpha_mode = 1,lyr_cfg[0].info.alpha_value = ff,lyr_cfg[0].info.fb.size[0].width = 1024,lyr_cfg[0].info.fb.size[0].height = 600,lyr_cfg[0].channel = 1024,lyr_cfg[0].layer_id = 600,lyr_cfg[0].enable = 1
[ 17.944952] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 3933 disp_ioctl
[ 17.952800] [DISP] disp_get_layer,line:111:
[ 17.952805] disp_get_layer (0,1024,600) fail
[ 17.962388] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 3936 disp_ioctl
通道值和图层值对不上
display驱动模块中dev_fb.c文件中,Fb_map_kernel_logo函数中:
paddr = bootlogo_addr; =====》 这个地址从哪里得到呀,那来的呀??
static int Fb_map_kernel_logo(u32 sel, struct fb_info *info)
{
void *vaddr = NULL;
uintptr_t paddr = 0;
void *screen_offset = NULL, *image_offset = NULL;
char *tmp_buffer = NULL;
char *bmp_data = NULL;
struct sunxi_bmp_store s_bmp_info;
struct sunxi_bmp_store *bmp_info = &s_bmp_info;
struct bmp_pad_header bmp_pad_header;
struct bmp_header *bmp_header;
int zero_num = 0;
unsigned int x, y, bmp_bpix, fb_width, fb_height;
unsigned int effective_width, effective_height;
uintptr_t offset;
int i = 0;
struct disp_manager *mgr;
mgr = g_disp_drv.mgr[sel];
paddr = bootlogo_addr; =====》 这个地址从哪里得到呀,那来的呀??
if (paddr == 0) {
__inf("Fb_map_kernel_logo failed!");
return Fb_copy_boot_fb(sel, info);
}
printk("%s%d%s\n",__FILE__,__LINE__,__FUNCTION__);
/* parser bmp header */
offset = paddr & ~PAGE_MASK;
vaddr = (void *)Fb_map_kernel(paddr, sizeof(struct bmp_header));
if (vaddr == NULL) {
__wrn("fb_map_kernel failed, paddr=0x%p,size=0x%x\n",
(void *)paddr, (unsigned int)sizeof(struct bmp_header));
return -1;
}
memcpy(&bmp_pad_header.signature[0], vaddr + offset,
sizeof(struct bmp_header));
bmp_header = (struct bmp_header *) &bmp_pad_header.signature[0];
if ((bmp_header->signature[0] != 'B')
|| (bmp_header->signature[1] != 'M')) {
Fb_unmap_kernel(vaddr);
#if defined(CONFIG_DECOMPRESS_LZMA)
return lzma_decode(paddr, info);
#else
__wrn("this is not a bmp picture.\n");
return -1;
#endif
}
bmp_bpix = bmp_header->bit_count / 8;
if ((bmp_bpix != 3) && (bmp_bpix != 4))
return -1;
x = bmp_header->width;
y = (bmp_header->height & 0x80000000) ? (-bmp_header->
height) : (bmp_header->height);
if (bmp_bpix == 3) {
zero_num = (4 - ((3 * x) % 4)) & 3;
#ifndef SUPPORT_ROTATE
/*uboot have removed zero for us*/
zero_num = 0;
#endif
}
fb_width = info->var.xres;
fb_height = info->var.yres;
if ((paddr <= 0) || x <= 1 || y <= 1) {
__wrn("kernel logo para error!\n");
return -EINVAL;
}
bmp_info->x = x;
bmp_info->y = y;
bmp_info->bit = bmp_header->bit_count;
bmp_info->buffer = (void *__force)(info->screen_base);
if (bmp_bpix == 3)
info->var.bits_per_pixel = 24;
else if (bmp_bpix == 4)
info->var.bits_per_pixel = 32;
else
info->var.bits_per_pixel = 32;
Fb_unmap_kernel(vaddr);
printk("%s%d%s\n",__FILE__,__LINE__,__FUNCTION__);
/* map the total bmp buffer */
vaddr =
(void *)Fb_map_kernel(paddr,
(x * bmp_bpix + zero_num) * y + sizeof(struct bmp_header));
if (vaddr == NULL) {
__wrn("fb_map_kernel failed, paddr=0x%p,size=0x%x\n",
(void *)paddr,
(unsigned int)(x * y * bmp_bpix +
sizeof(struct bmp_header)));
return -1;
}
tmp_buffer = (char *)bmp_info->buffer;
screen_offset = (void *)bmp_info->buffer;
bmp_data = (char *)(vaddr + bmp_header->data_offset);
image_offset = (void *)bmp_data;
effective_width = (fb_width < x) ? fb_width : x;
effective_height = (fb_height < y) ? fb_height : y;
if (bmp_header->height & 0x80000000) {
#if defined(SUPPORT_ROTATE)
if (info->var.bits_per_pixel == 24) {
screen_offset =
(void *)((void *__force)info->screen_base +
(fb_width * (abs(fb_height - y) / 2)
+ abs(fb_width - x) / 2)
* 4);
rgb24_to_rgb32(image_offset, bmp_header, info,
screen_offset, zero_num);
} else
#endif
{
screen_offset =
(void *)((void *__force)info->screen_base +
(fb_width * (abs(fb_height - y) / 2)
+ abs(fb_width - x) / 2)
* (info->var.bits_per_pixel >> 3));
for (i = 0; i < effective_height; i++) {
memcpy((void *)screen_offset, image_offset,
effective_width *
(info->var.bits_per_pixel >> 3));
screen_offset =
(void *)(screen_offset + fb_width *
(info->var.bits_per_pixel >> 3));
image_offset =
(void *)image_offset +
x * (info->var.bits_per_pixel >> 3);
}
}
} else {
#if defined(SUPPORT_ROTATE)
if (info->var.bits_per_pixel == 24) {
screen_offset =
(void *)((void *__force)info->screen_base +
(fb_width * (abs(fb_height - y) / 2)
+ abs(fb_width - x) / 2)
* 4);
image_offset =
(void *)bmp_data +
(effective_height - 1) * (x * 3 + zero_num);
rgb24_to_rgb32(image_offset, bmp_header, info,
screen_offset, zero_num);
} else
#endif
{
screen_offset =
(void *)((void *__force)info->screen_base +
(fb_width * (abs(fb_height - y) / 2)
+ abs(fb_width - x) / 2)
* (info->var.bits_per_pixel >> 3));
image_offset =
(void *)bmp_data + (effective_height -
1) * x *
(info->var.bits_per_pixel >> 3);
for (i = effective_height - 1; i >= 0; i--) {
memcpy((void *)screen_offset, image_offset,
effective_width *
(info->var.bits_per_pixel >> 3));
screen_offset =
(void *)(screen_offset +
fb_width *
(info->var.bits_per_pixel >> 3));
image_offset =
(void *)bmp_data +
i * x * (info->var.bits_per_pixel >> 3);
}
}
}
Fb_unmap_kernel(vaddr);
return 0;
}
我现在把uboot部分的lcd部分的配置去掉了, LCD_open_flow(u32 sel) 该函数被调用了,目前加载disp.ko模块:
root@TinaLinux:/# insmod disp.ko
[ 34.456629] [DISP]disp_module_init
[ 34.461321] disp 5000000.disp: Adding to iommu group 0
[ 34.467668] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 3044 disp_probe
[ 34.475476] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2224 disp_init
[ 34.483263] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2346 disp_init
[ 34.490996] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 26 bsp_disp_init
[ 34.499602] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 38 bsp_disp_init
[ 34.508261] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 40 bsp_disp_init
[ 34.516867] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 44 bsp_disp_init
[ 34.525449] drivers/video/fbdev/sunxi/disp2/disp/de/disp_lcd.c 3071 disp_init_lcd
[ 34.543787] lcd_dclk_freq = 50
[ 34.547710] lcd_if = 3
[ 34.550891] lcd_hv_if = 1065
[ 34.557254] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 46 bsp_disp_init
[ 34.565903] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 86 bsp_disp_init
[ 34.575232] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2374 disp_init
[ 34.582987] drivers/video/fbdev/sunxi/disp2/disp/lcd/panels.c 145 lcd_init
[ 34.590728] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2535 sunxi_disp_get_source_ops
[ 34.600015] drivers/video/fbdev/sunxi/disp2/disp/lcd/panels.c 147 lcd_init
[ 34.607745] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 23 LCD_cfg_panel_info
[ 34.617036] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 81 LCD_cfg_panel_info
[ 34.626301] drivers/video/fbdev/sunxi/disp2/disp/lcd/panels.c 149 lcd_init
[ 34.634031] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2376 disp_init
[ 34.641763] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2378 disp_init
[ 34.649503] display_fb_request,fb_id:0
[ 34.655416] [DISP] Fb_copy_boot_fb,line:1446:
[ 34.655419] no boot_fb0
[ 34.663626] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2380 disp_init
[ 34.671471] disp_al_manager_apply ouput_type:0
[ 34.672137] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 2386 disp_init
[ 34.676818] [DISP] lcd_clk_config,line:734:
[ 34.676828] disp 0, clk: pll(350000000),clk(350000000),dclk(50000000) dsi_rate(350000000)
[ 34.676828] clk real:pll(348000000),clk(348000000),dclk(49714285) dsi_rate(0)
[ 34.685251] drivers/video/fbdev/sunxi/disp2/disp/dev_disp.c 3046 disp_probe
[ 34.688932] drivers/video/fbdev/sunxi/disp2/disp/de/disp_lcd.c 777 lcd_clk_enable
[ 34.708790] [DISP]disp_module_init finish
[ 34.714465] drivers/video/fbdev/sunxi/disp2/disp/de/disp_lcd.c 783 lcd_clk_enable
root@TinaLinux:/# [ 34.736624] drivers/video/fbdev/sunxi/disp2/disp/de/disp_lcd.c 791 lcd_clk_enable
[ 34.745856] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 87 LCD_open_flow
[ 34.754682] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 96 LCD_open_flow
[ 34.763488] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 117 LCD_power_on
[ 34.772288] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 1458 bsp_disp_lcd_pin_cfg
[ 34.782344] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator
[ 34.791266] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c 1462 bsp_disp_lcd_pin_cfg
[ 34.800761] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 140 LCD_power_on
[ 34.846488] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 171 LCD_panel_init
[ 34.916477] drivers/video/fbdev/sunxi/disp2/disp/lcd/lcd_source.c43sunxi_lcd_tcon_enable
[ 34.925553] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c1372bsp_disp_lcd_tcon_enable
[ 34.935259] drivers/video/fbdev/sunxi/disp2/disp/de/disp_display.c1405bsp_disp_lcd_tcon_enable
[ 35.046481] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 154 LCD_bl_open
[ 35.055374] drivers/video/fbdev/sunxi/disp2/disp/lcd/default_panel.c 157 LCD_bl_open
[ 35.064104] [DISP] disp_device_attached_and_enable,line:226:
[ 35.064108] attached ok, mgr0<-->dev0
[ 35.074614] [DISP] disp_device_attached_and_enable,line:229:
[ 35.074622] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi:2, range:0 scan:8 ratio:-1062187512
用示波器测量波形和时钟目前还是不对
屏是正常的,追踪了一下代码,发现 default_pancel.c文件中的 static s32 LCD_open_flow(u32 sel) 函数一直没有被调用,但是我关机重启LCD_close_flow函数调用了:
static s32 LCD_open_flow(u32 sel)
{
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
/* open lcd power, and delay 50ms */
LCD_OPEN_FUNC(sel, LCD_power_on, 30);
/* open lcd power, than delay 200ms */
LCD_OPEN_FUNC(sel, LCD_panel_init, 50);
/* open lcd controller, and delay 100ms */
LCD_OPEN_FUNC(sel, sunxi_lcd_tcon_enable, 100);
/* open lcd backlight, and delay 0ms */
LCD_OPEN_FUNC(sel, LCD_bl_open, 0);
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
return 0;
}
static s32 LCD_close_flow(u32 sel)
{
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
/* close lcd backlight, and delay 0ms */
LCD_CLOSE_FUNC(sel, LCD_bl_close, 0);
/* close lcd controller, and delay 0ms */
LCD_CLOSE_FUNC(sel, sunxi_lcd_tcon_disable, 0);
/* open lcd power, than delay 200ms */
LCD_CLOSE_FUNC(sel, LCD_panel_exit, 200);
/* close lcd power, and delay 500ms */
LCD_CLOSE_FUNC(sel, LCD_power_off, 500);
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
return 0;
}
TCON的相关配置是在open函数中注册的,这块函数一直没被调用,这可能是哪里有问题?
&disp {
disp_init_enable = <1>;
disp_mode = <0>;
screen0_output_type = <1>;
screen0_output_mode = <4>;
screen1_output_type = <3>;
screen1_output_mode = <10>;
screen1_output_format = <0>;
screen1_output_bits = <0>;
screen1_output_eotf = <4>;
screen1_output_cs = <257>;
screen1_output_range = <2>;
screen1_output_scan = <0>;
screen1_output_aspect_ratio = <8>;
dev0_output_type = <1>;
dev0_output_mode = <4>;
dev0_screen_id = <0>;
dev0_do_hpd = <0>;
dev1_output_type = <4>;
dev1_output_mode = <10>;
dev1_screen_id = <1>;
dev1_do_hpd = <1>;
def_output_dev = <0>;
fb0_format = <0>;
fb0_width = <0>;
fb0_height = <0>;
fb1_format = <0>;
fb1_width = <0>;
fb1_height = <0>;
chn_cfg_mode = <1>;
disp_para_zone = <1>;
/*VCC-LCD*/
/* dc1sw-supply = <®_dc1sw>;*/
/*VCC-DSI*/
/* eldo3-supply = <®_eldo3>;*/
/*VCC-PD*/
/* dcdc1-supply = <®_dcdc1>;*/
};
&lcd0 {
lcd_used = <1>;
lcd_driver_name = "default_lcd";
lcd_backlight = <50>;
lcd_if = <3>;
lcd_x = <800>;
lcd_y = <600>;
lcd_width = <150>;
lcd_height = <94>;
lcd_dclk_freq = <35>;
lcd_pwm_used = <1>;
lcd_pwm_ch = <7>;
lcd_pwm_freq = <50000>;
lcd_pwm_pol = <1>;
lcd_pwm_max_limit = <255>;
lcd_bl_en = <&pio PD 20 GPIO_ACTIVE_HIGH>;
lcd_hbp = <20>;
lcd_ht = <1418>;
lcd_hspw = <10>;
lcd_vbp = <10>;
lcd_vt = <814>;
lcd_vspw = <5>;
lcd_lvds_if = <0>;
lcd_lvds_colordepth = <1>;
lcd_lvds_mode = <1>;
lcd_frm = <1>;
lcd_hv_clk_phase = <0>;
lcd_hv_sync_polarity= <0>;
lcd_gamma_en = <0>;
lcd_bright_curve_en = <0>;
lcd_cmap_en = <0>;
deu_mode = <0>;
lcdgamma4iep = <22>;
smart_color = <90>;
pinctrl-0 = <&lvds0_pins_a>;
pinctrl-1 = <&lvds0_pins_b>;
};
https://blog.csdn.net/jkl_wyl/article/details/103437465
可以参考一下这个博客,根据你的CPU相应修改一下
我现在的配置如下,理论上应该没有问题,但是插入SD卡还是没法反应,请各位大佬指点一下!!!
;-------------------------------------------------------------------------------
; mmc configuration
;
; Config Guide
; sdc_used: 1-enable card, 0-disable card
; sdc_detmode: card detect mode
; 1-detect card by gpio polling
; 2-detect card by gpio irq(must use IO with irq function)
; 3-no detect, always in for boot card
; 4-manually insert and remove by /proc/driver/sunxi-mmc.x/insert
; sdc_buswidth: card bus width, 1-1bit, 4-4bit, 8-8bit
; sdc_use_wp: 1-with write protect IO, 0-no write protect IO
; sdc_isio: for sdio card
; sdc_regulator: power control.if card supports UHS-I/DDR and HS200 timing for
; SD3.0 or eMMC4.5, regulator must be configured. the value is
; the ldo name of AXP221, eg: sdc_regulator = "axp22_eldo2"
; other: GPIO Mapping configuration
;
; Note:
; 1 if detmode=2, sdc_det's config=6
; else if detmode=1, sdc_det's config=0
; else sdc_det IO is not necessary
; 2 if the customer wants to support UHS-I and HS200 features, he must provide
; an independent power supply for the card. This is only used in platforms
; that supports SD3.0 cards and eMMC4.4+ flashes
;-------------------------------------------------------------------------------
[mmc0_para]
sdc_used = 1
sdc_detmode = 1 ===============》这里检测模式的1/3我都试过了
sdc_buswidth = 4
sdc_d1 = port:PF00<2><1><2><default>
sdc_d0 = port:PF01<2><1><2><default>
sdc_clk = port:PF02<2><1><2><default>
sdc_cmd = port:PF03<2><1><2><default>
sdc_d3 = port:PF04<2><1><2><default>
sdc_d2 = port:PF05<2><1><2><default>
;sdc_det = port:PL05<4><1><2><default>
;add
sdc_power_supply = "axp22_dcdc1"
sdc_use_wp = 0
sdc_wp =
sdc_isio = 0
sdc_regulator = "none"
启动logo:
DDR Version 1.24 20191016
In
channel 0
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 416MHz 0,1
Channel 0: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
Channel 1: LPDDR4,416MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
256B stride
channel 0
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x1
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
channel 0, cs 0, advanced training done
channel 1, cs 0, advanced training done
change freq to 856MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x20
ch 1 ddrconfig = 0x101, ddrsize = 0x20
pmugrf_os_reg[2] = 0x3281F281, stride = 0x9
ddr_set_rate to 328MHZ
ddr_set_rate to 666MHZ
ddr_set_rate to 416MHZ, ctl_index 0
ddr_set_rate to 856MHZ, ctl_index 1
support 416 856 328 666 MHz, current 856MHz
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 346
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=7456MB
FwPartOffset=2000 , 100000
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
mmc0:cmd8,20
mmc0:cmd5,20
mmc0:cmd55,20
mmc0:cmd1,20
SdmmcInit=0 1
StorageInit ok = 69150
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: uboot, start:0x2000, size:0x2000
GPT part: 1, name: trust, start:0x4000, size:0x2000
GPT part: 2, name: misc, start:0x6000, size:0x2000
GPT part: 3, name: dtbo, start:0xc000, size:0x2000
GPT part: 4, name: vbmeta, start:0xe000, size:0x800
GPT part: 5, name: resource, start:0x8000, size:0x8000
GPT part: 6, name: kernel, start:0x10000, size:0xc000
GPT part: 7, name: boot, start:0xe800, size:0x10000
GPT part: 8, name: recovery, start:0x1e800, size:0x30000
GPT part: 9, name: backup, start:0x4e800, size:0x38000
GPT part: 10, name: security, start:0x86800, size:0x2000
GPT part: 11, name: cache, start:0x88800, size:0xc0000
GPT part: 12, name: metadata, start:0x148800, size:0x8000
GPT part: 13, name: frp, start:0x150800, size:0x400
GPT part: 14, name: super, start:0x150c00, size:0x714000
GPT part: 15, name: oem, start:0x864c00, size:0x100000
GPT part: 16, name: userdata, start:0x964c00, size:0x52b3df
find part:uboot OK. first_lba:0x2000.
find part:trust OK. first_lba:0x4000.
Trust Addr:0x4000, 0x58334c42
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xfb1c8
RunBL31 0x40000 @ 116000 us
NOTICE: BL31: v1.3(release):845ee93
NOTICE: BL31: Built : 15:51:11, Jul 22 2020
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1196): pd status 3e
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-266-gee81607c #1 Mon Aug 17 09:23:30 UTC 2020 aarch64)
INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09 (Aug 31 2021 - 17:48:37 +0800)
Model: Rockchip RK3399 Evaluation Board
PreSerial: 2
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 7dbc8000, fdt: 7bdbc358
Using default environment
dwmmc@fe320000: 1, sdhci@fe330000: 0
Bootdev(atags): mmc 0
MMC0: HS400, 150Mhz
PartType: EFI
Android 10.0, Build 2020.11
boot mode: recovery (misc)
Found DTB in recovery part
DTB: rk-kernel.dtb
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC: RK808
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vdd_log 1000000 uV
Model: ROC-RK3399-PC-PLUS HDMI+DP(Android)
no recovery key node
Rockchip UBOOT DRM driver version: v1.0.1
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
aplll 816000 KHz
apllb 816000 KHz
dpll 856000 KHz
cpll 24000 KHz
gpll 800000 KHz
npll 600000 KHz
vpll 24000 KHz
aclk_perihp 133333 KHz
hclk_perihp 66666 KHz
pclk_perihp 33333 KHz
aclk_perilp0 266666 KHz
hclk_perilp0 88888 KHz
pclk_perilp0 44444 KHz
hclk_perilp1 100000 KHz
pclk_perilp1 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
ANDROID: reboot reason: "recovery"
optee api revision: 2.0
Vboot=0, AVB images, AVB verify
read_is_device_unlocked() ops returned that device is UNLOCKED
avb_slot_verify.c:757: ERROR: vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED
get image from preloaded partition...
Could not find "system" partition
Booting IMAGE kernel at 0x00280000 with fdt at 0x08300000...
Fdt Ramdisk skip relocation
## Booting Android Image at 0x0027f800 ...
Kernel load addr 0x00280000 size 19241 KiB
RAM disk load addr 0x0a200000 size 7949 KiB
## Flattened Device Tree blob at 08300000
Booting using the fdt blob at 0x8300000
XIP Kernel Image from 0x00280000 to 0x00280000 ... OK
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 0000000008300000, end 000000000831dd60
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0x80000000 (size: 0x75e00000)
Total: 588.660 ms
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 4.19.111 (le@le-desktop) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #3 SMP PREEMPT Wed Sep 8 15:24:24 CST 2021
[ 0.000000] Machine model: ROC-RK3399-PC-PLUS HDMI+DP(Android)
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[ 0.000000] bootconsole [uart8250] enabled
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'stb-devinfo@00000000': base 0x0000000000000000, size 0 MiB
[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 23 pages/cpu s57304 r8192 d28712 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 507912
[ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.dtbo_idx=0 androidboot.verifiedbootstate=orange androidboot.slot_suffix= androidboot.serialno=PEC0V81TLG console=ttyFIQ0 androidboot.baseband=N/A androidboot.selinux=permissive androidboot.wificountrycode=US androidboot.veritymode=enforcing androidboot.hardware=rk30board androidboot.console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init root=PARTUUID=af01642c-9b84-11e8-9b2a-234eb5e198a0 earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m androidboot.boot_devices=fe330000.sdhci,fe320000.dwmmc
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1979292K/2064384K available (11006K kernel code, 1256K rwdata, 3932K rodata, 3008K init, 2175K bss, 68708K reserved, 16384K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @7b880000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GIC: using LPI property table @0x000000007b820000
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] CPU0: using LPI pending table @0x000000007b830000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[ 0.000000] random: random: get_random_bytes called from start_kernel+0x36c/0x4ec with crng_init=0
[ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.002095] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[ 0.003084] pid_max: default: 32768 minimum: 301
[ 0.003646] Security Framework initialized
[ 0.004042] SELinux: Initializing.
[ 0.004504] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.005148] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.007415] ASID allocator initialised with 32768 entries
[ 0.008041] rcu: Hierarchical SRCU implementation.
[ 0.008918] Platform MSI: interrupt-controller@fee20000 domain created
[ 0.010072] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[ 0.011721] smp: Bringing up secondary CPUs ...
[ 0.012793] Detected VIPT I-cache on CPU1
[ 0.012830] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.012869] CPU1: using LPI pending table @0x000000007ba10000
[ 0.012913] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.013807] Detected VIPT I-cache on CPU2
[ 0.013842] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.013880] CPU2: using LPI pending table @0x000000007ba60000
[ 0.013923] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.014758] Detected VIPT I-cache on CPU3
[ 0.014791] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.014830] CPU3: using LPI pending table @0x000000007ba80000
[ 0.014873] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.015742] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[ 0.015748] CPU features: enabling workaround for EL2 vector hardening
[ 0.015757] Detected PIPT I-cache on CPU4
[ 0.015781] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[ 0.015833] CPU4: using LPI pending table @0x000000007bad0000
[ 0.015862] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[ 0.016584] Detected PIPT I-cache on CPU5
[ 0.016612] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[ 0.016664] CPU5: using LPI pending table @0x000000007bae0000
[ 0.016694] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[ 0.016803] smp: Brought up 1 node, 6 CPUs
[ 0.029427] SMP: Total of 6 processors activated.
[ 0.029877] CPU features: detected: GIC system register CPU interface
[ 0.030501] CPU features: detected: 32-bit EL0 Support
[ 0.035368] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.036186] CPU: All CPU(s) started at EL2
[ 0.036612] alternatives: patching kernel code
[ 0.038458] devtmpfs: initialized
[ 0.052771] Trying to unpack rootfs image as initramfs...
[ 0.053304] Registered cp15_barrier emulation handler
[ 0.053321] Registered setend emulation handler
[ 0.054616] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.055566] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.056611] pinctrl core: initialized pinctrl subsystem
[ 0.057724] NET: Registered protocol family 16
[ 0.058746] schedtune: configured to support 6 boost groups
[ 0.059500] audit: initializing netlink subsys (disabled)
[ 0.061145] audit: type=2000 audit(0.053:1): state=initialized audit_enabled=0 res=1
[ 0.061925] cpuidle: using governor menu
[ 0.062681] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.071189] DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.073677] console [pstore-1] enabled
[ 0.074224] pstore: Registered ramoops as persistent store backend
[ 0.074817] ramoops: attached 0xf0000@0x110000, ecc: 0/0
[ 0.089668] rockchip-pinctrl pinctrl: wrong pins number or pins and configs should be by 4
[ 0.090471] rockchip-pinctrl pinctrl: failed to parse function
[ 0.091903] rockchip-pinctrl: probe of pinctrl failed with error -22
[ 0.100853] cryptd: max_cpu_qlen set to 1000
[ 0.102766] vcc_sys: supplied by dc_12v
[ 0.104099] rk_iommu ff650800.iommu: version = 1
[ 0.104921] rk_iommu ff660480.iommu: version = 1
[ 0.105603] rk_iommu ff670800.iommu: version = 1
[ 0.106323] rk_iommu ff8f3f00.iommu: version = 1
[ 0.106957] rk_iommu ff903f00.iommu: version = 1
[ 0.107597] rk_iommu ff914000.iommu: version = 1
[ 0.108270] rk_iommu ff924000.iommu: version = 1
[ 0.109231] SCSI subsystem initialized
[ 0.109899] usbcore: registered new interface driver usbfs
[ 0.110449] usbcore: registered new interface driver hub
[ 0.111039] usbcore: registered new device driver usb
[ 0.111788] pps_core: LinuxPPS API ver. 1 registered
[ 0.112276] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.113155] PTP clock support registered
[ 0.116012] rockchip-cpuinfo cpuinfo: SoC : 0
[ 0.116447] rockchip-cpuinfo cpuinfo: Serial : 7d9418e5de243167
[ 0.117459] clocksource: Switched to clocksource arch_sys_counter
[ 0.160794] VFS: Disk quotas dquot_6.6.0
[ 0.161221] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.163056] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[ 0.164053] NET: Registered protocol family 2
[ 0.164890] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
[ 0.165690] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.166519] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.167392] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.168147] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.168787] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.169573] NET: Registered protocol family 1
[ 0.171602] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.172684] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.174866] Initialise system trusted keyrings
[ 0.175439] workingset: timestamp_bits=45 max_order=19 bucket_order=0
[ 0.179796] Registering sdcardfs 0.1
[ 0.181033] fuse init (API version 7.27)
[ 0.182480]
[ 0.182480] TEE Core Framework initialization (ver 1:0.1)
[ 0.183165] TEE armv7 Driver initialization
[ 0.183905] tz_tee_probe: name="armv7sec", id=0, pdev_name="armv7sec.0"
[ 0.184553] TEE core: Alloc the misc device "opteearmtz00" (id=0)
[ 0.185281] TEE Core: Register the misc device "opteearmtz00" (id=0,minor=63)
[ 0.187051] Key type asymmetric registered
[ 0.187457] Asymmetric key parser 'x509' registered
[ 0.187948] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.188663] io scheduler noop registered
[ 0.189135] io scheduler cfq registered (default)
[ 0.189600] io scheduler mq-deadline registered
[ 0.190034] io scheduler kyber registered
[ 0.190500] io scheduler bfq registered
[ 0.192423] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[ 0.195296] iommu: Adding device ff670000.iep to group 2
[ 0.195837] iep ff670000.iep: Linked as a consumer to ff670800.iommu
[ 0.196606] iep: failed to find iep power down clock source.
[ 0.199668] iep: IEP Power ON
[ 0.199983] iep: IEP Power OFF
[ 0.200335] iep: IEP Driver loaded succesfully
[ 0.200924] iep: Module initialized.
[ 0.201397] mpp_service mpp-srv: probe start
[ 0.202170] iommu: Adding device ff660000.rkvdec to group 1
[ 0.202734] mpp_rkvdec ff660000.rkvdec: Linked as a consumer to ff660480.iommu
[ 0.203599] mpp_rkvdec ff660000.rkvdec: probing start
[ 0.207712] rkvdec_init:1178: failed on clk_get clk_hevc_cabac
[ 0.208314] mpp_rkvdec ff660000.rkvdec: shared_video_hevc_cabac is not found!
[ 0.209009] rkvdec_init:1206: No hevc cabac reset resource define
[ 0.209845] mpp_rkvdec ff660000.rkvdec: probing finish
[ 0.211147] iommu: Adding device ff650400.vdpu to group 0
[ 0.211692] mpp_vdpu2 ff650400.vdpu: Linked as a consumer to ff650800.iommu
[ 0.212534] mpp_vdpu2 ff650400.vdpu: probe device
[ 0.213349] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0
[ 0.213926] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0
[ 0.214684] mpp_vdpu2 ff650400.vdpu: probing finish
[ 0.215537] iommu: Adding device ff650000.vepu to group 0
[ 0.216067] mpp_vepu2 ff650000.vepu: Linked as a consumer to ff650800.iommu
[ 0.216770] mpp_vepu2 ff650000.vepu: probe device
[ 0.217561] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0
[ 0.218116] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0
[ 0.218883] mpp_vepu2 ff650000.vepu: probing finish
[ 0.219558] mpp_service mpp-srv: probe success
[ 0.222293] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.223035] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.224991] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.225734] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.227642] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 0.228637] pwm-regulator vdd-log: Failed to get PWM: -517
[ 0.229466] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.233075] iommu: Adding device ff8f0000.vop to group 3
[ 0.233620] rockchip-vop ff8f0000.vop: Linked as a consumer to ff8f3f00.iommu
[ 0.234668] iommu: Adding device ff900000.vop to group 4
[ 0.235191] rockchip-vop ff900000.vop: Linked as a consumer to ff903f00.iommu
[ 0.237492] random: fast init done
[ 0.238109] random: crng init done
[ 0.238436] rockchip-drm display-subsystem: Linked as a consumer to ff8f0000.vop
[ 0.238468] rockchip-drm display-subsystem: Linked as a consumer to ff900000.vop
[ 0.240690] rockchip-drm display-subsystem: Linked as a consumer to ff940000.hdmi
[ 0.245354] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.251671] brd: module loaded
[ 0.264643] loop: module loaded
[ 0.265263] zram: Added device: zram0
[ 0.265866] SCSI Media Changer driver v0.25
[ 0.268604] register firefly_spi_init spi return v = :0
[ 0.269857] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[ 0.271210] dwc3 fe900000.dwc3: Failed to get clk 'ref': -2
[ 0.273076] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.273716] ehci-pci: EHCI PCI platform driver
[ 0.274183] ehci-platform: EHCI generic platform driver
[ 0.275136] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.275754] ohci-platform: OHCI generic platform driver
[ 0.277038] usbcore: registered new interface driver cdc_acm
[ 0.277593] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.278393] usbcore: registered new interface driver usblp
[ 0.278953] usbcore: registered new interface driver cdc_wdm
[ 0.279534] usbcore: registered new interface driver uas
[ 0.280066] usbcore: registered new interface driver usb-storage
[ 0.280669] usbcore: registered new interface driver ums-alauda
[ 0.281252] usbcore: registered new interface driver ums-cypress
[ 0.281860] usbcore: registered new interface driver ums-datafab
[ 0.282461] usbcore: registered new interface driver ums_eneub6250
[ 0.283071] usbcore: registered new interface driver ums-freecom
[ 0.283674] usbcore: registered new interface driver ums-isd200
[ 0.284257] usbcore: registered new interface driver ums-jumpshot
[ 0.284870] usbcore: registered new interface driver ums-karma
[ 0.285456] usbcore: registered new interface driver ums-onetouch
[ 0.286059] usbcore: registered new interface driver ums-sddr09
[ 0.286653] usbcore: registered new interface driver ums-sddr55
[ 0.287233] usbcore: registered new interface driver ums-usbat
[ 0.287852] usbcore: registered new interface driver usbserial_generic
[ 0.288499] usbserial: USB Serial support registered for generic
[ 0.289089] usbcore: registered new interface driver option
[ 0.289642] usbserial: USB Serial support registered for GSM modem (1-port)
[ 0.290328] usbcore: registered new interface driver trancevibrator
[ 0.290978] sensor_register_slave:kxtj9,id=11
[ 0.291398] sensor_register_slave:mma8452,id=17
[ 0.291842] sensor_register_slave:lis3dh,id=7
[ 0.292261] sensor_register_slave:mma7660,id=18
[ 0.292703] sensor_register_slave:gs_mxc6655xa,id=24
[ 0.293178] sensor_register_slave:lsm303d,id=26
[ 0.293620] sensor_register_slave:gs_mc3230,id=27
[ 0.294069] [Gsensor] gsensor_init
[ 0.294412] sensor_register_slave:mpu6880_acc,id=28
[ 0.294886] sensor_register_slave:mpu6500_acc,id=29
[ 0.295355] sensor_register_slave:lsm330_acc,id=30
[ 0.295821] sensor_register_slave:bma2xx_acc,id=31
[ 0.296279] sensor_register_slave:akm8975,id=35
[ 0.296720] sensor_register_slave:akm8963,id=36
[ 0.297153] sensor_register_slave:l3g4200d,id=50
[ 0.297603] sensor_register_slave:l3g20d,id=51
[ 0.298028] sensor_register_slave:ewtsa,id=52
[ 0.298454] sensor_register_slave:lsm330_gyro,id=56
[ 0.298921] sensor_register_slave:cm3217,id=58
[ 0.299347] sensor_register_slave:cm3218,id=59
[ 0.299780] sensor_register_slave:ls_stk3410,id=67
[ 0.300239] sensor_register_slave:ps_stk3410,id=72
[ 0.301349] i2c /dev entries driver
[ 0.303086] __power_supply_register: Expected proper parent device for 'test_ac'
[ 0.303929] __power_supply_register: Expected proper parent device for 'test_battery'
[ 0.304874] thermal thermal_zone2: power_allocator: sustainable_power will be estimated
[ 0.305661] __power_supply_register: Expected proper parent device for 'test_usb'
[ 0.307158] device-mapper: uevent: version 1.0.3
[ 0.307857] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[ 0.308839] device-mapper: verity-avb: AVB error handler initialized with vbmeta device:
[ 0.309833] cpu cpu0: bin=1
[ 0.310124] cpu cpu0: leakage=28
[ 0.310465] cpu cpu0: Failed to get reg
[ 0.310842] cpu cpu0: bin-scale=34
[ 0.311205] cpu cpu4: bin=1
[ 0.311503] cpu cpu4: leakage=50
[ 0.311827] cpu cpu4: Failed to get reg
[ 0.312202] cpu cpu4: bin-scale=17
[ 0.313603] sdhci: Secure Digital Host Controller Interface driver
[ 0.314193] sdhci: Copyright(c) Pierre Ossman
[ 0.314677] Synopsys Designware Multimedia Card Interface Driver
[ 0.315642] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.342905] mmc0: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[ 0.344405] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.347495] usbcore: registered new interface driver usbhid
[ 0.348079] usbhid: USB HID core driver
[ 0.348959] rockchip-dmc dmc: Cannot get the regulator "center"
[ 0.351704] rockchip-saradc ff100000.saradc: Linked as a consumer to regulator.6
[ 0.353510] optee: probing for conduit method from DT.
[ 0.354020] optee: revision 1.1
[ 0.354515] optee: initialized driver
[ 0.355169] rknandbase v1.2 2018-05-08
[ 0.355850] netem: version 1.3
[ 0.356148] u32 classifier
[ 0.356410] Actions configured
[ 0.357390] xt_time: kernel timezone is -0000
[ 0.357927] gre: GRE over IPv4 demultiplexor driver
[ 0.358394] IPv4 over IPsec tunneling driver
[ 0.359483] Initializing XFRM netlink socket
[ 0.359913] IPsec XFRM device driver
[ 0.360585] NET: Registered protocol family 10
[ 0.361848] Segment Routing with IPv6
[ 0.362274] mip6: Mobile IPv6
[ 0.363201] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.364444] NET: Registered protocol family 17
[ 0.364904] NET: Registered protocol family 15
[ 0.365371] Bridge firewalling registered
[ 0.365853] l2tp_core: L2TP core driver, V2.0
[ 0.366601] sensor_register_slave:mpu6500_gyro,id=54
[ 0.367079] sensor_register_slave:mpu6880_gyro,id=55
[ 0.369085] registered taskstats version 1
[ 0.369495] Loading compiled-in X.509 certificates
[ 0.370346] Key type ._fscrypt registered
[ 0.370779] Key type .fscrypt registered
[ 0.371158] Key type fscrypt-provisioning registered
[ 0.371892] pstore: Using compression: deflate
[ 0.372703] rga2: Module initialized.
[ 0.381812] mmc0: new HS400 MMC card at address 0001
[ 0.383537] mmcblk0: mmc0:0001 MMC8GB 7.28 GiB
[ 0.384669] mmcblk0boot0: mmc0:0001 MMC8GB partition 1 4.00 MiB
[ 0.385934] mmcblk0boot1: mmc0:0001 MMC8GB partition 2 4.00 MiB
[ 0.386825] mmcblk0rpmb: mmc0:0001 MMC8GB partition 3 4.00 MiB, chardev (241:0)
[ 0.392897] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
[ 0.401970] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[ 0.403651] pwm-regulator vdd-log: Failed to get PWM: -517
[ 0.404961] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[ 0.406663] dwc3 fe900000.dwc3: Failed to get clk 'ref': -2
[ 0.410234] rockchip-dmc dmc: Cannot get the regulator "center"
[ 0.411115] reg-fixed-voltage vdd3v3-pcie-regulator: ignoring dependency for device, assuming no driver
[ 0.412194] reg-fixed-voltage vcc-sd: ignoring dependency for device, assuming no driver
[ 0.413139] reg-fixed-voltage vcc-wifi-regulator: ignoring dependency for device, assuming no driver
[ 0.414185] reg-fixed-voltage fan-ctl-regulator: ignoring dependency for device, assuming no driver
[ 0.415694] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[ 0.416750] rockchip-pwm ff420000.pwm: ignoring dependency for device, assuming no driver
[ 0.417786] rockchip-pwm ff420020.pwm: ignoring dependency for device, assuming no driver
[ 0.418929] pwm-regulator vdd-log: Failed to get PWM: -517
[ 0.419666] dw-apb-uart ff180000.serial: ignoring dependency for device, assuming no driver
[ 0.420698] dwhdmi-rockchip ff940000.hdmi: ignoring dependency for device, assuming no driver
[ 0.421890] dwc3 fe800000.dwc3: Failed to get clk 'ref': -2
[ 0.422947] dwc3 fe900000.dwc3: Failed to get clk 'ref': -2
[ 0.424883] rk3x-i2c ff3c0000.i2c: ignoring dependency for device, assuming no driver
[ 0.426300] rockchip-thermal ff260000.tsadc: ignoring dependency for device, assuming no driver
[ 0.427501] pwrseq_simple sdio-pwrseq: ignoring dependency for device, assuming no driver
[ 0.428624] dwmmc_rockchip fe320000.dwmmc: ignoring dependency for device, assuming no driver
[ 0.430049] rockchip-dmc dmc: Cannot get the regulator "center"
[ 0.430716] reg-fixed-voltage vcc5v0-host-regulator: ignoring dependency for device, assuming no driver
[ 0.432353] Freeing initrd memory: 7948K
[ 0.432976] hctosys: unable to open rtc device (rtc0)
麻烦各位大佬指点一下,看看问题出在哪里????非常感谢!!!
内核配置了加载固件的路径:
--- Wireless LAN | |
| | < > Marvell 8xxx Libertas WLAN driver support with thin firmware | |
| | < > Atmel at76c503/at76c505/at76c505a USB cards | |
| | < > USB ZD1201 based Wireless device support | |
| | < > Wireless RNDIS USB support | |
| | < > Realtek 8187 and 8187B USB support | |
| | < > Simulated radio testing tool for mac80211 | |
| | [ ] Enable WiFi control function abstraction | |
| | < > Atheros Wireless Cards ---> | |
| | < > Broadcom 43xx wireless support (mac80211 stack) | |
| | < > Broadcom 43xx-legacy wireless support (mac80211 stack) | |
| | <M> Broadcom FullMAC wireless cards support | |
| | (/system/vendor/modules/fw_bcm40181a2.bin) Firmware path | |
| | (/system/vendor/modules/nvram_ap6210.txt) NVRAM path | |
| | Enable Chip Interface (SDIO bus interface support) ---> | |
| | Interrupt type (Out-of-Band Interrupt) ---> | |
| | < > AMPAK AP6210 wireless/bluetooth module support | |
| | < > Broadcom IEEE802.11n embedded FullMAC WLAN driver | |
| | < > IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) | |
| | < > Intel Wireless Multicomm 3200 WiFi driver | |
| | < > Marvell 8xxx Libertas WLAN driver support | |
| | < > Softmac Prism54 support | |
| | < > Ralink driver support ---> | |
| | < > Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter | |
| | < > TI wl1251 driver support ---> | |
| | < > TI wl12xx driver support ---> | |
| | < > ZyDAS ZD1211/ZD1211B USB-wireless support | |
| | < > Marvell WiFi-Ex Driver | |
| | < > Realtek 8188E USB WiFi | |
| | < > Realtek 8189E SDIO WiFi | |
| | < > Realtek 8723B SDIO or SPI WiFi | |
| | < > Realtek 8723BS_VQ0 WiFi | |
| | < > Eagle WLAN driver | |
| |
对应目录下面我也放入了相应的固件,但是出来的调试信息一直提示找不到固件,这是什么原因?纠结
# pwd
/system/vendor/modules
# ls
Module.symvers gps_pm.ko rfkill-gpio.ko
bcmdhd.ko gslX680new.ko rfkill-regulator.ko
bluetooth.ko hci_uart.ko rfkill.ko
bnep.ko hidp.ko rtl_bluesleep.ko
brcmfmac.ko mac80211.ko scsi_wait_scan.ko
brcmutil.ko mali.ko ssb.ko
bt_pm.ko nand.ko sunxi_schw.ko
cfg80211.ko nvram_ap6210.txt
fw_bcm40181a2.bin rfcomm.ko
# ls fw_bcm40181a2.bin nvram_ap6210.txt
fw_bcm40181a2.bin nvram_ap6210.txt
#
log里面加入了一些我的调试信息:
# insmod bcmdhd.ko
[ 98.252491] dhd_module_init: in
[ 98.256222] 111
[ 98.258385] /system/vendor/modules/fw_bcm40181a2.bin
[ 98.264201] 222
[ 98.266513] /system/vendor/modules/nvram_ap6210.txt
[ 98.272208] 333
[ 98.274349] ======== bcm_wlan_set_plat_data ========
[ 98.280335] bcm_wlan_set_plat_data 252 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.288359] bcm_wlan_set_plat_data 258 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.296437] bcm_wlan_set_plat_data 260 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.304446] bcm_wlan_set_plat_data 262 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.312520] bcm_wlan_set_plat_data 264 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.320592] bcm_wlan_set_plat_data 266 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.328580] bcm_wlan_set_plat_data 268 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.336658] GPIO(WL_HOST_WAKE) = 205
[ 98.340810] host_oob_irq: 161
[ 98.344245] has no wl_host_wake_invert
[ 98.348473] host_oob_irq_flags=0x414
[ 98.352532] dhd_wifi_platform_load: Enter
[ 98.357122] dhd_wifi_platform_load 824 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.366020] dhd_wifi_platform_load 826 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.374963] dhd_wifi_platform_load_usb 816 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.384291] dhd_wifi_platform_load_sdio 688 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.393649] Power-up adapter 'DHD generic adapter'
[ 98.399104] - irq 161 [flags 1044], firmware: (null), nvram: (null) ===》我在特定目录下已经放入了相应的固件,但是就是检测不到
[ 98.406241] - bus type -1, bus num -1, slot num -1
[ 98.406246]
[ 98.413618] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.423068] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.432430] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.441471] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.450510] wifi_platform_set_power = 1
[ 98.454836] ======== PULL WL_REG_ON HIGH! ========
[ 98.460310] [wifi_pm]: wifi power on
[ 98.770051] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.779749] wifi_platform_bus_enumerate device present 1
[ 98.785946] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 98.794429] ======== Card detection to detect SDIO card! ========
[ 98.801531] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 98.801577] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 98.803151] [mmc]: sdc1 power_supply is null
[ 98.820094] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 98.842378] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 98.851541] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 98.859821] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 98.872617] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 98.884855] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 98.893133] *******************Try sdio*******************
[ 98.900096] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 98.909155] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 98.918157] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 98.927230] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 98.935492] *******************Try sd *******************
[ 98.942403] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 98.951560] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 98.960638] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 98.969805] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 98.978170] *******************Try mmc*******************
[ 98.984268] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 98.995487] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 99.003748] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.013723] [mmc]: sdc1 power_supply is null
[ 99.021114] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.032455] [mmc]: sdc1 power_supply is null
[ 99.050032] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.082619] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.091985] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.100364] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.113287] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.125791] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 99.133989] *******************Try sdio*******************
[ 99.141317] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.150570] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.159893] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.169244] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.177434] *******************Try sd *******************
[ 99.184684] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.194113] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.203498] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.212923] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.221231] *******************Try mmc*******************
[ 99.227369] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.238862] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 99.247060] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.257100] [mmc]: sdc1 power_supply is null
[ 99.264577] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.275830] [mmc]: sdc1 power_supply is null
[ 99.300033] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.333159] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.343063] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.351436] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.364630] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.377680] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 99.385882] *******************Try sdio*******************
[ 99.393740] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.403534] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.413416] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.423274] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.431476] *******************Try sd *******************
[ 99.439215] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.449109] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.459084] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.469049] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.477361] *******************Try mmc*******************
[ 99.483519] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.495566] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 99.503760] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.513808] [mmc]: sdc1 power_supply is null
[ 99.521120] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.532460] [mmc]: sdc1 power_supply is null
[ 99.550029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.582623] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.592059] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 99.600433] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.613284] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.625774] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 99.634044] *******************Try sdio*******************
[ 99.641300] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.650624] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.659950] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.669231] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 99.677481] *******************Try sd *******************
[ 99.684661] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.694094] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.703544] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.712914] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 99.721280] *******************Try mmc*******************
[ 99.727347] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.738765] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 99.747026] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 99.757066] [mmc]: sdc1 power_supply is null
[ 100.830107] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.839837] failed to power up DHD generic adapter, 3 retry left
[ 100.862990] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.872386] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.881782] wifi_platform_set_power = 0
[ 100.886263] ======== PULL WL_REG_ON LOW! ========
[ 100.891928] [wifi_pm]: wifi power off
[ 100.896219] wifi_platform_bus_enumerate device present 0
[ 100.902417] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 100.910904] ======== Card detection to remove SDIO card! ========
[ 100.918231] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.927867] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.937674] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.946755] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 100.955729] wifi_platform_set_power = 1
[ 100.960140] ======== PULL WL_REG_ON HIGH! ========
[ 100.965527] [wifi_pm]: wifi power on
[ 101.270055] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 101.279608] wifi_platform_bus_enumerate device present 1
[ 101.285953] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 101.294300] ======== Card detection to detect SDIO card! ========
[ 101.301534] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 101.301579] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.303151] [mmc]: sdc1 power_supply is null
[ 101.320097] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.342371] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.351465] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.359814] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.372600] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.384844] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 101.393042] *******************Try sdio*******************
[ 101.400071] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.409069] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.418131] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.427217] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.435404] *******************Try sd *******************
[ 101.442366] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.451464] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.460609] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.469766] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.478092] *******************Try mmc*******************
[ 101.484252] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.495475] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 101.503676] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.513722] [mmc]: sdc1 power_supply is null
[ 101.521110] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.532448] [mmc]: sdc1 power_supply is null
[ 101.550031] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.582614] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.592040] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.600435] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.613286] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.625775] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 101.634039] *******************Try sdio*******************
[ 101.641288] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.650618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.659938] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.669212] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.677479] *******************Try sd *******************
[ 101.684658] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.694081] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.703542] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.712891] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.721259] *******************Try mmc*******************
[ 101.727325] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.738816] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 101.747079] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.757127] [mmc]: sdc1 power_supply is null
[ 101.764541] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.775878] [mmc]: sdc1 power_supply is null
[ 101.800030] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.833159] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.843119] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 101.851433] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.864623] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.877679] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 101.885951] *******************Try sdio*******************
[ 101.893740] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.903614] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.913430] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.923294] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 101.931564] *******************Try sd *******************
[ 101.939235] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.949209] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.959115] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.969074] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 101.977446] *******************Try mmc*******************
[ 101.983538] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 101.995586] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 102.003853] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.013823] [mmc]: sdc1 power_supply is null
[ 102.021123] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.032484] [mmc]: sdc1 power_supply is null
[ 102.050031] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.082620] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 102.091981] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 102.100368] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.113309] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.125813] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 102.134016] *******************Try sdio*******************
[ 102.141336] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 102.150603] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 102.159926] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 102.169273] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 102.177474] *******************Try sd *******************
[ 102.184726] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 102.194149] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 102.203529] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 102.212956] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 102.221277] *******************Try mmc*******************
[ 102.227413] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.238907] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 102.247110] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 102.257152] [mmc]: sdc1 power_supply is null
[ 103.330163] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.339745] failed to power up DHD generic adapter, 2 retry left
[ 103.363348] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.372741] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.381991] wifi_platform_set_power = 0
[ 103.386622] ======== PULL WL_REG_ON LOW! ========
[ 103.392126] [wifi_pm]: wifi power off
[ 103.396414] wifi_platform_bus_enumerate device present 0
[ 103.402755] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 103.411097] ======== Card detection to remove SDIO card! ========
[ 103.418441] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.428223] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.440054] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.449080] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.458125] wifi_platform_set_power = 1
[ 103.462478] ======== PULL WL_REG_ON HIGH! ========
[ 103.467944] [wifi_pm]: wifi power on
[ 103.780138] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.789873] wifi_platform_bus_enumerate device present 1
[ 103.796077] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 103.804566] ======== Card detection to detect SDIO card! ========
[ 103.811681] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 103.811722] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 103.813298] [mmc]: sdc1 power_supply is null
[ 103.830104] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 103.852363] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 103.861545] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 103.869826] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 103.882638] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 103.894868] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 103.903126] *******************Try sdio*******************
[ 103.910088] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 103.919148] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 103.928140] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 103.937226] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 103.945490] *******************Try sd *******************
[ 103.952379] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 103.961560] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 103.970641] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 103.979798] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 103.988184] *******************Try mmc*******************
[ 103.994279] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.005522] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 104.013805] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.023789] [mmc]: sdc1 power_supply is null
[ 104.031108] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.042449] [mmc]: sdc1 power_supply is null
[ 104.060030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.092626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.101986] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.110382] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.123308] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.135825] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 104.144009] *******************Try sdio*******************
[ 104.151327] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.160591] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.169911] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.179255] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.187468] *******************Try sd *******************
[ 104.194695] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.204054] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.213514] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.222941] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.231238] *******************Try mmc*******************
[ 104.237373] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.248866] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 104.257060] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.267119] [mmc]: sdc1 power_supply is null
[ 104.274604] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.285907] [mmc]: sdc1 power_supply is null
[ 104.310030] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.343167] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.353127] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.361507] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.374694] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.387698] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 104.395960] *******************Try sdio*******************
[ 104.403814] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.413613] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.423493] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.433288] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.441558] *******************Try sd *******************
[ 104.449298] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.459198] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.469168] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.479128] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.487449] *******************Try mmc*******************
[ 104.493608] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.505584] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 104.513856] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.523896] [mmc]: sdc1 power_supply is null
[ 104.531119] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.542454] [mmc]: sdc1 power_supply is null
[ 104.560030] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.592626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.602061] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 104.610374] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.623223] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.635725] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 104.643980] *******************Try sdio*******************
[ 104.651232] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.660559] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.669879] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.679152] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 104.687433] *******************Try sd *******************
[ 104.694589] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.704019] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.713472] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.722829] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 104.731208] *******************Try mmc*******************
[ 104.737273] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.748763] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 104.757043] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 104.767085] [mmc]: sdc1 power_supply is null
[ 105.840106] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.849844] failed to power up DHD generic adapter, 1 retry left
[ 105.873042] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.882497] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.891883] wifi_platform_set_power = 0
[ 105.896366] ======== PULL WL_REG_ON LOW! ========
[ 105.901893] [wifi_pm]: wifi power off
[ 105.906327] wifi_platform_bus_enumerate device present 0
[ 105.912517] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 105.920992] ======== Card detection to remove SDIO card! ========
[ 105.928211] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.937979] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.947828] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.956913] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 105.965883] wifi_platform_set_power = 1
[ 105.970291] ======== PULL WL_REG_ON HIGH! ========
[ 105.975690] [wifi_pm]: wifi power on
[ 106.280137] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 106.289857] wifi_platform_bus_enumerate device present 1
[ 106.296225] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 106.304572] ======== Card detection to detect SDIO card! ========
[ 106.311817] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 106.311858] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.313435] [mmc]: sdc1 power_supply is null
[ 106.330096] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.352361] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.361524] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.369893] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.382707] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.394856] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 106.403116] *******************Try sdio*******************
[ 106.410078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.419066] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.428138] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.437143] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.445418] *******************Try sd *******************
[ 106.452373] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.461463] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.470621] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.479698] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.488064] *******************Try mmc*******************
[ 106.494378] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.505541] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 106.513805] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.523860] [mmc]: sdc1 power_supply is null
[ 106.531114] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.542453] [mmc]: sdc1 power_supply is null
[ 106.560031] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.592618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.602050] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.610363] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.623281] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.635778] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 106.644045] *******************Try sdio*******************
[ 106.651291] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.660612] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.669944] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.679215] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.687487] *******************Try sd *******************
[ 106.694645] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.704068] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.713518] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.722884] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.731249] *******************Try mmc*******************
[ 106.737317] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.748806] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 106.757059] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.767101] [mmc]: sdc1 power_supply is null
[ 106.774522] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.785882] [mmc]: sdc1 power_supply is null
[ 106.810033] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.843165] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.853120] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 106.861427] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.874612] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 106.887676] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 106.895881] *******************Try sdio*******************
[ 106.903726] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.913586] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.923412] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.933276] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 106.941562] *******************Try sd *******************
[ 106.949232] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.959196] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.969112] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.979066] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 106.987430] *******************Try mmc*******************
[ 106.993516] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.005563] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 107.013821] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.023802] [mmc]: sdc1 power_supply is null
[ 107.031104] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.042365] [mmc]: sdc1 power_supply is null
[ 107.060029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.092617] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 107.101982] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 107.110358] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.123285] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.135774] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 107.143966] *******************Try sdio*******************
[ 107.151287] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 107.160540] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 107.169873] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 107.179224] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 107.187427] *******************Try sd *******************
[ 107.194651] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 107.204013] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 107.213450] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 107.222883] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 107.231194] *******************Try mmc*******************
[ 107.237330] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.248818] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 107.257020] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 107.267069] [mmc]: sdc1 power_supply is null
[ 108.340118] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.349845] failed to power up DHD generic adapter, 0 retry left
[ 108.373183] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.382549] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.391961] wifi_platform_set_power = 0
[ 108.396444] ======== PULL WL_REG_ON LOW! ========
[ 108.402094] [wifi_pm]: wifi power off
[ 108.406383] wifi_platform_bus_enumerate device present 0
[ 108.412739] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.421074] ======== Card detection to remove SDIO card! ========
[ 108.428282] dhd_wifi_platform_load_sdio 760 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.438053] failed to power up DHD generic adapter, max retry reached**
[ 108.445740] dhd_wifi_platform_load 835 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.454739] unregister wifi platform drivers
[ 108.459558] wifi_platform_bus_enumerate device present 0
[ 108.465612] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.473714] ======== Card detection to remove SDIO card! ========
[ 108.480688] dhd_module_init: Failed to load the driver, try cnt 3
[ 108.487554] ======== bcm_wlan_set_plat_data ========
[ 108.493224] bcm_wlan_set_plat_data 252 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.501239] bcm_wlan_set_plat_data 258 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.509307] bcm_wlan_set_plat_data 260 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.517386] bcm_wlan_set_plat_data 262 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.525397] bcm_wlan_set_plat_data 264 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.533481] bcm_wlan_set_plat_data 266 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.541558] bcm_wlan_set_plat_data 268 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 108.549548] GPIO(WL_HOST_WAKE) = 205
[ 108.553714] host_oob_irq: 161
[ 108.557088] has no wl_host_wake_invert
[ 108.561341] host_oob_irq_flags=0x414
[ 108.565377] dhd_wifi_platform_load: Enter
[ 108.569963] dhd_wifi_platform_load 824 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.578930] dhd_wifi_platform_load 826 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.587862] dhd_wifi_platform_load_usb 816 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.597197] dhd_wifi_platform_load_sdio 688 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.606641] Power-up adapter 'DHD generic adapter'
[ 108.612047] - irq 161 [flags 1044], firmware: (null), nvram: (null)
[ 108.619238] - bus type -1, bus num -1, slot num -1
[ 108.619243]
[ 108.626539] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.636008] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.645440] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.654412] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.663464] wifi_platform_set_power = 1
[ 108.667791] ======== PULL WL_REG_ON HIGH! ========
[ 108.673197] [wifi_pm]: wifi power on
[ 108.980137] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 108.989858] wifi_platform_bus_enumerate device present 1
[ 108.996062] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 109.004584] ======== Card detection to detect SDIO card! ========
[ 109.011833] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 109.011867] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.013436] [mmc]: sdc1 power_supply is null
[ 109.040045] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.072360] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.081548] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.089906] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.102630] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.114850] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 109.123107] *******************Try sdio*******************
[ 109.130078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.139140] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.148202] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.157215] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.165473] *******************Try sd *******************
[ 109.172360] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.181565] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.190652] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.199737] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.208115] *******************Try mmc*******************
[ 109.214335] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.225557] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 109.233841] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.243893] [mmc]: sdc1 power_supply is null
[ 109.251112] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.262448] [mmc]: sdc1 power_supply is null
[ 109.280029] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.312618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.322047] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.330352] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.343282] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.355778] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 109.364030] *******************Try sdio*******************
[ 109.371278] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.380605] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.389858] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.399209] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.407477] *******************Try sd *******************
[ 109.414628] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.424051] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.433428] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.442851] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.451244] *******************Try mmc*******************
[ 109.457310] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.468803] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 109.477073] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.487071] [mmc]: sdc1 power_supply is null
[ 109.494555] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.505896] [mmc]: sdc1 power_supply is null
[ 109.530041] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.563155] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.573044] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.581432] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.594617] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.607671] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 109.615859] *******************Try sdio*******************
[ 109.623711] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.633516] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.643397] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.653266] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.661468] *******************Try sd *******************
[ 109.669206] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.679191] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.689097] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.699056] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.707371] *******************Try mmc*******************
[ 109.713531] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.725578] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 109.733777] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.743818] [mmc]: sdc1 power_supply is null
[ 109.751119] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.762388] [mmc]: sdc1 power_supply is null
[ 109.780028] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.812627] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.821985] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 109.830364] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.843283] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.855716] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 109.863972] *******************Try sdio*******************
[ 109.871290] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.880547] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.889869] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.899157] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 109.907413] *******************Try sd *******************
[ 109.914636] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.924006] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.933453] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.942879] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 109.951187] *******************Try mmc*******************
[ 109.957321] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.968747] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 109.977015] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 109.987085] [mmc]: sdc1 power_supply is null
[ 111.030113] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.039844] failed to power up DHD generic adapter, 3 retry left
[ 111.063212] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.072485] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.081962] wifi_platform_set_power = 0
[ 111.086445] ======== PULL WL_REG_ON LOW! ========
[ 111.092118] [wifi_pm]: wifi power off
[ 111.096407] wifi_platform_bus_enumerate device present 0
[ 111.102743] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 111.111075] ======== Card detection to remove SDIO card! ========
[ 111.118426] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.128051] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.137847] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.146939] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.155983] wifi_platform_set_power = 1
[ 111.160326] ======== PULL WL_REG_ON HIGH! ========
[ 111.165721] [wifi_pm]: wifi power on
[ 111.470109] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.479679] wifi_platform_bus_enumerate device present 1
[ 111.486070] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 111.494584] ======== Card detection to detect SDIO card! ========
[ 111.501684] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 111.501721] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.503298] [mmc]: sdc1 power_supply is null
[ 111.520099] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.542363] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 111.551456] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 111.559807] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.572600] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.584853] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 111.593054] *******************Try sdio*******************
[ 111.600087] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.609078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.618152] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.627230] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.635425] *******************Try sd *******************
[ 111.642387] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.651474] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.660623] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.669785] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.678085] *******************Try mmc*******************
[ 111.684246] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.695463] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 111.703657] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.713710] [mmc]: sdc1 power_supply is null
[ 111.721111] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.732381] [mmc]: sdc1 power_supply is null
[ 111.750030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.782618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 111.792050] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 111.800433] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.813351] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.825771] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 111.834037] *******************Try sdio*******************
[ 111.841362] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.850615] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.859938] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.869218] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 111.877476] *******************Try sd *******************
[ 111.884722] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.894088] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.903542] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.912975] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 111.921272] *******************Try mmc*******************
[ 111.927410] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.938833] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 111.947094] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.957133] [mmc]: sdc1 power_supply is null
[ 111.964558] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 111.975886] [mmc]: sdc1 power_supply is null
[ 112.000038] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.033158] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 112.043123] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 112.051499] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.064646] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.077694] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 112.085980] *******************Try sdio*******************
[ 112.093770] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.103629] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.113519] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.123314] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.131588] *******************Try sd *******************
[ 112.139255] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.149219] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.159195] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.169089] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.177474] *******************Try mmc*******************
[ 112.183563] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.195610] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 112.203874] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.213922] [mmc]: sdc1 power_supply is null
[ 112.221123] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.232460] [mmc]: sdc1 power_supply is null
[ 112.250029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.282624] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 112.292053] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 112.300357] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.313274] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.325760] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 112.333968] *******************Try sdio*******************
[ 112.341217] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.350541] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.359804] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.369141] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 112.377398] *******************Try sd *******************
[ 112.384584] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.394004] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.403384] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.412820] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 112.421186] *******************Try mmc*******************
[ 112.427252] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.438738] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 112.447000] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 112.456972] [mmc]: sdc1 power_supply is null
[ 113.530109] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.539687] failed to power up DHD generic adapter, 2 retry left
[ 113.563008] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.572403] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.581766] wifi_platform_set_power = 0
[ 113.586399] ======== PULL WL_REG_ON LOW! ========
[ 113.591907] [wifi_pm]: wifi power off
[ 113.596199] wifi_platform_bus_enumerate device present 0
[ 113.602558] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 113.611038] ======== Card detection to remove SDIO card! ========
[ 113.618232] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.628027] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.637829] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.646840] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.655890] wifi_platform_set_power = 1
[ 113.660231] ======== PULL WL_REG_ON HIGH! ========
[ 113.665687] [wifi_pm]: wifi power on
[ 113.970094] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 113.979832] wifi_platform_bus_enumerate device present 1
[ 113.986078] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 113.994594] ======== Card detection to detect SDIO card! ========
[ 114.001729] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 114.001761] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.003331] [mmc]: sdc1 power_supply is null
[ 114.020089] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.042427] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.052045] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.060367] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.073178] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.085438] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 114.093687] *******************Try sdio*******************
[ 114.100660] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.109714] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.118788] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.127790] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.136069] *******************Try sd *******************
[ 114.142965] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.152137] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.161305] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.170390] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.178745] *******************Try mmc*******************
[ 114.184852] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.196069] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 114.204347] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.214394] [mmc]: sdc1 power_supply is null
[ 114.221794] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.233143] [mmc]: sdc1 power_supply is null
[ 114.250030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.282634] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.292060] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.300370] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.313292] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.325788] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 114.333973] *******************Try sdio*******************
[ 114.341291] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.350625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.359877] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.369218] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.377484] *******************Try sd *******************
[ 114.384655] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.394077] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.403465] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.412898] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.421278] *******************Try mmc*******************
[ 114.427343] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.438836] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 114.447107] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.457076] [mmc]: sdc1 power_supply is null
[ 114.464568] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.475837] [mmc]: sdc1 power_supply is null
[ 114.500036] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.533154] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.543043] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.551425] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.564620] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.577680] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 114.585883] *******************Try sdio*******************
[ 114.593740] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.603545] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.613425] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.623315] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.631516] *******************Try sd *******************
[ 114.639255] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.649160] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.659135] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.669095] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.677397] *******************Try mmc*******************
[ 114.683548] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.695591] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 114.703781] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.713828] [mmc]: sdc1 power_supply is null
[ 114.721120] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.732390] [mmc]: sdc1 power_supply is null
[ 114.750031] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.782626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.792052] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 114.800429] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.813345] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.825773] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 114.834036] *******************Try sdio*******************
[ 114.841353] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.850616] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.859939] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.869220] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 114.877478] *******************Try sd *******************
[ 114.884723] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.894086] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.903533] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.912889] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 114.921266] *******************Try mmc*******************
[ 114.927400] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.938821] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 114.947093] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 114.957133] [mmc]: sdc1 power_supply is null
[ 116.030107] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.039845] failed to power up DHD generic adapter, 1 retry left
[ 116.063244] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.072487] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.081953] wifi_platform_set_power = 0
[ 116.086466] ======== PULL WL_REG_ON LOW! ========
[ 116.092119] [wifi_pm]: wifi power off
[ 116.096409] wifi_platform_bus_enumerate device present 0
[ 116.102596] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 116.111097] ======== Card detection to remove SDIO card! ========
[ 116.118429] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.128052] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.137872] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.146950] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.155990] wifi_platform_set_power = 1
[ 116.160339] ======== PULL WL_REG_ON HIGH! ========
[ 116.165726] [wifi_pm]: wifi power on
[ 116.470109] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.479681] wifi_platform_bus_enumerate device present 1
[ 116.486092] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 116.494439] ======== Card detection to detect SDIO card! ========
[ 116.501685] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 116.501724] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.503298] [mmc]: sdc1 power_supply is null
[ 116.520100] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.542357] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 116.551451] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 116.559824] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.572608] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.584870] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 116.593058] *******************Try sdio*******************
[ 116.600088] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.609086] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.618145] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.627220] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.635426] *******************Try sd *******************
[ 116.642380] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.651467] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.660626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.669780] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.678078] *******************Try mmc*******************
[ 116.684238] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.695459] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 116.703650] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.713704] [mmc]: sdc1 power_supply is null
[ 116.721110] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.732446] [mmc]: sdc1 power_supply is null
[ 116.750030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.782619] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 116.792044] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 116.800428] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.813345] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.825762] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 116.834036] *******************Try sdio*******************
[ 116.841282] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.850605] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.859938] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.869209] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 116.877468] *******************Try sd *******************
[ 116.884719] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.894072] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.903523] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.912888] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 116.921255] *******************Try mmc*******************
[ 116.927390] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.938813] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 116.947094] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.957147] [mmc]: sdc1 power_supply is null
[ 116.964564] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 116.975896] [mmc]: sdc1 power_supply is null
[ 117.000032] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.033152] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 117.043120] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 117.051424] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.064614] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.077661] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 117.085941] *******************Try sdio*******************
[ 117.093732] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.103597] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.113417] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.123281] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.131578] *******************Try sd *******************
[ 117.139247] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.149216] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.159197] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.169091] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.177475] *******************Try mmc*******************
[ 117.183563] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.195613] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 117.203885] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.213923] [mmc]: sdc1 power_supply is null
[ 117.221119] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.232457] [mmc]: sdc1 power_supply is null
[ 117.250029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.282625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 117.292051] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 117.300355] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.313275] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.325765] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 117.333968] *******************Try sdio*******************
[ 117.341285] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.350609] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.359875] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.369219] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 117.377416] *******************Try sd *******************
[ 117.384592] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.394015] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.403405] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.412821] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 117.421188] *******************Try mmc*******************
[ 117.427255] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.438750] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 117.446944] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 117.456923] [mmc]: sdc1 power_supply is null
[ 118.530118] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.539699] failed to power up DHD generic adapter, 0 retry left
[ 118.563033] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.572464] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.581795] wifi_platform_set_power = 0
[ 118.586427] ======== PULL WL_REG_ON LOW! ========
[ 118.591931] [wifi_pm]: wifi power off
[ 118.596247] wifi_platform_bus_enumerate device present 0
[ 118.602591] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.611075] ======== Card detection to remove SDIO card! ========
[ 118.618133] dhd_wifi_platform_load_sdio 760 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.627906] failed to power up DHD generic adapter, max retry reached**
[ 118.635598] dhd_wifi_platform_load 835 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.644606] unregister wifi platform drivers
[ 118.649417] wifi_platform_bus_enumerate device present 0
[ 118.655470] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.663638] ======== Card detection to remove SDIO card! ========
[ 118.670529] dhd_module_init: Failed to load the driver, try cnt 2
[ 118.677452] ======== bcm_wlan_set_plat_data ========
[ 118.683075] bcm_wlan_set_plat_data 252 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.691159] bcm_wlan_set_plat_data 258 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.699160] bcm_wlan_set_plat_data 260 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.707237] bcm_wlan_set_plat_data 262 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.715316] bcm_wlan_set_plat_data 264 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.723331] bcm_wlan_set_plat_data 266 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.731410] bcm_wlan_set_plat_data 268 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 118.739468] GPIO(WL_HOST_WAKE) = 205
[ 118.743584] host_oob_irq: 161
[ 118.746955] has no wl_host_wake_invert
[ 118.751211] host_oob_irq_flags=0x414
[ 118.755317] dhd_wifi_platform_load: Enter
[ 118.759836] dhd_wifi_platform_load 824 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.768807] dhd_wifi_platform_load 826 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.777683] dhd_wifi_platform_load_usb 816 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.786967] dhd_wifi_platform_load_sdio 688 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.796412] Power-up adapter 'DHD generic adapter'
[ 118.801818] - irq 161 [flags 1044], firmware: (null), nvram: (null)
[ 118.809009] - bus type -1, bus num -1, slot num -1
[ 118.809014]
[ 118.816378] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.825768] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.835206] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.844256] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 118.853233] wifi_platform_set_power = 1
[ 118.857627] ======== PULL WL_REG_ON HIGH! ========
[ 118.863031] [wifi_pm]: wifi power on
[ 119.170108] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 119.179827] wifi_platform_bus_enumerate device present 1
[ 119.186219] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 119.194589] ======== Card detection to detect SDIO card! ========
[ 119.201841] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 119.201877] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.203448] [mmc]: sdc1 power_supply is null
[ 119.230043] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.262357] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.271471] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.279823] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.292651] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.304864] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 119.313052] *******************Try sdio*******************
[ 119.320092] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.329079] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.338141] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.347234] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.355425] *******************Try sd *******************
[ 119.362382] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.371491] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.380642] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.389792] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.398103] *******************Try mmc*******************
[ 119.404270] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.415475] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 119.423674] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.433719] [mmc]: sdc1 power_supply is null
[ 119.441122] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.452461] [mmc]: sdc1 power_supply is null
[ 119.470031] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.502623] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.512049] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.520430] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.533277] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.545787] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 119.554123] *******************Try sdio*******************
[ 119.561373] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.570700] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.580020] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.589273] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.597544] *******************Try sd *******************
[ 119.604700] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.614143] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.623584] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.632940] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.641314] *******************Try mmc*******************
[ 119.647380] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.658871] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 119.667140] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.677179] [mmc]: sdc1 power_supply is null
[ 119.684591] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.695962] [mmc]: sdc1 power_supply is null
[ 119.720032] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.753166] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.763120] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 119.771426] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.784612] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.797686] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 119.805952] *******************Try sdio*******************
[ 119.813747] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.823601] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.833417] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.843286] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 119.851556] *******************Try sd *******************
[ 119.859227] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.869196] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.879102] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.889072] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 119.897448] *******************Try mmc*******************
[ 119.903548] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.915598] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 119.923858] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.933833] [mmc]: sdc1 power_supply is null
[ 119.941122] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 119.952465] [mmc]: sdc1 power_supply is null
[ 119.970032] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 120.002625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 120.012001] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 120.020374] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 120.033298] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 120.045940] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 120.054132] *******************Try sdio*******************
[ 120.061473] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 120.070730] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 120.080049] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 120.089396] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 120.097602] *******************Try sd *******************
[ 120.104830] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 120.114216] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 120.123593] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 120.133019] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 120.141328] *******************Try mmc*******************
[ 120.147465] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 120.158958] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 120.167169] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 120.177212] [mmc]: sdc1 power_supply is null
[ 121.220094] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.229699] failed to power up DHD generic adapter, 3 retry left
[ 121.253076] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.262480] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.271705] wifi_platform_set_power = 0
[ 121.276334] ======== PULL WL_REG_ON LOW! ========
[ 121.281857] [wifi_pm]: wifi power off
[ 121.286146] wifi_platform_bus_enumerate device present 0
[ 121.292536] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 121.300910] ======== Card detection to remove SDIO card! ========
[ 121.307938] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.317371] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.326731] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.335784] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.344828] wifi_platform_set_power = 1
[ 121.349153] ======== PULL WL_REG_ON HIGH! ========
[ 121.354633] [wifi_pm]: wifi power on
[ 121.660108] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.669825] wifi_platform_bus_enumerate device present 1
[ 121.676044] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 121.684536] ======== Card detection to detect SDIO card! ========
[ 121.691675] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 121.691716] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.693292] [mmc]: sdc1 power_supply is null
[ 121.710098] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.732359] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 121.741521] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 121.749800] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.762599] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.774815] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 121.783076] *******************Try sdio*******************
[ 121.790037] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 121.799027] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 121.808045] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 121.817107] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 121.825395] *******************Try sd *******************
[ 121.832295] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 121.841455] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 121.850545] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 121.859694] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 121.868062] *******************Try mmc*******************
[ 121.874163] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.885378] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 121.893656] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.903637] [mmc]: sdc1 power_supply is null
[ 121.911105] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.922446] [mmc]: sdc1 power_supply is null
[ 121.940031] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 121.972623] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 121.982015] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 121.990390] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.003303] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.015795] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 122.023993] *******************Try sdio*******************
[ 122.031312] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.040567] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.049902] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.059246] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.067438] *******************Try sd *******************
[ 122.074669] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.084050] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.093489] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.102929] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.111227] *******************Try mmc*******************
[ 122.117365] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.128861] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 122.137054] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.147098] [mmc]: sdc1 power_supply is null
[ 122.154601] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.165863] [mmc]: sdc1 power_supply is null
[ 122.190049] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.223150] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 122.233120] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 122.241500] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.254685] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.267666] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 122.275932] *******************Try sdio*******************
[ 122.283791] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.293611] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.303481] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.313286] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.321560] *******************Try sd *******************
[ 122.329301] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.339206] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.349176] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.359086] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.367372] *******************Try mmc*******************
[ 122.373533] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.385517] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 122.393795] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.403846] [mmc]: sdc1 power_supply is null
[ 122.411104] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.422450] [mmc]: sdc1 power_supply is null
[ 122.440029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.472633] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 122.482060] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 122.490376] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.503296] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.515784] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 122.524047] *******************Try sdio*******************
[ 122.531294] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.540615] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.549944] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.559218] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 122.567477] *******************Try sd *******************
[ 122.574638] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.584078] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.593528] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.602898] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 122.611265] *******************Try mmc*******************
[ 122.617332] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.628819] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 122.637080] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 122.647129] [mmc]: sdc1 power_supply is null
[ 123.720097] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.729828] failed to power up DHD generic adapter, 2 retry left
[ 123.753011] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.762397] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.771794] wifi_platform_set_power = 0
[ 123.776282] ======== PULL WL_REG_ON LOW! ========
[ 123.781785] [wifi_pm]: wifi power off
[ 123.786225] wifi_platform_bus_enumerate device present 0
[ 123.792490] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 123.801008] ======== Card detection to remove SDIO card! ========
[ 123.807965] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.817417] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.826849] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.835889] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 123.844866] wifi_platform_set_power = 1
[ 123.849260] ======== PULL WL_REG_ON HIGH! ========
[ 123.854663] [wifi_pm]: wifi power on
[ 124.160120] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 124.169851] wifi_platform_bus_enumerate device present 1
[ 124.176204] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 124.184553] ======== Card detection to detect SDIO card! ========
[ 124.191883] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 124.191916] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.193483] [mmc]: sdc1 power_supply is null
[ 124.220047] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.252359] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.261545] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.269893] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.282685] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.294864] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 124.303121] *******************Try sdio*******************
[ 124.310100] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.319154] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.328216] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.337239] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.345496] *******************Try sd *******************
[ 124.352452] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.361556] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.370704] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.379789] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.388170] *******************Try mmc*******************
[ 124.394431] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.405581] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 124.413861] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.423911] [mmc]: sdc1 power_supply is null
[ 124.431124] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.442464] [mmc]: sdc1 power_supply is null
[ 124.460030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.492625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.502050] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.510366] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.523285] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.535782] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 124.544046] *******************Try sdio*******************
[ 124.551295] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.560625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.569878] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.579153] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.587435] *******************Try sd *******************
[ 124.594592] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.604018] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.613469] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.622819] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.631187] *******************Try mmc*******************
[ 124.637253] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.648750] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 124.657028] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.667063] [mmc]: sdc1 power_supply is null
[ 124.674479] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.685815] [mmc]: sdc1 power_supply is null
[ 124.710030] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.743157] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.753117] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 124.761432] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.774622] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.787678] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 124.795883] *******************Try sdio*******************
[ 124.803738] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.813608] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.823418] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.833288] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 124.841555] *******************Try sd *******************
[ 124.849223] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.859193] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.869098] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.879058] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 124.887441] *******************Try mmc*******************
[ 124.893529] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.905574] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 124.913839] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.923810] [mmc]: sdc1 power_supply is null
[ 124.931122] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.942391] [mmc]: sdc1 power_supply is null
[ 124.960032] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 124.992626] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 125.001989] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 125.010367] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 125.023308] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 125.035810] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 125.044007] *******************Try sdio*******************
[ 125.051343] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 125.060603] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 125.069926] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 125.079267] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 125.087475] *******************Try sd *******************
[ 125.094700] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 125.104056] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 125.113507] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 125.122933] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 125.131245] *******************Try mmc*******************
[ 125.137378] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 125.148871] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 125.157073] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 125.167115] [mmc]: sdc1 power_supply is null
[ 126.210094] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.219819] failed to power up DHD generic adapter, 1 retry left
[ 126.243164] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.252435] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.261814] wifi_platform_set_power = 0
[ 126.266299] ======== PULL WL_REG_ON LOW! ========
[ 126.272004] [wifi_pm]: wifi power off
[ 126.276310] wifi_platform_bus_enumerate device present 0
[ 126.282650] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 126.291077] ======== Card detection to remove SDIO card! ========
[ 126.298104] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.307539] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.316901] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.325954] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.334994] wifi_platform_set_power = 1
[ 126.339319] ======== PULL WL_REG_ON HIGH! ========
[ 126.344719] [wifi_pm]: wifi power on
[ 126.650104] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.659823] wifi_platform_bus_enumerate device present 1
[ 126.666023] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 126.674531] ======== Card detection to detect SDIO card! ========
[ 126.681629] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 126.681667] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.683243] [mmc]: sdc1 power_supply is null
[ 126.700098] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.722359] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 126.731521] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 126.739803] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.752609] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.764823] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 126.773022] *******************Try sdio*******************
[ 126.780050] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 126.789106] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 126.798108] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 126.807181] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 126.815395] *******************Try sd *******************
[ 126.822361] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 126.831520] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 126.840603] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 126.849768] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 126.858138] *******************Try mmc*******************
[ 126.864238] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.875447] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 126.883640] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.893709] [mmc]: sdc1 power_supply is null
[ 126.901111] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.912388] [mmc]: sdc1 power_supply is null
[ 126.930029] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.962627] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 126.972009] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 126.980382] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 126.993302] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.005797] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 127.014011] *******************Try sdio*******************
[ 127.021461] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.030721] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.040047] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.049380] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.057585] *******************Try sd *******************
[ 127.064824] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.074200] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.083636] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.093080] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.101379] *******************Try mmc*******************
[ 127.107516] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.119022] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 127.127223] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.137267] [mmc]: sdc1 power_supply is null
[ 127.144694] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.156025] [mmc]: sdc1 power_supply is null
[ 127.180039] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.213166] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 127.223135] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 127.231508] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.244615] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.257662] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 127.265936] *******************Try sdio*******************
[ 127.273721] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.283586] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.293472] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.303266] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.311539] *******************Try sd *******************
[ 127.319207] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.329171] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.339077] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.348976] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.357345] *******************Try mmc*******************
[ 127.363434] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.375488] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 127.383760] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.393811] [mmc]: sdc1 power_supply is null
[ 127.401106] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.412438] [mmc]: sdc1 power_supply is null
[ 127.430029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.462619] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 127.472064] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 127.480377] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.493289] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.505778] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 127.514050] *******************Try sdio*******************
[ 127.521302] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.530629] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.539886] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.549222] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 127.557482] *******************Try sd *******************
[ 127.564636] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.574065] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.583449] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.592895] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 127.601261] *******************Try mmc*******************
[ 127.607328] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.618820] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 127.627092] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 127.637064] [mmc]: sdc1 power_supply is null
[ 128.710122] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.719852] failed to power up DHD generic adapter, 0 retry left
[ 128.743055] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.752445] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.761869] wifi_platform_set_power = 0
[ 128.766351] ======== PULL WL_REG_ON LOW! ========
[ 128.771856] [wifi_pm]: wifi power off
[ 128.776294] wifi_platform_bus_enumerate device present 0
[ 128.782501] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.790982] ======== Card detection to remove SDIO card! ========
[ 128.798040] dhd_wifi_platform_load_sdio 760 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.807812] failed to power up DHD generic adapter, max retry reached**
[ 128.815647] dhd_wifi_platform_load 835 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.824598] unregister wifi platform drivers
[ 128.829478] wifi_platform_bus_enumerate device present 0
[ 128.835470] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.843642] ======== Card detection to remove SDIO card! ========
[ 128.850529] dhd_module_init: Failed to load the driver, try cnt 1
[ 128.857466] ======== bcm_wlan_set_plat_data ========
[ 128.863071] bcm_wlan_set_plat_data 252 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.871152] bcm_wlan_set_plat_data 258 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.879210] bcm_wlan_set_plat_data 260 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.887226] bcm_wlan_set_plat_data 262 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.895310] bcm_wlan_set_plat_data 264 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.903316] bcm_wlan_set_plat_data 266 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.911400] bcm_wlan_set_plat_data 268 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 128.919460] GPIO(WL_HOST_WAKE) = 205
[ 128.923581] host_oob_irq: 161
[ 128.926944] has no wl_host_wake_invert
[ 128.931282] host_oob_irq_flags=0x414
[ 128.935319] dhd_wifi_platform_load: Enter
[ 128.939837] dhd_wifi_platform_load 824 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.948804] dhd_wifi_platform_load 826 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.957763] dhd_wifi_platform_load_usb 816 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.967026] dhd_wifi_platform_load_sdio 688 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 128.976469] Power-up adapter 'DHD generic adapter'
[ 128.981955] - irq 161 [flags 1044], firmware: (null), nvram: (null)
[ 128.989078] - bus type -1, bus num -1, slot num -1
[ 128.989083]
[ 128.996451] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.005849] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.015283] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.024359] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.033413] wifi_platform_set_power = 1
[ 129.037738] ======== PULL WL_REG_ON HIGH! ========
[ 129.043165] [wifi_pm]: wifi power on
[ 129.350092] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.359681] wifi_platform_bus_enumerate device present 1
[ 129.366032] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 129.374537] ======== Card detection to detect SDIO card! ========
[ 129.381652] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 129.381694] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.383271] [mmc]: sdc1 power_supply is null
[ 129.400098] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.422407] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.431524] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.439872] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.452662] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.464878] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 129.473071] *******************Try sdio*******************
[ 129.480111] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.489099] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.498161] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.507244] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.515434] *******************Try sd *******************
[ 129.522416] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.531513] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.540662] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.549816] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.558125] *******************Try mmc*******************
[ 129.564401] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.575639] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 129.583860] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.593914] [mmc]: sdc1 power_supply is null
[ 129.601107] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.612381] [mmc]: sdc1 power_supply is null
[ 129.630030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.662618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.672056] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.680450] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.693373] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.705801] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 129.714055] *******************Try sdio*******************
[ 129.721401] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.730665] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.739987] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.749258] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.757525] *******************Try sd *******************
[ 129.764748] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.774107] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.783568] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.792994] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 129.801306] *******************Try mmc*******************
[ 129.807440] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.818863] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 129.827148] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.837199] [mmc]: sdc1 power_supply is null
[ 129.844615] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.855943] [mmc]: sdc1 power_supply is null
[ 129.880030] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.913150] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.923124] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 129.931423] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.944532] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 129.957590] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 129.965845] *******************Try sdio*******************
[ 129.973625] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.983465] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 129.993335] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.003140] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.011408] *******************Try sd *******************
[ 130.019075] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.029055] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.039015] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.048936] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.057295] *******************Try mmc*******************
[ 130.063383] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.075456] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 130.083731] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.093784] [mmc]: sdc1 power_supply is null
[ 130.101113] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.112454] [mmc]: sdc1 power_supply is null
[ 130.130029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.162632] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 130.172058] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 130.180378] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.193297] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.205792] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 130.214049] *******************Try sdio*******************
[ 130.221316] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.230646] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.239898] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.249249] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 130.257505] *******************Try sd *******************
[ 130.264658] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.274092] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.283465] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.292895] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 130.301267] *******************Try mmc*******************
[ 130.307333] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.318826] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 130.327111] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 130.337094] [mmc]: sdc1 power_supply is null
[ 131.410113] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.419859] failed to power up DHD generic adapter, 3 retry left
[ 131.443067] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.452453] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.461699] wifi_platform_set_power = 0
[ 131.466356] ======== PULL WL_REG_ON LOW! ========
[ 131.471861] [wifi_pm]: wifi power off
[ 131.476299] wifi_platform_bus_enumerate device present 0
[ 131.482485] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 131.490983] ======== Card detection to remove SDIO card! ========
[ 131.498160] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.507932] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.517756] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.526791] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.535833] wifi_platform_set_power = 1
[ 131.540186] ======== PULL WL_REG_ON HIGH! ========
[ 131.545641] [wifi_pm]: wifi power on
[ 131.850090] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.859809] wifi_platform_bus_enumerate device present 1
[ 131.866030] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 131.874533] ======== Card detection to detect SDIO card! ========
[ 131.881780] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 131.881821] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 131.883400] [mmc]: sdc1 power_supply is null
[ 131.900103] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 131.922407] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 131.931572] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 131.939946] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 131.952672] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 131.964902] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 131.973161] *******************Try sdio*******************
[ 131.980126] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 131.989195] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 131.998246] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.007257] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.015525] *******************Try sd *******************
[ 132.022449] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.031609] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.040768] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.049854] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.058229] *******************Try mmc*******************
[ 132.064320] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.075549] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 132.083829] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.093878] [mmc]: sdc1 power_supply is null
[ 132.101106] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.112447] [mmc]: sdc1 power_supply is null
[ 132.130030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.162621] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.172056] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.180374] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.193295] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.205785] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 132.214051] *******************Try sdio*******************
[ 132.221328] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.230652] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.239914] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.249255] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.257515] *******************Try sd *******************
[ 132.264674] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.274101] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.283485] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.292917] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.301286] *******************Try mmc*******************
[ 132.307353] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.318842] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 132.327120] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.337099] [mmc]: sdc1 power_supply is null
[ 132.344583] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.355917] [mmc]: sdc1 power_supply is null
[ 132.380032] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.413150] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.423055] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.431414] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.444606] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.457650] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 132.465846] *******************Try sdio*******************
[ 132.473695] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.483485] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.493375] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.503235] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.511461] *******************Try sd *******************
[ 132.519200] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.529106] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.539075] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.549060] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.557348] *******************Try mmc*******************
[ 132.563509] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.575556] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 132.583776] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.593829] [mmc]: sdc1 power_supply is null
[ 132.601106] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.612454] [mmc]: sdc1 power_supply is null
[ 132.630029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.662630] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.672058] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 132.680442] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.693361] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.705779] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 132.714046] *******************Try sdio*******************
[ 132.721313] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.730566] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.739899] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.749173] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 132.757442] *******************Try sd *******************
[ 132.764662] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.774016] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.783473] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.792833] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 132.801200] *******************Try mmc*******************
[ 132.807335] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.818760] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 132.827039] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 132.837087] [mmc]: sdc1 power_supply is null
[ 133.910117] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 133.919848] failed to power up DHD generic adapter, 2 retry left
[ 133.943074] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 133.952493] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 133.961897] wifi_platform_set_power = 0
[ 133.966379] ======== PULL WL_REG_ON LOW! ========
[ 133.972028] [wifi_pm]: wifi power off
[ 133.976339] wifi_platform_bus_enumerate device present 0
[ 133.982540] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 133.991028] ======== Card detection to remove SDIO card! ========
[ 133.998365] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.008024] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.017832] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.026942] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.035984] wifi_platform_set_power = 1
[ 134.040418] ======== PULL WL_REG_ON HIGH! ========
[ 134.045807] [wifi_pm]: wifi power on
[ 134.350084] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.359655] wifi_platform_bus_enumerate device present 1
[ 134.366005] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 134.374392] ======== Card detection to detect SDIO card! ========
[ 134.381640] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 134.381682] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.383260] [mmc]: sdc1 power_supply is null
[ 134.400104] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.422409] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.431506] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.439858] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.452653] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.464865] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 134.473068] *******************Try sdio*******************
[ 134.480098] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.489088] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.498160] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.507233] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.515422] *******************Try sd *******************
[ 134.522412] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.531492] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.540640] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.549815] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.558116] *******************Try mmc*******************
[ 134.564281] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.575499] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 134.583711] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.593765] [mmc]: sdc1 power_supply is null
[ 134.601106] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.612449] [mmc]: sdc1 power_supply is null
[ 134.630030] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.662618] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.672059] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.680439] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.693360] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.705787] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 134.714044] *******************Try sdio*******************
[ 134.721334] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.730654] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.739977] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.749257] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.757515] *******************Try sd *******************
[ 134.764737] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.774104] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.783554] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.792910] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 134.801286] *******************Try mmc*******************
[ 134.807422] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.818848] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 134.827123] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.837179] [mmc]: sdc1 power_supply is null
[ 134.844595] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.855928] [mmc]: sdc1 power_supply is null
[ 134.880031] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.913150] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.923149] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 134.931438] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.944617] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 134.957666] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 134.965919] *******************Try sdio*******************
[ 134.973710] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.983564] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 134.993381] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.003250] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.011521] *******************Try sd *******************
[ 135.019191] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.029165] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.039125] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.049055] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.057411] *******************Try mmc*******************
[ 135.063498] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.075556] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 135.083835] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.093884] [mmc]: sdc1 power_supply is null
[ 135.101105] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.112455] [mmc]: sdc1 power_supply is null
[ 135.130029] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.162630] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 135.172065] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 135.180377] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.193298] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.205786] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 135.213975] *******************Try sdio*******************
[ 135.221323] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.230644] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.239896] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.249243] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 135.257433] *******************Try sd *******************
[ 135.264653] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.274083] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.283460] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.292900] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 135.301264] *******************Try mmc*******************
[ 135.307332] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.318818] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 135.327025] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 135.337079] [mmc]: sdc1 power_supply is null
[ 136.410115] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.419684] failed to power up DHD generic adapter, 1 retry left
[ 136.443020] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.452411] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.461687] wifi_platform_set_power = 0
[ 136.466315] ======== PULL WL_REG_ON LOW! ========
[ 136.471820] [wifi_pm]: wifi power off
[ 136.476111] wifi_platform_bus_enumerate device present 0
[ 136.482448] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 136.490947] ======== Card detection to remove SDIO card! ========
[ 136.498129] dhd_wifi_platform_load_sdio 727 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.507891] dhd_wifi_platform_load_sdio 733 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.517712] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.526749] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.535799] wifi_platform_set_power = 1
[ 136.540139] ======== PULL WL_REG_ON HIGH! ========
[ 136.545595] [wifi_pm]: wifi power on
[ 136.850089] dhd_wifi_platform_load_sdio 742 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.859825] wifi_platform_bus_enumerate device present 1
[ 136.866028] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 136.874535] ======== Card detection to detect SDIO card! ========
[ 136.881673] dhd_wifi_platform_load_sdio 746 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 136.881714] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 136.883292] [mmc]: sdc1 power_supply is null
[ 136.900099] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 136.922404] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 136.931565] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 136.939851] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 136.952645] [mmc]: sdc1 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 136.964870] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 136.973128] *******************Try sdio*******************
[ 136.980090] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 136.989160] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 136.998147] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.007232] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.015490] *******************Try sd *******************
[ 137.022405] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.031582] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.040727] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.049812] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.058190] *******************Try mmc*******************
[ 137.064285] [mmc]: sdc1 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.075508] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 137.083795] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.093844] [mmc]: sdc1 power_supply is null
[ 137.101107] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.112447] [mmc]: sdc1 power_supply is null
[ 137.130031] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.162615] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.172055] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.180384] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.193306] [mmc]: sdc1 set ios: clk 300000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.205795] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 137.213982] *******************Try sdio*******************
[ 137.221326] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.230666] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.239919] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.249259] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.257459] *******************Try sd *******************
[ 137.264679] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.274105] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.283496] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.292922] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.301289] *******************Try mmc*******************
[ 137.307355] [mmc]: sdc1 set ios: clk 300000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.318850] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 137.327061] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.337113] [mmc]: sdc1 power_supply is null
[ 137.344588] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.355849] [mmc]: sdc1 power_supply is null
[ 137.380029] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.413150] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.423059] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.431423] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.444606] [mmc]: sdc1 set ios: clk 200000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.457659] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 137.465843] *******************Try sdio*******************
[ 137.473694] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.483494] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.493380] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.503240] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.511446] *******************Try sd *******************
[ 137.519185] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.529090] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.539044] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.549030] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.557326] *******************Try mmc*******************
[ 137.563479] [mmc]: sdc1 set ios: clk 200000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.575525] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 137.583744] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.593797] [mmc]: sdc1 power_supply is null
[ 137.601106] [mmc]: sdc1 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.612453] [mmc]: sdc1 power_supply is null
[ 137.630030] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.662632] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.672061] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 52, RTO !!
[ 137.680455] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.693309] [mmc]: sdc1 set ios: clk 150000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.705805] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 8, RTO !!
[ 137.714057] *******************Try sdio*******************
[ 137.721322] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.730652] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.739975] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.749246] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 5, RTO !!
[ 137.757511] *******************Try sd *******************
[ 137.764665] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.774088] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.783542] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.792905] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 55, RTO !!
[ 137.801289] *******************Try mmc*******************
[ 137.807355] [mmc]: sdc1 set ios: clk 150000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.818846] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 1 err, cmd 1, RTO !!
[ 137.827133] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 137.837185] [mmc]: sdc1 power_supply is null
[ 138.910117] dhd_wifi_platform_load_sdio 754 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 138.919867] failed to power up DHD generic adapter, 0 retry left
[ 138.943079] wifi_platform_set_power 138 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 138.952504] wifi_platform_set_power 157 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 138.961903] wifi_platform_set_power = 0
[ 138.966385] ======== PULL WL_REG_ON LOW! ========
[ 138.972054] [wifi_pm]: wifi power off
[ 138.976344] wifi_platform_bus_enumerate device present 0
[ 138.982538] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 138.991020] ======== Card detection to remove SDIO card! ========
[ 138.998097] dhd_wifi_platform_load_sdio 760 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 139.007861] failed to power up DHD generic adapter, max retry reached**
[ 139.015695] dhd_wifi_platform_load 835 drivers/net/wireless/bcmdhd/dhd_linux_platdev.c
[ 139.024722] unregister wifi platform drivers
[ 139.029533] wifi_platform_bus_enumerate device present 0
[ 139.035517] bcm_wlan_set_carddetect 158 drivers/net/wireless/bcmdhd/dhd_gpio.c
[ 139.043719] ======== Card detection to remove SDIO card! ========
[ 139.050674] dhd_module_init: Failed to load the driver, try cnt 0
[ 139.057528] 4444
[ 139.059636] dhd_module_init: Failed to load driver max retry reached**
[ 139.067043] dhd_module_init: Exit err=-19
insmod: can't insert 'bcmdhd.ko': No such device
make[3]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/libs/expat'
make[3]: Entering directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/libs/libffi'
make[3]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/libs/libffi'
make[3]: Entering directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/utils/bzip2'
make[3]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/utils/bzip2'
make[3]: Entering directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/lang/python'
make -C /home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/compile_dir/target/host/Python-2.7.11
make[4]: Entering directory '/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/compile_dir/target/host/Python-2.7.11'
gcc -pthread -c -fno-strict-aliasing -O2 -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/host/include -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/host/usr/include -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/staging_dir/target/host/include -I/usr/include/ncursesw -I/usr/include/ncurses -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/host/include -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/host/usr/include -I/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/staging_dir/target/host/include -DPy_BUILD_CORE \
-DSVNVERSION="\"`LC_ALL=C echo Unversioned directory`\"" \
-DHGVERSION="\"`LC_ALL=C `\"" \
-DHGTAG="\"`LC_ALL=C `\"" \
-DHGBRANCH="\"`LC_ALL=C `\"" \
-o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
./Modules/getbuildinfo.c: In function 'Py_GetBuildInfo':
./Modules/getbuildinfo.c:55:19: error: environment variable SOURCE_DATE_EPOCH must expand to a non-negative integer less than or equal to 253402300799 ======================》》这个位置!!!!
DATE, TIME);
^
Makefile:629: recipe for target 'Modules/getbuildinfo.o' failed
make[4]: *** [Modules/getbuildinfo.o] Error 1
make[4]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/compile_dir/target/host/Python-2.7.11'
Makefile:241: recipe for target '/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/compile_dir/target/host/Python-2.7.11/.built' failed
make[3]: *** [/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/compile_dir/target/host/Python-2.7.11/.built] Error 2
make[3]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina/package/lang/python'
package/Makefile:192: recipe for target 'package/lang/python/host/compile' failed
make[2]: *** [package/lang/python/host/compile] Error 2
make[2]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina'
package/Makefile:189: recipe for target '/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/staging_dir/target/stamp/.package_compile' failed
make[1]: *** [/home/gzpeite/jkl/peite_a33/R16_Tina/out/astar-parrot/staging_dir/target/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/gzpeite/jkl/peite_a33/R16_Tina'
/home/gzpeite/jkl/peite_a33/R16_Tina/build/toplevel.mk:219: recipe for target 'world' failed
我看网上也有遇到这种编译错误的,参考修改错误一直没有解决
https://blog.csdn.net/wb4916/article/details/80688040
麻烦大家支支招
jkl 说:晕哥,请问一下,为什么我使用你上面的源码编译打包出来的固件烧录进去后,串口一点调试信息都没有,不知道问题出在哪里???
3个串口都试试看
有个疑问,就是发现camdorid源码没有u-boot,只有内核和文件系统,这是怎样引导的呀,Android也是有u-boot的,是不是我少了东西,我这板子就是芒果派的,看了下源码,串口就是uart0, PB8\PB9两个引脚
串口配置:
;----------------------------------------------------------------------------------
;uart configuration
;uart_used = uart x enable
;uart_port = x; x is order number of ttySx
;uart_type = 2:2 wire,4:4 wire,8:8 wire, full function
;----------------------------------------------------------------------------------
[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = port:PB08<3><1><default><default>
uart_rx = port:PB09<3><1><default><default>
;card print
;uart_tx = port:PF02<3><1><default><default>
;uart_rx = port:PF04<3><1><default><default>
V3s主线u-boot如何禁用交互终端,因为串口接到了加密芯片,导致u-boot以为按下了任意键, 结果进入了命令行状态,系统无法启动。
http://whycan.com/t_1177.html#p5367
(出处:哇酷开发者社区)
好的,感谢。
---- 继续折腾一下这个游戏机 ------------
玩了几天,发现lcd屏幕太小了,眼睛看得很累。
所以把它的视频输出端接到投影仪上,大屏玩游戏,酷。。。
厉害了,这个投影仪模块是个什么情况,怎么弄得,有现成的买吗,也想整一个
请问一下,我查了下IO口是没有被占用的,但是一直申请不了中断,提示中断错误。
[ 78.427800] drivers/input/keyboard/gpio_keys.c 855 gpio_keys_init
[ 78.434972] drivers/input/keyboard/gpio_keys.c 671 gpio_keys_probe
[ 78.442008] gpio-keys gpio-keys.0: Unable to get irq number for GPIO 128, error -6
出错的地方,看了下源码。IO口能够申请,但是就是不能申请中断
static int __devinit gpio_keys_setup_key(struct platform_device *pdev,
struct input_dev *input,
struct gpio_button_data *bdata,
const struct gpio_keys_button *button)
{
const char *desc = button->desc ? button->desc : "gpio_keys";
struct device *dev = &pdev->dev;
irq_handler_t isr;
unsigned long irqflags;
int irq, error;
__u32 config;
bdata->input = input;
bdata->button = button;
spin_lock_init(&bdata->lock);
if (gpio_is_valid(button->gpio)) {
error = gpio_request(button->gpio, desc);
if (error < 0) {
dev_err(dev, "Failed to request GPIO %d %s, error %d\n",
button->gpio, button->desc, error);
return error;
}
config = SUNXI_PINCFG_PACK(SUNXI_PINCFG_TYPE_PUD, 1);
pin_config_set_pin(SUNXI_PINCTRL, button->gpio, config);
config = SUNXI_PINCFG_PACK(SUNXI_PINCFG_TYPE_DRV, 3);
pin_config_set_pin(SUNXI_PINCTRL, button->gpio, config);
error = gpio_direction_input(button->gpio);
if (error < 0) {
dev_err(dev,
"Failed to configure direction for GPIO %d, error %d\n",
button->gpio, error);
goto fail;
}
if (button->debounce_interval) {
error = gpio_set_debounce(button->gpio,
button->debounce_interval * 1000);
/* use timer if gpiolib doesn't provide debounce */
if (error < 0)
bdata->timer_debounce =
button->debounce_interval;
}
irq = gpio_to_irq(button->gpio);
if (irq < 0) {
error = irq;
dev_err(dev,
"Unable to get irq number for GPIO %d, error %d\n", =================》这个位置
button->gpio, error);
goto fail;
}
bdata->irq = irq;
INIT_WORK(&bdata->work, gpio_keys_gpio_work_func);
setup_timer(&bdata->timer,
gpio_keys_gpio_timer, (unsigned long)bdata);
isr = gpio_keys_gpio_isr;
irqflags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING;
} else {
if (!button->irq) {
dev_err(dev, "No IRQ specified\n");
return -EINVAL;
}
bdata->irq = button->irq;
if (button->type && button->type != EV_KEY) {
dev_err(dev, "Only EV_KEY allowed for IRQ buttons.\n");
return -EINVAL;
}
bdata->timer_debounce = button->debounce_interval;
setup_timer(&bdata->timer,
gpio_keys_irq_timer, (unsigned long)bdata);
isr = gpio_keys_irq_isr;
irqflags = 0;
}
input_set_capability(input, button->type ?: EV_KEY, button->code);
/*
* If platform has specified that the button can be disabled,
* we don't want it to share the interrupt line.
*/
if (!button->can_disable)
irqflags |= IRQF_SHARED;
error = request_any_context_irq(bdata->irq, isr, irqflags, desc, bdata);
if (error < 0) {
dev_err(dev, "Unable to claim irq %d; error %d\n",
bdata->irq, error);
goto fail;
}
return 0;
fail:
if (gpio_is_valid(button->gpio))
gpio_free(button->gpio);
return error;
}
在驱动代码里面加一些调试日志
加了调试信息,连最基本的probe函数都没有调用
static int __devinit gpio_keys_probe(struct platform_device *pdev)
{
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
const struct gpio_keys_platform_data *pdata = pdev->dev.platform_data;
struct gpio_keys_drvdata *ddata;
struct device *dev = &pdev->dev;
struct gpio_keys_platform_data alt_pdata;
struct input_dev *input;
int i, error;
int wakeup = 0;
if (!pdata) {
error = gpio_keys_get_devtree_pdata(dev, &alt_pdata);
。。。。。。
}
表明配置信息完全没有注册到内核里面去,也就是说上面的配置没有起到作用。不知道问题出在哪里
照猫画虎, 找一下 sys_config.fex 里面的关键字 ctp_int_port, 再搜一下驱动的实现.
你好,我参考这个链接使用内核自带的gpio-keys驱动,还不不能够生成一个event设备,是不是还有那些地方没有配置到位??
[gpiokey]
compatibel = "gpio-keys"
[gpiokey/ok_key]
lable = "ok_key"
gpios = port:PE11<6><default><default><default>
linux,input-type = <1>
linux,code = 139
jkl 说:Quotation 说:可能要查下硬件,模拟部分供电纹波。
好的,感谢,问题已经解决了,是我驱动里面的麦克风和耳机的控制引脚没有配置对。
楼主您好,您这个是没使用的时候有电流声,是指不播放音乐,待机的时候有电流声么?您这个麦克风和耳机的控制硬件是怎么配对的?具体是什么原理?我这边也有这个问题,外接了一个功放。不放歌的时候也能听到电流声,一直以为是功放底噪的问题。非常感谢解答。
是的,待机的时候喇叭有电流声,麦克风和耳机的控制引脚就是功放所使用的IO口,因为功放的IO口没控制,在未使用的时候功放也是打开的,会放大电信号就造成了所接的喇叭产生电流噪音,要保证使用时打开功放,没使用的时候关闭功放,这个问题就不存在了,目前我这边的系统是Android6.0。
采样率的问题,你试试看 8000 16000 等采样率。
还是不行,感觉不是这个问题:
# tinycap jkl.wav -D 1 -d 0 -c 2 -r 48000 -b 16
Capturing sample: 2 ch, 48000 hz, 16 bit
Error capturing sample
Captured 4294967295 frames
# tinycap jkl.wav -D 1 -d 0 -c 2 -r 8000 -b 16
Capturing sample: 2 ch, 8000 hz, 16 bit
Error capturing sample
Captured 4294967295 frames
# tinycap jkl.wav -D 1 -d 0 -c 2 -r 16000 -b 16
Capturing sample: 2 ch, 16000 hz, 16 bit
Error capturing sample
Captured 4294967295 frames
我们的产品没有录音功能,也没有音乐播放,所以没有研究过呢。 现在具体是什么情况呢?你用tina还是主线?
好的,我使用的是主线内核,具体情况:
请问一下,X3开发板录音有人弄出来了吗?
http://whycan.com/t_6119.html
(出处:哇酷开发者社区)
这是我们公司做的TF卡烧SPI NOR的量产固件: smallwit_x3_tfcard_自动烧录spinor.tgz
你可以烧到TF卡启动试一试。
一开始是在小智开发板做的,现在都是公司自己做板子了,参考了小智X3的原理图。
你好,贵公司X3部分的录音弄出来了吗,我这边一直卡着,能否指点一下,非常感谢
现在x3的播放已经正常了,但是录音一直有问题:
# tinymix contents
Number of controls: 21
ctl type num name value
0 INT 1 Headphone Playback Volume 30 (range 0->63)
1 BOOL 2 Headphone Playback Switch On, On
2 INT 1 Line In Playback Volume 0 (range 0->7)
3 INT 1 Mic2 Playback Volume 3 (range 0->7)
4 INT 1 Mic2 Boost Volume 7 (range 0->7)
5 INT 1 Mic1 Playback Volume 7 (range 0->7)
6 INT 1 Mic1 Boost Volume 4 (range 0->7)
7 INT 1 ADC Gain Capture Volume 3 (range 0->7)
8 BOOL 2 AIF1 Slot 0 Digital DAC Playback Switch On, On
9 BOOL 2 AIF1 Data Digital ADC Capture Switch On, On
10 BOOL 2 DAC Playback Switch On, On
11 BOOL 2 DAC Reversed Playback Switch On, On
12 BOOL 2 Line In Playback Switch On, On
13 BOOL 2 Mic1 Playback Switch On, On
14 BOOL 2 Mic2 Playback Switch On, On
15 BOOL 2 Mixer Capture Switch On, On
16 BOOL 2 Mixer Reversed Capture Switch On, On
17 BOOL 2 Line In Capture Switch On, On
18 BOOL 2 Mic1 Capture Switch On, On
19 BOOL 2 Mic2 Capture Switch On, On
20 ENUM 2 Headphone Source Playback Route DAC, Mixer, DAC, Mixer
#
# tinycap 1111.wav -d 0 -c 2 -r 44100 -b 16
Capturing sample: 2 ch, 44100 hz, 16 bit
Error capturing sample
Captured 4294967295 frames
论坛的帖子我也参考过了,一直解决不了,麻烦知道的给点意见,非常感谢!!!
Read dt_root 0xc05ec024d00dfeed
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.65+ (root@le-desktop) (gcc version 4.4.6 (crosstool-NG 1.13.3) ) #306 Thu Jan 28 14:06:49 CST 2021
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000]
[ 0.000000] Read dt_phys 80e51000
[ 0.000000] Read devtree c0e51000
[ 0.000000]
[ 0.000000] Read dt_root 0xc05ec024d00dfeed
[ 0.000000] Machine: Allwinner A1X (Device Tree), model: sunivw1p1
[ 0.000000] Memory policy: ECC disabled, Data cache writethrough
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw rootfstype=ext4
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 32MB = 32MB total
[ 0.000000] Memory: 26228k/26228k available, 6540k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xff000000 ( 968 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0515fac (5176 kB)
[ 0.000000] .init : 0xc0516000 - 0xc055cb8c ( 283 kB)
[ 0.000000] .data : 0xc055e000 - 0xc05d4440 ( 474 kB)
[ 0.000000] .bss : 0xc05d4440 - 0xc05f1db8 ( 119 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[ 0.000000] pll_cpu-set_default_rate=528000000 success!
[ 0.000000] pll_video-set_default_rate=297000000 , but real_get_rate=300000000 failured!
[ 0.000000] pll_ddr-set_default_rate=312000000 success!
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000497] Calibrating delay loop... 262.96 BogoMIPS (lpj=1314816)
[ 0.070024] pid_max: default: 32768 minimum: 301
[ 0.070607] Mount-cache hash table entries: 512
[ 0.072807] CPU: Testing write buffer coherency: ok
[ 0.073946] Setting up static identity map for 0xc03be338 - 0xc03be390
[ 0.078809] devtmpfs: initialized
[ 0.081575] pinctrl core: initialized pinctrl subsystem
[ 0.081891] NET: Registered protocol family 16
[ 0.083994] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.085322] dump_class_init,821, success
[ 0.092704] sunivw1p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.106540] No ATAGs?
[ 0.122484] bio: create slab <bio-0> at 0
[ 0.125775] SCSI subsystem initialized
[ 0.126657] usbcore: registered new interface driver usbfs
[ 0.126923] usbcore: registered new interface driver hub
[ 0.127479] usbcore: registered new device driver usb
[ 0.128867] drivers/i2c/busses/i2c-suniv.c 1150 sunxi_i2c_probe
[ 0.134981] drivers/i2c/busses/i2c-suniv.c 1150 sunxi_i2c_probe
[ 0.140507] cfg80211: Calling CRDA to update world regulatory domain
[ 0.141137] [pm]aw_pm_init!
[ 0.141564] [pm]aw_pm_valid!
[ 0.141602] Notice: sunivw1p1 just support normal standby.
[ 0.141635] [pm]aw_pm_valid!
[ 0.141660] Notice: sunivw1p1 just support normal standby.
[ 0.142039] Switching to clocksource suniv high-res couter
[ 0.193084] NET: Registered protocol family 2
[ 0.196974] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.197088] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.197151] TCP: Hash tables configured (established 512 bind 512)
[ 0.197524] TCP: reno registered
[ 0.197600] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.197693] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.198545] NET: Registered protocol family 1
[ 0.199837] RPC: Registered named UNIX socket transport module.
[ 0.199896] RPC: Registered udp transport module.
[ 0.199925] RPC: Registered tcp transport module.
[ 0.199955] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.227355] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.230979] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.231558] jffs2: version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
[ 0.234482] msgmni has been set to 51
[ 0.239917] io scheduler noop registered
[ 0.239978] io scheduler deadline registered
[ 0.240148] io scheduler cfq registered (default)
[ 0.241103] register success!
[ 0.277343] sw_uart_request_gpio(753)
[ 0.277405] uart0: ttyS0 at MMIO 0x1c25000 (irq = 103) is a SUNXI
[ 0.277461] sw_console_setup()1175 - console setup baud 115200 parity n bits 8, flow n
[ 0.778513] console [ttyS0] enabled
[ 0.784237] sw_uart_request_gpio(753)
[ 0.788372] uart1: ttyS1 at MMIO 0x1c25400 (irq = 104) is a SUNXI
[ 0.797347] sw_uart_request_gpio(753)
[ 0.801497] uart2: ttyS2 at MMIO 0x1c25800 (irq = 105) is a SUNXI
[ 0.810405] misc dump reg init
[ 0.815084] [drm] Initialized drm 1.1.0 20060810
[ 0.825597] spi spi0: master is unqueued, this is deprecated
[ 0.833760] NorFlash ID: 0xc84018 - 0xc840
[ 0.838411] m25p80 spi0.0: found gd25q128, expected m25p64
[ 0.844704] m25p80 spi0.0: gd25q128 (16384 Kbytes)
[ 0.863946] partitions_register()937 - Invalid partitions count: -1
[ 0.870956] partition_register: enter
[ 0.875187] Creating 6 MTD partitions on "(null)":
[ 0.880563] 0x000000000000-0x0000000f0000 : "spl+uboot"
[ 0.899899] rfd_ftl: no RFD magic found in 'spl+uboot'
[ 0.908309] 0x0000000f0000-0x000000100000 : "env"
[ 0.916964] 0x000000100000-0x0000003e0000 : "kernel"
[ 0.961365] rfd_ftl: no RFD magic found in 'kernel'
[ 0.969368] 0x0000003e0000-0x000000400000 : "dtb"
[ 0.978308] rfd_ftl: no RFD magic found in 'dtb'
[ 0.985969] 0x000000400000-0x000000600000 : "logo"
[ 1.018442] rfd_ftl: no RFD magic found in 'logo'
[ 1.026291] 0x000000600000-0x000001000000 : "rootfs"
[ 1.161663] rfd_ftl: no RFD magic found in 'rootfs'
[ 1.170376] usbcore: registered new interface driver rtl8150
[ 1.177023] usbcore: registered new interface driver r8152
[ 1.183507] usbcore: registered new interface driver asix
[ 1.189706] usbcore: registered new interface driver ax88179_178a
[ 1.196806] usbcore: registered new interface driver cdc_ether
[ 1.203605] usbcore: registered new interface driver dm9601
[ 1.209931] usbcore: registered new interface driver net1080
[ 1.216519] usbcore: registered new interface driver cdc_subset
[ 1.223419] usbcore: registered new interface driver zaurus
[ 1.230016] usbcore: registered new interface driver cdc_ncm
[ 1.236788] usbcore: registered new interface driver usblp
[ 1.243291] usbcore: registered new interface driver usb-storage
[ 1.250758] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[ 1.258836] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[ 1.272427] hub 1-0:1.0: USB hub found
[ 1.276722] hub 1-0:1.0: 1 port detected
[ 1.284857] mousedev: PS/2 mouse device common for all mice
[ 1.291412] i2c /dev entries driver
[ 1.299292] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.30 2015-10-10 10:03) Compiled in Jan 18 2021 at 11:36:16
[ 1.312762] sunxi-mmc 1c0f000.sdmmc: Can't get vmmc regulator string
[ 1.319864] sunxi-mmc 1c0f000.sdmmc: Can't get vqmmc regulator string
[ 1.327155] sunxi-mmc 1c0f000.sdmmc: Can't get vdmmc regulator string
[ 1.334423] sunxi-mmc 1c0f000.sdmmc: Failed getting OCR mask: 0
[ 1.341996] sunxi-mmc 1c0f000.sdmmc: *******************set host ocr**************************
[ 1.352698] sunxi-mmc 1c0f000.sdmmc: Got CD GPIO #130.
[ 1.359105] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.382300] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 1.412442] sunxi-mmc 1c0f000.sdmmc: base:0xf1c0f000 irq:109
[ 1.420089] usbcore: registered new interface driver usbhid
[ 1.426438] usbhid: USB HID core driver
[ 1.432031] TCP: cubic registered
[ 1.435882] Initializing XFRM netlink socket
[ 1.440770] NET: Registered protocol family 17
[ 1.446174] VFP support v0.3: not present
[ 1.453182] drivers/video/sunxi/lcd/dev_lcd.c 102 lcd_module_initwelcome
[ 1.460663] [LCD] lcd_module_init
[ 1.466531] of_property_read_u32_array lcd0.lcd_bl_en_used fail
[ 1.473337] [DISP WRN] file:drivers/video/sunxi/disp/de_bsp/de/disp_lcd.c,line:499: lcd0.lcd_bl_en_used
[ 1.552251] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 1.563729] drivers/video/sunxi/disp/dev_fb.c, 137302, Fb_Init
[ 1.570264] fbmem: fb_start=0x81db5000, fb_size=0x00100000
[ 1.579128] drivers/video/sunxi/disp/dev_fb.c, 137350, Fb_Init
[ 1.585771] drivers/video/sunxi/disp/dev_fb.c, 137371, Fb_Init
[ 1.592342] drivers/video/sunxi/disp/dev_fb.c, 137415, Fb_Init
[ 1.598836] drivers/video/sunxi/disp/dev_fb.c, 137422, Fb_Init
[ 1.607196] Fb_map_video_memory, pa=0x81a80000 size:0x4b000
[ 1.613513] BSP_disp_layer_set_para: fb_format=0x0, yuv_ch=0
[ 1.624878] Boot process: init
[ 1.629677] Waiting for root device /dev/mmcblk0p2...
我将内核放在另外一个板子上跑,能够检测到TF卡,并成功挂载,这两块板子的SD卡部分的区别就是:
检测不到的板子上面没有使用PE9/SDIO_CD,这两个脚在源码里面也没有用到啊,希望知道的指点一下,感谢
有没有哪位大佬能够指点一下,我看了一下报错的地方:
static int twi_stop(void __iomem *base_addr, int bus_num)
{
unsigned int timeout = 0xff;
twi_set_stop(base_addr);
twi_clear_irq_flag(base_addr);
twi_get_stop(base_addr);/* it must delay 1 nop to check stop bit */
while(( 1 == twi_get_stop(base_addr))&& (--timeout));
if (timeout == 0) {
I2C_ERR("[i2c%d] STOP can't sendout!\n", bus_num);
return SUNXI_I2C_TFAIL;
}
timeout = 0xff;
while((TWI_STAT_IDLE != readl(base_addr + TWI_STAT_REG))&&(--timeout));
if (timeout == 0) {
I2C_ERR("[i2c%d] i2c state(0x%08x) isn't idle(0xf8)\n", bus_num, readl(base_addr + TWI_STAT_REG));
return SUNXI_I2C_TFAIL;
}
timeout = 0xff;
while((TWI_LCR_IDLE_STATUS != readl(base_addr + TWI_LCR_REG))&&(--timeout));
if (timeout == 0) {
I2C_ERR("[i2c%d] i2c lcr(0x%08x) isn't idle(0x3a)\n", bus_num, readl(base_addr + TWI_LCR_REG));
return SUNXI_I2C_TFAIL;
}
return SUNXI_I2C_OK;
}
/ # insmod gslX680new.ko
[ 2399.949894] ctp_fetch_sysconfig_para: ctp_power_io is invalid.
[ 2399.956697] ctp_fetch_sysconfig_para: wakeup_gpio is invalid.
[ 2399.963277] ctp_init_platform_resource: could not get ctp ldo 'none' , checkif ctp independent power supply by ldo,ignorefirstly
[ 2399.976250] ctp_get_system_config:fwname:gsl_t1_v2
[ 2399.981612] fw_index = 12
[ 2400.014488] drivers/input/touchscreen/gslx680new/gslX680.c 1824 gsl_ts_init
[ 2400.022570] GSLX680 Enter gsl_ts_probe
[ 2400.027636] [GSLX680] Enter gsl_ts_init_ts
[ 2400.033273] input: gslX680 as /devices/soc.0/1c27000.twi/i2c-0/0-0040/input/input2
/ # [ 2400.164721] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.172277] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.224667] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.232220] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.254707] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.262255] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.334699] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.342247] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.364689] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.372236] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.394692] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
麻烦知道的指点一下,感谢!!!
请问一下,目前您这个问题解决了吗?我目前也遇到同样的情况
[ 2400.022570] GSLX680 Enter gsl_ts_probe
[ 2400.027636] [GSLX680] Enter gsl_ts_init_ts
[ 2400.033273] input: gslX680 as /devices/soc.0/1c27000.twi/i2c-0/0-0040/input/input2
/ # [ 2400.164721] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.172277] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.224667] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.232220] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.254707] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.262255] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.334699] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.342247] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.364689] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.372236] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.394692] twi_stop()428 - [i2c0] i2c state(0x00000000) isn't idle(0xf8)
[ 2400.402240] sunxi_i2c_core_process()783 - [i2c0] STOP failed!
[ 2400.424457] =============gsl_load_fw start==============
设备都生成了,然后出现i2c0的状态不是空闲的,我看了下,i2c0中地址40,不存在占用的情况,麻烦知道指点一下,感谢
phy_power_on: enable = 1
<4>[ 12.129419] Read the Ethernet MAC address from IDB:00:00:00:00:00:00
<4>[ 12.129496] eth0: device MAC address 16:27:50:77:6f:7f
<4>[ 12.141747] **************soft reconnect**************
<6>[ 12.148206] libphy: stmmac: probed
<6>[ 12.148239] eth0: PHY ID 00000000 at 0 IRQ 0 (stmmac-0:00) active
<6>[ 12.148258] eth0: PHY ID 00000000 at 1 IRQ 0 (stmmac-0:01) active
<6>[ 12.148273] eth0: PHY ID 00000000 at 2 IRQ 0 (stmmac-0:02)
<6>[ 12.148288] eth0: PHY ID 00000000 at 3 IRQ 0 (stmmac-0:03)
<6>[ 12.148302] eth0: PHY ID 00000000 at 4 IRQ 0 (stmmac-0:04)
<6>[ 12.148317] eth0: PHY ID 00000000 at 5 IRQ 0 (stmmac-0:05)
<6>[ 12.148331] eth0: PHY ID 00000000 at 6 IRQ 0 (stmmac-0:06)
<6>[ 12.148345] eth0: PHY ID 00000000 at 7 IRQ 0 (stmmac-0:07)
<6>[ 12.148359] eth0: PHY ID 00000000 at 8 IRQ 0 (stmmac-0:08)
<6>[ 12.148374] eth0: PHY ID 00000000 at 9 IRQ 0 (stmmac-0:09)
<6>[ 12.148388] eth0: PHY ID 00000000 at 10 IRQ 0 (stmmac-0:0a)
<6>[ 12.148403] eth0: PHY ID 00000000 at 11 IRQ 0 (stmmac-0:0b)
<6>[ 12.148417] eth0: PHY ID 00000000 at 12 IRQ 0 (stmmac-0:0c)
<6>[ 12.148431] eth0: PHY ID 00000000 at 13 IRQ 0 (stmmac-0:0d)
<6>[ 12.148446] eth0: PHY ID 00000000 at 14 IRQ 0 (stmmac-0:0e)
<6>[ 12.148460] eth0: PHY ID 00000000 at 15 IRQ 0 (stmmac-0:0f)
<6>[ 12.148475] eth0: PHY ID 00000000 at 16 IRQ 0 (stmmac-0:10)
<6>[ 12.148489] eth0: PHY ID 00000000 at 17 IRQ 0 (stmmac-0:11)
<6>[ 12.148503] eth0: PHY ID 00000000 at 18 IRQ 0 (stmmac-0:12)
<6>[ 12.148518] eth0: PHY ID 00000000 at 19 IRQ 0 (stmmac-0:13)
<6>[ 12.148532] eth0: PHY ID 00000000 at 20 IRQ 0 (stmmac-0:14)
<6>[ 12.148546] eth0: PHY ID 00000000 at 21 IRQ 0 (stmmac-0:15)
<6>[ 12.148561] eth0: PHY ID 00000000 at 22 IRQ 0 (stmmac-0:16)
<6>[ 12.148575] eth0: PHY ID 00000000 at 23 IRQ 0 (stmmac-0:17)
<6>[ 12.148590] eth0: PHY ID 00000000 at 24 IRQ 0 (stmmac-0:18)
<6>[ 12.148604] eth0: PHY ID 00000000 at 25 IRQ 0 (stmmac-0:19)
<6>[ 12.148618] eth0: PHY ID 00000000 at 26 IRQ 0 (stmmac-0:1a)
<6>[ 12.148632] eth0: PHY ID 00000000 at 27 IRQ 0 (stmmac-0:1b)
<6>[ 12.148647] eth0: PHY ID 00000000 at 28 IRQ 0 (stmmac-0:1c)
<6>[ 12.148661] eth0: PHY ID 00000000 at 29 IRQ 0 (stmmac-0:1d)
<6>[ 12.148675] eth0: PHY ID 00000000 at 30 IRQ 0 (stmmac-0:1e)
<6>[ 12.148689] eth0: PHY ID 00000000 at 31 IRQ 0 (stmmac-0:1f)
<3>[ 12.148826] stmmac_open: Cannot attach to PHY (error: -19)
麻烦知道的指点一下,感谢!!!
照相机打开。屏幕一直是黑的,然后过几秒照相机就死掉了,然后有下面的调试信息:
init: sys_prop: permission denied uid:10015 name:sys.glibgui.version
[ 44.924027] rk_camera_s_stream:stream enable CIF_CIF_CTRL 0xf001
[ 47.876128] rk_cam_cif(2595):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 1,dma_irq: 0!
[ 47.880868] rk_cam_cif(2506):CIF_CIF_CTRL = 0xf000
[ 47.880938] rk_cam_cif(2507):CIF_CIF_INTEN = 0x201
[ 47.880997] rk_cam_cif(2508):CIF_CIF_INTSTAT = 0x4a
[ 47.881055] rk_cam_cif(2509):CIF_CIF_FOR = 0x10001
[ 47.881110] rk_cam_cif(2510):CIF_CIF_CROP = 0x0
[ 47.881168] rk_cam_cif(2511):CIF_CIF_SET_SIZE = 0x2580320
[ 47.881226] rk_cam_cif(2512):CIF_CIF_SCL_CTRL = 0x10
[ 47.881283] rk_cam_cif(2513):CRU_PCLK_REG30 = 0X8100
[ 47.881341] rk_cam_cif(2514):CIF_CIF_LAST_LINE = 0X1e0
[ 47.881398] rk_cam_cif(2516):CIF_CIF_LAST_PIX = 0X5a0
[ 47.881456] rk_cam_cif(2517):CIF_CIF_VIR_LINE_WIDTH = 0X320
[ 47.881514] rk_cam_cif(2518):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 47.881573] rk_cam_cif(2519):CIF_CIF_FRM0_ADDR_Y = 0X9d400000
[ 47.881634] rk_cam_cif(2520):CIF_CIF_FRM0_ADDR_UV = 0X9d475300
[ 47.881693] rk_cam_cif(2521):CIF_CIF_FRAME_STATUS = 0X0
[ 47.881750] rk_cam_cif(2522):CIF_CIF_SCL_VALID_NUM = 0X0
[ 47.881808] rk_cam_cif(2523):CIF_CIF_CUR_DST = 0X580
[ 47.881864] rk_cam_cif(2524):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 47.881921] rk_cam_cif(2548):CIF may be error, so reset cif for resume
[ 49.916268] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 0
[ 49.916423] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 74.207.254.152 192.168.1.179 TCP port 8001 34122
[ 50.828130] rk_cam_cif(2595):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 1,dma_irq: 0!
[ 50.834267] rk_cam_cif(2506):CIF_CIF_CTRL = 0xf000
[ 50.834334] rk_cam_cif(2507):CIF_CIF_INTEN = 0x201
[ 50.834392] rk_cam_cif(2508):CIF_CIF_INTSTAT = 0x4a
[ 50.834451] rk_cam_cif(2509):CIF_CIF_FOR = 0x10001
[ 50.834506] rk_cam_cif(2510):CIF_CIF_CROP = 0x0
[ 50.834564] rk_cam_cif(2511):CIF_CIF_SET_SIZE = 0x2580320
[ 50.834622] rk_cam_cif(2512):CIF_CIF_SCL_CTRL = 0x10
[ 50.834679] rk_cam_cif(2513):CRU_PCLK_REG30 = 0X8100
[ 50.834737] rk_cam_cif(2514):CIF_CIF_LAST_LINE = 0X1e0
[ 50.834794] rk_cam_cif(2516):CIF_CIF_LAST_PIX = 0X5a0
[ 50.834852] rk_cam_cif(2517):CIF_CIF_VIR_LINE_WIDTH = 0X320
[ 50.834910] rk_cam_cif(2518):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 50.834969] rk_cam_cif(2519):CIF_CIF_FRM0_ADDR_Y = 0X9d400000
[ 50.835030] rk_cam_cif(2520):CIF_CIF_FRM0_ADDR_UV = 0X9d475300
[ 50.835088] rk_cam_cif(2521):CIF_CIF_FRAME_STATUS = 0X0
[ 50.835145] rk_cam_cif(2522):CIF_CIF_SCL_VALID_NUM = 0X0
[ 50.835203] rk_cam_cif(2523):CIF_CIF_CUR_DST = 0X580
[ 50.835260] rk_cam_cif(2524):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 50.835363] wake up video buffer index = 0 !!!
[ 50.835418] wake up video buffer index = 1 !!!
[ 50.835470] wake up video buffer index = 2 !!!
[ 50.835521] wake up video buffer index = 3 !!!
rk_cam_cif(2724):rk_camera_s_stream:2724, wait cif stop timeout!ret: 0
麻烦知道的指点一下,感谢!!!
int sun4i_framebuffer_init(struct drm_device *drm)
{
int ret;
drm_mode_config_reset(drm);drm->mode_config.max_width = 8192;
drm->mode_config.max_height = 8192;drm->mode_config.funcs = &sun4i_de_mode_config_funcs;
drm->mode_config.helper_private = &sun4i_de_mode_config_helpers;ret = drm_fb_cma_fbdev_init(drm, 32, 0); //这里改到24或者16就行
return ret;
}
你好,我这边用的是simplefb,不是sun4i的,如果搞不定就试下sun4i看看,感谢
请问一下,f1c100s,通过上述方式配置想要在内核部分显示开机图片,屏幕没有任何反应,可能是什么原因?
配置文件:
#
1356 # Graphics support
1357 #
1358 CONFIG_DRM=y
1359 # CONFIG_DRM_UDL is not set
1360 # CONFIG_DRM_TILCDC is not set
1361 # CONFIG_VGASTATE is not set
1362 # CONFIG_VIDEO_OUTPUT_CONTROL is not set
1363 CONFIG_HDMI=y
1364 CONFIG_FB=y
1365 CONFIG_FIRMWARE_EDID=y
1366 # CONFIG_FB_DDC is not set
1367 # CONFIG_FB_BOOT_VESA_SUPPORT is not set
1368 CONFIG_FB_CFB_FILLRECT=y
1369 CONFIG_FB_CFB_COPYAREA=y
1370 CONFIG_FB_CFB_IMAGEBLIT=y
1371 # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1372 # CONFIG_FB_SYS_FILLRECT is not set
1373 # CONFIG_FB_SYS_COPYAREA is not set
1374 # CONFIG_FB_SYS_IMAGEBLIT is not set
1375 # CONFIG_FB_FOREIGN_ENDIAN is not set
1376 # CONFIG_FB_SYS_FOPS is not set
1377 # CONFIG_FB_SVGALIB is not set
1378 # CONFIG_FB_MACMODES is not set
1379 # CONFIG_FB_BACKLIGHT is not set
1380 CONFIG_FB_MODE_HELPERS=y
1381 CONFIG_FB_TILEBLITTING=y
1382
1383 #
1384 # Frame buffer hardware drivers
1385 #
1386
1387 #
1388 # Video support for sunxi
1389 #
1390 CONFIG_SUNIV_FB=y
1391 CONFIG_SUNXI_BOOT_COLORBAR=y
1392 CONFIG_SUNIV_LCD=y
1393 # CONFIG_SUNIV_HDMI is not set
1394 CONFIG_FB_ARMHDLCD=y
1395 # CONFIG_FB_S1D13XXX is not set
1396 # CONFIG_FB_SMSCUFX is not set
1397 # CONFIG_FB_UDL is not set
1398 # CONFIG_FB_GOLDFISH is not set
1399 # CONFIG_FB_VIRTUAL is not set
1400 # CONFIG_FB_METRONOME is not set
1401 # CONFIG_FB_BROADSHEET is not set
1402 # CONFIG_FB_AUO_K190X is not set
1403 # CONFIG_FB_SIMPLE is not set
1404 # CONFIG_EXYNOS_VIDEO is not set
1405 # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1406
1407 #
1408 # Console display driver support
1409 #
1410 CONFIG_DUMMY_CONSOLE=y
1411 # CONFIG_FRAMEBUFFER_CONSOLE is not set
1412 CONFIG_LOGO=y
1413 CONFIG_LOGO_LINUX_MONO=y
1414 CONFIG_LOGO_LINUX_VGA16=y
1415 CONFIG_LOGO_LINUX_CLUT224=y
1416 # CONFIG_FB_SSD1307 is not set
1417 # CONFIG_SOUND is not set
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.20.0-dirty (root@le-desktop) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #134 SMP Wed Nov 4 10:12:45 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Sinlinx SinA33
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x45c00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34444 r8192 d22900 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32046
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 100372K/129196K available (6144K kernel code, 377K rwdata, 2092K rodata, 1024K init, 248K bss, 12440K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8000000 - 0xff800000 ( 888 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc7e2b000 ( 126 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 378 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 249 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000016] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000042] Switching to timer-based delay loop, resolution 41ns
[ 0.000852] Console: colour dummy device 80x30
[ 0.000946] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000977] pid_max: default: 32768 minimum: 301
[ 0.001307] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001338] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002668] CPU: Testing write buffer coherency: ok
[ 0.003448] /cpus/cpu@0 missing clock-frequency property
[ 0.003491] /cpus/cpu@1 missing clock-frequency property
[ 0.003527] /cpus/cpu@2 missing clock-frequency property
[ 0.003562] /cpus/cpu@3 missing clock-frequency property
[ 0.003589] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004678] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.004999] rcu: Hierarchical SRCU implementation.
[ 0.006471] smp: Bringing up secondary CPUs ...
[ 0.007957] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009604] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.011261] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011452] smp: Brought up 1 node, 4 CPUs
[ 0.011504] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.011520] CPU: All CPU(s) started in HYP mode.
[ 0.011532] CPU: Virtualization extensions available.
[ 0.013271] devtmpfs: initialized
[ 0.026378] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.026810] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026860] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.028642] pinctrl core: initialized pinctrl subsystem
[ 0.030775] NET: Registered protocol family 16
[ 0.033678] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.035915] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035937] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.068197] SCSI subsystem initialized
[ 0.068646] usbcore: registered new interface driver usbfs
[ 0.068748] usbcore: registered new interface driver hub
[ 0.068908] usbcore: registered new device driver usb
[ 0.069382] pps_core: LinuxPPS API ver. 1 registered
[ 0.069400] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.069445] PTP clock support registered
[ 0.069885] Advanced Linux Sound Architecture Driver Initialized.
[ 0.071706] clocksource: Switched to clocksource arch_sys_counter
[ 0.073029] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[ 0.073066] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[ 0.092627] Console: switching to colour frame buffer device 100x37
[ 0.112833] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[ 0.129070] NET: Registered protocol family 2
[ 0.130194] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.130253] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.130306] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.130360] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.130595] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.130675] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.131071] NET: Registered protocol family 1
[ 0.132369] RPC: Registered named UNIX socket transport module.
[ 0.132398] RPC: Registered udp transport module.
[ 0.132412] RPC: Registered tcp transport module.
[ 0.132425] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.135983] Initialise system trusted keyrings
[ 0.136425] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.152186] NFS: Registering the id_resolver key type
[ 0.152266] Key type id_resolver registered
[ 0.152285] Key type id_legacy registered
[ 0.152369] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.158933] Key type asymmetric registered
[ 0.158968] Asymmetric key parser 'x509' registered
[ 0.159116] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.159141] io scheduler noop registered
[ 0.159518] io scheduler cfq registered (default)
[ 0.162071] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[ 0.164325] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[ 0.170575] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.279223] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.284345] printk: console [ttyS0] disabled
[ 0.304658] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.985794] printk: console [ttyS0] enabled
[ 1.014892] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 1.048670] 1c28c00.serial: ttyS2 at MMIO 0x1c28c00 (irq = 38, base_baud = 1500000) is a U6_16550A
[ 1.059950] drivers/base/component.c 221 try_to_bring_up_master
[ 1.065941] drivers/base/component.c 223 try_to_bring_up_master
[ 1.071890] drivers/base/component.c 165 find_components
[ 1.077203] match->num = 5
[ 1.080002] drivers/base/component.c 174 find_components
[ 1.085337] drivers/base/component.c 179 find_components
[ 1.090651] drivers/base/component.c 148 find_component
[ 1.095906] drivers/base/component.c 156 find_component
[ 1.101132] drivers/base/component.c 194 find_components
[ 1.106470] drivers/base/component.c 195 find_components ret=-6
[ 1.112412] drivers/base/component.c 225 try_to_bring_up_master
[ 1.121326] drivers/base/component.c 559 component_add
[ 1.126540] drivers/base/component.c 563 component_add
[ 1.131706] drivers/base/component.c 566 component_add
[ 1.136846] drivers/base/component.c 571 component_add
[ 1.142008] drivers/base/component.c 255 try_to_bring_up_masters
[ 1.148015] drivers/base/component.c 221 try_to_bring_up_master
[ 1.153956] drivers/base/component.c 223 try_to_bring_up_master
[ 1.159875] drivers/base/component.c 165 find_components
[ 1.165207] match->num = 5
[ 1.168006] drivers/base/component.c 174 find_components
[ 1.173340] drivers/base/component.c 179 find_components
[ 1.178653] drivers/base/component.c 148 find_component
[ 1.183900] drivers/base/component.c 152 find_component
[ 1.189127] drivers/base/component.c 156 find_component
[ 1.194374] drivers/base/component.c 194 find_components
[ 1.199688] drivers/base/component.c 195 find_components ret=-6
[ 1.205629] drivers/base/component.c 225 try_to_bring_up_master
[ 1.211549] drivers/base/component.c 581 component_add
[ 1.217397] drivers/base/component.c 559 component_add
[ 1.222582] drivers/base/component.c 563 component_add
[ 1.227722] drivers/base/component.c 566 component_add
[ 1.232885] drivers/base/component.c 571 component_add
[ 1.238024] drivers/base/component.c 255 try_to_bring_up_masters
[ 1.244054] drivers/base/component.c 221 try_to_bring_up_master
[ 1.249973] drivers/base/component.c 223 try_to_bring_up_master
[ 1.255914] drivers/base/component.c 165 find_components
[ 1.261225] match->num = 5
[ 1.264045] drivers/base/component.c 174 find_components
[ 1.269358] drivers/base/component.c 179 find_components
[ 1.274691] drivers/base/component.c 148 find_component
[ 1.279917] drivers/base/component.c 152 find_component
[ 1.285165] drivers/base/component.c 152 find_component
[ 1.290392] drivers/base/component.c 156 find_component
[ 1.295639] drivers/base/component.c 194 find_components
[ 1.300952] drivers/base/component.c 195 find_components ret=-6
[ 1.306910] drivers/base/component.c 225 try_to_bring_up_master
[ 1.312853] drivers/base/component.c 581 component_add
[ 1.318460] drivers/base/component.c 559 component_add
[ 1.323638] drivers/base/component.c 563 component_add
[ 1.328777] drivers/base/component.c 566 component_add
[ 1.333943] drivers/base/component.c 571 component_add
[ 1.339083] drivers/base/component.c 255 try_to_bring_up_masters
[ 1.345111] drivers/base/component.c 221 try_to_bring_up_master
[ 1.351030] drivers/base/component.c 223 try_to_bring_up_master
[ 1.356970] drivers/base/component.c 165 find_components
[ 1.362303] match->num = 5
[ 1.365103] drivers/base/component.c 174 find_components
[ 1.370415] drivers/base/component.c 179 find_components
[ 1.375749] drivers/base/component.c 148 find_component
[ 1.380975] drivers/base/component.c 152 find_component
[ 1.386223] drivers/base/component.c 152 find_component
[ 1.391449] drivers/base/component.c 152 find_component
[ 1.396697] drivers/base/component.c 174 find_components
[ 1.402030] drivers/base/component.c 179 find_components
[ 1.407342] drivers/base/component.c 148 find_component
[ 1.412587] drivers/base/component.c 152 find_component
[ 1.417814] drivers/base/component.c 152 find_component
[ 1.423062] drivers/base/component.c 174 find_components
[ 1.428374] drivers/base/component.c 179 find_components
[ 1.433707] drivers/base/component.c 148 find_component
[ 1.438933] drivers/base/component.c 152 find_component
[ 1.444181] drivers/base/component.c 174 find_components
[ 1.449494] drivers/base/component.c 179 find_components
[ 1.454826] drivers/base/component.c 148 find_component
[ 1.460052] drivers/base/component.c 152 find_component
[ 1.465299] drivers/base/component.c 152 find_component
[ 1.470525] drivers/base/component.c 152 find_component
[ 1.475772] drivers/base/component.c 156 find_component
[ 1.480998] drivers/base/component.c 194 find_components
[ 1.486333] drivers/base/component.c 195 find_components ret=-6
[ 1.492273] drivers/base/component.c 225 try_to_bring_up_master
[ 1.498192] drivers/base/component.c 581 component_add
[ 1.504468] sun6i-mipi-dsi 1ca0000.dsi: modalias failure on /soc/dsi@1ca0000/port
[ 1.512258] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 1031 sun6i_dsi_probe
[ 1.518876] drivers/base/component.c 559 component_add
[ 1.524052] drivers/base/component.c 563 component_add
[ 1.529191] drivers/base/component.c 566 component_add
[ 1.534353] drivers/base/component.c 571 component_add
[ 1.539493] drivers/base/component.c 255 try_to_bring_up_masters
[ 1.545524] drivers/base/component.c 221 try_to_bring_up_master
[ 1.551444] drivers/base/component.c 223 try_to_bring_up_master
[ 1.557385] drivers/base/component.c 165 find_components
[ 1.562734] match->num = 5
[ 1.565534] drivers/base/component.c 174 find_components
[ 1.570846] drivers/base/component.c 174 find_components
[ 1.576182] drivers/base/component.c 174 find_components
[ 1.581495] drivers/base/component.c 174 find_components
[ 1.586830] drivers/base/component.c 179 find_components
[ 1.592165] drivers/base/component.c 148 find_component
[ 1.597391] drivers/base/component.c 152 find_component
[ 1.602639] drivers/base/component.c 152 find_component
[ 1.607865] drivers/base/component.c 152 find_component
[ 1.613112] drivers/base/component.c 152 find_component
[ 1.618338] drivers/base/component.c 156 find_component
[ 1.623585] drivers/base/component.c 194 find_components
[ 1.628899] drivers/base/component.c 195 find_components ret=-6
[ 1.634839] drivers/base/component.c 225 try_to_bring_up_master
[ 1.640758] drivers/base/component.c 581 component_add
[ 1.645919] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 1037 sun6i_dsi_probe
[ 1.653661] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 594 ili9881c_dsi_probe
[ 1.661264] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[ 1.668273] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 610 ili9881c_dsi_probe
[ 1.675738] ili9881c-dsi 1ca0000.dsi.0: Couldn't get our reset GPIO
[ 1.682224] ili9881c-dsi 1ca0000.dsi.0: Dropping the link to regulator.2
[ 1.694258] libphy: Fixed MDIO Bus: probed
[ 1.698384] CAN device driver interface
[ 1.704070] usbcore: registered new interface driver r8152
[ 1.709649] usbcore: registered new interface driver cdc_ether
[ 1.715590] usbcore: registered new interface driver cdc_eem
[ 1.721314] usbcore: registered new interface driver dm9601
[ 1.726981] usbcore: registered new interface driver rndis_host
[ 1.733065] usbcore: registered new interface driver cdc_ncm
[ 1.738731] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.745291] ehci-platform: EHCI generic platform driver
[ 1.750918] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.756582] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.765037] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[ 1.791714] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.799435] hub 1-0:1.0: USB hub found
[ 1.803331] hub 1-0:1.0: 1 port detected
[ 1.808415] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.814686] ohci-platform: OHCI generic platform driver
[ 1.820319] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.827020] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.835146] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[ 1.907110] hub 2-0:1.0: USB hub found
[ 1.910962] hub 2-0:1.0: 1 port detected
[ 1.916154] usbcore: registered new interface driver cdc_wdm
[ 1.922035] usbcore: registered new interface driver usb-storage
[ 1.928749] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.939619] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.949659] ctp_fetch_sysconfig_para: ctp_power_io is invalid.
[ 1.955653] ctp_fetch_sysconfig_para: wakeup_gpio is invalid.
[ 1.961534] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[ 1.968031] (NULL device *): deviceless supply none not found, using dummy regulator
[ 1.975873] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[ 1.982340] ctp_init_platform_resource: ctp_fetch_sysconfig_para err.
[ 1.988789] ctp_get_system_config:fwname:gsl_t1_v2
[ 1.993606] fw_index = 12
[ 2.062227] rotary-encoder rotary@0: gray
[ 2.067376] input: rotary@0 as /devices/platform/rotary@0/input/input0
[ 2.075649] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 2.080714] sun6i-rtc 1f00000.rtc: RTC enabled
[ 2.085608] i2c /dev entries driver
[ 2.089578] drivers/i2c/busses/i2c-mv64xxx.c 882 mv64xxx_i2c_probe
[ 2.096888] GSLX680 Enter gsl_ts_probe
[ 2.101126] [GSLX680] Enter gsl_ts_init_ts
[ 2.106034] input: gslX680 as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0040/input/input1
[ 2.118619] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 2.121748] drivers/input/touchscreen/gslx680new/gslX680.c 1531 glsX680_init_events
[ 2.161742] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 2.169398] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[ 2.176320] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 2.184308] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 2.221725] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 2.229332] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[ 2.271751] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 2.272228] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.280933] usbcore: registered new interface driver usbhid
[ 2.291529] mmc0: new high speed SDHC card at address aaaa
[ 2.292360] usbhid: USB HID core driver
[ 2.300215] NET: Registered protocol family 17
[ 2.302966] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 2.306292] can: controller area network core (rev 20170425 abi 9)
[ 2.317105] NET: Registered protocol family 29
[ 2.321569] can: raw protocol (rev 20170425)
[ 2.325529] mmcblk0: p1 p2
[ 2.325888] can: broadcast manager protocol (rev 20170425 t)
[ 2.334362] can: netlink gateway (rev 20170425) max_hops=1
[ 2.340403] Key type dns_resolver registered
[ 2.344949] Registering SWP/SWPB emulation handler
[ 2.351028] Loading compiled-in X.509 certificates
[ 2.373006] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 2.382057] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 594 ili9881c_dsi_probe
[ 2.389737] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[ 2.396757] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 610 ili9881c_dsi_probe
[ 2.397458] hub 1-1:1.0: USB hub found
[ 2.404311] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 616 ili9881c_dsi_probe
[ 2.408127] hub 1-1:1.0: 4 ports detected
[ 2.415360] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 627 ili9881c_dsi_probe
[ 2.415368] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 635 ili9881c_dsi_probe
[ 2.415377] drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c 833 sun6i_dsi_attach
[ 2.415402] sun6i-mipi-dsi 1ca0000.dsi: Attached device lhr050h41
[ 2.446912] mmc2: new DDR MMC card at address 0001
[ 2.448259] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[ 2.457184] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[ 2.463982] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[ 2.472352] mmcblk2: p1 p2
[ 2.480892] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[ 2.494375] input: keys as /devices/platform/keys/input/input2
[ 2.502317] input: gpio_keys as /devices/platform/gpio_keys/input/input3
[ 2.511309] Boot process: init
[ 2.514430] drivers/video/console/logo_linux_clut.c 173 boot_process_init
[ 2.521440] vcc3v0: disabling
[ 2.524455] ALSA device list:
[ 2.527431] #0: sun8i-a33-audio
[ 2.550770] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.559020] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.568712] devtmpfs: mounted
[ 2.574536] Freeing unused kernel memory: 1024K
[ 2.579457] Run /sbin/init as init process
[ 2.668203] random: fast init done
[ 2.672161] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
看上面启动信息,sun6i-mipi-dsi 1ca0000.dsi: Attached device lhr050h41,设备其实已经加载,但是发现死在drivers/base/component.c 148 ,find_component,这个函数内了,不知道咋回事
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts index f180c841ac3c..703055f2a4fb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts @@ -9,6 +9,7 @@ #include "sun50i-a64.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/pwm/pwm.h> / { model = "Amarula A64-Relic"; @@ -18,6 +19,14 @@ serial0 = &uart0; }; + backlight: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; + brightness-levels = <1 2 4 8 16 32 64 128 512>; + default-brightness-level = <2>; + enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>; /* LCD-BL-EN: PD23 */ + }; + chosen { stdout-path = "serial0:115200n8"; }; @@ -83,6 +92,30 @@ }; }; +&de { + status = "okay"; +}; + +&dphy { + status = "okay"; +}; + +&dsi { + vcc-dsi-supply = <®_dldo1>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + panel@0 { + compatible = "techstar,ts8550b", "sitronix,st7701"; + reg = <0>; + VCC-supply = <®_dldo2>; + IOVCC-supply = <®_dldo2>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ + backlight = <&backlight>; + }; +}; + &ehci0 { status = "okay"; }; @@ -160,6 +193,12 @@ status = "okay"; }; +&pwm { + pinctrl-names = "default"; + pinctrl-0 = <&pwm_pin>; + status = "okay"; +}; + &r_rsb { status = "okay";
你好,参照之后,函数貌似死在这个地方了:
设备树:
dsi: dsi@1ca0000 {
compatible = "allwinner,sun6i-a31-mipi-dsi";
reg = <0x01ca0000 0x1000>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_MIPI_DSI>,
<&ccu CLK_DSI_SCLK>;
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_MIPI_DSI>;
phys = <&dphy>;
phy-names = "dphy";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
port {
dsi_in_tcon0: endpoint {
remote-endpoint = <&tcon0_out_dsi>;
};
};
};
&dsi {
status = "okay";
panel@0 {
compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
reg = <0>;
power-supply = <®_vcc3v3>;
reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
/*backlight = <&backlight>;*/ //直接供电了没用到背光
};
};
淘宝上买了一个 GT911 触摸屏, 但是发现 无论用 evtest 还是 ts_print_raw 读出来的最大宽高都是800 x 480
http://whycan.com/t_2358.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
Allwinner全志V3s板子用ns2009驱动电阻触摸屏,在荔枝派zero工作好好的软件,我的板子出这个错误:
[ 13.046734] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 13.053285] input input1: Poll touch data failed: -110
[ 15.206667] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 15.213230] input input1: Poll touch data failed: -110
[ 17.366664] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 17.373225] input input1: Poll touch data failed: -110
[ 19.526660] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 19.533223] input input1: Poll touch data failed: -110
[ 21.686660] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 21.693220] input input1: Poll touch data failed: -110
[ 23.846663] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 23.853220] input input1: Poll touch data failed: -110
请问一下,我现在遇到同样的问题,上拉也给安排上了,但是还是一样的错误,这是怎么回事?
89.440754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 91.520754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 93.600759] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 95.680755] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 97.760754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 99.840761] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 101.920755] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 104.000756] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 106.080762] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 108.160756] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 110.240753] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 112.320752] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 114.400754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 116.480753] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 118.560753] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 120.640759] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 122.720753] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 124.800754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 126.880759] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 128.960754] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 131.040755] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 133.120759] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 135.200755] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 137.280757] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 139.361038] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
https://elixir.bootlin.com/linux/v5.9/source/drivers/input/touchscreen/silead.c#L339
就是读chip id 错误, 检查硬件有没有问题, 逻辑分析仪伺候一下.
你好,我更换了一个没有问题的芯片,但是依旧是读取chip id 错误:
drivers/input/touchscreen/silead.c 477 silead_ts_probe
[ 1.293810] drivers/input/touchscreen/silead.c 485 silead_ts_probe
[ 1.299996] drivers/input/touchscreen/silead.c 492 silead_ts_probe
[ 1.306213] drivers/input/touchscreen/silead.c 498 silead_ts_probe
[ 1.312418] drivers/input/touchscreen/silead.c 502 silead_ts_probe
[ 1.318634] silead_ts 0-0040: 0-0040 supply vddio not found, using dummy regulator
[ 1.326344] silead_ts 0-0040: Linked as a consumer to regulator.0
[ 1.332506] silead_ts 0-0040: 0-0040 supply avdd not found, using dummy regulator
[ 1.340111] drivers/input/touchscreen/silead.c 509 silead_ts_probe
[ 1.346306] drivers/input/touchscreen/silead.c 518 silead_ts_probe
[ 1.352518] drivers/input/touchscreen/silead.c 522 silead_ts_probe
[ 1.358776] drivers/input/touchscreen/silead.c 530 silead_ts_probe
[ 1.440182] drivers/input/touchscreen/silead.c silead_ts_get_id 343
[ 1.510064] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1.711876] hub 1-1:1.0: USB hub found
[ 1.715872] hub 1-1:1.0: 4 ports detected
[ 2.140059] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[ 2.610119] usb 1-1.4: reset high-speed USB device number 3 using ehci-platform
[ 2.903169] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[ 2.951245] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Random ether addr aa:88:99:10:32:06
[ 2.962124] r8152 1-1.4:1.0 eth0: v1.09.9
[ 3.530064] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[ 3.536611] drivers/input/touchscreen/silead.c silead_ts_get_id 346
[ 3.542911] error = -110
[ 3.545459] silead_ts 0-0040: Chip ID read error -110
[ 3.550819] silead_ts: probe of 0-0040 failed with error -110
[ 3.560700] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
驱动就是这个了: drivers/input/touchscreen/silead.c
勾选 CONFIG_TOUCHSCREEN_SILEAD
配置设备树: "silead,gsl1680"
勾选了CONFIG_TOUCHSCREEN_SILEAD,并配置了设备树:
gsl1680: touchscreen@40 {
compatible = "silead,gsl1680";
reg = <0x40>;
interrupt-parent = <&pio>;
interrupts = <6 10 IRQ_TYPE_EDGE_FALLING>;//PG10
/*power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>;*/
touchscreen-size-x = <600>;
touchscreen-size-y = <800>;
touchscreen-inverted-x;
touchscreen-swapped-x-y;
silead,max-fingers = <5>;
};
运行后一直出现:
silead_ts 0-0040: Chip ID read error -6
我在想,驱动是内核提供的应该不会出错,那就可能是设备树部分,0x40是i2c的设备地址,但是也没有涉及到chip_id呀,有点不明白,哪里出问题了。
下面是设备树的配置:
ctp{
compatible = "gslX680";
ctp_used = <1>;
ctp_name = "gsl_t1_v2";
ctp_twi_id = <0>;
ctp_twi_addr = <0x40>;
ctp_screen_max_x = <600>;
ctp_screen_max_y = <800>;
ctp_revert_x_flag = <0>;
ctp_revert_y_flag = <0>;
ctp_exchange_x_y_flag = <1>;
i2c-max-frequency = <100000>;
/*ctp_int_port = <&pio PE 10 0 6 1 1>;*/
/*ctp_wakeup = <&pio PE 9 0 1 1 1>;*/
/*interrupt-parent = <&pio>;*/
ctp_int_port = <&pio 6 10 IRQ_TYPE_LEVEL_LOW>; /*PG10*/
ctp_power_ldo = "none";
ctp_power_ldo_vol = <3300>;
/*ctp_power_io = <>;*/
reg=<0x40>;
};
移植通过,也生成了设备event1,但是貌似内核崩了,这是怎么回事?
[ 0.001340] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002668] CPU: Testing write buffer coherency: ok
[ 0.003442] /cpus/cpu@0 missing clock-frequency property
[ 0.003487] /cpus/cpu@1 missing clock-frequency property
[ 0.003522] /cpus/cpu@2 missing clock-frequency property
[ 0.003560] /cpus/cpu@3 missing clock-frequency property
[ 0.003590] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004690] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.005022] rcu: Hierarchical SRCU implementation.
[ 0.006477] smp: Bringing up secondary CPUs ...
[ 0.007977] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009644] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.011288] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011474] smp: Brought up 1 node, 4 CPUs
[ 0.011524] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.011539] CPU: All CPU(s) started in HYP mode.
[ 0.011551] CPU: Virtualization extensions available.
[ 0.013306] devtmpfs: initialized
[ 0.026627] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.027048] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.027098] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.028862] pinctrl core: initialized pinctrl subsystem
[ 0.030936] NET: Registered protocol family 16
[ 0.033777] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.035878] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035904] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.067325] SCSI subsystem initialized
[ 0.067784] usbcore: registered new interface driver usbfs
[ 0.067890] usbcore: registered new interface driver hub
[ 0.068056] usbcore: registered new device driver usb
[ 0.068488] pps_core: LinuxPPS API ver. 1 registered
[ 0.068506] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.068550] PTP clock support registered
[ 0.068995] Advanced Linux Sound Architecture Driver Initialized.
[ 0.070771] clocksource: Switched to clocksource arch_sys_counter
[ 0.072070] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[ 0.072104] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[ 0.091621] Console: switching to colour frame buffer device 100x37
[ 0.108683] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[ 0.124641] NET: Registered protocol family 2
[ 0.125788] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.125846] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.125897] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.125950] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.126166] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.126249] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.126660] NET: Registered protocol family 1
[ 0.127828] RPC: Registered named UNIX socket transport module.
[ 0.127856] RPC: Registered udp transport module.
[ 0.127870] RPC: Registered tcp transport module.
[ 0.127883] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.131465] Initialise system trusted keyrings
[ 0.131912] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.147333] NFS: Registering the id_resolver key type
[ 0.147414] Key type id_resolver registered
[ 0.147430] Key type id_legacy registered
[ 0.147514] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.153806] Key type asymmetric registered
[ 0.153845] Asymmetric key parser 'x509' registered
[ 0.154003] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.154026] io scheduler noop registered
[ 0.154398] io scheduler cfq registered (default)
[ 0.156773] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[ 0.159014] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[ 0.165280] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.272721] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.277717] printk: console [ttyS0] disabled
[ 0.298071] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.979356] printk: console [ttyS0] enabled
[ 0.996267] libphy: Fixed MDIO Bus: probed
[ 1.000393] CAN device driver interface
[ 1.005988] usbcore: registered new interface driver r8152
[ 1.011629] usbcore: registered new interface driver cdc_ether
[ 1.017527] usbcore: registered new interface driver cdc_eem
[ 1.023313] usbcore: registered new interface driver dm9601
[ 1.028950] usbcore: registered new interface driver rndis_host
[ 1.035007] usbcore: registered new interface driver cdc_ncm
[ 1.040671] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.047225] ehci-platform: EHCI generic platform driver
[ 1.052878] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.058514] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.066963] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[ 1.100788] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.108518] hub 1-0:1.0: USB hub found
[ 1.112412] hub 1-0:1.0: 1 port detected
[ 1.117447] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.123727] ohci-platform: OHCI generic platform driver
[ 1.129377] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.136092] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.144278] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[ 1.216226] hub 2-0:1.0: USB hub found
[ 1.220067] hub 2-0:1.0: 1 port detected
[ 1.225312] usbcore: registered new interface driver cdc_wdm
[ 1.231210] usbcore: registered new interface driver usb-storage
[ 1.237867] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.248769] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.259243] ctp_fetch_sysconfig_para: ctp_power_io is invalid.
[ 1.265250] ctp_fetch_sysconfig_para: wakeup_gpio is invalid.
[ 1.271180] (NULL device *): deviceless supply none not found, using dummy regulator
[ 1.279007] ------------[ cut here ]------------
[ 1.283693] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.291719] invalid GPIO -2
[ 1.294517] Modules linked in:
[ 1.297593] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.20.0-dirty #77
[ 1.304118] Hardware name: Allwinner sun8i Family
[ 1.308877] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.316641] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.323884] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.330771] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.338266] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.346286] [<c03a5380>] (gpio_to_desc) from [<c03a91cc>] (gpio_request+0x10/0x40)
[ 1.353877] [<c03a91cc>] (gpio_request) from [<c05167c4>] (ctp_init_platform_resource+0x48/0xe8)
[ 1.362681] [<c05167c4>] (ctp_init_platform_resource) from [<c0a1eb9c>] (gsl_ts_init+0x5c/0x1e8)
[ 1.371481] [<c0a1eb9c>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.379326] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.388038] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.396227] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.403797] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.408860] bfa0: 00000000 00000000 00000000 00000000
[ 1.417045] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.425226] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.432010] ---[ end trace a905e444147477ec ]---
[ 1.436634] ------------[ cut here ]------------
[ 1.441293] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.449293] invalid GPIO -2
[ 1.452118] Modules linked in:
[ 1.455190] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.20.0-dirty #77
[ 1.463103] Hardware name: Allwinner sun8i Family
[ 1.467828] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.475584] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.482820] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.489706] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.497201] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.505217] [<c03a5380>] (gpio_to_desc) from [<c05167d4>] (ctp_init_platform_resource+0x58/0xe8)
[ 1.514012] [<c05167d4>] (ctp_init_platform_resource) from [<c0a1eb9c>] (gsl_ts_init+0x5c/0x1e8)
[ 1.522807] [<c0a1eb9c>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.530648] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.539355] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.547542] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.555110] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.560169] bfa0: 00000000 00000000 00000000 00000000
[ 1.568353] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.576534] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.583287] ---[ end trace a905e444147477ed ]---
[ 1.587909] ctp_get_system_config:fwname:gsl_t1_v2
[ 1.592732] fw_index = 12
[ 1.630768] ------------[ cut here ]------------
[ 1.635421] WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.643474] invalid GPIO -2
[ 1.646272] Modules linked in:
[ 1.649343] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.20.0-dirty #77
[ 1.657255] Hardware name: Allwinner sun8i Family
[ 1.661982] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.669740] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.676977] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.683864] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.691359] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.699375] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 1.706783] [<c050f450>] (ctp_wakeup) from [<c0a1ecf0>] (gsl_ts_init+0x1b0/0x1e8)
[ 1.714278] [<c0a1ecf0>] (gsl_ts_init) from [<c01026dc>] (do_one_initcall+0x54/0x194)
[ 1.722119] [<c01026dc>] (do_one_initcall) from [<c0a00e28>] (kernel_init_freeable+0x144/0x1dc)
[ 1.730829] [<c0a00e28>] (kernel_init_freeable) from [<c069f640>] (kernel_init+0x8/0x114)
[ 1.739016] [<c069f640>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 1.746583] Exception stack(0xc782bfb0 to 0xc782bff8)
[ 1.751643] bfa0: 00000000 00000000 00000000 00000000
[ 1.759826] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.768007] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.774759] ---[ end trace a905e444147477ee ]---
[ 1.801319] rotary-encoder rotary@0: gray
[ 1.806551] input: rotary@0 as /devices/platform/rotary@0/input/input0
[ 1.814819] sun6i-rtc 1f00000.rtc: registered as rtc0
[ 1.819885] sun6i-rtc 1f00000.rtc: RTC enabled
[ 1.824793] i2c /dev entries driver
[ 1.829790] GSLX680 Enter gsl_ts_probe
[ 1.834072] [GSLX680] Enter gsl_ts_init_ts
[ 1.838751] input: gslX680 as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0040/input/input1
[ 1.847192] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 1.858496] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 1.860823] ------------[ cut here ]------------
[ 1.869677] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 1.877718] invalid GPIO -2
[ 1.880519] Modules linked in:
[ 1.883617] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 1.891791] Hardware name: Allwinner sun8i Family
[ 1.896518] Workqueue: gslX680_init glsX680_init_events
[ 1.900802] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.901789] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 1.909422] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[ 1.916462] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 1.916491] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 1.916519] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 1.924263] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.930262] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 1.957812] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 1.965223] [<c050f450>] (ctp_wakeup) from [<c050fa9c>] (glsX680_init_events+0x18/0x6c)
[ 1.970820] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.973242] [<c050fa9c>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 1.973269] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 1.980898] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[ 1.988918] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.010903] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.018128] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.023190] bfa0: 00000000 00000000 00000000 00000000
[ 2.030877] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 2.031374] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.031391] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.040588] usbcore: registered new interface driver usbhid
[ 2.046661] ---[ end trace a905e444147477ef ]---
[ 2.053192] usbhid: USB HID core driver
[ 2.075140] NET: Registered protocol family 17
[ 2.079640] can: controller area network core (rev 20170425 abi 9)
[ 2.086078] NET: Registered protocol family 29
[ 2.090537] can: raw protocol (rev 20170425)
[ 2.094871] can: broadcast manager protocol (rev 20170425 t)
[ 2.100574] can: netlink gateway (rev 20170425) max_hops=1
[ 2.106596] Key type dns_resolver registered
[ 2.111145] Registering SWP/SWPB emulation handler
[ 2.117326] Loading compiled-in X.509 certificates
[ 2.118122] hub 1-1:1.0: USB hub found
[ 2.126289] ------------[ cut here ]------------
[ 2.131154] WARNING: CPU: 0 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 2.138964] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 2.139162] invalid GPIO -2
[ 2.139179] Modules linked in:
[ 2.152380] CPU: 0 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 2.160561] Hardware name: Allwinner sun8i Family
[ 2.165303] Workqueue: gslX680_init glsX680_init_events
[ 2.170578] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.178344] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 2.185587] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.192475] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 2.199973] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.207990] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 2.215397] [<c050f498>] (ctp_wakeup) from [<c050f724>] (init_chip+0x30/0x120)
[ 2.222632] [<c050f724>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.230564] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.239274] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.247379] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.254790] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.262013] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.267076] bfa0: 00000000 00000000 00000000 00000000
[ 2.275260] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.283441] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.290224] ---[ end trace a905e444147477f1 ]---
[ 2.295019] hub 1-1:1.0: 4 ports detected
[ 2.301451] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[ 2.305879] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.315006] input: keys as /devices/platform/keys/input/input2
[ 2.321163] mmc0: new high speed SDHC card at address aaaa
[ 2.323563] input: gpio_keys as /devices/platform/gpio_keys/input/input3
[ 2.328427] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 2.337275] vcc3v0: disabling
[ 2.341442] ALSA device list:
[ 2.344423] #0: sun8i-a33-audio
[ 2.354151] mmcblk0: p1 p2
[ 2.363439] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.370811] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.390782] ------------[ cut here ]------------
[ 2.395454] WARNING: CPU: 3 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 2.403486] invalid GPIO -2
[ 2.406141] mmc2: new DDR MMC card at address 0001
[ 2.406284] Modules linked in:
[ 2.406321] CPU: 3 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 2.412606] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[ 2.414147] Hardware name: Allwinner sun8i Family
[ 2.414195] Workqueue: gslX680_init glsX680_init_events
[ 2.423426] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[ 2.426926] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.426972] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 2.431714] random: fast init done
[ 2.436883] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.443612] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[ 2.450525] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 2.450552] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.450586] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 2.460000] mmcblk2: p1 p2
[ 2.461210] [<c050f450>] (ctp_wakeup) from [<c050f738>] (init_chip+0x44/0x120)
[ 2.461231] [<c050f738>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.461259] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.461297] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.503420] EXT4-fs (mmcblk0p2): recovery complete
[ 2.506970] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.523024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.523571] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 2.531788] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.536422] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.546345] devtmpfs: mounted
[ 2.551890] bfa0: 00000000 00000000 00000000 00000000
[ 2.551909] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.551929] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 2.596992] ---[ end trace a905e444147477f2 ]---
[ 2.604343] Freeing unused kernel memory: 1024K
[ 2.651195] Run /sbin/init as init process
[ 2.739712] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 2.800896] usb 1-1.4: new high-speed USB device number 3 using ehci-platform
[ 2.820881] ------------[ cut here ]------------
[ 2.825611] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
Starting syslogd: [ 2.833700] invalid GPIO -2
[ 2.838046] Modules linked in:
[ 2.841217] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
OK[ 2.849424] Hardware name: Allwinner sun8i Family
[ 2.854335] Workqueue: gslX680_init glsX680_init_events
[ 2.859617] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 2.867538] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
Starting klogd: [ 2.874837] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 2.883139] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
OK
[ 2.890691] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 2.899062] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
Running sysctl: [ 2.906512] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 2.915128] [<c050f4fc>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 2.922376] [<c050f7d8>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 2.930407] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 2.939213] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 2.947380] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 2.954824] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
OK
[ 2.962053] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 2.967452] bfa0: 00000000 00000000 00000000 00000000
[ 2.975664] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 2.983884] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Initializing random number generator... [ 2.990738] ---[ end trace a905e444147477f3 ]---
[ 3.017803] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: [ 3.050896] ------------[ cut here ]------------
[ 3.055622] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.063750] invalid GPIO -2
[ 3.066597] Modules linked in:
[ 3.069722] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.077930] Hardware name: Allwinner sun8i Family
[ 3.082712] Workqueue: gslX680_init glsX680_init_events
[ 3.088056] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.095857] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.103110] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.109999] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.117498] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.125519] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 3.132931] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 3.140165] [<c050f514>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 3.147400] [<c050f7d8>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.155334] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.164044] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.172152] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.179564] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.186788] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.191850] bfa0: 00000000 00000000 00000000 00000000
[ 3.200035] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.208217] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.214985] ---[ end trace a905e444147477f4 ]---
OK
[ 3.290940] usb 1-1.4: reset high-speed USB device number 3 using ehci-platform
[ 3.360762] =============gsl_load_fw start==============
Welcome to Buildroot
buildroot login: [ 3.407438] =============gsl_load_fw end==============
[ 3.440768] ------------[ cut here ]------------
[ 3.445431] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.453489] invalid GPIO -2
[ 3.456296] Modules linked in:
[ 3.459374] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.467548] Hardware name: Allwinner sun8i Family
[ 3.472274] Workqueue: gslX680_init glsX680_init_events
[ 3.477544] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.485311] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.492555] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.499443] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.506941] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.514957] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 3.522365] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 3.529598] [<c050f4fc>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 3.536831] [<c050f7f0>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.544763] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.553474] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.561578] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.568990] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.576213] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.581274] bfa0: 00000000 00000000 00000000 00000000
[ 3.583880] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[ 3.589457] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.589473] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.589597] ---[ end trace a905e444147477f5 ]---
[ 3.641959] r8152 1-1.4:1.0 (unnamed net_device) (uninitialized): Random ether addr 8e:c3:97:63:2e:52
[ 3.652957] r8152 1-1.4:1.0 eth0: v1.09.9
[ 3.670770] ------------[ cut here ]------------
[ 3.675422] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 3.683484] invalid GPIO -2
[ 3.686290] Modules linked in:
[ 3.689362] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 3.697535] Hardware name: Allwinner sun8i Family
[ 3.702255] Workqueue: gslX680_init glsX680_init_events
[ 3.707518] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 3.715278] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 3.722517] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 3.729403] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 3.736898] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 3.744913] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 3.752320] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 3.759553] [<c050f514>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 3.766786] [<c050f7f0>] (init_chip) from [<c050faac>] (glsX680_init_events+0x28/0x6c)
[ 3.774716] [<c050faac>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 3.783427] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 3.791532] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 3.798941] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 3.806161] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 3.811223] bfa0: 00000000 00000000 00000000 00000000
[ 3.819407] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 3.827590] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 3.834318] ---[ end trace a905e444147477f6 ]---
[ 4.010889] gsl_ts_read set data address fail!
[ 4.015345] #########check mem read 0xb0 = 0 0 0 0 #########
[ 4.021056] ------------[ cut here ]------------
[ 4.025704] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.033732] invalid GPIO -2
[ 4.036545] Modules linked in:
[ 4.039615] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.047788] Hardware name: Allwinner sun8i Family
[ 4.052507] Workqueue: gslX680_init glsX680_init_events
[ 4.057760] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.065519] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.072756] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.079644] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.087140] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.095156] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 4.102562] [<c050f498>] (ctp_wakeup) from [<c050f724>] (init_chip+0x30/0x120)
[ 4.109794] [<c050f724>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.117289] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.125651] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.134360] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.142463] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.149871] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.157092] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.162153] bfa0: 00000000 00000000 00000000 00000000
[ 4.170337] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.178518] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.185253] ---[ end trace a905e444147477f7 ]---
[ 4.280758] ------------[ cut here ]------------
[ 4.285400] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.293454] invalid GPIO -2
[ 4.296253] Modules linked in:
[ 4.299325] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.307498] Hardware name: Allwinner sun8i Family
[ 4.312213] Workqueue: gslX680_init glsX680_init_events
[ 4.317461] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.325216] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.332453] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.339339] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.346834] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.354849] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 4.362254] [<c050f450>] (ctp_wakeup) from [<c050f738>] (init_chip+0x44/0x120)
[ 4.369487] [<c050f738>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.376981] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.385342] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.394051] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.402153] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.409561] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.416783] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.421843] bfa0: 00000000 00000000 00000000 00000000
[ 4.430028] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.438210] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.444944] ---[ end trace a905e444147477f8 ]---
[ 4.660752] ------------[ cut here ]------------
[ 4.665392] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.673433] invalid GPIO -2
[ 4.676238] Modules linked in:
[ 4.679308] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.687482] Hardware name: Allwinner sun8i Family
[ 4.692196] Workqueue: gslX680_init glsX680_init_events
[ 4.697445] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.705201] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.712438] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.719325] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.726822] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.734837] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 4.742243] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 4.749476] [<c050f4fc>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 4.756709] [<c050f7d8>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.764202] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 4.772563] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 4.781271] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 4.789373] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 4.796781] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 4.804002] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 4.809061] bfa0: 00000000 00000000 00000000 00000000
[ 4.817246] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 4.825428] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 4.832161] ---[ end trace a905e444147477f9 ]---
[ 4.890756] ------------[ cut here ]------------
[ 4.895393] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 4.903444] invalid GPIO -2
[ 4.906249] Modules linked in:
[ 4.909318] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 4.917490] Hardware name: Allwinner sun8i Family
[ 4.922204] Workqueue: gslX680_init glsX680_init_events
[ 4.927452] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 4.935208] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 4.942445] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 4.949332] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 4.956827] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 4.964841] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 4.972247] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 4.979480] [<c050f514>] (reset_chip) from [<c050f7d8>] (init_chip+0xe4/0x120)
[ 4.986713] [<c050f7d8>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 4.994207] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.002568] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.011275] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.019377] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.026785] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.034006] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.039066] bfa0: 00000000 00000000 00000000 00000000
[ 5.047252] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.055433] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.062175] ---[ end trace a905e444147477fa ]---
[ 5.210752] =============gsl_load_fw start==============
[ 5.257384] =============gsl_load_fw end==============
[ 5.290757] ------------[ cut here ]------------
[ 5.295399] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 5.303451] invalid GPIO -2
[ 5.306255] Modules linked in:
[ 5.309329] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 5.317501] Hardware name: Allwinner sun8i Family
[ 5.322216] Workqueue: gslX680_init glsX680_init_events
[ 5.327466] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 5.335224] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 5.342461] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 5.349347] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 5.356843] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 5.364857] [<c03a5380>] (gpio_to_desc) from [<c050f498>] (ctp_wakeup+0x98/0xc4)
[ 5.372264] [<c050f498>] (ctp_wakeup) from [<c050f4fc>] (reset_chip+0x38/0xcc)
[ 5.379496] [<c050f4fc>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 5.386730] [<c050f7f0>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 5.394224] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.402586] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.411295] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.419397] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.426805] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.434027] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.439087] bfa0: 00000000 00000000 00000000 00000000
[ 5.447273] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.455455] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.462189] ---[ end trace a905e444147477fb ]---
[ 5.520765] ------------[ cut here ]------------
[ 5.525402] WARNING: CPU: 1 PID: 7 at drivers/gpio/gpiolib.c:124 gpio_to_desc+0x98/0xc0
[ 5.533454] invalid GPIO -2
[ 5.536259] Modules linked in:
[ 5.539330] CPU: 1 PID: 7 Comm: kworker/u8:0 Tainted: G W 4.20.0-dirty #77
[ 5.547502] Hardware name: Allwinner sun8i Family
[ 5.552216] Workqueue: gslX680_init glsX680_init_events
[ 5.557464] [<c010ed08>] (unwind_backtrace) from [<c010b7ec>] (show_stack+0x10/0x14)
[ 5.565220] [<c010b7ec>] (show_stack) from [<c0689af8>] (dump_stack+0x88/0x9c)
[ 5.572456] [<c0689af8>] (dump_stack) from [<c011d600>] (__warn+0xdc/0xf4)
[ 5.579343] [<c011d600>] (__warn) from [<c011d660>] (warn_slowpath_fmt+0x48/0x6c)
[ 5.586839] [<c011d660>] (warn_slowpath_fmt) from [<c03a5380>] (gpio_to_desc+0x98/0xc0)
[ 5.594853] [<c03a5380>] (gpio_to_desc) from [<c050f450>] (ctp_wakeup+0x50/0xc4)
[ 5.602259] [<c050f450>] (ctp_wakeup) from [<c050f514>] (reset_chip+0x50/0xcc)
[ 5.609491] [<c050f514>] (reset_chip) from [<c050f7f0>] (init_chip+0xfc/0x120)
[ 5.616724] [<c050f7f0>] (init_chip) from [<c050f8a4>] (check_mem_data+0x90/0xd4)
[ 5.624220] [<c050f8a4>] (check_mem_data) from [<c050fab4>] (glsX680_init_events+0x30/0x6c)
[ 5.632581] [<c050fab4>] (glsX680_init_events) from [<c0134b90>] (process_one_work+0x204/0x418)
[ 5.641289] [<c0134b90>] (process_one_work) from [<c01359a0>] (worker_thread+0x44/0x5bc)
[ 5.649390] [<c01359a0>] (worker_thread) from [<c013a6b8>] (kthread+0x148/0x150)
[ 5.656798] [<c013a6b8>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[ 5.664020] Exception stack(0xc785bfb0 to 0xc785bff8)
[ 5.669079] bfa0: 00000000 00000000 00000000 00000000
[ 5.677263] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 5.685445] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 5.692178] ---[ end trace a905e444147477fc ]---
发现主线内核不支持gslx680触摸屏芯片,这个要怎么操作?
--- Touchscreens | |
| | < > Analog Devices AD7879-1/AD7889-1 touchscreen interface | |
| | < > Generic ADC based resistive touchscreen | |
| | < > Microchip AR1020/1021 i2c touchscreen | |
| | < > Atmel mXT I2C Touchscreen | |
| | < > AUO in-cell touchscreen using Pixcir ICs | |
| | < > BU21013 based touch panel controllers | |
| | < > Rohm BU21029 based touch panel controllers | |
| | < > chipone icn8318 touchscreen controller | |
| | < > cy8ctmg110 touchscreen | |
| | < > Cypress TTSP touchscreen | |
| | < > Cypress TrueTouch Gen4 Touchscreen Driver | |
| | < > Dynapro serial touchscreen | |
| | < > Hampshire serial touchscreen | |
| | < > EETI touchscreen panel support | |
| | < > EETI eGalax multi-touch panel support | |
| | < > EETI eGalax serial touchscreen | |
| | < > EETI EXC3000 multi-touch panel support | |
| | < > Fujitsu serial touchscreen | |
| | < > Goodix I2C touchscreen | |
| | < > HiDeep Touch IC | |
| | < > Ilitek ILI210X based touchscreen | |
| | < > Samsung S6SY761 Touchscreen driver | |
| | < > Gunze AHL-51S touchscreen | |
| | < > Elan eKTF2127 I2C touchscreen | |
| | < > Elan eKTH I2C touchscreen | |
| | < > Elo serial touchscreens | |
| | < > Wacom W8001 penabled serial touchscreen | |
| | < > Wacom Tablet support (I2C) | |
| | < > MAX11801 based touchscreens | |
| | < > MELFAS MCS-5000 touchscreen | |
| | < > MELFAS MMS114 touchscreen | |
| | < > MELFAS MIP4 Touchscreen | |
| | < > MicroTouch serial touchscreens | |
| | < > Freescale i.MX6UL touchscreen controller | |
| | < > iNexio serial touchscreens | |
| | < > ICS MicroClock MK712 touchscreen | |
| | < > Penmount serial touchscreen | |
| | < > EDT FocalTech FT5x06 I2C Touchscreen support | |
| | < > Touchright serial touchscreen | |
| | < > Touchwin serial touchscreen | |
| | < > PIXCIR I2C touchscreens | |
| | < > Weida HiTech I2C touchscreen | |
| | < > USB Touchscreen Driver | |
| | < > Sahara TouchIT-213 touchscreen | |
| | < > TSC-10/25/40 serial touchscreen support | |
| | < > TSC2004 based touchscreens | |
| | <*> TSC2007 based touchscreens | |
| | [ ] IIO interface for external ADC input and temperature | |
| | < > Raydium I2C Touchscreen | |
| | < > Silead I2C touchscreen | |
| | < > SiS 9200 family I2C touchscreen | |
| | < > Sitronix ST1232 touchscreen controllers | |
| | <*> Allwinner sun4i resistive touchscreen controller support | |
| | < > Semtech SX8654 touchscreen | |
| | < > TPS6507x based touchscreens
[ 1.535987] Loading compiled-in X.509 certificates
[ 1.557770] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 1.567880] tsc2007 0-0048: i2c io error: -6
[ 1.572241] tsc2007 0-0048: Failed to setup chip: -6
设备树:
&i2c0 {
status = "okay";
touchscreen: tsc2007@48 {
compatible = "ti,tsc2007";
reg = <0x48>;
interrupt-parent = <&r_pio>;
interrupts = <0 5 IRQ_TYPE_EDGE_FALLING>; /* (PL5) */
gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
pendown-gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>;
ti,x-plate-ohms = <660>;
wakeup-source;
};
};
那可能是同文件夹下面的全志其他rtc驱动程序?
我使用的是主线的内核4.20的,目录下支持的RTC驱动的兼容属性:
rtc-sun6i:
{ .compatible = "allwinner,sun6i-a31-rtc" },
rtc-sunxi:
{ .compatible = "allwinner,sun4i-a10-rtc", .data = &data_year_param[0] },
{ .compatible = "allwinner,sun7i-a20-rtc", .data = &data_year_param[1] },
没有a33或者a23的兼容属性,这是不是代表目前主线还不支持X3芯片内置的RTC了,那就需要移植了,请问您有什么好的建议吗?
[ 1.299215] drivers/rtc/rtc-sun6i.c 521 sun6i_rtc_probe
注册设备那地方加一些调试语句
感觉是驱动不对,在probe函数的第二个printk之前就死了!
static int sun6i_rtc_probe(struct platform_device *pdev)
{
struct sun6i_rtc_dev *chip = sun6i_rtc;
int ret;
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
if (!chip)
return -ENODEV;
platform_set_drvdata(pdev, chip);
chip->dev = &pdev->dev;
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
chip->irq = platform_get_irq(pdev, 0);
if (chip->irq < 0) {
dev_err(&pdev->dev, "No IRQ resource\n");
return chip->irq;
}
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
ret = devm_request_irq(&pdev->dev, chip->irq, sun6i_rtc_alarmirq,
0, dev_name(&pdev->dev), chip);
if (ret) {
dev_err(&pdev->dev, "Could not request IRQ\n");
return ret;
}
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
/* clear the alarm counter value */
writel(0, chip->base + SUN6I_ALRM_COUNTER);
/* disable counter alarm */
writel(0, chip->base + SUN6I_ALRM_EN);
/* disable counter alarm interrupt */
writel(0, chip->base + SUN6I_ALRM_IRQ_EN);
/* disable week alarm */
writel(0, chip->base + SUN6I_ALRM1_EN);
/* disable week alarm interrupt */
writel(0, chip->base + SUN6I_ALRM1_IRQ_EN);
/* clear counter alarm pending interrupts */
writel(SUN6I_ALRM_IRQ_STA_CNT_IRQ_PEND,
chip->base + SUN6I_ALRM_IRQ_STA);
/* clear week alarm pending interrupts */
writel(SUN6I_ALRM1_IRQ_STA_WEEK_IRQ_PEND,
chip->base + SUN6I_ALRM1_IRQ_STA);
/* disable alarm wakeup */
writel(0, chip->base + SUN6I_ALARM_CONFIG);
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
clk_prepare_enable(chip->losc);
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
chip->rtc = devm_rtc_device_register(&pdev->dev, "rtc-sun6i",
&sun6i_rtc_ops, THIS_MODULE);
if (IS_ERR(chip->rtc)) {
dev_err(&pdev->dev, "unable to register device\n");
return PTR_ERR(chip->rtc);
}
printk("%s %d %s\n",__FILE__,__LINE__,__FUNCTION__);
dev_info(&pdev->dev, "RTC enabled\n");
return 0;
}
RTC debug support
* RTC non volatile storage support
*** RTC interfaces ***
* /sys/class/rtc/rtcN (sysfs)
* /proc/driver/rtc (procfs for rtcN)
* /dev/rtcN (character devices)
*** on-CPU RTC drivers ***
* Allwinner A31 RTC
< > Faraday Technology FTRTC010 RTC
< > Freescale SNVS RTC support
< > EPSON TOYOCOM RTC-7301SF/DG
log:
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.20.0-dirty (root@le-desktop) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #60 SMP Sat Oct 17 14:43:06 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Sinlinx SinA33
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x45c00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34444 r8192 d22900 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32046
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait panic=10
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 101432K/129196K available (6144K kernel code, 352K rwdata, 1564K rodata, 1024K init, 242K bss, 11380K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8000000 - 0xff800000 ( 888 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc7e2b000 ( 126 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 353 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 243 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000014] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000041] Switching to timer-based delay loop, resolution 41ns
[ 0.000844] Console: colour dummy device 80x30
[ 0.000939] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000971] pid_max: default: 32768 minimum: 301
[ 0.001316] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001348] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002652] CPU: Testing write buffer coherency: ok
[ 0.003406] /cpus/cpu@0 missing clock-frequency property
[ 0.003451] /cpus/cpu@1 missing clock-frequency property
[ 0.003487] /cpus/cpu@2 missing clock-frequency property
[ 0.003523] /cpus/cpu@3 missing clock-frequency property
[ 0.003550] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004629] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.004915] rcu: Hierarchical SRCU implementation.
[ 0.006383] smp: Bringing up secondary CPUs ...
[ 0.007876] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009601] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.011283] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011472] smp: Brought up 1 node, 4 CPUs
[ 0.011520] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.011535] CPU: All CPU(s) started in HYP mode.
[ 0.011548] CPU: Virtualization extensions available.
[ 0.013312] devtmpfs: initialized
[ 0.026257] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.026688] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026739] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.028532] pinctrl core: initialized pinctrl subsystem
[ 0.030568] NET: Registered protocol family 16
[ 0.033344] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.035500] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035525] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.066962] SCSI subsystem initialized
[ 0.067383] usbcore: registered new interface driver usbfs
[ 0.067486] usbcore: registered new interface driver hub
[ 0.067655] usbcore: registered new device driver usb
[ 0.068108] pps_core: LinuxPPS API ver. 1 registered
[ 0.068127] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.068172] PTP clock support registered
[ 0.068613] Advanced Linux Sound Architecture Driver Initialized.
[ 0.070386] clocksource: Switched to clocksource arch_sys_counter
[ 0.071652] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[ 0.071687] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[ 0.091193] Console: switching to colour frame buffer device 100x37
[ 0.108262] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[ 0.124277] NET: Registered protocol family 2
[ 0.125445] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.125504] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.125557] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.125609] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.125832] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.125923] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.126338] NET: Registered protocol family 1
[ 0.127526] RPC: Registered named UNIX socket transport module.
[ 0.127554] RPC: Registered udp transport module.
[ 0.127569] RPC: Registered tcp transport module.
[ 0.127582] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.131230] Initialise system trusted keyrings
[ 0.131641] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.147164] NFS: Registering the id_resolver key type
[ 0.147237] Key type id_resolver registered
[ 0.147254] Key type id_legacy registered
[ 0.147337] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.153969] Key type asymmetric registered
[ 0.154002] Asymmetric key parser 'x509' registered
[ 0.154154] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.154178] io scheduler noop registered
[ 0.154568] io scheduler cfq registered (default)
[ 0.156924] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[ 0.159152] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[ 0.165517] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.273513] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.278438] printk: console [ttyS0] disabled
[ 0.298782] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 0.979965] printk: console [ttyS0] enabled
[ 0.993221] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 429 ili9881c_dsi_probe
[ 1.000905] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[ 1.007876] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 445 ili9881c_dsi_probe
[ 1.015360] ili9881c-dsi 1ca0000.dsi.0: Couldn't get our reset GPIO
[ 1.021826] ili9881c-dsi 1ca0000.dsi.0: Dropping the link to regulator.2
[ 1.033633] libphy: Fixed MDIO Bus: probed
[ 1.037756] CAN device driver interface
[ 1.043364] usbcore: registered new interface driver r8152
[ 1.048943] usbcore: registered new interface driver cdc_ether
[ 1.054926] usbcore: registered new interface driver cdc_eem
[ 1.060687] usbcore: registered new interface driver dm9601
[ 1.066323] usbcore: registered new interface driver rndis_host
[ 1.072406] usbcore: registered new interface driver cdc_ncm
[ 1.078071] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.084635] ehci-platform: EHCI generic platform driver
[ 1.090277] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.095952] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.104876] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[ 1.140402] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.148198] hub 1-0:1.0: USB hub found
[ 1.152094] hub 1-0:1.0: 1 port detected
[ 1.157138] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.163404] ohci-platform: OHCI generic platform driver
[ 1.169058] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.175765] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.183913] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[ 1.255852] hub 2-0:1.0: USB hub found
[ 1.259696] hub 2-0:1.0: 1 port detected
[ 1.264929] usbcore: registered new interface driver cdc_wdm
[ 1.270818] usbcore: registered new interface driver usb-storage
[ 1.277508] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.288383] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.299215] drivers/rtc/rtc-sun6i.c 521 sun6i_rtc_probe
[ 1.304679] i2c /dev entries driver
[ 1.313574] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 1.360421] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.368028] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[ 1.375734] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.420430] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.428074] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[ 1.470431] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 1.479594] usbcore: registered new interface driver usbhid
[ 1.485213] usbhid: USB HID core driver
[ 1.490621] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.496817] NET: Registered protocol family 17
[ 1.497851] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.501364] can: controller area network core (rev 20170425 abi 9)
[ 1.508383] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.513198] NET: Registered protocol family 29
[ 1.521338] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.522985] can: raw protocol (rev 20170425)
[ 1.528480] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.532731] can: broadcast manager protocol (rev 20170425 t)
[ 1.532753] can: netlink gateway (rev 20170425) max_hops=1
[ 1.533281] Key type dns_resolver registered
[ 1.543940] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[ 1.546662] Registering SWP/SWPB emulation handler
[ 1.552255] mmc0: new high speed SDHC card at address aaaa
[ 1.571302] Loading compiled-in X.509 certificates
[ 1.573179] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 1.585973] mmcblk0: p1 p2
[ 1.593805] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 1.602957] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 429 ili9881c_dsi_probe
[ 1.610587] ili9881c-dsi 1ca0000.dsi.0: Linked as a consumer to regulator.2
[ 1.617557] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 445 ili9881c_dsi_probe
[ 1.624129] random: fast init done
[ 1.625099] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 451 ili9881c_dsi_probe
[ 1.635765] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 462 ili9881c_dsi_probe
[ 1.643179] drivers/gpu/drm/panel/panel-ilitek-ili9881c.c 470 ili9881c_dsi_probe
[ 1.645618] mmc2: new DDR MMC card at address 0001
[ 1.650608] sun6i-mipi-dsi 1ca0000.dsi: Attached device lhr050h41
[ 1.660971] gpio gpiochip1: (1f02c00.pinctrl): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
[ 1.662840] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[ 1.671646] sun8i-a23-r-pinctrl 1f02c00.pinctrl: unable to lock HW IRQ 5 for IRQ
[ 1.676978] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[ 1.683593] genirq: Failed to request resources for tsc2007 (irq 125) on irqchip sunxi_pio_edge
[ 1.683803] tsc2007 0-0048: Failed to request irq 125: -5
[ 1.690421] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[ 1.698569] tsc2007: probe of 0-0048 failed with error -5
[ 1.705727] mmcblk2: p1 p2
[ 1.724030] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[ 1.737812] vcc3v0: disabling
[ 1.740877] ALSA device list:
[ 1.743854] #0: sun8i-a33-audio
[ 1.753567] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.753907] mmc1: new high speed SDIO card at address 0001
[ 1.760933] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.829585] EXT4-fs (mmcblk0p2): recovery complete
[ 1.836913] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.845141] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.854388] devtmpfs: mounted
[ 1.860133] Freeing unused kernel memory: 1024K
[ 1.865074] Run /sbin/init as init process
[ 1.930490] usb 2-1: new full-speed USB device number 2 using ohci-platform
[ 1.952868] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
设备树节点:
rtc: rtc@1f00000 {
compatible = "allwinner,sun8i-a23-rtc";
reg = <0x01f00000 0x400>;
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
clock-output-names = "osc32k", "osc32k-out";
clocks = <&ext_osc32k>;
#clock-cells = <1>;
};
主线LINUX
我修改了rtc-sun6i.c
static int sun6i_rtc_osc_set_parent(struct clk_hw *hw, u8 index)
{
struct sun6i_rtc_dev *rtc = container_of(hw, struct sun6i_rtc_dev, hw);
unsigned long flags;
u32 val;if (index > 1)
return -EINVAL;spin_lock_irqsave(&rtc->lock, flags);
val = readl(rtc->base + SUN6I_LOSC_CTRL);
val &= ~SUN6I_LOSC_CTRL_EXT_OSC;
val |= SUN6I_LOSC_CTRL_KEY;
val |= 1; //index ? SUN6I_LOSC_CTRL_EXT_OSC : 0;
writel(val, rtc->base + SUN6I_LOSC_CTRL);
spin_unlock_irqrestore(&rtc->lock, flags);return 0;
}没有用.需要怎样修改?
你好,我现在也在使用主线内核的RTC,遇到跟你一样的问题,现在问题解决了吗
U-Boot SPL 2017.11-dirty (Sep 14 2020 - 16:57:44)
DRAM: 128 MiB
Failed to set core voltage! Can't set CPU frequency
Trying to boot from MMC2
U-Boot 2017.11-dirty (Sep 14 2020 - 16:57:44 +0800) Allwinner Technology
CPU: Allwinner A33 (SUN8I 1667)
Model: Sinlinx SinA33
DRAM: 128 MiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
Setting up a 800x600 lcd console (overscan 0x0)
jkl!
18
8c100000
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Allwinner mUSB OTG (Peripheral)
Net:
Warning: usb_ether using MAC address from ROM
eth0: usb_ether
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
reading zImage
4278136 bytes read in 346 ms (11.8 MiB/s)
reading sun8i-x3-smallwit-demo.dtb
25534 bytes read in 27 ms (922.9 KiB/s)
## Flattened Device Tree blob at 49000000
Booting using the fdt blob at 0x49000000
Loading Device Tree to 46d33000, end 46d3c3bd ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.20.0-dirty (root@le-desktop) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #47 SMP Mon Sep 14 16:58:09 CST 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Sinlinx SinA33
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x45c00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[ 0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34444 r8192 d22900 u65536
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32046
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk2p2 rootwait panic=10
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 101336K/129196K available (6144K kernel code, 443K rwdata, 1652K rodata, 1024K init, 246K bss, 11476K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc8000000 - 0xff800000 ( 888 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc7e2b000 ( 126 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 444 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 247 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000014] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000040] Switching to timer-based delay loop, resolution 41ns
[ 0.001084] Console: colour dummy device 80x30
[ 0.001180] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001211] pid_max: default: 32768 minimum: 301
[ 0.001554] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002884] CPU: Testing write buffer coherency: ok
[ 0.003654] /cpus/cpu@0 missing clock-frequency property
[ 0.003700] /cpus/cpu@1 missing clock-frequency property
[ 0.003736] /cpus/cpu@2 missing clock-frequency property
[ 0.003772] /cpus/cpu@3 missing clock-frequency property
[ 0.003800] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004877] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.005172] rcu: Hierarchical SRCU implementation.
[ 0.006607] smp: Bringing up secondary CPUs ...
[ 0.008080] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009771] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.011434] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.011623] smp: Brought up 1 node, 4 CPUs
[ 0.011672] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.011688] CPU: All CPU(s) started in HYP mode.
[ 0.011701] CPU: Virtualization extensions available.
[ 0.013437] devtmpfs: initialized
[ 0.026265] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.026698] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.026747] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.028572] pinctrl core: initialized pinctrl subsystem
[ 0.030634] NET: Registered protocol family 16
[ 0.033527] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.035786] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.035810] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.067710] SCSI subsystem initialized
[ 0.068758] usbcore: registered new interface driver usbfs
[ 0.068865] usbcore: registered new interface driver hub
[ 0.068999] usbcore: registered new device driver usb
[ 0.069494] pps_core: LinuxPPS API ver. 1 registered
[ 0.069513] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.069558] PTP clock support registered
[ 0.070025] Advanced Linux Sound Architecture Driver Initialized.
[ 0.072262] clocksource: Switched to clocksource arch_sys_counter
[ 0.073567] simple-framebuffer 47e2b000.framebuffer: framebuffer at 0x47e2b000, 0x1d4c00 bytes, mapped to 0x(ptrval)
[ 0.073598] simple-framebuffer 47e2b000.framebuffer: format=x8r8g8b8, mode=800x600x32, linelength=3200
[ 0.093171] Console: switching to colour frame buffer device 100x37
[ 0.113748] simple-framebuffer 47e2b000.framebuffer: fb0: simplefb registered!
[ 0.129854] NET: Registered protocol family 2
[ 0.131015] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.131076] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.131127] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.131181] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.131394] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.131480] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.131884] NET: Registered protocol family 1
[ 0.133025] RPC: Registered named UNIX socket transport module.
[ 0.133049] RPC: Registered udp transport module.
[ 0.133062] RPC: Registered tcp transport module.
[ 0.133075] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.136550] Initialise system trusted keyrings
[ 0.136969] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.152565] NFS: Registering the id_resolver key type
[ 0.152650] Key type id_resolver registered
[ 0.152668] Key type id_legacy registered
[ 0.152747] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[ 0.159100] Key type asymmetric registered
[ 0.159131] Asymmetric key parser 'x509' registered
[ 0.159271] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.159295] io scheduler noop registered
[ 0.159314] io scheduler deadline registered
[ 0.159691] io scheduler cfq registered (default)
[ 0.159713] io scheduler mq-deadline registered
[ 0.159730] io scheduler kyber registered
[ 0.162033] sun4i-usb-phy 1c19400.phy: Linked as a consumer to regulator.3
[ 0.165012] sun8i-a23-r-pinctrl 1f02c00.pinctrl: Reset controller missing
[ 0.171159] sun8i-a33-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.174209] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 0.174384] pwm-backlight backlight: Linked as a consumer to regulator.0
[ 0.281334] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.286520] printk: console [ttyS0] disabled
[ 0.306869] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A
[ 1.016166] printk: console [ttyS0] enabled
[ 1.034982] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 1.041221] m25p80: probe of spi0.0 failed with error -2
[ 1.048007] libphy: Fixed MDIO Bus: probed
[ 1.052126] CAN device driver interface
[ 1.057883] usbcore: registered new interface driver r8152
[ 1.063505] usbcore: registered new interface driver ax88179_178a
[ 1.069663] usbcore: registered new interface driver cdc_ether
[ 1.075593] usbcore: registered new interface driver cdc_eem
[ 1.081332] usbcore: registered new interface driver dm9601
[ 1.087005] usbcore: registered new interface driver sr9700
[ 1.092689] usbcore: registered new interface driver CoreChips
[ 1.098587] usbcore: registered new interface driver rndis_host
[ 1.104641] usbcore: registered new interface driver cdc_ncm
[ 1.110365] usbcore: registered new interface driver huawei_cdc_ncm
[ 1.116661] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.123252] ehci-platform: EHCI generic platform driver
[ 1.128910] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 1.134590] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 1.143277] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[ 1.172251] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 1.179974] hub 1-0:1.0: USB hub found
[ 1.183896] hub 1-0:1.0: 1 port detected
[ 1.188943] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.195217] ohci-platform: OHCI generic platform driver
[ 1.200859] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 1.207566] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 1.215769] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[ 1.287656] hub 2-0:1.0: USB hub found
[ 1.291493] hub 2-0:1.0: 1 port detected
[ 1.297402] usbcore: registered new interface driver cdc_wdm
[ 1.303292] usbcore: registered new interface driver usb-storage
[ 1.310013] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.320882] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 1.332140] i2c /dev entries driver
[ 1.339856] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.350239] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[ 1.392281] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.399889] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[ 1.407386] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[ 1.452292] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.459887] sunxi-mmc 1c11000.mmc: Linked as a consumer to regulator.2
[ 1.502268] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 1.511501] usbcore: registered new interface driver usbhid
[ 1.517120] usbhid: USB HID core driver
[ 1.522445] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.534294] NET: Registered protocol family 17
[ 1.538797] can: controller area network core (rev 20170425 abi 9)
[ 1.545192] NET: Registered protocol family 29
[ 1.549648] can: raw protocol (rev 20170425)
[ 1.553958] can: broadcast manager protocol (rev 20170425 t)
[ 1.559632] can: netlink gateway (rev 20170425) max_hops=1
[ 1.565627] Key type dns_resolver registered
[ 1.570155] Registering SWP/SWPB emulation handler
[ 1.576568] Loading compiled-in X.509 certificates
[ 1.597850] sun8i-a23-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 1.608066] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.614798] input: TSC2007 Touchscreen as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[ 1.628310] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.634810] asoc-simple-card sound: sun8i <-> 1c22c00.dai mapping ok
[ 1.648170] hctosys: unable to open rtc device (rtc0)
[ 1.653951] vcc3v0: disabling
[ 1.656949] ALSA device list:
[ 1.659925] #0: sun8i-a33-audio
[ 1.664702] Waiting for root device /dev/mmcblk2p2...
[ 1.670343] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.679324] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[ 1.722455] random: fast init done
[ 1.728400] mmc2: new DDR MMC card at address 0001
[ 1.735483] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[ 1.741815] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[ 1.749647] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[ 1.758435] mmcblk2: p1 p2
[ 1.795740] EXT4-fs (mmcblk2p2): INFO: recovery required on readonly filesystem
[ 1.803127] EXT4-fs (mmcblk2p2): write access will be enabled during recovery
[ 1.814391] mmc1: new high speed SDIO card at address 0001
[ 1.826199] EXT4-fs (mmcblk2p2): recovery complete
[ 1.832035] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.840282] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.847820] devtmpfs: mounted
[ 1.853605] Freeing unused kernel memory: 1024K
[ 1.862647] Run /sbin/init as init process
[ 1.910788] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator... [ 2.103037] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
Welcome to Buildroot
buildroot login:
一,源码:
大家可以到这个帖子里面下载:
小智 X3 卡片小电脑 u-boot/linux/rootfs/debian 分享
http://whycan.cn/t_4430.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
二,驱动
1.uboot部分:
由于uboot部分已经带了LVDS驱动,只要将这个配置项选上就行了:
VIDEO_LCD_PANEL_LVDS
我之前在调试的时候出现色彩不对,大家如果遇到的话可以参考这个帖子:
请问一下,LVDS显示图片色泽是这样的是什么原因???
http://whycan.cn/t_5203.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
2.kernel部分
将下面的设备树配置替换原先的:
linux\arch\arm\boot\dts\sun8i-x3-smallwit-demo.dts
修改内容:
/*LVDS引脚配置*/
&tcon0 {
pinctrl-names = "default";
pinctrl-0 = <&lcd_lvds666_pins>;
status = "okay";
};
linux\arch\arm\boot\dts\sun8i-a23-a33.dtsi
修改内容:
/*LVDS引脚配置*/
lcd_lvds666_pins: lcd-lvds666-pins {
pins ="PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27";
function = "lvds0";
};
理论上有可能,不过难度很大。不用uboot直接启动kernel,也许可以做到1秒多到shell。不过QT的库和字体都蛮大,加载需要1秒以上这个省不了,除非程序简单然后静态编译
你好,我看您在下面这个帖子说A33+emmc能够到两秒,就是你上面说的方法实现的吗?我看下面的帖子,想要提升启动速度就是尽可能的将镜像文件编译的小一点是吗
https://whycan.cn/t_3631.html
刚看了一下主线u-boot还不支持mipi, 只支持mipi桥接芯片ssd2828:
config VIDEO_LCD_SSD2828 bool "SSD2828 bridge chip" default n ---help--- Support for the SSD2828 bridge chip, which can take pixel data coming from a parallel LCD interface and translate it on the fly into MIPI DSI interface for driving a MIPI compatible LCD panel. It uses SPI for configuration.
Linux里面支持了MIPI DSI, 开启CONFIG_DRM_SUN6I_DSI编译开关,但是具体怎么用, 你自己摸索一下吧。
楼主有空分享一下LVDS驱动?
好的,我琢磨下,行。
LVDS有可能需要在Linux重新初始化,dts重新配置io和驱动。
请问上面那个问题最后如何解决的呢?
请问一下,LVDS显示图片色泽是这样的是什么原因???
http://whycan.cn/t_5203.html#p52842
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
好的,解决方法回复在原帖了
盲猜,试一试吧
ffplay jkl.mp4 -pix_fmt bgra -f fbdev /dev/fb0
哈哈,这个行不通,不知道ffplay这个问题出在哪里。
# ffplay jkl.mp4 -pixel_format bgra -f fbdev /dev/fb0
ffplay version 4.2 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 8.3.0 (Buildroot 2019.08)
configuration: --enable-cross-compile --cross-prefix=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/arm-buildroot-linux-uclibcgnueabi- --sysroot=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --enable-iconv --disable-libfreetype --enable-fontconfig --enable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=arm926ej-s
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Argument '/dev/fb0' provided as input filename, but 'jkl.mp4' was already specified.
试试这个
“export SDL_VIDEODRIVER=FBCON”
“export DISPLAY=:0.0”
你好,声明了之后出现这个:
# ffplay jkl.mp4
ffplay version 4.2 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 8.3.0 (Buildroot 2019.08)
configuration: --enable-cross-compile --cross-prefix=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/arm-buildroot-linux-uclibcgnueabi- --sysroot=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --enable-iconv --disable-libfreetype --enable-fontconfig --enable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=arm926ej-s
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Could not initialize SDL - FBCON not available
(Did you set the DISPLAY variable?)
这是log:
# ffplay jkl.mp4
ffplay version 4.2 Copyright (c) 2003-2019 the FFmpeg developers
built with gcc 8.3.0 (Buildroot 2019.08)
configuration: --enable-cross-compile --cross-prefix=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/arm-buildroot-linux-uclibcgnueabi- --sysroot=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot --host-cc=/usr/bin/gcc --arch=arm --target-os=linux --disable-stripping --pkg-config=/home/le/jkl/a33/x3-pack/buildroot-2019.08-sf/output/host/bin/pkg-config --disable-static --enable-shared --prefix=/usr --enable-avfilter --disable-version3 --enable-logging --enable-optimizations --disable-extra-warnings --enable-avdevice --enable-avcodec --enable-avformat --enable-network --disable-gray --enable-swscale-alpha --disable-small --enable-dct --enable-fft --enable-mdct --enable-rdft --disable-crystalhd --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tables --disable-mipsdsp --disable-mipsdspr2 --disable-msa --enable-hwaccels --disable-cuda --disable-cuvid --disable-nvenc --disable-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libdc1394 --disable-libgsm --disable-libilbc --disable-libvo-amrwbenc --disable-symver --disable-doc --disable-gpl --disable-nonfree --enable-ffmpeg --enable-ffplay --disable-avresample --disable-ffprobe --disable-postproc --enable-swscale --enable-indevs --enable-alsa --enable-outdevs --enable-pthreads --enable-zlib --disable-bzlib --disable-libfdk-aac --disable-libcdio --disable-gnutls --enable-openssl --disable-libdrm --disable-libopenh264 --disable-vaapi --disable-vdpau --disable-mmal --disable-omx --disable-omx-rpi --disable-libopencv --disable-libopus --disable-libvpx --disable-libass --disable-libbluray --disable-libmfx --disable-librtmp --disable-libmp3lame --disable-libmodplug --disable-libspeex --disable-libtheora --disable-libwavpack --disable-iconv --disable-libfreetype --enable-fontconfig --enable-libopenjpeg --disable-libx264 --disable-libx265 --disable-x86asm --disable-mmx --disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-avx --disable-avx2 --disable-armv6 --disable-armv6t2 --disable-vfp --disable-neon --disable-altivec --extra-libs=-latomic --enable-pic --cpu=arm926ej-s
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
commandline read: ffplay
commandline read: jkl.mp4
(*) Direct/Thread: Started 'SigHandler' (247) [CRITICAL - OTHER/0] <2097152>...
~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.7.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2012-2015 DirectFB integrated media GmbH
(c) 2001-2015 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2020-08-21 08:36)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'Fusion Dispatch' (248) [MESSAGING - OTHER/0] <2097152>...
(*) Direct/Thread: Started 'VT Switcher' (249) [CRITICAL - OTHER/0] <2097152>...
(*) Direct/Thread: Started 'VT Flusher' (250) [DEFAULT - OTHER/0] <2097152>...
(*) DirectFB/FBDev: Found 'simple' (ID 0) with frame buffer at 0x47e89000, 1500k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Linux Input' (251) [INPUT - OTHER/0] <2097152>...
(*) DirectFB/Input: TSC2007 Touchscreen 0.1 (directfb.org)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (252) [INPUT - OTHER/0] <2097152>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) Direct/Thread: Started 'Keyboard Input' (253) [INPUT - OTHER/0] <2097152>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) Direct/Thread: Started 'Genefx' (254) [DEFAULT - OTHER/0] <2097152>...
(*) FBDev/Mode: Setting 800x480 RGB32
(*) FBDev/Mode: Switched to 800x480 (virtual 800x480) at 32 bit (RGB32), pitch 3200
(*) FBDev/Mode: Setting 800x480 RGB32
(*) FBDev/Mode: Switched to 800x480 (virtual 800x480) at 32 bit (RGB32), pitch 3200
(!!!) *** UNIMPLEMENTED [fusion_get_fusionee_pid] *** [fusion.c:4147]
(*) FBDev/Mode: Setting 800x480 RGB32
(*) FBDev/Mode: Switched to 800x480 (virtual 800x480) at 32 bit (RGB32), pitch 3200
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'jkl.mp4':sq= 0B f=0/0
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42isom
creation_time : 2020-08-19T03:27:02.000000Z
copyright :
copyright-eng :
Duration: 00:00:07.97, start: 0.000000, bitrate: 1743 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
creation_time : 2020-08-19T03:27:02.000000Z
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x1280, 1546 kb/s, 28 fps, 28 tbr, 90k tbn, 58 tbc (default)
Metadata:
creation_time : 2020-08-19T03:27:02.000000Z
encoder : JVT/AVC Coding
93.71 A-V: 7.837 fd= 218 aq= 0KB vq= 0KB sq= 0B f=0/0