al177 / esp8089

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

Not working with RPI4 #38

Open waynewu411 opened 5 years ago

waynewu411 commented 5 years ago

Hi there,

I'm using this project to integrate an ESP8266 HAT based on https://hackaday.io/project/8678/instructions for three kinds of RPI hardwares, including 3B+, 3A+ & 4.

It works perfectly on 3B+ & 3A+.

On RPI4, the module failed during initialisation with the following message:

[    4.034956] esp8089: loading out-of-tree module taints kernel.
[    4.046488] 
               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[    4.046563] ESP8089 reset via GPIO 5
[    4.264771] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[    5.032084] mmc1: card 0001 removed
[    5.095770] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    5.103450] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    5.106850] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    5.109969] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    5.110205] mmc1: new high speed SDIO card at address 0001
[    5.110601] esp_sdio_dummy_probe enter
[    5.321719] esp_sdio_init power up OK
[    5.808821] esp_host:bdf5087c3deb
               esp_target: e826c2b3c9fd 57 18202

[    5.808879] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[    5.809863] first normal exit
[    5.810045] esp_sdio_remove enter
[    5.912934] random: crng init done
[    5.912950] random: 7 urandom warning(s) missed due to ratelimiting
[    5.922387] eagle_sdio: probe of mmc1:0001:1 failed with error -110
[    5.977190] 8021q: 802.1Q VLAN Support v1.8
[    6.091423] bcmgenet: Skipping UMAC reset
[    6.152369] mmc1: card 0001 removed
[    6.194008] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[    6.194696] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.206693] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    6.215564] sdio_read_cis: 2 callbacks suppressed
[    6.215573] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    6.223810] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    6.228534] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    6.232493] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    6.232609] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    6.232719] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    6.232781] mmc1: new high speed SDIO card at address 0001
[    6.629080] esp_host:bdf5087c3deb
               esp_target: e826c2b3c9fd 57 18202

Can anyone have any suggestion on this issue?

Cheers, Wayne

al177 commented 4 years ago

Unfortunately I don't have a 4b to repro with, and given that the SDIO interface changed on this latest SoC I'm not surprised that it doesn't work.

I'll leave this open in case anyone else wants to take a look.