PINE64

Full Version: Need to add various Wifi chipset support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I run The Retro Arena and we are working on the Debian build from mrfixit. I am attempting to add more robust support for more of the modern chipsets that are out there to include N and AC. Even when using N on an AC adapter they seem to produce faster speeds than the older N series adapters. I have tried to installed several adapters, but when it comes to compiling for example many times I run into the following:

Code:
rtl8812au$ make
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.186/build/ M=/home/pigaming/rtl8812au
make[1]: Entering directory '/lib/modules/4.4.186/build'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory '/lib/modules/4.4.186/build'
Makefile:1077: recipe for target 'modules' failed

This one for example I attempted to compile with instructions on the following thread:

Code:
https://forum.pine64.org/showthread.php?tid=5768&pid=35964#pid35964


I see from evilbunny that he has various packages put together in the deb package format however those are failing as well with the following:

Code:
sudo dpkg -i rtl8812au-dkms_5.20.2-1_all.deb
(Reading database ... 165392 files and directories currently installed.)
Preparing to unpack rtl8812au-dkms_5.20.2-1_all.deb ...
Unpacking rtl8812au-dkms (5.20.2-1) over (5.20.2-1) ...
Setting up rtl8812au-dkms (5.20.2-1) ...
Loading new rtl8812au-5.20.2 DKMS files...
It is likely that 4.4.186 belongs to a chroot's host
Building for 4.4.186
Building initial module for 4.4.186
Error! Bad return status for module build on kernel: 4.4.186 (aarch64)
Consult /var/lib/dkms/rtl8812au/5.20.2/build/make.log for more information.


I do have the kernel headers applied. I have the following drivers that I really need to work on getting added to give the community plenty of options and ones that aren't slow as molasses so any assistance would be greatly appreciated especially since I am on a crunch to have to return many of the adapters to the sponsor.

Code:
Realtek RTL8821CU
Realtek RTL8188CUS
Mediatek Ralink RT5370N
Mediatek Ralink RT5572N
Realtek RTL8188EU
Realtek RTL8811AU
Realtek RTL8811CU

I also fully understand that each may require their own Makefile adjustments, etc
(08-12-2019, 02:17 PM)slappymcphee Wrote: [ -> ]Even when using N on an AC adapter they seem to produce faster speeds than the older N series adapters.

N can be anywhere from 150Mbps to 600Mbps depending what the chip supports, or I haven't seen anything faster than 600Mbps...

Quote:I see from evilbunny that he has various packages put together in the deb package format however those are failing as well with the following:

I'll have to try building it for a recent kernel and get back to you.
thank you! that would be awesome.
(08-13-2019, 01:31 PM)slappymcphee Wrote: [ -> ]thank you!  that would be awesome.

I tried using mrfixit's image but there is no kernel headers, and I couldn't find any packages for it. Next I will try one ayufan's image as they should already have them.

(08-13-2019, 06:01 PM)evilbunny Wrote: [ -> ]
(08-13-2019, 01:31 PM)slappymcphee Wrote: [ -> ]thank you!  that would be awesome.

I tried using mrfixit's image but there is no kernel headers, and I couldn't find any packages for it. Next I will try one ayufan's image as they should already have them.

I got it working fine on ayufan's stretch minimal with only needing to install dkms.

It doesn't work on buster, but I'm working to solve this.
(08-13-2019, 06:01 PM)evilbunny Wrote: [ -> ]It doesn't work on buster, but I'm working to solve this.

I just updated the MAKEFILE to enable it to build on buster, was bombing out on a warning:

http://files.evilbunny.org/rtl8812au-dkm...-1_all.deb

NOTE: need to install the python and bc packages on buster
thanks, but we are still on Stretch. I tried installing the debs from Ayufan's build after I made them and they fail due to the kernel headers not matching. mrfixit and my team has been working on swapping and updating kernels for our project a lot. if you are looking to build with his kernel and also bake in the headers then you'll git clone the source and then run `make -j5 INSTALL_HDR_PATH=/lib/modules/$(uname -r)/build headers_install` from the folder and it should do so.
(08-15-2019, 04:41 PM)slappymcphee Wrote: [ -> ]thanks, but we are still on Stretch. I tried installing the debs from Ayufan's build after I made them and they fail due to the kernel headers not matching. mrfixit and my team has been working on swapping and updating kernels for our project a lot. if you are looking to build with his kernel and also bake in the headers then you'll git clone the source and then run `make -j5 INSTALL_HDR_PATH=/lib/modules/$(uname -r)/build headers_install` from the folder and it should do so.


I'll wait till he pushes a new image and retry then Smile