Power & Source of Big Ideas

Compile 8812au driver for Nanopi Neo2 on Armbian

Moderators: chensy, FATechsupport

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:

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
rhagu wrote:
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:

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


Plug your Alfa.

https://twitter.com/armbian/status/1094882362037620736
Those drivers are included in latest Armbian. Just make sure you have latest kernel, 4.19.y
Hi igorp,
thanks for your reply, but before I tried compiling the driver I tried kismet and although I could set the card into monitor mode, there were packets found.

edit: wow, it works with the stretch image :shock: no idea what i did to mess it up in the first place. Thanks for the advice :-)

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 825 on Wed Aug 28, 2019 3:18 pm

Users browsing this forum: No registered users and 6 guests