WIFI driver compilation
Ok... the eu version is working now

first i tried some tutorials here and it didn't work. I used the modifications below for the post:


Quote: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]


[Change platform setting around line 53]


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


[Add the following command around line 662]

SUBARCH := arm64
ARCH ?= arm64
KVER ?= $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build/
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/

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

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

I got errors about the scripts in the headers. It seems the version I was using had missing files (armbian desktop). I had tried other versions with not success. So to resolve this I downloaded the full source and applied the following three commands:

make oldconfig

make prepare
make scripts

then I copied the whole source into the headers directory. I know this is probably too much but i got errors when I tried to copy the scripts only.

Once this was done I got a few formatting error in the code (for loops and if statements). I had to put curly brackets around the concerned code. I compiled successfully. 

make install

Now dmesg gave a version magic error. The version was not correct and would appear every time. So finally I applied this fix:


Quote:This solution holds for the 3.3.0 kernel, but probably works on others as well.
The file you want to edit is /usr/src/kernels/{your version}/include/generated/utsrelease.h and just add the ‘+’ sign to the end of the version number. E.g.
#define UTS_RELEASE "3.3.0-xxx+"

and it worked.

Messages In This Thread
WIFI driver compilation - by wsk - 10-28-2018, 04:34 AM
RE: WIFI driver compilation - by wsk - 11-01-2018, 12:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  get wifi mt7601u mediatek usb dongle to work Johannes 0 882 11-17-2020, 09:48 AM
Last Post: Johannes
Information Rock64 RTL8188EU Wifi Adapter from Pine Store Tested Well MarkHaysHarris777 7 6,132 05-13-2020, 06:00 PM
Last Post: Leon Rembowski
  RTL8192EU WIFI elik745i 12 14,279 05-13-2020, 05:03 PM
Last Post: Leon Rembowski
  low speed wifi pas059 4 2,197 05-13-2019, 12:09 PM
Last Post: pas059
  Using ESP32 as WiFi and Bluetooth Module shripal17 2 1,693 03-08-2019, 02:44 AM
Last Post: shripal17
  RTL8812AU driver and connection issues pane 7 3,982 12-20-2018, 04:56 PM
Last Post: pane
  50 kb with RTL8188eu WIFI adapter Juice4 2 1,654 11-09-2018, 12:56 PM
Last Post: Juice4
  Wifi; how to? scalextrix 12 8,036 05-30-2018, 12:20 AM
Last Post: scalextrix
  Very disappointed with ROCK64 USB WIFI 802.11B/G/N Danielsan 0 1,442 04-23-2018, 09:51 AM
Last Post: Danielsan
  None of my Wifi modules work NicoD 7 4,141 04-05-2018, 02:53 PM
Last Post: tllim

Forum Jump:

Users browsing this thread: 1 Guest(s)