Giter Club home page Giter Club logo

esp8089's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8089's Issues

Cross-compiling?

Could you provide instructions to cross-compile this driver?

What I've done so far:

$ mkdir RasPi
$ git clone https://github.com/raspberrypi/tools
$ git clone --branch rpi-4.4.y --single-branch https://github.com/raspberrypi/linux.git
$ git clone https://github.com/al177/esp8089.git
... copy config.gz from pi zero to linux/.config ...
$ cd linux
$ git checkout raspberrypi-kernel_1.20170215-1
$ make KBUILD=~/RasPi/linux ARCH=arm CROSS_COMPILE=~/RasPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- oldconfig
$ make KBUILD=~/RasPi/linux ARCH=arm CROSS_COMPILE=~/RasPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- modules_prepare
$ cd ../esp8089
$ make KBUILD=~/RasPi/linux ARCH=arm CROSS_COMPILE=~/RasPi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-

This builds successfully. But when I try to insert the module on the Pi Zero:

$ sudo modprobe esp8089
modprobe: ERROR: could not insert 'esp8089': Exec format error

The Pi is running Raspbian 2017-03-02, kernel 4.4.50+.

Have you done this successfully? Any pointers to offer?

Can't change MAC address

Hi Andrew,

I can't change wlan0 interface mac address. I tried traditional ways but it can't changed.Esp8089 driver always fix it to 18:fe:34:60:26:20 . How can i change interface wlan0 mac address?

Thanks

Firmware failed to download (esp_init_all failed: -84)

Running sudo rmmod esp8089 and I get two flashes on the ESP-12f and the following in dmesg:

[  249.133658] esp_sdio_exit 
[  249.133770] esp_sdio_remove enter
[  249.133793] sip_detach wrong state 1
[  249.139089] ESP8089 reset via GPIO 0
[  250.083981] mmc1: card 0001 removed
[  250.136872] sdio_read_cis: 2 callbacks suppressed
[  250.136882] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  250.144570] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  250.147817] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  250.150653] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  250.150747] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[  250.150838] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[  250.150889] mmc1: new high speed SDIO card at address 0001
[  250.169807] 
               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[  250.169952] ESP8089 reset via GPIO 0
[  250.383786] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[  251.203994] mmc1: card 0001 removed
[  251.256849] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  251.264598] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  251.267827] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  251.270675] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  251.270890] mmc1: new high speed SDIO card at address 0001
[  251.271390] esp_sdio_dummy_probe enter
[  251.483596] esp_sdio_init power up OK
[  251.514337] sip_write_memory send buffer failed
[  251.514352] esp_download_fw Failed to write fw, err: -84
[  251.514358] download firmware failed
[  251.514364] esp_init_all failed: -84
[  251.514369] first error exit

This is on a new RPI CM3+ module via headers on an IO Board. Any troubleshooting steps on why the firmware fails to load? I will try another module later but don't want to bin this one if its a software issue.

esp_init_all failed: -110

Hi,

I have built an ESP03 wifi module.
Used 4bit mode and I have soldered 33 ohm resistors inline for the data lines.
Reset is on ID_SD.

Is this an hardware issue? If so: Any ideas where I should look?

[   11.331384] 
***** EAGLE DRIVER VER:bdf5087c3deb*****

[   11.331517] ESP8089 reset via GPIO 0
[   11.353706] systemd-journald[112]: Received request to flush runtime journal from PID 1
[   11.539624] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[   12.205823] mmc1: card 0001 removed
[   12.281011] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[   12.290120] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[   12.293855] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[   12.298342] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[   12.298489] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[   12.298634] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[   12.298704] mmc1: new high speed SDIO card at address 0001
[   12.299342] esp_sdio_dummy_probe enter
[   12.515414] esp_sdio_init power up OK
[   12.708746] cfg80211: World regulatory domain updated:
[   12.708790] cfg80211:  DFS Master region: unset
[   12.708801] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.708819] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.708831] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.708843] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   12.708857] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   12.708885] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.708899] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   12.708911] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.708923] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   23.245350] resetting event timeout
[   23.245390] esp_init_all failed: -110
[   23.245401] first error exit
[   25.028489] Adding 102396k swap on /var/swap.  Priority:-1 extents:4 across:184316k SSFS
[   25.569123] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.953292] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

How to troubleshoot?

I am trying to integrate your driver into JELOS Linux on the Odroid Go Advance handheld system, which uses the RockChip RK3326 CPU. I managed to get the driver to build but it is still not working for me. I'm not asking you to make it work, but how do I go about troubleshooting? I get the below output but I'm not sure if this means the firmware even loaded or not. It doesn't seem to be detecting the module for the second init, though.

[   27.956094] ***** EAGLE DRIVER VER:bdf5087c3deb*****
[   27.956094] 
[   27.956240] ESP8089 reset via GPIO 105
[   27.956279] gpio-105 (reset): gpiod_request: status -16
[   28.160882] esp_sdio_dummy_probe enter
[   28.367994] esp_sdio_init power up OK
[   28.861871] esp_host:bdf5087c3deb
[   28.861871] esp_target: e826c2b3c9fd 57 18202
[   28.861871] 
[   28.862195] first normal exit
[   28.862542] esp_sdio_remove enter
[   28.967401] eagle_sdio: probe of mmc1:0001:1 failed with error -110

The wifi module works with other Linux distros (using the RockChip kernel branch, I believe), so I'm pretty sure this just has something to do with the way I'm implementing your driver.

Thanks!

Driver not working in Raspi 4 Raspbian Buster

Insmod gives some errors:

[ 959.705105] esp8089: Unknown symbol ieee80211_stop_tx_ba_session (err -2)
[ 959.705196] esp8089: Unknown symbol ieee80211_start_tx_ba_cb_irqsafe (err -2)
[ 959.705384] esp8089: Unknown symbol ieee80211_free_hw (err -2)
[ 959.705457] esp8089: Unknown symbol ieee80211_start_tx_ba_session (err -2)
[ 959.705515] esp8089: Unknown symbol ieee80211_register_hw (err -2)
[ 959.705613] esp8089: Unknown symbol ieee80211_get_buffered_bc (err -2)
[ 959.705746] esp8089: Unknown symbol ieee80211_stop_tx_ba_cb_irqsafe (err -2)
[ 959.705866] esp8089: Unknown symbol ieee80211_remain_on_channel_expired (err -2)
[ 959.705935] esp8089: Unknown symbol ieee80211_wake_queues (err -2)
[ 959.705998] esp8089: Unknown symbol ieee80211_alloc_hw_nm (err -2)
[ 959.706074] esp8089: Unknown symbol ieee80211_tx_status (err -2)
[ 959.706122] esp8089: Unknown symbol ieee80211_ready_on_channel (err -2)
[ 959.706163] esp8089: Unknown symbol ieee80211_stop_queues (err -2)
[ 959.706292] esp8089: Unknown symbol ieee80211_scan_completed (err -2)
[ 959.706369] esp8089: Unknown symbol ieee80211_unregister_hw (err -2)
[ 959.706424] esp8089: Unknown symbol ieee80211_beacon_get_tim (err -2)
[ 959.706530] esp8089: Unknown symbol ieee80211_queue_work (err -2)
[ 959.706611] esp8089: Unknown symbol ieee80211_rx_napi (err -2)

Nothing happens after sudo modprobe esp8089

Had my RPi Zero with Raspbian Jessie running fine with your driver and my ESP8266.
I decided to install a fresh Raspbian Stretch (no hardware changes).
Everything worked fine until "sudo modprobe esp8089" where just nothing happened:

pi@raspberrypi:~ $ wget https://github.com/al177/esp8089/releases/download/1.9.2                                                                                                                                                             0171208/esp8089-dkms_1.9.20171208_all.deb.gz
--2018-02-04 16:48:21--  https://github.com/al177/esp8089/releases/download/1.9.                                                                                                                                                             20171208/esp8089-dkms_1.9.20171208_all.deb.gz
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/475337                                                                                                                                                             17/f549a5a6-dc0e-11e7-9ee4-efd4e16c8429?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-C                                                                                                                                                             redential=AKIAIWNJYAX4CSVEH53A%2F20180204%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-                                                                                                                                                             Date=20180204T154822Z&X-Amz-Expires=300&X-Amz-Signature=97c4043e5603771afd0ffd61                                                                                                                                                             1f137afe2bf35c3d241744ac97232cc6b682e757&X-Amz-SignedHeaders=host&actor_id=0&res                                                                                                                                                             ponse-content-disposition=attachment%3B%20filename%3Desp8089-dkms_1.9.20171208_a                                                                                                                                                             ll.deb.gz&response-content-type=application%2Foctet-stream [following]
--2018-02-04 16:48:22--  https://github-production-release-asset-2e65be.s3.amazo                                                                                                                                                             naws.com/47533717/f549a5a6-dc0e-11e7-9ee4-efd4e16c8429?X-Amz-Algorithm=AWS4-HMAC                                                                                                                                                             -SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180204%2Fus-east-1%2Fs3%2Faws4                                                                                                                                                             _request&X-Amz-Date=20180204T154822Z&X-Amz-Expires=300&X-Amz-Signature=97c4043e5                                                                                                                                                             603771afd0ffd611f137afe2bf35c3d241744ac97232cc6b682e757&X-Amz-SignedHeaders=host                                                                                                                                                             &actor_id=0&response-content-disposition=attachment%3B%20filename%3Desp8089-dkms                                                                                                                                                             _1.9.20171208_all.deb.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-produc                                                                                                                                                             tion-release-asset-2e65be.s3.amazonaws.com)... 52.216.83.48
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-pr                                                                                                                                                             oduction-release-asset-2e65be.s3.amazonaws.com)|52.216.83.48|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2180790 (2.1M) [application/octet-stream]
Saving to: ‘esp8089-dkms_1.9.20171208_all.deb.gz’

esp8089-dkms_1.9.20 100%[===================>]   2.08M  1.17MB/s    in 1.8s

2018-02-04 16:48:25 (1.17 MB/s) - ‘esp8089-dkms_1.9.20171208_all.deb.gz’ saved [                                                                                                                                                             2180790/2180790]

pi@raspberrypi:~ $ gunzip esp8089-dkms_1.9.20171208_all.deb.gz
pi@raspberrypi:~ $ sudo dpkg -i esp8089-dkms_1.9.20171208_all.deb
Selecting previously unselected package esp8089-dkms.
(Reading database ... 155448 files and directories currently installed.)
Preparing to unpack esp8089-dkms_1.9.20171208_all.deb ...
Unpacking esp8089-dkms (1.9.20171208) ...
Setting up esp8089-dkms (1.9.20171208) ...
Loading new esp8089-1.9.20171208 DKMS files...
It is likely that 4.9.59+ belongs to a chroot's host
Building for 4.9.59+ and 4.9.59-v7+
Building for architecture armhf
Building initial module for 4.9.59+
Done.

esp8089:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.59+/updates/

depmod.......

DKMS: install completed.
Building initial module for 4.9.59-v7+
Done.

esp8089:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.59-v7+/updates/

depmod....

DKMS: install completed.
pi@raspberrypi:~ $ sudo modprobe esp8089
pi@raspberrypi:~ $

Same Problem with 1.9.20180103.
Any Ideas?
I am pretty sure the hardware is ok as it worked with Jessie.

AP mode not working

I try

pi@raspberry:~$ sudo hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started

Note that i tried this while connected to wifi and while disconnected as well (but wifi was up).

If i remove wpa suppliment hook from dhchcd conf file then access point works but not directly. I need to switch between AP mode and client mode.

Driver crashes on modprobe

I've got this building for an old-type raspberry pi zero, but when the module loads, it dies with a null pointer dereference somewhere in esp_sdio_init. I've got kgdb connected to the target, but it's rather difficult setting a breakpoint in that function as it's not possible to know its address until the module is loaded... when it's too late.

Do you have any tips for debugging this? Things I can think of that might help:

  • If there's some way of setting a breakpoint on things that happen just after a module is loaded that I've not managed to find by google.
  • If it's a problem you've seen before and have some idea what it might be.
  • If there's some straightforward way of building the driver into the kernel instead of as a module, that would make setting breakpoints a lot easier.

Thanks for any help.

Kernel 5.3.5 compilation error

Hi,

When i compile module with kernel 5.3.5 this error occurs on stage 2. How can i fix it? In this web page these errors given as warning. (https://whycan.com/t_4326.html)

ubuntu@ubuntu:~/Desktop/pi/esp8089$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C ../linux-5.3.5/ M=$(pwd) modules
make: Entering directory '/home/ubuntu/Desktop/pi/linux-5.3.5'
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_debug.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/sdio_sif_esp.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/spi_sif_esp.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_io.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_file.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_main.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_sip.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_ext.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_ctrl.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_mac80211.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_utils.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/esp_pm.o
CC [M] /home/ubuntu/Desktop/pi/esp8089/testmode.o
LD [M] /home/ubuntu/Desktop/pi/esp8089/esp8089.o
Building modules, stage 2.
MODPOST 1 modules
ERROR: "ieee80211_rx_napi" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_queue_work" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_hdrlen" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_beacon_get_tim" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_unregister_hw" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_scan_completed" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "wiphy_rfkill_start_polling" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_stop_queues" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_ready_on_channel" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_tx_status" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_alloc_hw_nm" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_wake_queues" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_remain_on_channel_expired" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_stop_tx_ba_cb_irqsafe" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "wiphy_rfkill_set_hw_state" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_get_buffered_bc" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_register_hw" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_start_tx_ba_session" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_free_hw" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_start_tx_ba_cb_irqsafe" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
ERROR: "ieee80211_stop_tx_ba_session" [/home/ubuntu/Desktop/pi/esp8089/esp8089.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:103: modules-modpost] Error 1
make: *** [Makefile:1630: modules] Error 2
make: Leaving directory '/home/ubuntu/Desktop/pi/linux-5.3.5'

Thanks,

Build drivers with Yocto

Hello, Andrew Litt!
I have a question about this driver, is it possible to build this driver using Yocto for the linux kernel 4.19.35?
If so, how can this be done?

Best Regards,
Aleksandr

'no .config found' on install?

This is the error I get on 'make sudo make install':

Makefile:19: *** No .config found in /lib/modules/4.4.34+/build, please set KBUILD to configured kernel. Stop.

esp8089 sdio + imx6ull yocto Linux 4.19.35

Hello, I am try to run esp8089 chip with Linux 4.19.35 (yocto project on imx6ull controller).

My device tree looks:

&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
card-detect-delay = <800>;
status = "okay";
wakeup-source;

esp8089: sdio_wifi@1 {
            vmmc-supply = <&reg_sd1_vmmc>;
	compatible = "esp,esp8089";
	esp,crystal_26M_en = <2>;
	clock-frequency = <50000000>;
	clock-freq-min-max = <200000 50000000>;
	supports-highspeed;
	supports-sdio;
	bus-width = <4>;
	cd-post;
	pm-ignore-notify;
	wifi-host; 
	non-removable;
	disable-wp;
            status = "okay";
};

};

CH_PD connected to GPIO 9 imx6ull, and I am fix schematic to pullup this pin.
After powerup mmc0 device recognized like high speed SDIO card:

cat /sys/kernel/debug/mmc0/ios

clock: 50000000 Hz
actual clock: 44000000 Hz
vdd: 21 (3.3 ~ 3.4 V)
bus mode: 2 (push-pull)
chip select: 0 (don't care)
power mode: 2 (on)
bus width: 2 (4 bits)
timing spec: 2 (sd high-speed)
signal voltage: 0 (3.30 V)
driver type: 0 (driver type B)

[ 0.991350] sdhci: Secure Digital Host Controller Interface driver
[ 0.991370] sdhci: Copyright(c) Pierre Ossman
[ 0.991381] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.028674] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 1.055568] mmc0: queuing unknown CIS tuple 0x01 (3 bytes)
[ 1.066636] mmc0: queuing unknown CIS tuple 0x1a (5 bytes)
[ 1.070629] mmc0: queuing unknown CIS tuple 0x1b (8 bytes)
[ 1.075118] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 1.088194] random: fast init done
[ 1.089401] mmc0: queuing unknown CIS tuple 0x80 (1 bytes)
[ 1.089635] mmc0: queuing unknown CIS tuple 0x81 (1 bytes)
[ 1.089889] mmc0: queuing unknown CIS tuple 0x82 (1 bytes)
[ 1.090013] mmc0: new high speed SDIO card at address 0001

But wheh driver tries go up i have an error:

[ 13.123295] esp8089: loading out-of-tree module taints kernel.
[ 13.207291] imx6ull_reset_off EXT RESET NOW OFF!
[ 13.207349]
***** EAGLE DRIVER VER:bdf5087c3deb*****

[ 13.207474] ESP8089 reset via GPIO 9
[ 13.465308] sdio_register_driver 1
[ 13.474356] eagle_sdio_dummy: probe of mmc0:0001:1 failed with error -110

[ 24.805251] esp_sdio_init ------ RETRY ------
[ 24.808095] ESP8089 reset via GPIO 9
[ 25.065279] sdio_register_driver 1
[ 25.074315] eagle_sdio_dummy: probe of mmc0:0001:1 failed with error -110
[ 36.325233] esp_sdio_init ------ RETRY ------
[ 36.325429] ESP8089 reset via GPIO 9
[ 36.585211] sdio_register_driver 1
[ 36.594276] eagle_sdio_dummy: probe of mmc0:0001:1 failed with error -110
[ 47.845224] esp_sdio_init ------ RETRY ------
[ 47.845423] ESP8089 reset via GPIO 9
[ 48.105166] sdio_register_driver 1
[ 48.114775] eagle_sdio_dummy: probe of mmc0:0001:1 failed with error -110
[ 59.365185] esp_sdio_init ------ RETRY ------
[ 59.365381] eagle sdio can not power up!

So, I can see than sdio device not reconnected. Maybe system configurated to scaning one time peripheral devices.
Can you help me to run esp8089 driver?

Schematic and dmesg in attached.
dmesg.txt
esp8089_1
esp8089_2

does not start reliably after reboot, only on cold start with kernel 5.15.32+

The driver does not start reliably after reboot ... investigating ..

Reboot dmesg log

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.32+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 Thu Mar 31 19:37:58 BST 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero Rev 1.3
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x0e400000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:720x576M@50,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32 smsc95xx.macaddr=B8:27:EB:91:26:54 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  boot=overlay console=tty1 root=PARTUUID=de47510e-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether
[    0.000000] Unknown kernel command line parameters "boot=overlay modules-load=dwc2,g_ether", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 216784K/507904K available (8994K kernel code, 1338K rwdata, 2932K rodata, 436K init, 546K bss, 28976K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 31774 entries in 94 pages
[    0.000000] ftrace: allocated 94 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x474/0x6d8 with crng_init=1
[    0.000006] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000098] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000212] bcm2835: system timer (irq = 27)
[    0.000994] Console: colour dummy device 80x30
[    0.001723] printk: console [tty1] enabled
[    0.001830] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060384] pid_max: default: 32768 minimum: 301
[    0.060666] LSM: Security Framework initializing
[    0.060949] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061037] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063476] cgroup: Disabling memory control group subsystem
[    0.063995] CPU: Testing write buffer coherency: ok
[    0.066185] Setting up static identity map for 0x8220 - 0x8258
[    0.067781] devtmpfs: initialized
[    0.083001] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.083481] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083588] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.125559] pinctrl core: initialized pinctrl subsystem
[    0.127986] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.132848] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.140409] audit: initializing netlink subsys (disabled)
[    0.141192] audit: type=2000 audit(0.140:1): state=initialized audit_enabled=0 res=1
[    0.142444] thermal_sys: Registered thermal governor 'step_wise'
[    0.143471] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.143581] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.143924] Serial: AMBA PL011 UART driver
[    0.156607] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.191059] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:21:11, variant start_cd
[    0.201092] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[    0.260307] Kprobes globally optimized
[    0.270785] bcm2835-dma 20007000.dma: DMA legacy API manager, dmachans=0x1
[    0.274476] SCSI subsystem initialized
[    0.275115] usbcore: registered new interface driver usbfs
[    0.275299] usbcore: registered new interface driver hub
[    0.275461] usbcore: registered new device driver usb
[    0.276028] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.276947] pps_core: LinuxPPS API ver. 1 registered
[    0.277021] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.277119] PTP clock support registered
[    0.280140] clocksource: Switched to clocksource timer
[    0.368461] VFS: Disk quotas dquot_6.6.0
[    0.368698] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.369013] FS-Cache: Loaded
[    0.369494] CacheFiles: Loaded
[    0.370704] simple-framebuffer 1f957000.framebuffer: framebuffer at 0x1f957000, 0xa4000 bytes
[    0.370812] simple-framebuffer 1f957000.framebuffer: format=r5g6b5, mode=656x512x16, linelength=1312
[    2.310779] Console: switching to colour frame buffer device 82x32
[    2.313850] simple-framebuffer 1f957000.framebuffer: fb0: simplefb registered!
[    2.335545] NET: Registered PF_INET protocol family
[    2.338158] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.342223] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    2.346660] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.351213] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.353623] TCP: Hash tables configured (established 4096 bind 4096)
[    2.356202] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.358665] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.361658] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.365631] RPC: Registered named UNIX socket transport module.
[    2.368120] RPC: Registered udp transport module.
[    2.370534] RPC: Registered tcp transport module.
[    2.372800] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.375702] Trying to unpack rootfs image as initramfs...
[    2.393025] armv6-pmu arm-pmu: hw perfevents: no irqs for PMU, sampling events not supported
[    2.397787] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    2.415488] Initialise system trusted keyrings
[    2.430628] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.458820] zbud: loaded
[    2.474041] FS-Cache: Netfs 'nfs' registered for caching
[    2.481738] NFS: Registering the id_resolver key type
[    2.484240] Key type id_resolver registered
[    2.486514] Key type id_legacy registered
[    2.488961] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.491366] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.512913] Key type asymmetric registered
[    2.515202] Asymmetric key parser 'x509' registered
[    2.517536] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.521803] io scheduler mq-deadline registered
[    2.523926] io scheduler kyber registered
[    2.563673] bcm2835-rng 20104000.rng: hwrng registered
[    2.566659] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    2.582743] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    2.644381] brd: module loaded
[    2.671722] loop: module loaded
[    2.680885] Loading iSCSI transport class v2.0-870.
[    2.693690] usbcore: registered new interface driver smsc95xx
[    2.695931] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.698349] dwc_otg: FIQ enabled
[    2.698379] dwc_otg: NAK holdoff enabled
[    2.698396] dwc_otg: FIQ split-transaction FSM enabled
[    2.698427] Module dwc_common_port init
[    2.699007] usbcore: registered new interface driver usb-storage
[    2.711893] mousedev: PS/2 mouse device common for all mice
[    2.718242] sdhci: Secure Digital Host Controller Interface driver
[    2.720538] sdhci: Copyright(c) Pierre Ossman
[    2.732276] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.736380] ledtrig-cpu: registered to indicate activity on CPUs
[    2.739122] hid: raw HID events driver (C) Jiri Kosina
[    2.750643] usbcore: registered new interface driver usbhid
[    2.752842] usbhid: USB HID core driver
[    2.781352] Initializing XFRM netlink socket
[    2.783532] NET: Registered PF_PACKET protocol family
[    2.785756] Key type dns_resolver registered
[    2.788849] registered taskstats version 1
[    2.801741] Loading compiled-in X.509 certificates
[    2.844708] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.847603] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.862889] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.865054] mmc-bcm2835 20300000.mmc: DMA channel allocated
[    2.920463] sdhost: log_buf @ (ptrval) (8e542000)
[    3.001582] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.027780] of_cfs_init
[    3.042295] of_cfs_init: OK
[    3.139446] mmc1: Controller never released inhibit bit(s).
[    3.141513] mmc1: Got command interrupt 0x00030000 even though no command operation was in progress.
[    3.161345] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.169172] mmc0: new high speed SDHC card at address 0002
[    3.181606] mmcblk0: mmc0:0002 N/A   29.8 GiB 
[    3.187456] mmc1: Got command interrupt 0x00030000 even though no command operation was in progress.
[    3.191550] mmc1: Got command interrupt 0x00030000 even though no command operation was in progress.
[    3.211932] mmc1: Controller never released inhibit bit(s).
[    3.234220]  mmcblk0: p1 p2
[    3.237816] mmcblk0: mmc0:0002 N/A   29.8 GiB
[    4.072205] Freeing initrd memory: 9176K
[    4.083067] Freeing unused kernel image (initmem) memory: 436K
[    4.085353] Kernel memory protection not selected by kernel config.
[    4.087565] Run /init as init process
[    4.089717]   with arguments:
[    4.089737]     /init
[    4.089754]   with environment:
[    4.089767]     HOME=/
[    4.089780]     TERM=linux
[    4.089794]     boot=overlay
[    4.089807]     modules-load=dwc2,g_ether
[    4.451192] mmc1: Got command interrupt 0x00030000 even though no command operation was in progress.
[    4.455611] mmc1: Got command interrupt 0x00030000 even though no command operation was in progress.
[    4.480495] mmc1: Controller never released inhibit bit(s).
[    4.525648] mmc-bcm2835 20300000.mmc: no support for card's volts

Boot after cold start:

dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.32+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1538 Thu Mar 31 19:37:58 BST 2022
[    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi Zero Rev 1.3
[    0.000000] random: fast init done
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Reserved memory: created CMA memory pool at 0x0e400000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001effffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 125860
[    0.000000] Kernel command line: coherent_pool=1M snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:720x576M@50,margin_left=32,margin_right=32,margin_top=32,margin_bottom=32 smsc95xx.macaddr=B8:27:EB:91:26:54 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  boot=overlay console=tty1 root=PARTUUID=de47510e-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether
[    0.000000] Unknown kernel command line parameters "boot=overlay modules-load=dwc2,g_ether", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 216784K/507904K available (8994K kernel code, 1338K rwdata, 2932K rodata, 436K init, 546K bss, 28976K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 31774 entries in 94 pages
[    0.000000] ftrace: allocated 94 pages with 5 groups
[    0.000000] trace event string verifier disabled
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x474/0x6d8 with crng_init=1
[    0.000005] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000096] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000208] bcm2835: system timer (irq = 27)
[    0.000991] Console: colour dummy device 80x30
[    0.001717] printk: console [tty1] enabled
[    0.001824] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[    0.060381] pid_max: default: 32768 minimum: 301
[    0.060661] LSM: Security Framework initializing
[    0.060944] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061034] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063479] cgroup: Disabling memory control group subsystem
[    0.063996] CPU: Testing write buffer coherency: ok
[    0.066171] Setting up static identity map for 0x8220 - 0x8258
[    0.067772] devtmpfs: initialized
[    0.082988] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[    0.083466] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.083574] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.125521] pinctrl core: initialized pinctrl subsystem
[    0.127947] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.132814] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.140378] audit: initializing netlink subsys (disabled)
[    0.141169] audit: type=2000 audit(0.140:1): state=initialized audit_enabled=0 res=1
[    0.142414] thermal_sys: Registered thermal governor 'step_wise'
[    0.143433] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[    0.143543] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.143884] Serial: AMBA PL011 UART driver
[    0.156585] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[    0.191056] raspberrypi-firmware soc:firmware: Attached to firmware from 2022-03-24T13:21:11, variant start_cd
[    0.201092] raspberrypi-firmware soc:firmware: Firmware hash is e5a963efa66a1974127860b42e913d2374139ff5
[    0.260285] Kprobes globally optimized
[    0.270743] bcm2835-dma 20007000.dma: DMA legacy API manager, dmachans=0x1
[    0.274426] SCSI subsystem initialized
[    0.275069] usbcore: registered new interface driver usbfs
[    0.275255] usbcore: registered new interface driver hub
[    0.275420] usbcore: registered new device driver usb
[    0.275990] usb_phy_generic phy: supply vcc not found, using dummy regulator
[    0.276908] pps_core: LinuxPPS API ver. 1 registered
[    0.276983] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.277084] PTP clock support registered
[    0.280115] clocksource: Switched to clocksource timer
[    0.368498] VFS: Disk quotas dquot_6.6.0
[    0.368734] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.369047] FS-Cache: Loaded
[    0.369527] CacheFiles: Loaded
[    0.370736] simple-framebuffer 1f957000.framebuffer: framebuffer at 0x1f957000, 0xa4000 bytes
[    0.370844] simple-framebuffer 1f957000.framebuffer: format=r5g6b5, mode=656x512x16, linelength=1312
[    2.310831] Console: switching to colour frame buffer device 82x32
[    2.313903] simple-framebuffer 1f957000.framebuffer: fb0: simplefb registered!
[    2.335596] NET: Registered PF_INET protocol family
[    2.338214] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    2.342273] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    2.346715] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.351264] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    2.353681] TCP: Hash tables configured (established 4096 bind 4096)
[    2.356273] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.358728] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    2.361730] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    2.365711] RPC: Registered named UNIX socket transport module.
[    2.368199] RPC: Registered udp transport module.
[    2.370611] RPC: Registered tcp transport module.
[    2.372884] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.375798] Trying to unpack rootfs image as initramfs...
[    2.393138] armv6-pmu arm-pmu: hw perfevents: no irqs for PMU, sampling events not supported
[    2.397908] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[    2.415461] Initialise system trusted keyrings
[    2.430842] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.459053] zbud: loaded
[    2.474269] FS-Cache: Netfs 'nfs' registered for caching
[    2.481977] NFS: Registering the id_resolver key type
[    2.484473] Key type id_resolver registered
[    2.486752] Key type id_legacy registered
[    2.489196] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.491603] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.513164] Key type asymmetric registered
[    2.515453] Asymmetric key parser 'x509' registered
[    2.517779] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.522056] io scheduler mq-deadline registered
[    2.524177] io scheduler kyber registered
[    2.563874] bcm2835-rng 20104000.rng: hwrng registered
[    2.566857] vc-mem: phys_addr:0x00000000 mem_base=0x1fa00000 mem_size:0x20000000(512 MiB)
[    2.582880] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[    2.644301] brd: module loaded
[    2.671656] loop: module loaded
[    2.680818] Loading iSCSI transport class v2.0-870.
[    2.693624] usbcore: registered new interface driver smsc95xx
[    2.695871] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    2.698293] dwc_otg: FIQ enabled
[    2.698323] dwc_otg: NAK holdoff enabled
[    2.698340] dwc_otg: FIQ split-transaction FSM enabled
[    2.698370] Module dwc_common_port init
[    2.710709] usbcore: registered new interface driver usb-storage
[    2.713449] mousedev: PS/2 mouse device common for all mice
[    2.719712] sdhci: Secure Digital Host Controller Interface driver
[    2.722010] sdhci: Copyright(c) Pierre Ossman
[    2.732210] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.736319] ledtrig-cpu: registered to indicate activity on CPUs
[    2.739068] hid: raw HID events driver (C) Jiri Kosina
[    2.750628] usbcore: registered new interface driver usbhid
[    2.752820] usbhid: USB HID core driver
[    2.772093] Initializing XFRM netlink socket
[    2.774273] NET: Registered PF_PACKET protocol family
[    2.776501] Key type dns_resolver registered
[    2.779596] registered taskstats version 1
[    2.791072] Loading compiled-in X.509 certificates
[    2.835042] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    2.837930] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.854155] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[    2.856322] mmc-bcm2835 20300000.mmc: DMA channel allocated
[    2.893625] sdhost: log_buf @ (ptrval) (8e542000)
[    2.962027] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.995914] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    3.022463] of_cfs_init
[    3.024691] of_cfs_init: OK
[    3.032155] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    3.061915] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[    3.082271] mmc1: new high speed SDIO card at address 0001
[    3.128621] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.147005] mmc0: new high speed SDHC card at address 0002
[    3.161037] mmcblk0: mmc0:0002 N/A   29.8 GiB 
[    3.168846]  mmcblk0: p1 p2
[    3.172320] mmcblk0: mmc0:0002 N/A   29.8 GiB
[    3.956992] Freeing initrd memory: 9176K
[    3.967613] Freeing unused kernel image (initmem) memory: 436K
[    3.969713] Kernel memory protection not selected by kernel config.
[    3.971813] Run /init as init process
[    3.973803]   with arguments:
[    3.973822]     /init
[    3.973839]   with environment:
[    3.973852]     HOME=/
[    3.973866]     TERM=linux
[    3.973880]     boot=overlay
[    3.973893]     modules-load=dwc2,g_ether
[    6.736292] dwc2 20980000.usb: supply vusb_d not found, using dummy regulator
[    6.738979] dwc2 20980000.usb: supply vusb_a not found, using dummy regulator
[    6.970471] dwc2 20980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[    6.974100] dwc2 20980000.usb: DWC OTG Controller
[    6.976197] dwc2 20980000.usb: new USB bus registered, assigned bus number 1
[    6.978279] dwc2 20980000.usb: irq 33, io mem 0x20980000
[    7.007175] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    7.011269] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.013353] usb usb1: Product: DWC OTG Controller
[    7.015437] usb usb1: Manufacturer: Linux 5.15.32+ dwc2_hsotg
[    7.017497] usb usb1: SerialNumber: 20980000.usb
[    7.076654] hub 1-0:1.0: USB hub found
[    7.085021] hub 1-0:1.0: 1 port detected
[    8.141334] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    9.367410] systemd[1]: System time before build time, advancing clock.
[    9.615879] NET: Registered PF_INET6 protocol family
[    9.620890] Segment Routing with IPv6
[    9.623165] In-situ OAM (IOAM) with IPv6
[    9.751860] systemd[1]: systemd 247.3-7+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    9.761911] systemd[1]: Detected architecture arm.
[    9.792335] systemd[1]: Set hostname to <klipper>.
[   13.339140] systemd[1]: Queued start job for default target Graphical Interface.
[   13.348346] random: systemd: uninitialized urandom read (16 bytes read)
[   13.361669] systemd[1]: Created slice system-getty.slice.
[   13.368078] random: systemd: uninitialized urandom read (16 bytes read)
[   13.373599] systemd[1]: Created slice system-modprobe.slice.
[   13.379529] random: systemd: uninitialized urandom read (16 bytes read)
[   13.385119] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[   13.394047] systemd[1]: Created slice system-wpa_supplicant.slice.
[   13.402681] systemd[1]: Created slice User and Session Slice.
[   13.409779] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   13.419347] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   13.430854] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   13.440532] systemd[1]: Reached target Local Encrypted Volumes.
[   13.448262] systemd[1]: Reached target Paths.
[   13.455577] systemd[1]: Reached target Slices.
[   13.462480] systemd[1]: Reached target Swap.
[   13.471433] systemd[1]: Listening on Syslog Socket.
[   13.479642] systemd[1]: Listening on fsck to fsckd communication Socket.
[   13.486953] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   13.496263] systemd[1]: Listening on Journal Audit Socket.
[   13.504788] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.513423] systemd[1]: Listening on Journal Socket.
[   13.525621] systemd[1]: Listening on udev Control Socket.
[   13.533685] systemd[1]: Listening on udev Kernel Socket.
[   13.542231] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   13.557575] systemd[1]: Mounting POSIX Message Queue File System...
[   13.591101] systemd[1]: Mounting RPC Pipe File System...
[   13.645833] systemd[1]: Mounting Kernel Debug File System...
[   13.694037] systemd[1]: Mounting Kernel Trace File System...
[   13.732466] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[   13.772727] systemd[1]: Starting Restore / save the current clock...
[   13.815443] systemd[1]: Starting Set the console keyboard layout...
[   13.873305] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   13.952767] systemd[1]: Starting Load Kernel Module configfs...
[   14.091472] systemd[1]: Starting Load Kernel Module drm...
[   14.155901] systemd[1]: Starting Load Kernel Module fuse...
[   14.203341] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   14.243551] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   14.308276] systemd[1]: Starting Journal Service...
[   14.366015] fuse: init (API version 7.34)
[   14.422205] systemd[1]: Starting Load Kernel Modules...
[   14.521768] systemd[1]: Starting Remount Root and Kernel File Systems...
[   14.624349] systemd[1]: Starting Coldplug All udev Devices...
[   14.758793] systemd[1]: Mounted POSIX Message Queue File System.
[   14.827731] systemd[1]: Mounted RPC Pipe File System.
[   14.876334] systemd[1]: Mounted Kernel Debug File System.
[   14.934615] systemd[1]: Mounted Kernel Trace File System.
[   15.030461] systemd[1]: Finished Restore / save the current clock.
[   15.081012] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   15.145603] systemd[1]: [email protected]: Succeeded.
[   15.197654] systemd[1]: Finished Load Kernel Module configfs.
[   15.217445] systemd[1]: [email protected]: Succeeded.
[   15.300621] systemd[1]: Finished Load Kernel Module drm.
[   15.360965] systemd[1]: [email protected]: Succeeded.
[   15.400988] systemd[1]: Finished Load Kernel Module fuse.
[   15.462681] using random self ethernet address
[   15.465010] using random host ethernet address
[   15.468646] usb0: HOST MAC 5a:c5:d5:5f:3f:a6
[   15.470916] usb0: MAC 92:7b:03:ef:da:10
[   15.520395] using random self ethernet address
[   15.522556] using random host ethernet address
[   15.524626] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   15.526645] g_ether gadget: g_ether ready
[   15.528599] dwc2 20980000.usb: bound driver g_ether
[   15.571017] systemd[1]: Mounting FUSE Control File System...
[   15.721256] systemd[1]: Mounting Kernel Configuration File System...
[   15.786418] dwc2 20980000.usb: new device is high-speed
[   15.842429] dwc2 20980000.usb: new device is high-speed
[   15.897442] dwc2 20980000.usb: new device is high-speed
[   15.920602] systemd[1]: Finished Load Kernel Modules.
[   15.953079] dwc2 20980000.usb: new device is high-speed
[   16.000765] systemd[1]: Finished Remount Root and Kernel File Systems.
[   16.008585] dwc2 20980000.usb: new device is high-speed
[   16.037049] systemd[1]: Mounted FUSE Control File System.
[   16.060312] dwc2 20980000.usb: new address 21
[   16.076229] systemd[1]: Mounted Kernel Configuration File System.
[   16.125032] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   16.129988] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   16.221054] systemd[1]: Starting Load/Save Random Seed...
[   16.321925] systemd[1]: Starting Apply Kernel Variables...
[   16.451177] systemd[1]: Starting Create System Users...
[   17.002300] systemd[1]: Finished Apply Kernel Variables.
[   17.106901] systemd[1]: Started Journal Service.
[   17.708288] systemd-journald[176]: Received client request to flush runtime journal.
[   18.148365] systemd-journald[176]: File /var/log/journal/6add6c07727f4a44a249ce70609f481a/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   24.845334] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   24.848194] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   24.848255] [vc_sm_connected_init]: start
[   24.883166] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[   24.883221] [vc_sm_connected_init]: failed to initialize shared memory service
[   24.888348] mc: Linux media interface: v0.10
[   25.230943] videodev: Linux video capture interface: v2.00
[   25.410686] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   25.414232] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   25.418190] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   25.489994] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[   25.508383] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[   25.575406] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   25.581525] : Unregister from media controller
[   25.581583] (efault): Unregistering node (null)[0] device node /dev/video0
[   25.581616] (efault): Unregistering node (null)[0] device node /dev/video0
[   25.581639] (efault): Unregistering node (null)[0] device node /dev/video0
[   25.581661] (efault): Unregistering node (null)[0] device node /dev/video0
[   25.613866] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   25.641317] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[   25.680218] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[   28.595749] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   29.290217] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   29.524283] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[   32.165506] checking generic (1f957000 a4000) vs hw (0 ffffffff)
[   32.165563] fb0: switching to vc4 from simple
[   32.295902] Console: switching to colour dummy device 80x30
[   32.311538] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4])
[   32.367466] Registered IR keymap rc-cec
[   32.367882] rc rc0: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0
[   32.368365] input: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0/input0
[   32.399665] esp8089: loading out-of-tree module taints kernel.
[   32.518218] 
               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[   32.518385] ESP8089 reset via GPIO 5
[   33.212099] mmc1: card 0001 removed
[   33.475811] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[   33.505760] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[   33.518755] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[   33.526965] mmc1: new high speed SDIO card at address 0001
[   33.580777] esp_sdio_dummy_probe enter
[   33.590564] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4])
[   33.612485] Registered IR keymap rc-cec
[   33.612916] rc rc0: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0
[   33.613399] input: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0/input1
[   33.802344] esp_sdio_init power up OK
[   34.410330] cam-dummy-reg: disabling
[   36.936375] vc4-drm soc:gpu: bound 20400000.hvs (ops vc4_hvs_ops [vc4])
[   36.949516] Registered IR keymap rc-cec
[   36.949929] rc rc0: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0
[   36.950526] input: vc4 as /devices/platform/soc/20902000.hdmi/rc/rc0/input2
[   36.967822] vc4-drm soc:gpu: bound 20902000.hdmi (ops vc4_hdmi_ops [vc4])
[   36.969083] vc4-drm soc:gpu: bound 20004000.txp (ops vc4_txp_ops [vc4])

Raspberry Pi Compute no wlan device added

I have successfully added esp-12f to pi compute on gpio 34-39 as SDIO with GPIO 0 as reset.
mmc1 detects the device.

However ESP driver fails with this error on startup...

[   17.111769] resetting event timeout
[   17.111783] esp_init_all failed: -110
[   17.111788] first error exit

And when i try to reset gpio, 1) after using sudo modprobe -r esp8089, eso8089 is not removed (shows in lsmod)... but there is no error in output. Also there is no esp_host lines etc...

[  175.334908] esp_sdio_exit
[  175.335007] esp_sdio_remove enter
[  175.336774] ESP8089 reset via GPIO 0
[  175.915856] mmc1: card 0001 removed
[  175.968583] sdio_read_cis: 2 callbacks suppressed
[  175.968592] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  175.976021] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  175.979260] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  175.982159] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  175.982255] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[  175.982352] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[  175.982404] mmc1: new high speed SDIO card at address 0001
[  176.041852] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  176.045385] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  176.104264]
               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[  176.104317] ESP8089 reset via GPIO 0
[  176.315543] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[  177.035754] mmc1: card 0001 removed
[  177.087490] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  177.094894] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  177.098217] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  177.101131] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  177.101355] mmc1: new high speed SDIO card at address 0001
[  177.101809] esp_sdio_dummy_probe enter
[  177.315378] esp_sdio_init power up OK

This is before i can even reset gpio (if i try to reset gpio i get kernel panic).
After 10 sec of this i again get same message...

[  177.101809] esp_sdio_dummy_probe enter
[  177.315378] esp_sdio_init power up OK
[  187.994606] resetting event timeout
[  187.994619] esp_init_all failed: -110
[  187.994625] first error exit

If i try to power down module by removing power, i get kernel panic.

I all of these cases, I am not getting wifi device shown as wlan0 or anything else.

Kernel driver panic with 5.10.63+

On a Pi zero (below) with kernel 5.10.63+ I get the following error (below) from dmesg output. What to do? My configuration is thus in /boot/config.txt dtoverlay=sdio,poll_once=off,sdio_overclock=15 (I set the overclock slow after seeing this problem to exclude any speed issues .. have hooked up to scope and it looks OK signal wise). Also, the device is wired with 22Ohm resistors.

processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 697.95
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 900093
Serial		: 00000000a5912654
Model		: Raspberry Pi Zero Rev 1.3
               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[   22.120304] ESP8089 reset via GPIO 0
[   22.353779] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[   22.642474] mmc1: card 0001 removed
[   22.698719] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[   22.709090] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[   22.714344] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[   22.735197] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[   22.735461] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[   22.735709] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[   22.735830] mmc1: new high speed SDIO card at address 0001
[   22.736778] esp_sdio_dummy_probe enter
[   22.994632] esp_sdio_init power up OK
[   23.047747] sip_write_memory send buffer failed
[   23.047788] esp_download_fw Failed to write fw, err: -84
[   23.047802] download firmware failed
[   23.047817] esp_init_all failed: -84
[   23.047828] first error exit
[   23.762621] esp_sdio_remove enter
[   23.762688] sip_detach wrong state 1
[   23.763377] mmc1: card 0001 removed
[   23.815967] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[   23.826735] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[   23.830807] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[   23.867275] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[   23.867865] mmc1: new high speed SDIO card at address 0001
[   23.902977] 8<--- cut here ---
[   23.906519] Unable to handle kernel NULL pointer dereference at virtual address 00000020
[   23.913579] pgd = (ptrval)
[   23.917118] [00000020] *pgd=00000000
[   23.920657] Internal error: Oops: 805 [#1] ARM
[   23.924194] Modules linked in: cec esp8089(O) drm_kms_helper mac80211 drm drm_panel_orientation_quirks sha256_generic libsha256 snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm cfg80211 snd_timer snd syscopyarea sysfillrect sysimgblt fb_sys_fops backlight raspberrypi_hwmon rfkill libarc4 bcm2835_codec(C) bcm2835_isp(C) bcm2835_v4l2(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common videodev vc_sm_cma(C) mc fixed uio_pdrv_genirq uio i2c_dev usb_f_ecm g_ether usb_f_rndis u_ether libcomposite dwc2 udc_core roles ip_tables x_tables ipv6
[   23.951928] CPU: 0 PID: 14 Comm: kworker/0:2 Tainted: G         C O      5.10.63+ #1496
[   23.956204] Hardware name: BCM2835
[   23.960368] Workqueue: events_freezable mmc_rescan
[   23.964659] PC is at esp_pub_init_all+0x54/0x2ec [esp8089]
[   23.968942] LR is at esp_sdio_probe+0x284/0x3e8 [esp8089]
[   23.973169] pc : [<bf77cc54>]    lr : [<bf77b438>]    psr: 20000013
[   23.977412] sp : c11a9c90  ip : c11a9cd8  fp : c11a9cd4
[   23.981659] r10: 00000000  r9 : c0bb3028  r8 : bf788080
[   23.985895] r7 : c24df6a0  r6 : c18ea400  r5 : 00000002  r4 : c24df6a0
[   23.990184] r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : c24df6a0
[   23.994459] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   23.998841] Control: 00c5387d  Table: 03474008  DAC: 00000055
[   24.003255] Process kworker/0:2 (pid: 14, stack limit = 0x(ptrval))
[   24.007745] Stack: (0xc11a9c90 to 0xc11aa000)
[   24.012298] 9c80:                                     00000000 c24df6a0 00000000 c11a9c9c
[   24.021478] 9ca0: c11a9c9c 1771e9b9 c28ff680 c28ff680 bf7b47a4 c18ea400 c24df6a0 bf788080
[   24.030918] 9cc0: 00000000 00000000 c11a9d04 c11a9cd8 bf77b438 bf77cc0c bf7851b0 00000000
[   24.040526] 9ce0: c18ea408 c18ea400 00000000 bf7880f0 bf7851b0 00000000 c11a9d2c c11a9d08
[   24.050495] 9d00: c06a627c bf77b1c0 c18ea408 c0d9ee98 c0d9eea0 00000000 bf7880f0 00000000
[   24.060833] 9d20: c11a9d64 c11a9d30 c05ab700 c06a6154 00000001 00000016 c11a9d64 c18ea408
[   24.071149] 9d40: bf7880f0 c18ea408 c0bb3028 00000001 00000000 c0ca371c c11a9d7c c11a9d68
[   24.081485] 9d60: c05abac4 c05ab504 bf7880f0 c11a9dd4 c11a9d9c c11a9d80 c05abc70 c05aba68
[   24.091781] 9d80: 00000000 c11a9dd4 c05abbe0 c0bb3028 c11a9dcc c11a9da0 c05a9748 c05abbec
[   24.102145] 9da0: c05b8974 c11dd41c c34a5214 1771e9b9 c18ea408 c18ea44c c0bb3028 c0bb3028
[   24.112800] 9dc0: c11a9e04 c11a9dd0 c05ab464 c05a96c8 00000cc0 c18ea408 00000001 1771e9b9
[   24.123826] 9de0: 00000000 c18ea408 c18ea408 c0cc89fc c0bb3028 00000000 c11a9e14 c11a9e08
[   24.135121] 9e00: c05abca4 c05ab388 c11a9e34 c11a9e18 c05aa5d4 c05abc94 c18ea408 00000000
[   24.146827] 9e20: c2515808 c0bb3028 c11a9e7c c11a9e38 c05a67c8 c05aa54c c11a9e7c c11a9e48
[   24.158784] 9e40: c069a0c4 c06d4eac c11a9e70 1771e9b9 c05a4c04 c18ea400 c18ea408 c12ff000
[   24.170929] 9e60: 00000001 c2515800 c2515800 00000001 c11a9e94 c11a9e80 c06a6538 c05a63f8
[   24.183313] 9e80: 00000000 00000001 c11a9ee4 c11a9e98 c06a54e0 c06a64dc 00000000 c11a9eaf
[   24.195740] 9ea0: 00000000 00000000 00000000 000002f5 10ffff00 1771e9b9 00000000 c12ff264
[   24.208175] 9ec0: c12ff000 00000001 00061a80 c08d7d7c 00000000 c12ff268 c11a9f0c c11a9ee8
[   24.220625] 9ee0: c069af64 c06a5244 c12ff264 c10409c0 00000000 dbf5a600 00000000 00000000
[   24.233054] 9f00: c11a9f44 c11a9f10 c003db24 c069ab70 c003e094 00000001 c11a9f44 c10409c0
[   24.245515] 9f20: c0bbc2e4 c10409d4 c0bbc2f8 c0c27e80 00000008 c0bbc2e4 c11a9f74 c11a9f48
[   24.257957] 9f40: c003de30 c003d928 00000000 c11ac0c0 c118ddc0 00000000 c11a8000 c003ddfc
[   24.270386] 9f60: c10409c0 c10f9e88 c11a9fac c11a9f78 c0043770 c003de08 c11ac0e0 c11ac0e0
[   24.282852] 9f80: c002fb48 c118ddc0 c0043628 00000000 00000000 00000000 00000000 00000000
[   24.295280] 9fa0: 00000000 c11a9fb0 c00082ec c0043634 00000000 00000000 00000000 00000000
[   24.307724] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.320172] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[   24.332593] Backtrace: 
[   24.338871] [<bf77cc00>] (esp_pub_init_all [esp8089]) from [<bf77b438>] (esp_sdio_probe+0x284/0x3e8 [esp8089])
[   24.351127]  r10:00000000 r9:00000000 r8:bf788080 r7:c24df6a0 r6:c18ea400 r5:bf7b47a4
[   24.357332]  r4:c28ff680
[   24.363500] [<bf77b1b4>] (esp_sdio_probe [esp8089]) from [<c06a627c>] (sdio_bus_probe+0x134/0x184)
[   24.375644]  r9:00000000 r8:bf7851b0 r7:bf7880f0 r6:00000000 r5:c18ea400 r4:c18ea408
[   24.381838] [<c06a6148>] (sdio_bus_probe) from [<c05ab700>] (really_probe+0x208/0x3e4)
[   24.387989]  r9:00000000 r8:bf7880f0 r7:00000000 r6:c0d9eea0 r5:c0d9ee98 r4:c18ea408
[   24.394123] [<c05ab4f8>] (really_probe) from [<c05abac4>] (driver_probe_device+0x68/0xc4)
[   24.406092]  r10:c0ca371c r9:00000000 r8:00000001 r7:c0bb3028 r6:c18ea408 r5:bf7880f0
[   24.412164]  r4:c18ea408
[   24.418113] [<c05aba5c>] (driver_probe_device) from [<c05abc70>] (__device_attach_driver+0x90/0xa8)
[   24.429996]  r5:c11a9dd4 r4:bf7880f0
[   24.435849] [<c05abbe0>] (__device_attach_driver) from [<c05a9748>] (bus_for_each_drv+0x8c/0xd4)
[   24.447491]  r7:c0bb3028 r6:c05abbe0 r5:c11a9dd4 r4:00000000
[   24.453309] [<c05a96bc>] (bus_for_each_drv) from [<c05ab464>] (__device_attach+0xe8/0x15c)
[   24.464813]  r7:c0bb3028 r6:c0bb3028 r5:c18ea44c r4:c18ea408
[   24.470546] [<c05ab37c>] (__device_attach) from [<c05abca4>] (device_initial_probe+0x1c/0x20)
[   24.481885]  r8:00000000 r7:c0bb3028 r6:c0cc89fc r5:c18ea408 r4:c18ea408
[   24.487625] [<c05abc88>] (device_initial_probe) from [<c05aa5d4>] (bus_probe_device+0x94/0x9c)
[   24.498877] [<c05aa540>] (bus_probe_device) from [<c05a67c8>] (device_add+0x3dc/0x764)
[   24.504623]  r7:c0bb3028 r6:c2515808 r5:00000000 r4:c18ea408
[   24.510292] [<c05a63ec>] (device_add) from [<c06a6538>] (sdio_add_func+0x68/0x80)
[   24.516141]  r10:00000001 r9:c2515800 r8:c2515800 r7:00000001 r6:c12ff000 r5:c18ea408
[   24.521976]  r4:c18ea400
[   24.527639] [<c06a64d0>] (sdio_add_func) from [<c06a54e0>] (mmc_attach_sdio+0x2a8/0x394)
[   24.538973]  r5:00000001 r4:00000000
[   24.544617] [<c06a5238>] (mmc_attach_sdio) from [<c069af64>] (mmc_rescan+0x400/0x46c)
[   24.550310]  r10:c12ff268 r9:00000000 r8:c08d7d7c r7:00061a80 r6:00000001 r5:c12ff000
[   24.555984]  r4:c12ff264
[   24.561551] [<c069ab64>] (mmc_rescan) from [<c003db24>] (process_one_work+0x208/0x4e0)
[   24.567244]  r9:00000000 r8:00000000 r7:dbf5a600 r6:00000000 r5:c10409c0 r4:c12ff264
[   24.572895] [<c003d91c>] (process_one_work) from [<c003de30>] (worker_thread+0x34/0x598)
[   24.583945]  r10:c0bbc2e4 r9:00000008 r8:c0c27e80 r7:c0bbc2f8 r6:c10409d4 r5:c0bbc2e4
[   24.589575]  r4:c10409c0
[   24.595129] [<c003ddfc>] (worker_thread) from [<c0043770>] (kthread+0x148/0x15c)
[   24.600760]  r10:c10f9e88 r9:c10409c0 r8:c003ddfc r7:c11a8000 r6:00000000 r5:c118ddc0
[   24.606465]  r4:c11ac0c0 r3:00000000
[   24.612042] [<c0043628>] (kthread) from [<c00082ec>] (ret_from_fork+0x14/0x28)
[   24.617691] Exception stack(0xc11a9fb0 to 0xc11a9ff8)
[   24.623292] 9fa0:                                     00000000 00000000 00000000 00000000
[   24.634300] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   24.645382] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   24.650967]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0043628
[   24.656560]  r4:c118ddc0
[   24.662005] Code: e50b2034 0a000067 e5902018 e3a01001 (e5821020) 
[   24.667662] ---[ end trace 5914bb577f453827 ]---

esp8089 on licheepi_nano with 4.15 kernel

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.

Linux driver esp8266 long ping

Hello,
I encounter some problem with access to the network through wifi. Device and driver connect to access point. The connection is stable. The problem is when I ping this device. Please take a look at the log

PING 192.168.1.213 (192.168.1.213) 56(84) bytes of data.
64 bytes from 192.168.1.213: icmp_seq=1 ttl=64 time=802 ms
64 bytes from 192.168.1.213: icmp_seq=2 ttl=64 time=36.3 ms
64 bytes from 192.168.1.213: icmp_seq=3 ttl=64 time=753 ms
64 bytes from 192.168.1.213: icmp_seq=4 ttl=64 time=43.5 ms
64 bytes from 192.168.1.213: icmp_seq=5 ttl=64 time=193 ms
64 bytes from 192.168.1.213: icmp_seq=6 ttl=64 time=77.0 ms
64 bytes from 192.168.1.213: icmp_seq=7 ttl=64 time=56.0 ms
64 bytes from 192.168.1.213: icmp_seq=8 ttl=64 time=293 ms
64 bytes from 192.168.1.213: icmp_seq=9 ttl=64 time=2640 ms
64 bytes from 192.168.1.213: icmp_seq=10 ttl=64 time=1640 ms
64 bytes from 192.168.1.213: icmp_seq=11 ttl=64 time=640 ms
64 bytes from 192.168.1.213: icmp_seq=12 ttl=64 time=75.0 ms
64 bytes from 192.168.1.213: icmp_seq=13 ttl=64 time=240 ms
64 bytes from 192.168.1.213: icmp_seq=14 ttl=64 time=14.3 ms
64 bytes from 192.168.1.213: icmp_seq=15 ttl=64 time=3.10 ms
64 bytes from 192.168.1.213: icmp_seq=16 ttl=64 time=29.3 ms
64 bytes from 192.168.1.213: icmp_seq=17 ttl=64 time=114 ms
64 bytes from 192.168.1.213: icmp_seq=18 ttl=64 time=41.0 ms
64 bytes from 192.168.1.213: icmp_seq=19 ttl=64 time=207 ms
64 bytes from 192.168.1.213: icmp_seq=20 ttl=64 time=651 ms
64 bytes from 192.168.1.213: icmp_seq=21 ttl=64 time=1217 ms
64 bytes from 192.168.1.213: icmp_seq=22 ttl=64 time=639 ms
64 bytes from 192.168.1.213: icmp_seq=23 ttl=64 time=1252 ms
64 bytes from 192.168.1.213: icmp_seq=24 ttl=64 time=245 ms
64 bytes from 192.168.1.213: icmp_seq=25 ttl=64 time=548 ms
64 bytes from 192.168.1.213: icmp_seq=26 ttl=64 time=1122 ms
64 bytes from 192.168.1.213: icmp_seq=27 ttl=64 time=796 ms
64 bytes from 192.168.1.213: icmp_seq=28 ttl=64 time=365 ms
64 bytes from 192.168.1.213: icmp_seq=29 ttl=64 time=5048 ms
64 bytes from 192.168.1.213: icmp_seq=30 ttl=64 time=5027 ms
64 bytes from 192.168.1.213: icmp_seq=31 ttl=64 time=4027 ms
64 bytes from 192.168.1.213: icmp_seq=32 ttl=64 time=3027 ms
64 bytes from 192.168.1.213: icmp_seq=33 ttl=64 time=2027 ms
64 bytes from 192.168.1.213: icmp_seq=34 ttl=64 time=1027 ms
64 bytes from 192.168.1.213: icmp_seq=35 ttl=64 time=1931 ms
64 bytes from 192.168.1.213: icmp_seq=36 ttl=64 time=5387 ms
64 bytes from 192.168.1.213: icmp_seq=37 ttl=64 time=4387 ms
64 bytes from 192.168.1.213: icmp_seq=38 ttl=64 time=13706 ms
64 bytes from 192.168.1.213: icmp_seq=39 ttl=64 time=12698 ms
64 bytes from 192.168.1.213: icmp_seq=40 ttl=64 time=11690 ms
64 bytes from 192.168.1.213: icmp_seq=41 ttl=64 time=10682 ms
64 bytes from 192.168.1.213: icmp_seq=42 ttl=64 time=9681 ms
64 bytes from 192.168.1.213: icmp_seq=43 ttl=64 time=8674 ms
From 192.168.1.213 icmp_seq=88 Destination Host Unreachable
From 192.168.1.213 icmp_seq=89 Destination Host Unreachable
From 192.168.1.213 icmp_seq=90 Destination Host Unreachable
From 192.168.1.213 icmp_seq=91 Destination Host Unreachable
From 192.168.1.213 icmp_seq=92 Destination Host Unreachable
From 192.168.1.213 icmp_seq=93 Destination Host Unreachable
From 192.168.1.213 icmp_seq=94 Destination Host Unreachable
From 192.168.1.213 icmp_seq=95 Destination Host Unreachable
From 192.168.1.213 icmp_seq=96 Destination Host Unreachable
From 192.168.1.213 icmp_seq=97 Destination Host Unreachable
From 192.168.1.213 icmp_seq=98 Destination Host Unreachable
From 192.168.1.213 icmp_seq=99 Destination Host Unreachable
From 192.168.1.213 icmp_seq=100 Destination Host Unreachable
From 192.168.1.213 icmp_seq=101 Destination Host Unreachable
From 192.168.1.213 icmp_seq=102 Destination Host Unreachable
From 192.168.1.213 icmp_seq=103 Destination Host Unreachable
From 192.168.1.213 icmp_seq=104 Destination Host Unreachable
From 192.168.1.213 icmp_seq=105 Destination Host Unreachable
From 192.168.1.213 icmp_seq=106 Destination Host Unreachable
From 192.168.1.213 icmp_seq=107 Destination Host Unreachable
From 192.168.1.213 icmp_seq=108 Destination Host Unreachable
From 192.168.1.213 icmp_seq=109 Destination Host Unreachable
From 192.168.1.213 icmp_seq=110 Destination Host Unreachable
From 192.168.1.213 icmp_seq=111 Destination Host Unreachable
From 192.168.1.213 icmp_seq=112 Destination Host Unreachable
From 192.168.1.213 icmp_seq=113 Destination Host Unreachable
From 192.168.1.213 icmp_seq=114 Destination Host Unreachable
From 192.168.1.213 icmp_seq=115 Destination Host Unreachable
From 192.168.1.213 icmp_seq=116 Destination Host Unreachable
From 192.168.1.213 icmp_seq=117 Destination Host Unreachable
From 192.168.1.213 icmp_seq=118 Destination Host Unreachable
From 192.168.1.213 icmp_seq=119 Destination Host Unreachable
From 192.168.1.213 icmp_seq=120 Destination Host Unreachable
From 192.168.1.213 icmp_seq=121 Destination Host Unreachable
From 192.168.1.213 icmp_seq=122 Destination Host Unreachable
From 192.168.1.213 icmp_seq=123 Destination Host Unreachable
From 192.168.1.213 icmp_seq=124 Destination Host Unreachable
From 192.168.1.213 icmp_seq=125 Destination Host Unreachable
From 192.168.1.213 icmp_seq=126 Destination Host Unreachable
From 192.168.1.213 icmp_seq=127 Destination Host Unreachable
From 192.168.1.213 icmp_seq=128 Destination Host Unreachable
From 192.168.1.213 icmp_seq=129 Destination Host Unreachable
From 192.168.1.213 icmp_seq=130 Destination Host Unreachable
From 192.168.1.213 icmp_seq=131 Destination Host Unreachable
From 192.168.1.213 icmp_seq=132 Destination Host Unreachable
From 192.168.1.213 icmp_seq=133 Destination Host Unreachable
From 192.168.1.213 icmp_seq=134 Destination Host Unreachable
From 192.168.1.213 icmp_seq=135 Destination Host Unreachable
From 192.168.1.213 icmp_seq=136 Destination Host Unreachable
From 192.168.1.213 icmp_seq=137 Destination Host Unreachable
From 192.168.1.213 icmp_seq=138 Destination Host Unreachable
64 bytes from 192.168.1.213: icmp_seq=46 ttl=64 time=94862 ms
64 bytes from 192.168.1.213: icmp_seq=47 ttl=64 time=104698 ms
From 192.168.1.213 icmp_seq=183 Destination Host Unreachable
From 192.168.1.213 icmp_seq=184 Destination Host Unreachable
From 192.168.1.213 icmp_seq=185 Destination Host Unreachable
From 192.168.1.213 icmp_seq=186 Destination Host Unreachable
From 192.168.1.213 icmp_seq=187 Destination Host Unreachable
From 192.168.1.213 icmp_seq=188 Destination Host Unreachable
From 192.168.1.213 icmp_seq=189 Destination Host Unreachable
From 192.168.1.213 icmp_seq=190 Destination Host Unreachable
From 192.168.1.213 icmp_seq=191 Destination Host Unreachable
From 192.168.1.213 icmp_seq=192 Destination Host Unreachable
From 192.168.1.213 icmp_seq=193 Destination Host Unreachable
From 192.168.1.213 icmp_seq=194 Destination Host Unreachable
From 192.168.1.213 icmp_seq=195 Destination Host Unreachable
From 192.168.1.213 icmp_seq=196 Destination Host Unreachable
From 192.168.1.213 icmp_seq=197 Destination Host Unreachable
From 192.168.1.213 icmp_seq=198 Destination Host Unreachable
From 192.168.1.213 icmp_seq=199 Destination Host Unreachable
From 192.168.1.213 icmp_seq=200 Destination Host Unreachable
From 192.168.1.213 icmp_seq=201 Destination Host Unreachable
From 192.168.1.213 icmp_seq=202 Destination Host Unreachable
From 192.168.1.213 icmp_seq=203 Destination Host Unreachable
From 192.168.1.213 icmp_seq=225 Destination Host Unreachable
From 192.168.1.213 icmp_seq=226 Destination Host Unreachable
From 192.168.1.213 icmp_seq=227 Destination Host Unreachable
From 192.168.1.213 icmp_seq=228 Destination Host Unreachable
From 192.168.1.213 icmp_seq=229 Destination Host Unreachable
From 192.168.1.213 icmp_seq=230 Destination Host Unreachable
From 192.168.1.213 icmp_seq=231 Destination Host Unreachable
From 192.168.1.213 icmp_seq=232 Destination Host Unreachable
From 192.168.1.213 icmp_seq=233 Destination Host Unreachable
From 192.168.1.213 icmp_seq=234 Destination Host Unreachable
From 192.168.1.213 icmp_seq=235 Destination Host Unreachable
From 192.168.1.213 icmp_seq=236 Destination Host Unreachable
From 192.168.1.213 icmp_seq=237 Destination Host Unreachable
From 192.168.1.213 icmp_seq=238 Destination Host Unreachable
From 192.168.1.213 icmp_seq=239 Destination Host Unreachable
From 192.168.1.213 icmp_seq=240 Destination Host Unreachable
From 192.168.1.213 icmp_seq=241 Destination Host Unreachable
From 192.168.1.213 icmp_seq=242 Destination Host Unreachable
From 192.168.1.213 icmp_seq=243 Destination Host Unreachable
From 192.168.1.213 icmp_seq=244 Destination Host Unreachable
From 192.168.1.213 icmp_seq=245 Destination Host Unreachable
From 192.168.1.213 icmp_seq=246 Destination Host Unreachable
From 192.168.1.213 icmp_seq=247 Destination Host Unreachable
From 192.168.1.213 icmp_seq=248 Destination Host Unreachable
64 bytes from 192.168.1.213: icmp_seq=85 ttl=64 time=183271 ms
From 192.168.1.213 icmp_seq=421 Destination Host Unreachable
From 192.168.1.213 icmp_seq=422 Destination Host Unreachable
From 192.168.1.213 icmp_seq=423 Destination Host Unreachable

Sometimes I capture 4 or more ping immediately all at the same time not one by one. I check all logs and found nothing, not errors not warnings

cat /var/log/messages | grep esp

Jun 4 14:00:05 uuuu user.warn kernel: [ 3.481102] esp_sdio_dummy_probe enter
Jun 4 14:00:05 uuuu user.warn kernel: [ 3.698298] esp_sdio_init power up OK
Jun 4 14:00:05 uuuu user.warn kernel: [ 4.328482] esp_host:bdf5087c3deb
Jun 4 14:00:05 uuuu user.warn kernel: [ 4.328482] esp_target: e826c2b3c9fd 57 18202
Jun 4 14:00:05 v user.warn kernel: [ 4.337886] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
Jun 4 14:00:05 uuuu user.warn kernel: [ 4.374375] esp_sdio_remove enter
Jun 4 14:00:05 uuuu user.warn kernel: [ 5.000521] esp_sdio: initializing netlink
Jun 4 14:00:05 uuuu user.warn kernel: [ 5.020455] esp_host:bdf5087c3deb
Jun 4 14:00:05 uuuu user.warn kernel: [ 5.020455] esp_target: e826c2b3c9fd 57 18202
Jun 4 14:00:05 uuuu user.warn kernel: [ 10.343256] esp_op_add_interface STA
Jun 4 14:00:05 uuuu user.info kernel: [ 11.728551] wlan0: RX AssocResp from b0:4e:26:f0:cf:a3 (capab=0x1431 status=0 aid=1)
Jun 4 14:00:05 uuuu user.warn kernel: [ 11.743603] esp_op_ampdu_action RX START b0:4e:26:f0:cf:a3 tid 0 0
Jun 4 14:00:08 uuuu user.warn kernel: [ 18.918399] esp_op_ampdu_action TX START, addr:b0:4e:26:f0:cf:a3,tid:0,state:1
Jun 4 14:00:08 uuuu user.warn kernel: [ 18.948542] esp_op_ampdu_action TX OPERATION, addr:b0:4e:26:f0:cf:a3,tid:0,state:2

cat /var/log/messages | grep wlan

Jun 4 14:00:05 uuuu user.info kernel: [ 10.347365] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jun 4 14:00:05 uuuu user.info kernel: [ 11.654622] wlan0: authenticate with b0:4e:26:f0:cf:a3
Jun 4 14:00:05 uuuu user.info kernel: [ 11.660390] wlan0: send auth to b0:4e:26:f0:cf:a3 (try 1/3)
Jun 4 14:00:05 uuuu user.info kernel: [ 11.678600] wlan0: authenticated
Jun 4 14:00:05 uuuu user.info kernel: [ 11.688410] wlan0: associate with b0:4e:26:f0:cf:a3 (try 1/3)
Jun 4 14:00:05 uuuu user.info kernel: [ 11.728551] wlan0: RX AssocResp from b0:4e:26:f0:cf:a3 (capab=0x1431 status=0 aid=1)
Jun 4 14:00:05 uuuu user.info kernel: [ 11.736521] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jun 4 14:00:05 uuuu user.info kernel: [ 11.743114] wlan0: associated_

And now is the best. I have some pice of hardware with the same firmware which works very well. I make changes hardware nothings helps.

I discovered also that when connect to old access point ping works normally. I'm confused what can be wrong, where to find a potential problem?

I issue iwconfig and I see something strange

wlan0 IEEE 802.11 ESSID:"serwis"
Mode:Managed Frequency:2.412 GHz Access Point: D8:B6:B7:9A:F2:55
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality=40/70 Signal level=-70 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

The driver negotiates Bit Rate=72.2 Mb/s it is possible ?. On my laptop driver negotiate only 6Mb/s or 1Mb/s?

sdmmc_ack_interrupt missing on TI kernel 4.9.24

Hello,
I try to port esp8089 driver source code to bbb kernel 4.9.24. So I get two following errors

  1. in file testmode.c in line 985

    rc = genl_register_family_with_ops(&test_genl_family,
    esp_test_ops, ARRAY_SIZE(esp_test_ops));

I modified to
rc = genl_register_family_with_ops(&test_genl_family, esp_test_ops);

because in file genetlink.h I found a modified macro

#define genl_register_family_with_ops(family, ops)
_genl_register_family_with_ops_grps((family),
(ops), ARRAY_SIZE(ops),
NULL, 0)

from C language code is consistent due to size calculation is made in _genl_register_family_with_ops_grps(...)

So I think that modifcation no change code to much and should work well. I hope You agree with me regarding this point. Please confirm.

  1. In file stdio_stub.c there is lack of "sdmmc_ack_interrupt(...) function body. In line 86 exist invocation of mentioned function. During compilation, linker assign me an error due to function body not found anywhere.

Orignal message from compilation window
"
| drivers/built-in.o: In function sif_platform_ack_interrupt': | core.c:(.text+0x1a08a4): undefined reference to sdmmc_ack_interrupt'
| make[2]: *** [vmlinux] Error 1
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/mw/yocto/tmp/work/am335x-poky-linux-gnueabi/ti-linux/4.9.24-r4/temp/run.do_compile.32589:1 exit 1 from 'exit 1'
"
My question is can We somehow workaround this issue. Maybe exist similar function with appropriate functionality? Maybe I can disable definition of ESP_ACK_INTERRUPT at all?

At the end, I can write that when I comment line sdmmc_ack_interrupt(func->card->host); (line number 86 in sdio_stub.c file) all source code compile well and generate *.ko file.

Thanks in advanced
Best Regards
Voloviq

compile with linux-4.9

There are where a couple of issues while compiling with linux-4.9, so I am providing a patch for this one.

`dkms makedeb` fails on latest Debian (+ explanation)

Currently, Debian Stretch (=> Ubuntu and Raspbian) has broken dkms. So, when you'll try to run dkms makedeb, it will fail like this:

DKMS: mkdeb completed.
Moving built files to /var/lib/dkms/esp8089/1.9.20181227/deb...mv: cannot stat '/tmp/dkms.lal1zd/esp8089-dkms_1.9.20181227_armhf.deb': No such file or directory
(bad exit status: 1)
Cleaning up temporary files...
cp /var/lib/dkms/esp8089/1.9.20181227/deb/*.deb .
cp: cannot stat '/var/lib/dkms/esp8089/1.9.20181227/deb/*.deb': No such file or directory
Makefile:114: recipe for target 'dkmsdeb' failed
make: *** [dkmsdeb] Error 1

The solution, for now, is to patch /usr/sbin/dkms like this:

--- /usr/sbin/dkms      2018-12-27 18:04:49.045945342 +0200
+++ /usr/sbin/dkms.old  2018-12-27 17:58:01.039218120 +0200
@@ -3123,7 +3123,7 @@
             die 7 $"There was a problem creating your ${create_type}."
         echo $""
         echo $"DKMS: mk${create_type} completed."
+       invoke_command "mv '$temp_dir/${debian_package}-dkms_${module_version}_all.deb' '$deb_basedir'" "Moving built files to $deb_basedir"
-       invoke_command "mv '$temp_dir/${debian_package}-dkms_${module_version}_${debian_build_arch}.deb' '$deb_basedir'" "Moving built files to $deb_basedir"
        ;;
     bmdeb)
        export KVER="$kernelver"

Basically, replace the ${debian_build_arch} by all. Attaching the .patch file in a .zip (because GitHub).
EDIT: oh wait, I confused the diff argument order, attaching a new patch and fixing the order:
dkms_fix.zip

Poor connection after a disconnect?

I have a Pi Zero and have followed these instructions, which include this repo, to hook an ESP8266 to it: https://hackaday.io/project/8678/instructions

The ESP is currently connected to the internet via my home router. I'm testing what happens if I turn the router off and then back on. The ESP does seem to automatically re-establish a connection once the router finishes rebooting, but the new connection has very poor upload/download speeds compared to the original connection, and I'm unsure why. It's nothing wrong with my router, as my desktop shows normal speeds from the router after it is restarted.

If I restart my router, I'd like the ESP to reconnect and the new connection should be just as good as before.

Any suggestions?

Compile Error on 4.9.50-1-ARCH

EDIT: Sorry, apparently I was too lazy to look for existing patches. Still, it's kind of confusing to have a merged pull request claiming compatibility with 4.9...

--

I was fiddling with this, so far unsuccesfully, on a Raspberry Pi Model B Rev 2 (0x000f) running Arch Linux ARM (kernel 4.9.50-1-ARCH) and encountered a breaking change in include/net/mac80211.h API. It seems the change was introduced in 4.6. (Even though #14 claims compatibility with 4.9?)

$ make
make -C /usr/lib/modules/4.9.50-1-ARCH/build M=/home/alarm/build/esp8089
make[1]: Entering directory '/usr/lib/modules/4.9.50-1-ARCH/build'
  CC [M]  /home/alarm/build/esp8089/esp_mac80211.o
/home/alarm/build/esp8089/esp_mac80211.c: In function 'hw_scan_done':
/home/alarm/build/esp8089/esp_mac80211.c:900:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
         struct cfg80211_scan_info info = {
         ^~~~~~
/home/alarm/build/esp8089/esp_mac80211.c: In function 'hw_scan_timeout_report':
/home/alarm/build/esp8089/esp_mac80211.c:934:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
         struct cfg80211_scan_info info = {
         ^~~~~~
/home/alarm/build/esp8089/esp_mac80211.c: At top level:
/home/alarm/build/esp8089/esp_mac80211.c:1884:25: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
         .ampdu_action = esp_op_ampdu_action,
                         ^~~~~~~~~~~~~~~~~~~
/home/alarm/build/esp8089/esp_mac80211.c:1884:25: note: (near initialization for 'esp_mac80211_ops.ampdu_action')
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:294: /home/alarm/build/esp8089/esp_mac80211.o] Error 1
make[1]: *** [Makefile:1493: _module_/home/alarm/build/esp8089] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.9.50-1-ARCH/build'
make: *** [Makefile:91: modules] Error 2

I have little time and experience with kernel(module) hacking so I'll just leave a naïve fix here if someone stumbles upon the same issue or wants to refine this into an actual patch.

diff --git a/esp_mac80211.c b/esp_mac80211.c
index 9403e5a..6345b13 100755
--- a/esp_mac80211.c
+++ b/esp_mac80211.c
@@ -1569,15 +1569,29 @@ static int esp_op_ampdu_action(struct ieee80211_hw *hw,
                                struct ieee80211_sta *sta, u16 tid, u16 *ssn,
                                u8 buf_size)
 #else
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0))
 static int esp_op_ampdu_action(struct ieee80211_hw *hw,
                                struct ieee80211_vif *vif,
                                enum ieee80211_ampdu_mlme_action action,
                                struct ieee80211_sta *sta, u16 tid, u16 *ssn,
                                u8 buf_size, bool amsdu)
+#else
+static int esp_op_ampdu_action(struct ieee80211_hw *hw,
+                               struct ieee80211_vif *vif,
+                              struct ieee80211_ampdu_params *params)
+#endif
 #endif
 #endif
 #endif /* NEW_KERNEL && KERNEL_35 */
 {
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0))
+       enum ieee80211_ampdu_mlme_action action = params->action;
+       struct ieee80211_sta *sta = params->sta;
+       u16 tid = params->tid;
+       u16 *ssn = &params->ssn;
+       u8 buf_size = params->buf_size;
+       //bool amsdu = params->amsdu;
+#endif
         int ret = -EOPNOTSUPP;
         struct esp_pub *epub = (struct esp_pub *)hw->priv;
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28))

AP Mode Supported?

In its current state, does this driver support AP (Access Point) mode? That is, when using this driver, can one set up a wireless access point?

If not, what work is required to implement this functionality?

Integration with kernel tree

I'm trying to compile this module for a embedded device including it in our kernel tree branch. Does anyone knows how must be the Makefile rewriten to be included in Kbuild system and the .ko files generated for MODPOST?

Not working with RPI4

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

How to configure AP mode?

Hello, I have completely bulid this driver and successfully use it in my board, but i don't know how to configure AP mode, can you give some direction? Eagerly wait for your reply, thx.

esp8089 chip won't works with wlan

Hi Andrew,
I just finalize working with ESP WiFi modules and I have a bit rouble with IC esp8089. On the same condition chip esp8266 works very well. I don't know why.
Here I have a driver info during load.
So for
ESP8089
[ 5.362510] esp_sdio_dummy_probe enter
[ 5.598617] esp_sdio_init power up OK
[ 6.778174] esp_host:bdf5087c3deb
[ 6.778174] esp_target: e826c2b3c9fd 57 18202
[ 6.787452] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 6.825731] esp_sdio_remove enter
[ 7.488414] esp_host:bdf5087c3deb
[ 7.488414] esp_target: e826c2b3c9fd 57 18202
[ 9.030310] esp_op_add_interface STA

ESP8266
[ 5.409483] esp_sdio_dummy_probe enter
[ 5.628760] esp_sdio_init power up OK
[ 6.778176] esp_host:bdf5087c3deb
[ 6.778176] esp_target: e826c2b3c9fd 57 18202
[ 6.787454] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 6.825552] esp_sdio_remove enter
[ 7.488397] esp_host:bdf5087c3deb
[ 7.488397] esp_target: e826c2b3c9fd 57 18202
[ 9.007358] esp_op_add_interface STA

at the end when

ifup wlan0 (esp8089)
Successfully initialized wpa_supplicant
[ 103.100768] esp_op_add_interface STA
[ 103.105241] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background

ifup wlan0 (esp8266)
Successfully initialized wpa_supplicant
[ 374.898611] esp_op_add_interface STA
[ 374.903070] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
udhcpc (v1.24.1) started
Sending discover...
[ 376.200589] wlan0: authenticate with xxxx
[ 376.206614] wlan0: send auth to xxxx (try 1/3)
[ 376.228304] wlan0: authenticated
[ 376.238416] wlan0: associate with xxxx(try 1/3)
[ 376.258262] wlan0: RX AssocResp from xxxx (capab=0x431 status=0 aid=7)
[ 376.266167] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 376.273583] wlan0: associated
[ 376.398231] esp_op_ampdu_action RX START xxxx tid 0 0
[ 377.881760] start tx ba session,addr:xxx,tid:0
[ 377.917998] esp_op_ampdu_action TX START, addr:xxx,tid:0,state:1
[ 377.948173] esp_op_ampdu_action TX OPERATION, addr:xxxx,tid:0,state:2
Sending discover...
Sending select for 192.168.1.217...
Lease of 192.168.1.217 obtained, lease time 10800
/etc/udhcpc.d/50default: Adding DNS 192.168.1.1

What can be wrong. Maybe firmware (magic arrays with firmware in *.h) files. Can You give me some hints for that.

Thanks
Best Regards

esp8089 on kernel 5.9-rc6

Hello, I have this driver working on kernel 4.4 but when trying to bring up the driver (compiled in the kernel) on 5.9 I get this:

               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[    3.006872] ESP8089 reset via GPIO 105
[    3.013548] esp_sdio_dummy_probe enter
[    3.222248] esp_sdio_init power up OK
[    3.685645] esp_host:bdf5087c3deb
               esp_target: e826c2b3c9fd 57 18202

[    3.701133] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[    3.713367] first normal exit
[    3.718507] esp_sdio_remove enter
[    3.723892] sif_disable_irq release irq failed

I assume the sif_disable_irq release irq failed entry indicates an error? That line isn't present in kernel 4.4. Any idea where I should start looking?

Any reason not to work on kernel 5.4.51 ?

I compiled the module on current stable (5.4.51 as of July 2020) and it doesn't seem to work. I confirmed it working on 4.9 some time ago on the same HW (RPi A+ with soldered ESP-12F).

Could you confirm it's not working on kernels ≥5 ?


By the way thank you for your work. I've spotted your pants project on hackaday some long time ago and finally made one myself few months ago

ESP reboot does not work due to weak pin pull-up

In my board I used different GPIO than 0 for esp_reset_gpio and I had problem with ESP reseting. The reason of this was a weak pull-up on selected GPIO.

I updated sdio_stub.c file to solve this problem:

int rockchip_wifi_init_module(void)
{

  •    gpio_request(esp_reset_gpio,"esp_reset");
    
    return esp_sdio_init();
    }

void rockchip_wifi_exit_module(void)
{

  • gpio_free(esp_reset_gpio);
    esp_sdio_exit();
    }

void sif_platform_reset_target(void)
{
printk("ESP8089 reset via GPIO %d\n", esp_reset_gpio);

  • gpio_request(esp_reset_gpio,"esp_reset");
    gpio_direction_output(esp_reset_gpio,0);
    msleep(200);
  • gpio_direction_input(esp_reset_gpio);
  • gpio_direction_output(esp_reset_gpio,1);
  • gpio_free(esp_reset_gpio);
    }

I have no problem with reseting ESP now.

Driver crash under significant load

Linux 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux

           ***** EAGLE DRIVER VER:bdf5087c3deb*****

[ 4.735612] ESP8089 reset via GPIO 0
[ 4.953698] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[ 5.435826] mmc1: card 0001 removed
[ 5.526507] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 5.533909] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 5.543321] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 5.545903] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 5.546101] mmc1: new high speed SDIO card at address 0001
[ 5.546556] esp_sdio_dummy_probe enter
[ 5.683737] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.761396] esp_sdio_init power up OK
[ 6.068760] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 6.307483] esp_host:bdf5087c3deb
esp_target: e826c2b3c9fd 57 18202

[ 6.307553] esp_readwrite_file: file /system/lib/modules/test_results filp_open error
[ 6.307690] first normal exit
[ 6.307909] esp_sdio_remove enter
[ 6.421552] eagle_sdio: probe of mmc1:0001:1 failed with error -110
[ 6.551788] mmc1: card 0001 removed
[ 6.567778] random: crng init done
[ 6.646136] sdio_read_cis: 2 callbacks suppressed
[ 6.646144] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 6.653515] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 6.656730] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 6.659296] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 6.659378] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 6.659460] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 6.659507] mmc1: new high speed SDIO card at address 0001
[ 7.055892] esp_host:bdf5087c3deb
esp_target: e826c2b3c9fd 57 18202

[ 7.413859] esp_op_add_interface STA
[ 7.414016] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8.633558] wlan0: authenticate with fc:f5:28:4b:fa:f6
[ 8.633774] wlan0: send auth to fc:f5:28:4b:fa:f6 (try 1/3)
[ 8.640811] wlan0: authenticated
[ 8.641429] wlan0: associate with fc:f5:28:4b:fa:f6 (try 1/3)
[ 8.646420] wlan0: RX AssocResp from fc:f5:28:4b:fa:f6 (capab=0x11 status=0 aid=7)
[ 8.646514] wlan0: associated
[ 9.181937] esp_op_ampdu_action RX START fc:f5:28:4b:fa:f6 tid 0 3714
[ 9.372877] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 11.738586] start tx ba session,addr:fc:f5:28:4b:fa:f6,tid:0
[ 11.791395] esp_op_ampdu_action TX START, addr:fc:f5:28:4b:fa:f6,tid:0,state:1
[ 11.793688] esp_op_ampdu_action TX OPERATION, addr:fc:f5:28:4b:fa:f6,tid:0,state:2
[ 15.743887] esp_op_ampdu_action RX START fc:f5:28:4b:fa:f6 tid 6 44
[ 17.389369] esp_op_ampdu_action RX START fc:f5:28:4b:fa:f6 tid 2 1
[ 23.314979] start tx ba session,addr:fc:f5:28:4b:fa:f6,tid:5
[ 23.351693] esp_op_ampdu_action TX START, addr:fc:f5:28:4b:fa:f6,tid:5,state:1
[ 23.356201] esp_op_ampdu_action TX OPERATION, addr:fc:f5:28:4b:fa:f6,tid:5,state:2
[ 142.003595] func sip_write_pkts err!!!!!!!!!: -84
[ 142.003752] func sip_write_pkts err!!!!!!!!!: -110
[ 142.003874] func sip_write_pkts err!!!!!!!!!: -110
[ 142.003976] func sip_write_pkts err!!!!!!!!!: -110
[ 142.004077] func sip_write_pkts err!!!!!!!!!: -110
[ 142.004187] func sip_write_pkts err!!!!!!!!!: -110
[ 142.004298] func sip_write_pkts err!!!!!!!!!: -110
[ 142.310220] esp_sdio_remove enter
[ 142.311254] sif_disable_irq release irq failed
[ 142.419987] wlan0: deauthenticating from fc:f5:28:4b:fa:f6 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 142.481011] esp_op_ampdu_action RX STOP fc:f5:28:4b:fa:f6 tid 0
[ 142.481028] esp_op_ampdu_action RX STOP fc:f5:28:4b:fa:f6 tid 2
[ 142.481076] esp_op_ampdu_action RX STOP fc:f5:28:4b:fa:f6 tid 6
[ 142.722277] mmc1: card 0001 removed
[ 142.815686] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[ 142.823333] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[ 142.826507] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[ 142.828518] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[ 142.828575] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[ 142.828625] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[ 142.828653] mmc1: new high speed SDIO card at address 0001
[ 142.828956] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[ 142.833040] pgd = 80004000
[ 142.837087] [00000004] *pgd=00000000
[ 142.841162] Internal error: Oops: 17 [#1] SMP ARM
[ 142.845026] Modules linked in: ctr aes_arm_bs crypto_simd cryptd ccm arc4 evdev esp8089(O) mac80211 cfg80211 rfkill snd_bcm2835(C) snd_ pcm snd_timer snd fixed uio_pdrv_genirq uio ip_tables x_tables ipv6
[ 142.849207] CPU: 1 PID: 30 Comm: kworker/1:1 Tainted: G C O 4.14.34-v7+ #1110
[ 142.853424] Hardware name: BCM2835
[ 142.857619] Workqueue: events_freezable mmc_rescan
[ 142.861503] task: b6a50000 task.stack: b6a3e000
[ 142.865418] PC is at esp_sdio_probe+0x58/0x40c [esp8089]
[ 142.869255] LR is at sdio_bus_probe+0x110/0x128
[ 142.873129] pc : [<7f2c4438>] lr : [<80622f38>] psr: 20000013
[ 142.877013] sp : b6a3fd08 ip : b6a3fd40 fp : b6a3fd3c
[ 142.880878] r10: 0000001a r9 : 7f2cd1a0 r8 : 7f2cd1a0
[ 142.884702] r7 : 7f2d1078 r6 : b4176400 r5 : 7f2fd744 r4 : 00000000
[ 142.888579] r3 : b4176408 r2 : 00000003 r1 : 00000000 r0 : b4176400
[ 142.892486] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 142.896442] Control: 10c5383d Table: 32da006a DAC: 00000055
[ 142.900305] Process kworker/1:1 (pid: 30, stack limit = 0xb6a3e210)
[ 142.904257] Stack: (0xb6a3fd08 to 0xb6a40000)
[ 142.908189] fd00: 80616890 8054dc94 ada1b000 b4176408 00000000 b4176400
[ 142.912217] fd20: 7f2d10dc 7f2cd1a0 7f2d10dc 0000001a b6a3fd64 b6a3fd40 80622f38 7f2c43ec
[ 142.916282] fd40: 80622e28 b4176408 80d1a064 80d1a068 00000000 00000000 b6a3fd94 b6a3fd68
[ 142.920344] fd60: 80542318 80622e34 00000000 7f2d10dc b6a3fde0 b4176408 00000001 80d1a040
[ 142.924481] fd80: 00000000 00000000 b6a3fdb4 b6a3fd98 80542580 805420d8 b6a0716c 00000000
[ 142.928653] fda0: b6a3fde0 805424dc b6a3fddc b6a3fdb8 80540400 805424e8 b6a0716c b2daebb8
[ 142.932807] fdc0: b4176408 b4176408 b417643c 80c787d0 b6a3fe04 b6a3fde0 80541f84 80540398
[ 142.936973] fde0: b4176408 00000001 b4176410 b4176408 80c787d0 00000000 b6a3fe14 b6a3fe08
[ 142.941187] fe00: 805425b4 80541ed0 b6a3fe34 b6a3fe18 80541474 805425a4 b77679e0 b4176410
[ 142.945422] fe20: b4176408 ada1b008 b6a3fe74 b6a3fe38 8053f498 805413ec b6a3fe74 b6a3fe48
[ 142.949629] fe40: 80618578 8064d3e8 8053ce34 b4176400 b4176408 b6280000 ada1b344 ada1b000
[ 142.953832] fe60: 00000001 ada1b000 b6a3fe8c b6a3fe78 806232d0 8053f0b0 00000001 00000001
[ 142.958079] fe80: b6a3fed4 b6a3fe90 80622520 80623270 00000000 b6a3fea3 00000000 00000000
[ 142.962359] fea0: 00000000 10ffff00 00000000 b6280230 00061a80 b6280000 80847e58 80847e64
[ 142.966599] fec0: 00000008 00000000 b6a3fefc b6a3fed8 80619204 806222c8 80618ef8 b698a180
[ 142.970837] fee0: b6280230 b6fd8940 b6fdbc00 00000000 b6a3ff34 b6a3ff00 80137490 80618f04
[ 142.975133] ff00: b6fd8958 80c02d00 00000008 b6fd8940 b698a198 b6fd8940 b6fd8958 80c02d00
[ 142.979438] ff20: 00000008 b698a180 b6a3ff7c b6a3ff38 801377f0 80137344 b6a3ff5c b6a3e000
[ 142.983741] ff40: 00000000 80c02d00 80c88122 b6a3e038 b698309c b6983080 00000000 b6983040
[ 142.988117] ff60: b698a180 8013778c b698309c b6939e90 b6a3ffac b6a3ff80 8013d860 80137798
[ 142.992512] ff80: 80102d94 b6983040 8013d724 00000000 00000000 00000000 00000000 00000000
[ 142.996943] ffa0: 00000000 b6a3ffb0 8010810c 8013d730 00000000 00000000 00000000 00000000
[ 143.001291] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 143.005664] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 143.010043] [<7f2c4438>] (esp_sdio_probe [esp8089]) from [<80622f38>] (sdio_bus_probe+0x110/0x128)
[ 143.014446] [<80622f38>] (sdio_bus_probe) from [<80542318>] (driver_probe_device+0x24c/0x308)
[ 143.018859] [<80542318>] (driver_probe_device) from [<80542580>] (__device_attach_driver+0xa4/0xbc)
[ 143.023355] [<80542580>] (__device_attach_driver) from [<80540400>] (bus_for_each_drv+0x74/0xa8)
[ 143.027914] [<80540400>] (bus_for_each_drv) from [<80541f84>] (__device_attach+0xc0/0x120)
[ 143.032464] [<80541f84>] (__device_attach) from [<805425b4>] (device_initial_probe+0x1c/0x20)
[ 143.036983] [<805425b4>] (device_initial_probe) from [<80541474>] (bus_probe_device+0x94/0x9c)
[ 143.041578] [<80541474>] (bus_probe_device) from [<8053f498>] (device_add+0x3f4/0x57c)
[ 143.046190] [<8053f498>] (device_add) from [<806232d0>] (sdio_add_func+0x6c/0x80)
[ 143.050789] [<806232d0>] (sdio_add_func) from [<80622520>] (mmc_attach_sdio+0x264/0x358)
[ 143.055484] [<80622520>] (mmc_attach_sdio) from [<80619204>] (mmc_rescan+0x30c/0x394)
[ 143.060210] [<80619204>] (mmc_rescan) from [<80137490>] (process_one_work+0x158/0x454)
[ 143.064974] [<80137490>] (process_one_work) from [<801377f0>] (worker_thread+0x64/0x5b8)
[ 143.069700] [<801377f0>] (worker_thread) from [<8013d860>] (kthread+0x13c/0x16c)
[ 143.074491] [<8013d860>] (kthread) from [<8010810c>] (ret_from_fork+0x14/0x28)
[ 143.079292] Code: e5954018 e3a01000 e5851018 e2863008 (e5948004)
[ 143.084166] ---[ end trace 99c7c8ccce0684c9 ]---

ESP8089 via SDIO - AP long start

Hi!
Using 5.17.15 mainline kernel with Allwinner V3s custom board.
Last month I used esp8089 as AP client connected to my home router without any problem. But yesterday I had to switch to AP node and got strange issue:
AP needs to start about 300 secs after reboot. I tried to switch between wpa_supplicant and hostapd and the problem is still persist in any case. There are no any messages or warnings in log. The only thing i noticed that I got beacon length:%d,fc:0x%x messages appear after ~300 secs. After this, if I run "ifdown wlan0" and then "ifup wlan0" AP starts immediately.
Does anybody have any ideas?

[    0.995694] esp8089: loading out-of-tree module taints kernel.
[    0.999268]
[    0.999268] ***** EAGLE DRIVER VER:bdf5087c3deb*****
[    0.999268]
[    0.999354] ESP8089 reset via GPIO 37
[    2.377577] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    2.385089] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    2.388170] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[    2.389964] mmc1: new high speed SDIO card at address 0001
[    2.390427] esp_sdio_dummy_probe enter
[    2.608157] esp_sdio_init power up OK
[    3.066196] esp_host:bdf5087c3deb
[    3.066196] esp_target: e826c2b3c9fd 57 18202
[    3.066196]
[    3.066322] first normal exit
[    3.066480] esp_sdio_remove enter
[    3.178325] eagle_sdio: probe of mmc1:0001:1 failed with error -110
[    3.448467] mmc1: card 0001 removed
[    3.499247] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[    3.506250] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[    3.509419] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[    3.511030] mmc1: new high speed SDIO card at address 0001
[    3.871431] esp_host:bdf5087c3deb
[    3.871431] esp_target: e826c2b3c9fd 57 18202
[    3.871431]
[    4.448800] random: wpa_supplicant: uninitialized urandom read (4096 bytes read)
[    4.638644] esp_op_add_interface STA
[    9.308164] random: crng init done
[   10.469659] esp_op_change_interface enter,change to AP
[   10.469689] esp_op_change_interface type from 2 to 3
[   30.568174] vcc2v8: disabling
[   30.568204] vcc1v8: disabling
[   30.568210] vcc3v0: disabling
[   30.568218] vcc5v0: disabling
[  305.128172]  beacon length:250,fc:0x80
[  361.508188]  beacon length:250,fc:0x80
.....

SDIO device disappears after a while

Using the driver on an Odroid Go Advance Black edition with mainline kernel 6.1.61, the driver works for a while but the SDIO device seems to drop off the bus after a while. The kernel tries to load the driver again but ends up panicking. The Rockchip BSP drover doesn't appear to have this issue. dmesg attached below

I patched the driver to drive the RST GPIO high instead of letting it float, but that did not help.

[  555.718794] esp_sdio_remove enter
[  555.719865] sif_disable_irq release irq failed
[  555.719895] ------------[ cut here ]------------
[  555.719900] WARNING: CPU: 2 PID: 389 at kernel/workqueue.c:3069 __flush_work.isra.0+0x318/0x350
[  555.719940] Modules linked in: 88x2bu(O) snd_seq snd_seq_device ipv6 iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle exfat esp8089(O) mac80211 libarc4 hantro_vpu v4l2_vp9 cfg80211 videobuf2_dma_contig v4l2_h264
[  555.720025] CPU: 2 PID: 389 Comm: kworker/2:4 Tainted: G        W  O       6.1.60 #1
[  555.720035] Hardware name: ODROID-GO Advance Black Edition (DT)
[  555.720042] Workqueue: events_freezable mmc_rescan
[  555.720061] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  555.720072] pc : __flush_work.isra.0+0x318/0x350
[  555.720083] lr : __cancel_work_timer+0x110/0x190
[  555.720094] sp : ffff80000985ba80
[  555.720099] x29: ffff80000985ba80 x28: ffff00000a0a5000 x27: ffff00003fd7aa00
[  555.720115] x26: ffff00003fd7aa78 x25: ffff000001288418 x24: ffff8000093a84b0
[  555.720130] x23: ffff8000093652e0 x22: 0000000000000001 x21: 0000000000000000
[  555.720145] x20: ffff0000048d2340 x19: ffff0000048d2340 x18: fffffffffffedf48
[  555.720160] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000030
[  555.720175] x14: fffffffffffedf78 x13: ffff80000924fd70 x12: 0000000000000990
[  555.720189] x11: 0000000000000040 x10: ffff80000924d0b0 x9 : ffff80000924d0a8
[  555.720204] x8 : ffff000000800028 x7 : 0000000000000000 x6 : 0000000000000000
[  555.720219] x5 : ffff000004965894 x4 : 0000000000000000 x3 : ffff000004965894
[  555.720233] x2 : 0000000000000011 x1 : ffff0000013e8000 x0 : 0000000000000000
[  555.720249] Call trace:
[  555.720253]  __flush_work.isra.0+0x318/0x350
[  555.720265]  __cancel_work_timer+0x110/0x190
[  555.720276]  cancel_work_sync+0x14/0x20
[  555.720287]  sip_detach+0x9c/0x230 [esp8089]
[  555.720316]  esp_sdio_remove+0x64/0x1bc [esp8089]
[  555.720336]  sdio_bus_remove+0x3c/0x174
[  555.720347]  device_remove+0x4c/0x80
[  555.720359]  device_release_driver_internal+0x1e4/0x250
[  555.720369]  device_release_driver+0x18/0x24
[  555.720378]  bus_remove_device+0xd0/0x15c
[  555.720387]  device_del+0x174/0x3a0
[  555.720400]  sdio_remove_func+0x48/0x70
[  555.720409]  mmc_sdio_detect+0x98/0x170
[  555.720418]  mmc_rescan+0x8c/0x320
[  555.720427]  process_one_work+0x1fc/0x3a0
[  555.720439]  worker_thread+0x170/0x4f4
[  555.720450]  kthread+0xd8/0xdc
[  555.720462]  ret_from_fork+0x10/0x20
[  555.720475] ---[ end trace 0000000000000000 ]---
[  555.832553] mmc1: card 0001 removed
[  555.845433] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  555.882710] mmc1: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[  555.890497] mmc1: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[  555.894114] mmc1: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff ff ff] (8 bytes)
[  555.895423] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[  555.896789] mmc1: new high speed SDIO card at address 0001
[  555.898079] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
[  555.898109] Mem abort info:
[  555.898113]   ESR = 0x0000000096000004
[  555.898119]   EC = 0x25: DABT (current EL), IL = 32 bits
[  555.898127]   SET = 0, FnV = 0
[  555.898132]   EA = 0, S1PTW = 0
[  555.898137]   FSC = 0x04: level 0 translation fault
[  555.898143] Data abort info:
[  555.898146]   ISV = 0, ISS = 0x00000004
[  555.898150]   CM = 0, WnR = 0
[  555.898155] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000009275000
[  555.898163] [0000000000000008] pgd=0000000000000000, p4d=0000000000000000
[  555.898183] Internal error: Oops: 0000000096000004 [#1] SMP
[  555.898201] Modules linked in: 88x2bu(O) snd_seq snd_seq_device ipv6 iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle exfat esp8089(O) mac80211 libarc4 hantro_vpu v4l2_vp9 cfg80211 videobuf2_dma_contig v4l2_h264
[  555.898293] CPU: 2 PID: 389 Comm: kworker/2:4 Tainted: G        W  O       6.1.60 #1
[  555.898306] Hardware name: ODROID-GO Advance Black Edition (DT)
[  555.898319] Workqueue: events_freezable mmc_rescan
[  555.898353] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  555.898367] pc : esp_sdio_probe+0x54/0x400 [esp8089]
[  555.898403] lr : sdio_bus_probe+0x13c/0x1ec
[  555.898418] sp : ffff80000985ba30
[  555.898425] x29: ffff80000985ba30 x28: 0000000000000001 x27: 0000000000000001
[  555.898444] x26: ffff000001288000 x25: ffff800000b8b000 x24: ffff800000b883a8
[  555.898462] x23: ffff000013264808 x22: ffff000013264800 x21: ffff000013264800
[  555.898481] x20: ffff800000bb7a88 x19: 0000000000000000 x18: ffffffffffffffff
[  555.898498] x17: 0000000000000000 x16: 0000000000000000 x15: ffffffffffffffff
[  555.898516] x14: 0000000000000337 x13: 0000000000000337 x12: 0000000000000001
[  555.898534] x11: 0000000000000001 x10: 0000000000000960 x9 : ffff80000985b730
[  555.898552] x8 : ffff0000013e89c0 x7 : ffff00003fd7b080 x6 : 000000031f7fe34d
[  555.898570] x5 : 00ffffffffffffff x4 : 00021bde407ce5db x3 : 0000000000000018
[  555.898588] x2 : ffff800000b7e230 x1 : ffff000004935800 x0 : 0000000000000003
[  555.898608] Call trace:
[  555.898615]  esp_sdio_probe+0x54/0x400 [esp8089]
[  555.898645]  sdio_bus_probe+0x13c/0x1ec
[  555.898657]  really_probe+0xc0/0x3dc
[  555.898674]  __driver_probe_device+0x7c/0x160
[  555.898686]  driver_probe_device+0x3c/0x110
[  555.898699]  __device_attach_driver+0xbc/0x160
[  555.898712]  bus_for_each_drv+0x78/0xd0
[  555.898724]  __device_attach+0x9c/0x1c0
[  555.898736]  device_initial_probe+0x14/0x20
[  555.898748]  bus_probe_device+0x9c/0xa4
[  555.898760]  device_add+0x3a8/0x7d0
[  555.898772]  sdio_add_func+0x6c/0x8c
[  555.898783]  mmc_attach_sdio+0x1b0/0x3f0
[  555.898795]  mmc_rescan+0x230/0x320
[  555.898810]  process_one_work+0x1fc/0x3a0
[  555.898828]  worker_thread+0x170/0x4f4
[  555.898842]  kthread+0xd8/0xdc
[  555.898859]  ret_from_fork+0x10/0x20
[  555.898882] Code: 34000a80 f9401293 910022b7 f900129f (f9400676) 
[  555.898896] ---[ end trace 0000000000000000 ]---

-62 error on pi3 and pi b+

I have pi3 and pi b+, but when I used the last release with rraspbian(kernel 4.19.66+) ,sudo modprobe esp8089
give this error:

               ***** EAGLE DRIVER VER:bdf5087c3deb*****

[  317.923763] ESP8089 reset via GPIO 0
[  318.143737] eagle_sdio_dummy: probe of mmc1:0001:1 failed with error -110
[  318.804174] mmc1: card 0001 removed
[  318.857892] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[  318.871110] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[  318.876992] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[  318.881010] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[  318.881442] mmc1: new SDIO card at address 0001
[  318.888706] esp_sdio_dummy_probe enter
[  319.103470] esp_sdio_init power up OK
[  319.213442] Unable to enable sdio func: -62
[  319.213841] first error exit
[  319.213899] eagle_sdio: probe of mmc1:0001:1 failed with error -62

any idea about this?

compilation impossible in latest Raspbian, KBUILD is missing

Hi,
I try to compile the latest esp8089 sdio driver in latest raspbian but without success. I got a following error

"Makefile:14: *** Kernel build tree not found - please set KBUILD to configured kernel. Stop."

How can I set KBUILD

Thanks

Can I use this driver via SD card slot?

Hi,

I would like to run SDIO's WIFI on SDHCI host controller which supported SDIO.
Can I run this driver with SDHCI host controller? Is it supported only via GPIO?

Best regards,
Nobuhiro

Current driver status, possible upstreaming?

There seem to be attempts to clean up and upstream the driver in forks of this repo. I've found:

Since issue reporting is off by default on GitHub forks I can't leave a comments on the specific repos. Instead I've opted to summarize things here and ping those involved. Personally I'd be happy to see the driver being upstreamed as it's a cheap (and low power) way of getting WiFi connectivity on Raspberry Pi Zeroes.

(sorry for the wide table below..)

Tree / Status https://github.com/al177/esp8089 https://github.com/jwrdegoede/esp8089 https://github.com/Icenowy/esp8089/tree/cleanup
Last updated 2016-05-26 2016-07-10 2016-06-19
Linux v4.6 .ampdu_action fix NO jwrdegoede/esp8089@865e748 NO, frame aggregation support dropped(!)
Linux v4.7 NL80211_BAND_2GHZ support NO jwrdegoede/esp8089@74af6ac 364ee3b
Support for non-bleeding edge kernels YES, LINUX_VERSION_CODE guards YES, LINUX_VERSION_CODE guards NO, dropped during upstreaming attempt
DKMS support 41ed6ea jwrdegoede/esp8089@41ed6ea NO, but make -C $KDIR M=$PWD supposed to work
Bugfix: <../net/mac80211/ieee80211_i.h> 097a1ef jwrdegoede/esp8089@097a1ef NO
Bugfix: transposed memset params NO NO Icenowy/esp8089@79351b1
Firmware loading via request_firmware() NO jwrdegoede/esp8089@6b100f2 1cd2da8
Firmware built-in (.h) support YES YES NO, dropped during upstreaming attempt
Firmware in eagle_fw{1,2,3}.h YES YES YES (should really be dropped)
Firmware .bin files in repo NO jwrdegoede/esp8089@4445df9 Icenowy/esp8089@711334e
MODULE_FIRMWARE() documentation NO NO NO
Dropped support for not P2P_CONCURRENT NO NO Icenowy/esp8089@711334e
Dropped support for testmode.c NO jwrdegoede/esp8089@dd28cb5 Icenowy/esp8089@20f0ff0
Dropped support for FAST_TX_STATUS NO NO Icenowy/esp8089@8cd5735
Dropped support for Android, SPI interface NO NO Icenowy/esp8089@909c1f6, Icenowy/esp8089@93f574b
esp_reset_gpio modules parameter 17f726a, c01f5bd, 879a31f Dropped in jwrdegoede/esp8089@a9fd9d6 because Device tree NO, support never merged

@Icenowy: The merge window for 4.8 is currently open. Will you submit a V3 patch? If yes, please consider:

  • Reverting the drop of frame aggregation in Icenowy/esp8089@79351b1 and apply the fix from jwrdegoede/esp8089@865e748
  • Applying the fix of #include <../net/mac80211/ieee80211_i.h> in esp_mac80211.c (see 097a1ef)
  • Add MODULE_FIRMWARE() macros so the required firmwares are listed properly by modinfo
  • Drop eagle_fw1.h, eagle_fw2.h and eagle_fw3.h since they are no longer needed with external firmware files
  • (should esp_init_data.h be converted into a firmware file with a corresponding request_firmware() too? I think it's just settings and not machine code though)
  • Drop the commented out esp_readwrite_file() call
  • Drop code guarded by #ifdef TEST_MODE

Raspberry Pi Compute Module 3 / Jessie Lite

I've made multiple attempts to get this up and running and can't seem to get it right.

I'd just like to confirm, is there any reason why this would not work on a Raspberry Pi Compute Module 3 running the latest Jessie Lite?

I'm getting the -110 error on boot and there's occasionally a kernal panic dump even when I'm not doing anything.

I'll be trying another fresh install tomorrow using the instructions on
https://hackaday.io/project/8678/instructions

As far as I can tell, I don't think it's the ESP8266 module, I've connected the module to a RPi 1 Model B and it worked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.