morrownr / 88x2bu-20210702

Linux Driver for USB WiFi Adapters that are based on the RTL8812BU and RTL8822BU Chipsets - v5.13.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HOW TO CROSS COMPILE

StevenKim523 opened this issue · comments

commented

First I appreciate your efforts for maintaining this repository. According to the readme, I successfully compiled a driver and make my USB Adapter work normally. But after I upgraded the kernel(from 6.1.21-v8+ to 6.1.62-v8+, cross compiled from kernel source on my laptop running Kali Linux ), it stopped working. I tried to recompile the driver, but failed. Because I can not install a raspberrypi-kernel-headers matching the newer kernel so that I always got "disagrees about version of symbol module_layout" errors when I load new-compiled driver. So I wonder if I should cross compile the driver on my laptop like what I did for compiling kernel? Thanks in advance!

My device: raspberry pi 3B with raspberry pi OS 64bit
older kernel version: 6.1.21-v8+;
newer kernel version: 6.1.62-v8+
gcc version: 10.2.1
My laptop: X86 Kali Linux 6.5.0
gcc version: 13.2