rtl8812au driver install..
#9
When I try to run make I get

Code:
DKMS make.log for rtl8812au-4.3.22 for kernel 4.4.77-rockchip-ayufan-136 (aarch64)
Sat May 19 21:02:37 UTC 2018
make -j4 ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.77-rockchip-ayufan-136/build M=/var/lib/dkms/rtl8812au/4.3.22/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-136'
 CC [M]  /var/lib/dkms/rtl8812au/4.3.22/build/core/rtw_cmd.o
 CC [M]  /var/lib/dkms/rtl8812au/4.3.22/build/core/rtw_security.o
 CC [M]  /var/lib/dkms/rtl8812au/4.3.22/build/core/rtw_io.o
 CC [M]  /var/lib/dkms/rtl8812au/4.3.22/build/core/rtw_debug.o
Can you help me figure out what I am missing?
I am using jessie-openmediavault-rock64-0.5.15-136-armhf.img

(03-03-2018, 09:04 AM)HackerKitty Wrote: Hi everyone, 
This is my first posting here:

I just wanted to share what I did to make RTL8812AU working in dual-band mode on Rock64 running Xenial Mate Community Build Image.

The following information is based on the personal blog I found on the net:
https://ameblo.jp/gabriel1225/entry-12337005303.html

The page is in Japanese only, so I summarise the relevant parts here.

1) Obtain the source code:

>$ git clone https://github.com/gnab/rtl8812au.git

[This will create a directory called rtl8812au in your home directory.]

2) Move to this newly created rtl8812au directory:

>$ cd rtl8812au

3) Using your text editor, edit some entries in file called Makefile so that it can run without error on Rock64.

[Disable energy saving around line 40]

CONFIG_POWER_SAVING = y
     ↓
CONFIG_POWER_SAVING = n 


[Change platform setting around line 53]

CONFIG_PLATFORM_I386_PC = y
     ↓
CONFIG_PLATFORM_I386_PC = n


[Add the following platform setting immediately under the above line]

CONFIG_PLATFORM_ARM_PC = y


[Add the following command around line 662]

ifeq ($(CONFIG_PLATFORM_ARM_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := arm64
ARCH ?= arm64
CROSS_COMPILE ?=
KVER ?= $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build/
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif


[Remove "modules" part from the following command around line 1065]

$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
                  ↓
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)
 

4) Compile:

>$ make

5) Register the newly created driver:

>$ sudo insmod 8812au.ko


In order to automate this driver compiling process after each version update, use DKSM function.

1) Unload the driver:

>$ sudo rmmod 8812au


2) Install dkms:

>$ sudo apt-get install dkms -y

8) Since dkms is managed in /usr/src directory, copy dkms into there.

>$ sudo cp dkms /usr/src

9)  Type:

>$ make clean

>$ sudo cp -R . /usr/src/8812au-4.2.2

10) Register module:

[First, move to the working directory]

>$ cd ../../usr/src

[Type]

>$ sudo dkms add -m 8812au -v 4.2.2

11) Build:

>$ sudo dkms build -m 8812au -v 4.2.2

12) Install:

>$ sudo dkms install -m 8812au -v 4.2.2

Now your driver will be self-build in the next kernel update, so you do not have to repeat this cumbersome operation again. Big Grin
  Reply


Messages In This Thread
rtl8812au driver install.. - by 11b2p508 - 02-24-2018, 09:43 PM
RE: rtl8812au driver install.. - by evilbunny - 02-24-2018, 10:06 PM
RE: rtl8812au driver install.. - by 11b2p508 - 02-25-2018, 08:07 AM
RE: rtl8812au driver install.. - by 11b2p508 - 02-26-2018, 05:31 AM
RE: rtl8812au driver install.. - by elik745i - 02-26-2018, 07:19 AM
RE: rtl8812au driver install.. - by 11b2p508 - 02-27-2018, 06:13 AM
RE: rtl8812au driver install.. - by HackerKitty - 03-03-2018, 09:04 AM
RE: rtl8812au driver install.. - by evilbunny - 03-03-2018, 03:45 PM
RE: rtl8812au driver install.. - by brajul - 05-19-2018, 05:14 PM
RE: rtl8812au driver install.. - by evilbunny - 05-20-2018, 12:23 AM
RE: rtl8812au driver install.. - by brajul - 05-20-2018, 01:36 AM
RE: rtl8812au driver install.. - by brajul - 05-20-2018, 12:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,483 10-12-2023, 05:14 PM
Last Post: tpaul
  Managed to install Kubernetes digitaldaz 3 4,305 08-16-2022, 02:44 AM
Last Post: mmarkgilbert
  on-board ethernet driver michaelanburaj 0 1,872 03-26-2020, 12:01 PM
Last Post: michaelanburaj
  How Can Install Unify controller in rock64? gedas07 0 1,855 03-23-2020, 08:41 AM
Last Post: gedas07
  Can Anyone help me install Wine latest on Rock64 Rock90 1 3,097 08-10-2019, 06:18 AM
Last Post: OnyxxOr
  8812au wifi driver OS pane 9 11,093 11-19-2018, 02:46 AM
Last Post: pane
  apt --fix-broken install KC7NOA 1 2,755 10-29-2018, 09:17 PM
Last Post: KC7NOA
  HELP I want install a desktop but I don't Know how can I do gedas07 11 13,002 10-02-2018, 01:34 PM
Last Post: jovval
  OMV wifi setup (driver issue) six9 0 2,345 07-25-2018, 03:34 PM
Last Post: six9
  How can I get a driver to support my USB wifi dongle Rocklobster 4 5,997 04-19-2018, 12:55 PM
Last Post: Rocklobster

Forum Jump:


Users browsing this thread: 1 Guest(s)