Compile 8812au driver for Nanopi Neo2 on Armbian
Posted: Thu Feb 14, 2019 6:11 am
Hi,
I am running Armbian Bionic on my Nanopi Neo2 and would like to install the https://github.com/aircrack-ng/rtl8812au drivers for my Alfa AWUS036ACH. When I choose to compile the dkms modules for the Nanopi Neo2 it fails using this cpu: CONFIG_PLATFORM_ARM_SUN50IW1P1. Is this the correct compilation target?
In the Makefile I found two lines:
I assumed that I need the cross compiler from here: http://wiki.friendlyarm.com/wiki/index. ... ource_Code and then compile the module on a x86_64 cpu, is that correct? Can I compile the module directly on the Nanopi Neo2 as well?
I read the wiki entry and tried to cross compile the module but some errors turned up, are the modules mentioned at http://wiki.friendlyarm.com/wiki/index. ... ource_Code the right ones to compile this kernel driver?
kind regards,
rhagu
I am running Armbian Bionic on my Nanopi Neo2 and would like to install the https://github.com/aircrack-ng/rtl8812au drivers for my Alfa AWUS036ACH. When I choose to compile the dkms modules for the Nanopi Neo2 it fails using this cpu: CONFIG_PLATFORM_ARM_SUN50IW1P1. Is this the correct compilation target?
In the Makefile I found two lines:
Code: Select all
CROSS_COMPILE := /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-
KSRC :=/home/android_sdk/Allwinner/a64/android-51/lichee/linux-3.10/
I assumed that I need the cross compiler from here: http://wiki.friendlyarm.com/wiki/index. ... ource_Code and then compile the module on a x86_64 cpu, is that correct? Can I compile the module directly on the Nanopi Neo2 as well?
I read the wiki entry and tried to cross compile the module but some errors turned up, are the modules mentioned at http://wiki.friendlyarm.com/wiki/index. ... ource_Code the right ones to compile this kernel driver?
kind regards,
rhagu