| 
		
	
		
		
 11-27-2018, 08:36 AM 
		Hi, 
I have a rock64 with openmediavault (arm64) on my emmc and I try to configure my wifi dongle but I can not
 
My wifi dongle -> https://www.aliexpress.com/item/Rocketek...15976.html 
This is a RTL8811AU
 Code: root@rock64:~# lsusbBus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I tried on Windows 10, the wifi key has a blue led flashing. And when I connect to my rock64 there is no blue LED blinking and I can not configure it. I do not know how to do.
 
How to do it since openmediavault please???
 
Best regards
	 
	
	
		Code: [  459.768070] usb 2-1: new high-speed USB device number 4 using ehci-platform[  459.901195] usb 2-1: New USB device found, idVendor=0bda, idProduct=a811
 [  459.901922] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 [  459.902674] usb 2-1: Product: 802.11ac WLAN Adapter
 [  459.903200] usb 2-1: Manufacturer: Realtek
 [  459.903645] usb 2-1: SerialNumber: 00e04c000001
 
	
	
		 (11-27-2018, 08:36 AM)Nether494 Wrote:  This is a RTL8811AU
 I tried on Windows 10, the wifi key has a blue led flashing. And when I connect to my rock64 there is no blue LED blinking and I can not configure it. I do not know how to do.
 
 How to do it since openmediavault please???
 
Because it's an 802.11ac device there are no drivers for it in the kernel, you will unfortunately need to find drivers and compile and install them.
 
I have a deb package for a similar driver but I was never able to get it to build on 32bit omv.
	 
	
	
		 (11-27-2018, 03:42 PM)evilbunny Wrote:   (11-27-2018, 08:36 AM)Nether494 Wrote:  This is a RTL8811AU
 I tried on Windows 10, the wifi key has a blue led flashing. And when I connect to my rock64 there is no blue LED blinking and I can not configure it. I do not know how to do.
 
 How to do it since openmediavault please???
 
 Because it's an 802.11ac device there are no drivers for it in the kernel, you will unfortunately need to find drivers and compile and install them.
 
 I have a deb package for a similar driver but I was never able to get it to build on 32bit omv.
 
Hi,
 
Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV?
 
Thanks
 
Best regards
	 
	
	
		 (11-27-2018, 06:21 PM)Nether494 Wrote:  Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV? 
Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
https://github.com/sloretz/rtl8811au 
	
		
		
		11-28-2018, 04:28 AM 
(This post was last modified: 11-28-2018, 05:01 AM by Nether494.)
		
	 
		 (11-27-2018, 07:33 PM)evilbunny Wrote:   (11-27-2018, 06:21 PM)Nether494 Wrote:  Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV? 
 Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
 
 https://github.com/sloretz/rtl8811au
 
Hi thanks !
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:645: arch/aarch64/Makefile: No such file or directory
 make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
 
Best regards
	 
	
	
		 (11-28-2018, 04:28 AM)Nether494 Wrote:   (11-27-2018, 07:33 PM)evilbunny Wrote:   (11-27-2018, 06:21 PM)Nether494 Wrote:  Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV? 
 Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
 
 https://github.com/sloretz/rtl8811au
 Hi thanks !
 
 
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:645: arch/aarch64/Makefile: No such file or directory
 make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
 
 Best regards
 
I forgot how painful it is, you need to set ARCH=arm64, setting -j4 will speed things up as it'll use all cores, and finally you have to disable various warnings because the compiler will fail there too.
	 
	
	
		 (11-28-2018, 04:43 AM)evilbunny Wrote:   (11-28-2018, 04:28 AM)Nether494 Wrote:   (11-27-2018, 07:33 PM)evilbunny Wrote:   (11-27-2018, 06:21 PM)Nether494 Wrote:  Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV? 
 Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
 
 https://github.com/sloretz/rtl8811au
 Hi thanks !
 
 
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:645: arch/aarch64/Makefile: No such file or directory
 make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
 
 Best regards
 
 I forgot how painful it is, you need to set ARCH=arm64, setting -j4 will speed things up as it'll use all cores, and finally you have to disable various warnings because the compiler will fail there too.
 
Hi,
 
Please excuse me I am a beginner. I try to do the best I can
 Code: root@rock64:/usr/src/rtl8811au# sudo make cleancd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
 cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
 rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
 rm -fr .tmp_versions
 root@rock64:/usr/src/rtl8811au# make ARCH=arm64 -j4
 make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 CC [M]  /usr/src/rtl8811au/core/rtw_cmd.o
 CC [M]  /usr/src/rtl8811au/core/rtw_security.o
 CC [M]  /usr/src/rtl8811au/core/rtw_debug.o
 CC [M]  /usr/src/rtl8811au/core/rtw_io.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_query.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_set.o
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_cipher':
 /usr/src/rtl8811au/core/rtw_security.c:1598:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1598
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_decipher':
 /usr/src/rtl8811au/core/rtw_security.c:1984:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1984
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 scripts/Makefile.build:277: recipe for target '/usr/src/rtl8811au/core/rtw_security.o' failed
 make[2]: *** [/usr/src/rtl8811au/core/rtw_security.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 Makefile:1474: recipe for target '_module_/usr/src/rtl8811au' failed
 make[1]: *** [_module_/usr/src/rtl8811au] Error 2
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Best regards
	 
	
	
		 (11-28-2018, 05:07 AM)Nether494 Wrote:   (11-28-2018, 04:43 AM)evilbunny Wrote:   (11-28-2018, 04:28 AM)Nether494 Wrote:   (11-27-2018, 07:33 PM)evilbunny Wrote:   (11-27-2018, 06:21 PM)Nether494 Wrote:  Okay I see. My wifi dongle is not appropriate. If I buy the same wifi dongle that the official website Pine64 is good? will it work with OMV? 
 Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
 
 https://github.com/sloretz/rtl8811au
 Hi thanks !
 
 
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:645: arch/aarch64/Makefile: No such file or directory
 make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
 
 Best regards
 
 I forgot how painful it is, you need to set ARCH=arm64, setting -j4 will speed things up as it'll use all cores, and finally you have to disable various warnings because the compiler will fail there too.
 Hi,
 
 Please excuse me I am a beginner. I try to do the best I can
 
 
 Code: root@rock64:/usr/src/rtl8811au# sudo make cleancd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
 cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
 rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
 rm -fr .tmp_versions
 root@rock64:/usr/src/rtl8811au# make ARCH=arm64 -j4
 make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 CC [M]  /usr/src/rtl8811au/core/rtw_cmd.o
 CC [M]  /usr/src/rtl8811au/core/rtw_security.o
 CC [M]  /usr/src/rtl8811au/core/rtw_debug.o
 CC [M]  /usr/src/rtl8811au/core/rtw_io.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_query.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_set.o
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_cipher':
 /usr/src/rtl8811au/core/rtw_security.c:1598:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1598
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_decipher':
 /usr/src/rtl8811au/core/rtw_security.c:1984:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1984
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 scripts/Makefile.build:277: recipe for target '/usr/src/rtl8811au/core/rtw_security.o' failed
 make[2]: *** [/usr/src/rtl8811au/core/rtw_security.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 Makefile:1474: recipe for target '_module_/usr/src/rtl8811au' failed
 make[1]: *** [_module_/usr/src/rtl8811au] Error 2
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Best regards
 
Long story short, I built the driver but it produced kernel modules for the RTL8821AU, the steps I took are as follows:
 
nano Makefile and add the following lines:
 Code: EXTRA_CFLAGS += -Wno-unused-variableEXTRA_CFLAGS += -Wno-unused-value
 EXTRA_CFLAGS += -Wno-unused-label
 EXTRA_CFLAGS += -Wno-unused-parameter
 EXTRA_CFLAGS += -Wno-unused-function
 EXTRA_CFLAGS += -Wno-unused
 EXTRA_CFLAGS += -Wno-ignored-qualifiers
 EXTRA_CFLAGS += -Wno-misleading-indentation
 EXTRA_CFLAGS += -Wno-implicit-function-declaration
Then towards the bottom replace the following:
 Code: $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
with
 Code: $(MAKE) ARCH=arm64 -j4 CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
Then run make
	 
	
	
		 (11-28-2018, 05:37 AM)evilbunny Wrote:   (11-28-2018, 05:07 AM)Nether494 Wrote:   (11-28-2018, 04:43 AM)evilbunny Wrote:   (11-28-2018, 04:28 AM)Nether494 Wrote:   (11-27-2018, 07:33 PM)evilbunny Wrote:  Same problem, you will need to build drivers for nearly all 802.11ac devices. A quick google of rtl8811au brought up the following driver on github.
 https://github.com/sloretz/rtl8811au
 Hi thanks !
 
 
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:645: arch/aarch64/Makefile: No such file or directory
 make[1]: *** No rule to make target 'arch/aarch64/Makefile'.  Stop.
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Impossible to make this driver, I try to find a another git
 
 Best regards
 
 I forgot how painful it is, you need to set ARCH=arm64, setting -j4 will speed things up as it'll use all cores, and finally you have to disable various warnings because the compiler will fail there too.
 Hi,
 
 Please excuse me I am a beginner. I try to do the best I can
 
 
 Code: root@rock64:/usr/src/rtl8811au# sudo make cleancd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
 cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
 cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
 rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
 rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
 rm -fr .tmp_versions
 root@rock64:/usr/src/rtl8811au# make ARCH=arm64 -j4
 make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/build M=/usr/src/rtl8811au  modules
 make[1]: Entering directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 CC [M]  /usr/src/rtl8811au/core/rtw_cmd.o
 CC [M]  /usr/src/rtl8811au/core/rtw_security.o
 CC [M]  /usr/src/rtl8811au/core/rtw_debug.o
 CC [M]  /usr/src/rtl8811au/core/rtw_io.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_query.o
 CC [M]  /usr/src/rtl8811au/core/rtw_ioctl_set.o
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_cipher':
 /usr/src/rtl8811au/core/rtw_security.c:1598:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1598
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 /usr/src/rtl8811au/core/rtw_security.c: In function 'aes_decipher':
 /usr/src/rtl8811au/core/rtw_security.c:1984:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 error, forbidden warning:rtw_security.c:1984
 for (j = 0; j < 8; j++)
 ^~~
 /usr/src/rtl8811au/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
 payload_index = hdrlen + 8;
 ^~~~~~~~~~~~~
 scripts/Makefile.build:277: recipe for target '/usr/src/rtl8811au/core/rtw_security.o' failed
 make[2]: *** [/usr/src/rtl8811au/core/rtw_security.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 Makefile:1474: recipe for target '_module_/usr/src/rtl8811au' failed
 make[1]: *** [_module_/usr/src/rtl8811au] Error 2
 make[1]: Leaving directory '/usr/src/linux-headers-4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1'
 Makefile:1551: recipe for target 'modules' failed
 make: *** [modules] Error 2
Best regards
 Long story short, I built the driver but it produced kernel modules for the RTL8821AU, the steps I took are as follows:
 
 nano Makefile and add the following lines:
 
 Code: EXTRA_CFLAGS += -Wno-unused-variableEXTRA_CFLAGS += -Wno-unused-value
 EXTRA_CFLAGS += -Wno-unused-label
 EXTRA_CFLAGS += -Wno-unused-parameter
 EXTRA_CFLAGS += -Wno-unused-function
 EXTRA_CFLAGS += -Wno-unused
 EXTRA_CFLAGS += -Wno-ignored-qualifiers
 EXTRA_CFLAGS += -Wno-misleading-indentation
 EXTRA_CFLAGS += -Wno-implicit-function-declaration
Then towards the bottom replace the following:
 
 
 Code: $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
with
 
 Code: $(MAKE) ARCH=arm64 -j4 CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules
Then run make
 
I have a error again
 Code: root@rock64:/usr/src/rtl8811au# makemake ARCH=arm64 -j4 CROSS_COMPILE=/home/android_sdk/Rockchip/Rk3188/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- -C /home/android_sdk/Rockchip/Rk3188/kernel M=/usr/src/rtl8811au  modules
 make[1]: *** /home/android_sdk/Rockchip/Rk3188/kernel: No such file or directory.  Stop.
 Makefile:1554: recipe for target 'modules' failed
 make: *** [modules] Error 2
This is my makefile -> https://pastebin.com/X4YSEChB 
Best regards
	 |