BelaPlatform / bela-image-builder

Scripts to build a Bela image from scratch
MIT License
36 stars 16 forks source link

Add drivers for network adapter rtl8812au #61

Open giuliomoro opened 7 years ago

giuliomoro commented 7 years ago

unfortunately these do not come with the realtek-firmware package, so we need to build them by hand:

https://github.com/gnab/rtl8812au

on the board, it compiles fine with

make ARCH=arm 
make install

@LBDonovan how do we add this to the kernel build? It's pretty slow, so ideally we'd want to "cross-compile natively" instead of inside qemu

LBDonovan commented 7 years ago

Definitely easiest to do this within qemu. Adding it to the kernel build would be tricky, but it could be cross-compiled natively as long as you do it after the kernel compilation and set CROSS_COMPILE and KSRC correctly, I think.

giuliomoro commented 6 years ago

In the meantime with a 4.4.87 kernel (uname -r): scp the zip file 8812au.zip to the board then

unzip 8812au.zip
cd 8812au/
make install

re-plug your USB network adapter

jarmitage commented 6 years ago

To elaborate on the comment above.

The driver repo is also located here: https://github.com/abperiasamy/rtl8812AU_8821AU_linux

It does not matter where it is initially copied to on the board (as long as you have access to it).

make ARCH=arm && make ARCH=arm install