Linux kernel module driver for the ESP8089 WiFi chip
Branch: master
Clone or download
al177 Merge pull request #29 from ZeroPhone/gitignore
Add .gitignore (from Icenowy's repo)
Latest commit 4ef54b7 Dec 27, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
firmware Add Apache 2.0 license for the firmware files Dec 27, 2018
.gitignore
LICENSE Add license and README Dec 7, 2015
Makefile
README.md Better method for installing a working dkms Apr 30, 2018
dkms.conf
eagle_fw1.h wifi->esp8089: Dec 8, 2014
eagle_fw2.h wifi->esp8089: Dec 8, 2014
eagle_fw3.h wifi->esp8089: Dec 8, 2014
esp_conf.h
esp_config.mk wifi & bt: and mid group synchronization code. Jun 17, 2014
esp_ctrl.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_ctrl.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_debug.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_debug.h
esp_ext.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_ext.h wifi & bt: and mid group synchronization code. Jun 17, 2014
esp_file.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_file.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_init_data.h
esp_io.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_mac80211.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_mac80211.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_main.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_path.h Release:RK3188&RK3066_R-BOX_ANDROID4.4.2-SDK_V1.0.0_140318 Mar 19, 2014
esp_pm.c wifi->esp8089: Dec 8, 2014
esp_pub.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_sif.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_sip.c
esp_sip.h Add GPL license headers to .c and .h files Dec 27, 2018
esp_utils.c Add GPL license headers to .c and .h files Dec 27, 2018
esp_utils.h
esp_version.h wifi->esp8089: Dec 8, 2014
esp_wl.h Release:RK3188&RK3066_R-BOX_ANDROID4.4.2-SDK_V1.0.0_140318 Mar 19, 2014
esp_wmac.h Add GPL license headers to .c and .h files Dec 27, 2018
init_data.conf
sdio_sif_esp.c Add GPL license headers to .c and .h files Dec 27, 2018
sdio_stub.c Add ESP reset via GPIO on load and unload May 23, 2016
sip2_common.h Add GPL license headers to .c and .h files Dec 27, 2018
slc_host_register.h Add GPL license headers to .c and .h files Dec 27, 2018
spi_sif_esp.c
spi_stub.c Fix "gpio.h" include. May 17, 2016
testmode.c wifi->esp8089: Dec 8, 2014
testmode.h wifi->esp8089: Dec 8, 2014

README.md

esp8089

ESP8089 Linux driver

v1.9 imported from the Rockchip Linux kernel github repo

Modified to build as a standalone module for SDIO devices.

Building:

make

sudo make install

Using:

modprobe should autoload the module as the ESP8089 should be detected by the SDIO driver and loaded as a dependency.

The ESP8089 requires that the CH_PD signal be reset before the driver can load properly, so a GPIO is used by the driver to assert this signal for 200ms. The GPIO defaults to 0 (ID_SD on the Raspberry Pi) but this can be changed to any GPIO mapped by the kernel GPIO driver through the esp_reset_gpio module parameter. This can be accomplished by creating a new modprobe.d config file. For example, to use GPIO 5 instead, create as root /etc/modprobe.d/esp.conf and add the line:

options esp8089 esp_reset_gpio=5

which changes the GPIO from 0 to 5.

Building a Debian source package:

To build a source package for release, first install the following:

apt-get install debhelper dkms raspberrypi-kernel-headers

Then build the package:

sudo make dkmsdeb

The module will be named esp8089-dkms_*.deb. Don't forget to update the version in dkms.conf and committing before making a release!

If the build fails to create a source package, try installing dkms from github:

sudo apt-get remove dkms sudo apt-get install devscripts quilt git clone https://github.com/dell/dkms.git cd dkms sed -ie "s/module-init-tools/kmod/g" debian/control make debs

and install the resulting package in dist/