@soso90芒果派麻雀到手试玩 中说:

@memory

@memory芒果派麻雀到手试玩 中说:

WIFI 驱动参考 https://linux-sunxi.org/Wifi

RTL8189FTV
Driver has its own repository:

git clone https://github.com/jwrdegoede/rtl8189ES_linux.git
cd rtl8189ES_linux.git
git checkout -B rtl8189fs origin/rtl8189fs
make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnu- KSRC=../linux

复制到 lichee/linux-5.4/drivers/net/wireless/ 目录。

我编译之后,插入驱动,没有报错。也没有wlan0出来,是不是dts没有改导致,dts需要修改什么

驱动采用ko方式,插入只打印这个。。。
root@(none):/# insmod /usr/lib/8189fs.ko
[ 45.485465] 8189fs: loading out-of-tree module taints kernel.

[ 61.807694] RTW: module init start
[ 61.811721] RTW: rtl8189fs v5.7.9_35795.20191128
[ 61.817068] RTW: build time: Aug 12 2022 14:08:42
[ 61.822561] RTW: rtw_inetaddr_notifier_register
[ 61.828244] RTW: module init ret=0
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:144 errors:0 dropped:0 overruns:0 frame:0
TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11232 (10.9 KiB) TX bytes:11232 (10.9 KiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)