Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter August 10, 2021 10:36PM |
Registered: 12 years ago Posts: 30 |
[995247.201899] usb 1-1.1: new high-speed USB device number 9 using orion-ehci [995247.353130] usb 1-1.1: New USB device found, idVendor=0bda, idProduct=b812, bcdDevice= 2.10 [995247.362388] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [995247.370574] usb 1-1.1: Product: USB3.0 802.11ac 1200M Adapter [995247.377588] usb 1-1.1: Manufacturer: Realtek [995247.382927] usb 1-1.1: SerialNumber: 123456
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter August 11, 2021 01:28AM |
Admin Registered: 12 years ago Posts: 17,712 |
modprobe rtl8821aeAnd see if dmesg will show anything more about the device.
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter August 11, 2021 01:35AM |
Registered: 12 years ago Posts: 30 |
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter August 18, 2021 08:00AM |
Registered: 8 years ago Posts: 427 |
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter October 10, 2021 12:57AM |
Registered: 3 years ago Posts: 40 |
https://forum.armwizard.org/viewtopic.php?f=13&p=1380
$ sudo dkms build -m rtl88x2bu -v ${VERS_DRIVER} Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' KVER=5.14.9-kirkwood-tld-1 src=/usr/src/rtl88x2bu-5.8.7.1.....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.14.9-kirkwood-tld-1 (armv5tel) Consult /var/lib/dkms/rtl88x2bu/5.8.7.1/build/make.log for more information.
$ cat /var/lib/dkms/rtl88x2bu/5.8.7.1/build/make.log DKMS make.log for rtl88x2bu-5.8.7.1 for kernel 5.14.9-kirkwood-tld-1 (armv5tel) Sun 10 Oct 2021 12:51:30 PM +07 /bin/sh: 1: bc: not found make ARCH=armv5tel CROSS_COMPILE= -C /lib/modules/5.14.9-kirkwood-tld-1/build M=/var/lib/dkms/rtl88x2bu/5.8.7.1/build modules make[1]: Entering directory '/usr/src/linux-headers-5.14.9-kirkwood-tld-1' Makefile:710: arch/armv5tel/Makefile: No such file or directory make[1]: *** No rule to make target 'arch/armv5tel/Makefile'. Stop. make[1]: Leaving directory '/usr/src/linux-headers-5.14.9-kirkwood-tld-1' make: *** [Makefile:2390: modules] Error 2
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter October 23, 2021 08:12PM |
Registered: 4 years ago Posts: 25 |
apt-get install bcShould get you going. I just tried building this under the 5.7.1-kirkwood-tld-1 kernel and it built just fine. I didn't use DKMS, just git cloned the repo, edited the Makefile and made the following changes:
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = yAfter that make sure you have enough free RAM (swap?) and your standard make command works just fine.
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 08, 2022 07:31AM |
Registered: 11 years ago Posts: 33 |
root@pogoplug:~/88x2bu-20210702# make make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.15.5-kirkwood-tld-1/build M=/root/88x2bu-20210702 modules make[1]: Entering directory '/usr/src/linux-headers-5.15.5-kirkwood-tld-1' warning: the compiler differs from the one used to build the kernel The kernel was built by: arm-linux-gnueabi-gcc (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04) 7.5.0 You are using: gcc (Debian 10.2.1-6) 10.2.1 20210110 CC [M] /root/88x2bu-20210702/core/rtw_cmd.o /bin/sh: 1: scripts/basic/fixdep: Exec format error make[2]: *** [scripts/Makefile.build:277: /root/88x2bu-20210702/core/rtw_cmd.o] Error 126 make[2]: *** Deleting file '/root/88x2bu-20210702/core/rtw_cmd.o' make[1]: *** [Makefile:1868: /root/88x2bu-20210702] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.5-kirkwood-tld-1' make: *** [Makefile:2497: modules] Error 2It's not something I've really done before, so at a loss where to begin troubleshooting.
CC [M] /root/88x2bu-20210702/core/rtw_cmd.o /bin/sh: 1: scripts/basic/fixdep: Exec format erroris where the issue lies?
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 08, 2022 03:50PM |
Admin Registered: 12 years ago Posts: 17,712 |
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 10, 2022 07:21AM |
Registered: 11 years ago Posts: 33 |
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 10, 2022 08:04AM |
Registered: 1 year ago Posts: 72 |
apt list | grep gccshows (among others) gcc-7-base
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 10, 2022 03:57PM |
Admin Registered: 12 years ago Posts: 17,712 |
Linux HomeBackup 5.17.1-kirkwood-tld-1 #1.0 PREEMPT Fri Apr 1 16:17:12 PDT 2022 armv5tel GNU/Linuxdmesg | grep -i cesa
[ 27.863642] marvell-cesa f1030000.crypto: CESA device successfully registered
Quote
Hardware Cryptography
Marvell CESA (also see correction post in this thread)
Marvell CESA in kernel 4.4 performance
Hardware Cryptography cryptodev/openssl On arm5/Debian (build circa 2019)
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 11, 2022 08:43AM |
Registered: 11 years ago Posts: 33 |
> apt list | grep gcc >> shows (among others) gcc-7-base
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 11, 2022 01:13PM |
Registered: 1 year ago Posts: 72 |
Re: Need help compiling WIFI adapter for Realtek USB3.0 802.11ac 1200M Adapter April 18, 2022 09:26AM |
Registered: 11 years ago Posts: 33 |