This post is about how I compiled the Realtek 8192eu drivers for the Adafruit PiTFT image. You can read about my journey and woes to how I got here in my previous post. Or if you don't want to read anything and just want the driver here it is: realtek_8192eu_adafruit_4.1.14+_pitft.tar.gz.
I have done the following on an Intel i7-4700MQ 2.40GHz laptop running Ubuntu 16.04 and compile time of the kernel was under 20mins. Hopefully that should give you some rough estimate of how long it takes to compile the kernel.
Voila, you should see a freshly built 8192eu.ko driver file that is ready to be used on your Pi that has the Adafruit PiTFT image. You just have to transfer and install 8192eu.ko to your Pi from the Vagrant VM.
Or you can just get realtek_8192eu_adafruit_4.1.14+_pitft.tar.gz that has the driver file and install script. The install script is a modified version of MrEngman's install script over on the Raspberry Pi forums. If you need the driver for a more recent version of Raspbian, most likely he has compiled it and has shared it.
I hope this helps others that have an 8192eu Wi-Fi adapter chipset wanting to use Adafruit's PiTFT image.
I have done the following on an Intel i7-4700MQ 2.40GHz laptop running Ubuntu 16.04 and compile time of the kernel was under 20mins. Hopefully that should give you some rough estimate of how long it takes to compile the kernel.
- Install Adafruit Pi Kernel-O-Matic.
- Follow the instructions on the Installing Dependencies and Starting The VM pages. You will now have a VM that is ready to build kernels.
- Follow the instructions on the Build The VM page (it is towards the bottom) to checkout and build the Adafruit PiTFT branch of the kernel.
- SSH into your Vagrant VM and git clone the 8192eu drivers. I used the source from https://github.com/romcyncynatus/rtl8192eu.git
- Change to the 8192eu driver source directory that you just cloned
- I made a slight modification to the makefile at line 16 (hopefully this doesn't come back to bite me since I'm not really sure what I did)
Change:
EXTRA_CFLAGS += -Wno-error=date-time
To:
EXTRA_CFLAGS += -Wno-date-time
- Run the following make command
sudo make ARCH=arm CROSS_COMPILE=/opt/rpi_tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- KSRC=/kernel_repos/adafruit/adafruit-raspberrypi-linux/v1
Voila, you should see a freshly built 8192eu.ko driver file that is ready to be used on your Pi that has the Adafruit PiTFT image. You just have to transfer and install 8192eu.ko to your Pi from the Vagrant VM.
Or you can just get realtek_8192eu_adafruit_4.1.14+_pitft.tar.gz that has the driver file and install script. The install script is a modified version of MrEngman's install script over on the Raspberry Pi forums. If you need the driver for a more recent version of Raspbian, most likely he has compiled it and has shared it.
I hope this helps others that have an 8192eu Wi-Fi adapter chipset wanting to use Adafruit's PiTFT image.
Comments