Need to add various Wifi chipset support
#1
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
#2
(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.
#3
thank you! that would be awesome.
Owner and Creator of The Retro Arena
The Retro Arena Website
The Retro Arena of Facebook
#4
(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.
#5
(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
#6
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.
Owner and Creator of The Retro Arena
The Retro Arena Website
The Retro Arena of Facebook
#7
(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


Possibly Related Threads…
Thread Author Replies Views Last Post
  AW-CM256SM wifi card mtek 4 3,171 10-30-2023, 12:00 PM
Last Post: diederik
  PCIe bifurcation support (on RK3399) Arn 1 1,717 11-28-2022, 05:12 PM
Last Post: tllim
  U.FL plug on the Wifi/BT module? domih 8 13,884 10-17-2022, 04:43 AM
Last Post: callegar
  Pine Wifi Module williamdieter 2 3,262 07-20-2022, 03:31 AM
Last Post: imianz
  Support for Refresh rates Above 60 publiclewdness 0 1,474 01-01-2022, 11:40 PM
Last Post: publiclewdness
  PCI-E X4 to M.2/NGFF NVMe SSD - support? AndyOfLinux 22 31,155 12-13-2021, 11:04 AM
Last Post: Cerberus
  To Wifi or To Bluetooth, That is the Question WarpLover 0 1,749 07-06-2021, 08:45 PM
Last Post: WarpLover
  RP64 TV box case with wifi Wizzard 2 3,765 03-10-2021, 12:23 AM
Last Post: Wizzard
  OpenWRT + Intel I350-T4 + 1x1 Dual Band WIFI pi64 0 2,231 11-17-2020, 04:25 AM
Last Post: pi64
  PCI Express x4 Device Support machinevault 4 8,234 07-13-2020, 01:32 PM
Last Post: pgwipeout

Forum Jump:


Users browsing this thread: 1 Guest(s)