al177 / esp8089

Linux kernel module driver for the ESP8089 WiFi chip
GNU General Public License v2.0
180 stars 114 forks source link

esp8089 on licheepi_nano with 4.15 kernel #45

Closed masoudr closed 3 years ago

masoudr commented 3 years ago

Hi, I tried to compile and install the driver on my board but I get the following output in kernel log (I'm not sure if it is an error):

Starting mdev... OK
[   17.143437] esp8089: loading out-of-tree module taints kernel.
[   17.158502] 
[   17.158502] ***** EAGLE DRIVER VER:bdf5087c3deb*****
[   17.158502] 
[   17.166587] ESP8089 reset via GPIO 0
[   17.388537] esp_sdio_dummy_probe enter
[   17.608205] esp_sdio_init power up OK
[   18.092809] esp_host:bdf5087c3deb
[   18.092809] esp_target: e826c2b3c9fd 57 18202
[   18.092809] 
[   18.102158] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[   18.115300] first normal exit
[   18.118864] esp_sdio_remove enter
[   18.125392] sif_disable_irq release irq failed
[   18.248642] eagle_sdio: probe of mmc0:0001:1 failed with error -110
Saving random seed: OK

Welcome 
F1C100S login: [   18.968783] mmc0: card 0001 removed
[   19.063403] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[   19.076367] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[   19.086700] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[   19.094962] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[   19.102165] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[   19.107783] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[   19.114742] mmc0: new high speed SDIO card at address 0001
[   19.548256] esp_host:bdf5087c3deb
[   19.548256] esp_target: e826c2b3c9fd 57 18202
[   19.548256]

mmc0 on dts:

...
&mmc0 {
    vmmc-supply = <&reg_vcc3v3>;
    bus-width = <4>;
    broken-cd;
    status = "okay";
};
...

The chip is connected within the memory card slot. I can see the wlan0 with ip a command but I can't connect to any network with wpa_supplicant, I get the below error (I'm not sure if this is related to driver or not):

# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D wext
Successfully initialized wpa_supplicant
rfkill: Cannot o[   73.555268] esp_op_add_interface STA 
pen RFKILL control device
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument 

Thanks.

al177 commented 3 years ago

I haven't tried this driver with any other platforms than Pi Zero / A+ / 2B+ so I can't help much with platform specifics. I know that @Icenowy has a branch for LicheePi plus their custom SDIO card in this fork: https://github.com/Icenowy/esp8089/tree/cleanup .

It's been a while so I could be mistaken, but I thought it was normal to see some probe errors. Out of reset the ESP is running a bootstrap program out of ROM that establishes SDIO comms with the host and waits for the runtime firmware to be downloaded into RAM. Once the firmware is downloaded and starts executing, the ESP has to redo the SDIO handshake which produces that error. (edit: the message is expected as I noted here.)

As for the ioctl error, that may have to do with wpa_supplicant (first Google hit here), but I wonder if the RFKILL error may be related.

Feel free to respond to this, but as I'm certain it's not a driver error I'm going to mark this closed.

masoudr commented 3 years ago

Thanks for the info, I tried the driver you mentioned but get the exact same behavior. The /etc/network/interfaces didn't work for me as it can't connect to my AP. I tried to use wpa_supplicant and then try the wpa_cli, but whenever I scan for APs I get only one or two APs and I even can't see my own AP in the scan result list. So I can't connect to either network. I'm also using an external antenna on the board. After one or two minutes of the scan, I get some error messages in the console. I'm adding the full console log maybe it helps. (I updated the kernel to 5.2)

Starting kernel ...                                                                                                                

[    0.000000] Booting Linux on physical CPU 0x0                                                                                   
[    0.000000] Linux version 5.2.0-licheepi-nano (masoud@ubuntu) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #3 Mon Jan 18 00:09:1
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f                                                       
[    0.000000] CPU: VIVT data cache, VIVT instruction cache                                                                        
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano                                                                              
[    0.000000] Memory policy: Data cache writeback                                                                                 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128                                                         
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2                  
[    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: 22716K/32768K available (6144K kernel code, 221K rwdata, 1480K rodata, 1024K init, 230K bss, 10052K reserve)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                                          
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                     
[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x3cc with crng_init=0                                      
[    0.000055] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns                                           
[    0.000141] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns                            
[    0.000716] Console: colour dummy device 80x30                                                                                  
[    0.000817] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)                                                             
[    0.070263] pid_max: default: 32768 minimum: 301                                                                                
[    0.070720] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                         
[    0.070772] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                    
[    0.072574] CPU: Testing write buffer coherency: ok                                                                             
[    0.074982] Setting up static identity map for 0x80100000 - 0x80100058                                                          
[    0.077409] devtmpfs: initialized                                                                                               
[    0.082962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns                    
[    0.083027] futex hash table entries: 256 (order: -1, 3072 bytes)                                                               
[    0.083368] pinctrl core: initialized pinctrl subsystem                                                                         
[    0.086078] NET: Registered protocol family 16                                                                                  
[    0.088095] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                      
[    0.090503] cpuidle: using governor menu                                                                                        
[    0.143380] SCSI subsystem initialized                                                                                          
[    0.143810] usbcore: registered new interface driver usbfs                                                                      
[    0.143981] usbcore: registered new interface driver hub                                                                        
[    0.144189] usbcore: registered new device driver usb                                                                           
[    0.144679] pps_core: LinuxPPS API ver. 1 registered                                                                            
[    0.144706] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                            
[    0.144773] PTP clock support registered                                                                                        
[    0.145362] Advanced Linux Sound Architecture Driver Initialized.                                                               
[    0.147138] clocksource: Switched to clocksource timer                                                                          
[    0.180676] NET: Registered protocol family 2                                                                                   
[    0.182343] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)                                             
[    0.182427] TCP established hash table entries: 1024 (order: 0, 4096 bytes)                                                     
[    0.182490] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                                                            
[    0.182548] TCP: Hash tables configured (established 1024 bind 1024)                                                            
[    0.182926] UDP hash table entries: 256 (order: 0, 4096 bytes)                                                                  
[    0.182997] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                             
[    0.183560] NET: Registered protocol family 1                                                                                   
[    0.185753] NetWinder Floating Point Emulator V0.97 (double precision)                                                          
[    0.188242] Initialise system trusted keyrings                                                                                  
[    0.188862] workingset: timestamp_bits=30 max_order=13 bucket_order=0                                                           
[    0.210926] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.                                                    
[    0.218936] Key type asymmetric registered                                                                                      
[    0.218979] Asymmetric key parser 'x509' registered                                                                             
[    0.219182] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)                                                
[    0.219210] io scheduler mq-deadline registered                                                                                 
[    0.219230] io scheduler kyber registered                                                                                       
[    0.232514] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver                                                 
[    0.440363] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled                                                            
[    0.446538] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator               
[    0.448517] printk: console [ttyS0] disabled                                                                                    
[    0.468811] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 21, base_baud = 6250000) is a 16550A                                 
[    0.851370] printk: console [ttyS0] enabled                                                                                     
[    0.887652] loop: module loaded                                                                                                 
[    0.891724] SCSI Media Changer driver v0.25                                                                                     
[    0.897583] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator               
[    0.910795] m25p80 spi0.0: xt25f128b (16384 Kbytes)                                                                             
[    0.915773] 4 fixed-partitions partitions found on MTD device spi0.0                                                            
[    0.922252] Creating 4 MTD partitions on "spi0.0":                                                                              
[    0.927070] 0x000000000000-0x000000100000 : "u-boot"                                                                            
[    0.936192] 0x000000100000-0x000000110000 : "dtb"                                                                               
[    0.945075] 0x000000110000-0x000000510000 : "kernel"                                                                            
[    0.954325] 0x000000510000-0x000001000000 : "rootfs"                                                                            
[    0.964539] i2c /dev entries driver                                                                                             
[    0.970047] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator               
[    1.008352] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB                                                     
[    1.017996] usbcore: registered new interface driver usbhid                                                                     
[    1.023576] usbhid: USB HID core driver                                                                                         
[    1.044858] NET: Registered protocol family 17                                                                                  
[    1.049581] Key type dns_resolver registered                                                                                    
[    1.056716] Loading compiled-in X.509 certificates                                                                              
[    1.072322] cfg80211: Loading compiled-in X.509 certificates for regulatory database                                            
[    1.091222] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'                                                          
[    1.098146] ALSA device list:                                                                                                   
[    1.101132]   #0: Loopback 1                                                                                                    
[    1.105033] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2                                  
[    1.113801] cfg80211: failed to load regulatory.db                                                                              
[    1.121312] random: fast init done                                                                                              
[    1.125226] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)                                                                      
[    1.149933] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)                                                                      
[    1.165919] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)                                                                      
[    1.177986] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)                                                                      
[    1.189152] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)                                                                      
[    1.200858] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)                                                                      
[    1.212790] mmc0: new high speed SDIO card at address 0001                                                                      
[    1.283108] random: crng init done                                                                                              
[    2.621069] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orph.
[    2.642728] VFS: Mounted root (jffs2 filesystem) on device 31:3.                                                                
[    2.652122] devtmpfs: mounted                                                                                                   
[    2.659747] Freeing unused kernel memory: 1024K                                                                                 
[    2.664385] Run /sbin/init as init process                                                                                      
Starting syslogd: OK                                                                                                               
Starting klogd: OK                                                                                                                 
Running sysctl: OK                                                                                                                 
Starting mdev... OK                                                                                                                
[   17.365561] esp8089: loading out-of-tree module taints kernel.                                                                  
[   18.278743] mmc0: card 0001 removed                                                                                             
Initializing random number generator: OK                                                                                           
Saving random seed: [   18.342798] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)                                                  
[   18.356843] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)                                                                      
[   18.367689] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)                                                                      
[   18.376078] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)                                                                      
[   18.383799] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)                                                                      
[   18.390192] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)                                                                      
[   18.396613] mmc0: new high speed SDIO card at address 0001                                                                      
OK                                                                                                                                 

Welcome                                                                                                         
F1C100S login: root                                                                                                                
# ip a                                                                                                                             
1: lo: <LOOPBACK> mtu 65536 qdisc noop qlen 1000                                                                                   
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                                                                          
2: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000                                                                      
    link/ether blah blah brd ff:ff:ff:ff:ff:ff                                                                             
# wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant                                                                                            
rfkill: Cannot open RFKILL control device                                                                                          
ioctl[SIOCSIWENCODEEXT]: Invalid argument                                                                                          
ioctl[SIOCSIWENCODEEXT]: Invalid argument                                                                                                                                                                                              
# ifconfig                                                                                                                         
wlan0     Link encap:Ethernet  HWaddr blah blah                                                                            
          UP BROADCAST MULTICAST  MTU:1500  Metric:1                                                                               
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                                                                       
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                                                                     
          collisions:0 txqueuelen:1000                                                                                             
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                                                                   

# wpa_cli                                                                                                                          
wpa_cli v2.9                                                                                                                       
Copyright (c) 2004-2019, Jouni Malinen <j@w1.fi> and contributors                                                                  

This software may be distributed under the terms of the BSD license.                                                               
See README for more details.                                                                                                       

Selected interface 'wlan0'                                                                                                         

Interactive mode                                                                                                                   

> scan                                                                                                                             
OK                                                                                                                                 
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                                                                                                                                                  
>                                                                                                                                  
> scan_result                                                                                                                      
bssid / frequency / signal level / flags / ssid                                                                                    
blah blah       2462    -87     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][ESS]    ava                                        
blah blah       2462    -64     [WPA2-PSK-CCMP][ESS]    Home                                                               
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
<3>CTRL-EVENT-NETWORK-NOT-FOUND                                                                                                    
<3>CTRL-EVENT-SCAN-RESULTS                                                                                                         
# [  529.787372] ------------[ cut here ]------------
[  529.792073] WARNING: CPU: 0 PID: 49 at kernel/workqueue.c:3031 __flush_work+0x1ac/0x1dc
[  529.800166] Modules linked in: esp8089(O)
[  529.804210] CPU: 0 PID: 49 Comm: kworker/0:1 Tainted: G           O      5.2.0-licheepi-nano #3
[  529.812937] Hardware name: Allwinner suniv Family
[  529.817732] Workqueue: events_freezable mmc_rescan
[  529.822603] [<c010e42c>] (unwind_backtrace) from [<c010b9f4>] (show_stack+0x10/0x14)
[  529.830445] [<c010b9f4>] (show_stack) from [<c0116b90>] (__warn+0xcc/0xf4)
[  529.837378] [<c0116b90>] (__warn) from [<c0116ccc>] (warn_slowpath_null+0x3c/0x48)
[  529.844966] [<c0116ccc>] (warn_slowpath_null) from [<c012b1fc>] (__flush_work+0x1ac/0x1dc)
[  529.853314] [<c012b1fc>] (__flush_work) from [<c012c368>] (__cancel_work_timer+0xfc/0x1d8)
[  529.861782] [<c012c368>] (__cancel_work_timer) from [<bf0043e4>] (sip_detach+0x84/0x1d4 [esp8089])
[  529.870984] [<bf0043e4>] (sip_detach [esp8089]) from [<bf000abc>] (esp_sdio_remove+0x4c/0x184 [esp8089])
[  529.880623] [<bf000abc>] (esp_sdio_remove [esp8089]) from [<c04a5838>] (sdio_bus_remove+0x30/0xfc)
[  529.889679] [<c04a5838>] (sdio_bus_remove) from [<c03f97ec>] (device_release_driver_internal+0xe0/0x1b0)
[  529.899230] [<c03f97ec>] (device_release_driver_internal) from [<c03f83dc>] (bus_remove_device+0xc8/0xf8)
[  529.908852] [<c03f83dc>] (bus_remove_device) from [<c03f4b5c>] (device_del+0x134/0x360)
[  529.916864] [<c03f4b5c>] (device_del) from [<c04a5ce4>] (sdio_remove_func+0x1c/0x28)
[  529.924664] [<c04a5ce4>] (sdio_remove_func) from [<c04a3ac8>] (mmc_sdio_remove+0x40/0x70)
[  529.932890] [<c04a3ac8>] (mmc_sdio_remove) from [<c04a3ce0>] (mmc_sdio_detect+0x6c/0xf8)
[  529.941037] [<c04a3ce0>] (mmc_sdio_detect) from [<c049bf10>] (mmc_rescan+0xc4/0x3d0)
[  529.948861] [<c049bf10>] (mmc_rescan) from [<c012b94c>] (process_one_work+0x1c8/0x3f8)
[  529.956791] [<c012b94c>] (process_one_work) from [<c012bbc4>] (worker_thread+0x48/0x5a0)
[  529.964949] [<c012bbc4>] (worker_thread) from [<c0130e0c>] (kthread+0x11c/0x130)                                                
[  529.972397] [<c0130e0c>] (kthread) from [<c01010e0>] (ret_from_fork+0x14/0x34)                                                  
[  529.979645] Exception stack(0xc18e1fb0 to 0xc18e1ff8)                                                                           
[  529.984698] 1fa0:                                     00000000 00000000 00000000 00000000                                       
[  529.992905] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                       
[  530.001104] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000                                                         
[  530.007745] ---[ end trace d2b818adfb1568b6 ]---                                                                                
[  530.054244] mmc0: card 0001 removed                                                                                             
[  530.120587] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)                                                                      
[  530.145221] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)                                                                      
[  530.161649] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)                                                                      
[  530.174853] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)                                                                      
[  530.181953] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)                                                                      
[  530.187672] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)                                                                      
[  530.193240] mmc0: new high speed SDIO card at address 0001                                                                      
[  531.127220] sip_write_memory send buffer failed                                                                                 
[  531.131781] esp_download_fw Failed to write fw, err: -16                                                                        
[  531.137188] download firmware failed                                                                                            
[  531.140764] esp_init_all failed: -16                                                                                            
[  531.144329] first error exit                                                                                                    
[  532.167809] sip_detach wrong state 1                                                                                            
[  532.174187] mmc0: card 0001 removed                                                                                             
[  532.927145] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  533.677149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  534.437149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  535.197149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  535.947139] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  536.697151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  537.447133] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  539.237149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  539.987132] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  540.747151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  541.507150] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  542.257137] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  543.007154] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  543.757131] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  545.557148] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  546.307135] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  547.067149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  547.827151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  548.577136] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  549.327149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  550.077132] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  551.877150] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  552.627133] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  553.387150] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  554.147151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  554.897151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  555.647149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  556.397134] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  558.197148] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  558.947133] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  559.707148] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  560.467151] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  561.217149] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  561.967152] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  562.717133] sunxi-mmc 1c0f000.mmc: fatal err update clk timeout                                                                 
[  563.816613] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)                                                                      
[  563.830625] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)                                                                      
[  563.840268] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)                                                                      
[  563.849426] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)                                                                      
[  563.855026] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)                                                                      
[  563.862113] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)                                                                      
[  563.867805] mmc0: new high speed SDIO card at address 0001                                                                      
[  563.897619] Set sdio block size 2097204 failed: -22)                                                                            
[  563.902629] Unhandled fault: page domain fault (0x01b) at 0x00010115                                                            
[  563.908974] pgd = 333d5450                                                                                                      
[  563.911678] [00010115] *pgd=00000000                                                                                            
[  563.915264] Internal error: : 1b [#1] ARM                                                                                       
[  563.919263] Modules linked in: esp8089(O)                                                                                       
[  563.923290] CPU: 0 PID: 49 Comm: kworker/0:1 Tainted: G        W  O      5.2.0-licheepi-nano #3                                 
[  563.931957] Hardware name: Allwinner suniv Family                                                                               
[  563.936696] Workqueue: events_freezable mmc_rescan                                                                              
[  563.941516] PC is at do_alignment_ldrstr+0xe4/0x158                                                                             
[  563.946388] LR is at 0xc0a37910                                                                                                 
[  563.949528] pc : [<c0111ef0>]    lr : [<c0a37910>]    psr: 20000013                                                             
[  563.955775] sp : c18e1c98  ip : 00000003  fp : 00000004                                                                         
[  563.960986] r10: 00000001  r9 : bf000aa0  r8 : 00010115                                                                         
[  563.966199] r7 : c0a37910  r6 : c0a03028  r5 : c18e1d28  r4 : 00000014                                                          
[  563.972708] r3 : 00000000  r2 : c18e1d28  r1 : 00100000  r0 : 00010115                                                          
[  563.979221] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none                                                   
[  563.986338] Control: 0005317f  Table: 81238000  DAC: 00000051                                                                   
[  563.992073] Process kworker/0:1 (pid: 49, stack limit = 0x9f8fdc04)                                                             
[  563.998325] Stack: (0xc18e1c98 to 0xc18e2000)                                                                                   
[  564.002680] 1c80:                                                       00000014 c18e1d28                                       
[  564.010849] 1ca0: c0a03028 c01124a8 00205d39 00000004 00000002 000003e0 c0a39cd0 f24250f4                                       
[  564.019018] 1cc0: 00000000 f2420000 e5963014 00000038 00000000 f24250f4 60000093 c0a06128                                       
[  564.027187] 1ce0: 00000001 c0112388 00010115 c18e1d28 c18e0000 bf00910c c108d800 c010f1c0                                       
[  564.035356] 1d00: 0000000d 00000008 00000001 c013f6d4 bf000aa0 20000013 ffffffff c18e1d5c                                       
[  564.043525] 1d20: ffffffea c01020f8 c10dde00 00000083 f24250f4 00000011 bf00b000 c10c2500                                       
[  564.051694] 1d40: 00010101 c10dde00 ffffffea c10dde08 bf00910c c108d800 0000001a c18e1d78                                       
[  564.059863] 1d60: bf000db8 bf000aa4 20000013 ffffffff 00000053 00000000 c10c2500 c10dde00                                       
[  564.068034] 1d80: c10d2da0 bf00b000 ffffffea bf000db8 c187d610 60000013 c10dde00 c10dde08                                       
[  564.076202] 1da0: c10dde00 00000000 bf00b014 bf00910c 00000000 c0a03028 00000000 c04a5988                                       
[  564.084371] 1dc0: c10dde08 c0a6c6e0 00000000 bf00b014 00000005 c03f9058 c10dde08 bf00b014                                       
[  564.092540] 1de0: c03f9550 c0a03028 00000001 00000000 c0a03028 c03f9394 bf00b014 c18e1e54                                       
[  564.100709] 1e00: c10dde08 00000000 c18e1e54 c03f9550 c0a03028 00000001 00000000 c0a03028                                       
[  564.108878] 1e20: 00000000 c03f75f8 c10dde4c c18f0adc c10cd1b4 f24250f4 00000000 c10dde08                                       
[  564.117047] 1e40: c10dde4c c0a03028 c0a03028 c03f8ef0 00000000 c10dde08 00000001 f24250f4                                       
[  564.125217] 1e60: c10dde08 c0a28d0c c10dde08 c0a03028 00000000 c03f830c c10dde08 c1214008                                       
[  564.133386] 1e80: 00000000 c03f56d8 c07d28a8 c049b4dc 00000000 c10dde08 00000001 f24250f4                                       
[  564.141555] 1ea0: c18e1eb8 c10dde00 c10dde08 c1214004 c108d800 c1214000 00000001 c04a5cb0                                       
[  564.149722] 1ec0: 00000000 00000001 c1214004 c04a50a4 00000000 c18e1ee7 00000000 00000000                                       
[  564.157891] 1ee0: 00000000 00000000 10ffff00 f24250f4 ffffff92 c108da64 00000000 c108d800                                       
[  564.166060] 1f00: 00061a80 c0754c18 00000000 c108da68 c0a08aa0 c049c170 c108da64 c180bba0                                       
[  564.174230] 1f20: c1fad500 00000000 c0a08aa0 c012b94c c0a08ab4 c0a0df80 c180bba0 c0a08aa0                                       
[  564.182399] 1f40: ffffe000 c0a08ab4 c0a0df80 c180bbb4 00000008 c012bbc4 ffffe000 00000000                                       
[  564.190568] 1f60: ffffe000 c18c7440 c18ce100 00000000 c18e0000 c180bba0 c012bb7c c1841eb0                                       
[  564.198737] 1f80: c18c7458 c0130e0c 60000053 c18ce100 c0130cf0 00000000 00000000 00000000                                       
[  564.206903] 1fa0: 00000000 00000000 00000000 c01010e0 00000000 00000000 00000000 00000000                                       
[  564.215069] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                       
[  564.223236] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000                                       
[  564.231433] [<c0111ef0>] (do_alignment_ldrstr) from [<c01124a8>] (do_alignment+0x120/0x8bc)                                     
[  564.239785] [<c01124a8>] (do_alignment) from [<c010f1c0>] (do_DataAbort+0x38/0xa8)                                              
[  564.247355] [<c010f1c0>] (do_DataAbort) from [<c01020f8>] (__dabt_svc+0x58/0x80)                                                
[  564.254730] Exception stack(0xc18e1d28 to 0xc18e1d70)                                                                           
[  564.259784] 1d20:                   c10dde00 00000083 f24250f4 00000011 bf00b000 c10c2500                                       
[  564.267953] 1d40: 00010101 c10dde00 ffffffea c10dde08 bf00910c c108d800 0000001a c18e1d78                                       
[  564.276111] 1d60: bf000db8 bf000aa4 20000013 ffffffff                                                                           
[  564.281304] [<c01020f8>] (__dabt_svc) from [<bf000aa4>] (esp_sdio_remove+0x34/0x184 [esp8089])                                  
[  564.290065] [<bf000aa4>] (esp_sdio_remove [esp8089]) from [<bf000db8>] (esp_sdio_probe+0x1c4/0x40c [esp8089])                   
[  564.300051] [<bf000db8>] (esp_sdio_probe [esp8089]) from [<c04a5988>] (sdio_bus_probe+0x84/0x114)                               
[  564.308939] [<c04a5988>] (sdio_bus_probe) from [<c03f9058>] (really_probe+0xec/0x2cc)                                           
[  564.316780] [<c03f9058>] (really_probe) from [<c03f9394>] (driver_probe_device+0x5c/0x168)                                      
[  564.325047] [<c03f9394>] (driver_probe_device) from [<c03f75f8>] (bus_for_each_drv+0x54/0xb8)                                   
[  564.333570] [<c03f75f8>] (bus_for_each_drv) from [<c03f8ef0>] (__device_attach+0xc8/0x13c)                                      
[  564.341832] [<c03f8ef0>] (__device_attach) from [<c03f830c>] (bus_probe_device+0x84/0x8c)                                       
[  564.350005] [<c03f830c>] (bus_probe_device) from [<c03f56d8>] (device_add+0x384/0x5fc)                                          
[  564.357921] [<c03f56d8>] (device_add) from [<c04a5cb0>] (sdio_add_func+0x58/0x70)                                               
[  564.365403] [<c04a5cb0>] (sdio_add_func) from [<c04a50a4>] (mmc_attach_sdio+0x278/0x354)                                        
[  564.373503] [<c04a50a4>] (mmc_attach_sdio) from [<c049c170>] (mmc_rescan+0x324/0x3d0)                                           
[  564.381355] [<c049c170>] (mmc_rescan) from [<c012b94c>] (process_one_work+0x1c8/0x3f8)                                          
[  564.389281] [<c012b94c>] (process_one_work) from [<c012bbc4>] (worker_thread+0x48/0x5a0)                                        
[  564.397378] [<c012bbc4>] (worker_thread) from [<c0130e0c>] (kthread+0x11c/0x130)                                                
[  564.404773] [<c0130e0c>] (kthread) from [<c01010e0>] (ret_from_fork+0x14/0x34)                                                  
[  564.411976] Exception stack(0xc18e1fb0 to 0xc18e1ff8)                                                                           
[  564.417023] 1fa0:                                     00000000 00000000 00000000 00000000                                       
[  564.425190] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                       
[  564.433351] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000                                                         
[  564.439966] Code: e8bd8070 e3510000 0a00000d e3a03000 (e4d0e001)                                                                
[  564.446050] ---[ end trace d2b818adfb1568b7 ]---