ESP8089 driver crash - debugging tips?

Tom wrote 03/13/2017 at 18:02 0 points

I'm trying to get the ESP8089 driver working to use an ESP-12F as a wifi module for an older raspberry pi (like this project: https://hackaday.io/project/8678-rpi-wifi).

I've got the ESP-12F wired up and the kernel module built, but the module crashes the kernel with a null pointer dereference in esp_sdio_probe (see full kgdb output below).

Does anyone:

a) have any idea how to fix it, or

b) have any tips on debugging this - I've got gdb connected to it, but setting a breakpoint on a module that's not already loaded is quite difficult.

Any help appreciated!