各位前辈好,最近在做自己的V3s开发板时使用了Rtl8723ds模组,现在遇到了一些问题,目前状况如下:
dts已经修改好,启动后mmc1能够识别到模组的编号d723
使用github上的rtl8723ds源码,配置为SUNxI,添加进了内核,成功编译为.ko
使用insmod命令加载驱动后,有如下报错,但是使用lsmod能看到8723已经被加载
# insmod 8723ds.ko
[ 158.973614] 8723ds: module is from the staging directory, the quality is unknown, you have been warned.
[ 159.274335] ------------[ cut here ]------------
[ 159.279001] WARNING: CPU: 0 PID: 156 at net/wireless/core.c:868 wiphy_register+0x930/0xb48
[ 159.287365] Modules linked in: 8723ds(C+)
[ 159.291413] CPU: 0 PID: 156 Comm: insmod Tainted: G C 5.2.0-licheepi-zero+ #8
[ 159.299837] Hardware name: Allwinner sun8i Family
[ 159.304565] [<c010ec34>] (unwind_backtrace) from [<c010b6cc>] (show_stack+0x10/0x14)
[ 159.312306] [<c010b6cc>] (show_stack) from [<c07a94a0>] (dump_stack+0x94/0xa8)
[ 159.319526] [<c07a94a0>] (dump_stack) from [<c011d984>] (__warn+0xfc/0x114)
[ 159.326483] [<c011d984>] (__warn) from [<c011dab0>] (warn_slowpath_null+0x40/0x48)
[ 159.334048] [<c011dab0>] (warn_slowpath_null) from [<c072d670>] (wiphy_register+0x930/0xb48)
[ 159.343277] [<c072d670>] (wiphy_register) from [<bf059a20>] (rtw_wiphy_register+0x1c/0x20 [8723ds])
[ 159.353624] [<bf059a20>] (rtw_wiphy_register [8723ds]) from [<bf059cf0>] (rtw_cfg80211_ndev_res_register+0x10/0x1c [8723ds])
[ 159.366072] [<bf059cf0>] (rtw_cfg80211_ndev_res_register [8723ds]) from [<bf0471c4>] (rtw_os_ndev_register+0x3c/0xc4 [8723ds])
[ 159.378705] [<bf0471c4>] (rtw_os_ndev_register [8723ds]) from [<bf047c8c>] (rtw_os_ndevs_register+0xb0/0x118 [8723ds])
[ 159.390625] [<bf047c8c>] (rtw_os_ndevs_register [8723ds]) from [<bf047d44>] (rtw_os_ndevs_init+0x20/0x48 [8723ds])
[ 159.402199] [<bf047d44>] (rtw_os_ndevs_init [8723ds]) from [<bf048d9c>] (rtw_drv_init+0x64/0xe4 [8723ds])
[ 159.412410] [<bf048d9c>] (rtw_drv_init [8723ds]) from [<c05a83c8>] (sdio_bus_probe+0xfc/0x114)
[ 159.421022] [<c05a83c8>] (sdio_bus_probe) from [<c048436c>] (really_probe+0x1dc/0x2e0)
[ 159.428936] [<c048436c>] (really_probe) from [<c04845ec>] (driver_probe_device+0x60/0x1a0)
[ 159.437195] [<c04845ec>] (driver_probe_device) from [<c04848cc>] (device_driver_attach+0x58/0x60)
[ 159.446058] [<c04848cc>] (device_driver_attach) from [<c0484954>] (__driver_attach+0x80/0xbc)
[ 159.454575] [<c0484954>] (__driver_attach) from [<c04825ac>] (bus_for_each_dev+0x68/0xb4)
[ 159.462745] [<c04825ac>] (bus_for_each_dev) from [<c0483710>] (bus_add_driver+0x140/0x1e8)
[ 159.471002] [<c0483710>] (bus_add_driver) from [<c048516c>] (driver_register+0x78/0x110)
[ 159.479717] [<c048516c>] (driver_register) from [<bf13a040>] (rtw_drv_entry+0x40/0x1000 [8723ds])
[ 159.489210] [<bf13a040>] (rtw_drv_entry [8723ds]) from [<c010271c>] (do_one_initcall+0x50/0x1c0)
[ 159.498004] [<c010271c>] (do_one_initcall) from [<c019c72c>] (do_init_module+0x5c/0x20c)
[ 159.506093] [<c019c72c>] (do_init_module) from [<c019b7e8>] (load_module+0x1bc0/0x2194)
[ 159.514090] [<c019b7e8>] (load_module) from [<c019bfd0>] (sys_finit_module+0xac/0xbc)
[ 159.521914] [<c019bfd0>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 159.530078] Exception stack(0xc32b5fa8 to 0xc32b5ff0)
[ 159.535128] 5fa0: 000d5008 ffffffff 00000003 000d5008 00000000 bedddf46
[ 159.543295] 5fc0: 000d5008 ffffffff bedddf46 0000017b 00000000 00000000 b6fce000 00000000
[ 159.551460] 5fe0: bedddc98 bedddc88 0002ee98 b6f27ad2
[ 159.556661] ---[ end trace 3733023beed2cd02 ]---
[ 159.561312] ------------[ cut here ]------------
[ 159.566624] WARNING: CPU: 0 PID: 156 at drivers/staging/rtl8723ds/os_dep/linux/os_intfs.c:1388 rtw_os_ndev_register+0x54/0xc4 [8723ds]
[ 159.578767] Modules linked in: 8723ds(C+)
[ 159.582822] CPU: 0 PID: 156 Comm: insmod Tainted: G WC 5.2.0-licheepi-zero+ #8
[ 159.591248] Hardware name: Allwinner sun8i Family
[ 159.595974] [<c010ec34>] (unwind_backtrace) from [<c010b6cc>] (show_stack+0x10/0x14)
[ 159.603718] [<c010b6cc>] (show_stack) from [<c07a94a0>] (dump_stack+0x94/0xa8)
[ 159.610938] [<c07a94a0>] (dump_stack) from [<c011d984>] (__warn+0xfc/0x114)
[ 159.617895] [<c011d984>] (__warn) from [<c011dab0>] (warn_slowpath_null+0x40/0x48)
[ 159.626149] [<c011dab0>] (warn_slowpath_null) from [<bf0471dc>] (rtw_os_ndev_register+0x54/0xc4 [8723ds])
[ 159.636948] [<bf0471dc>] (rtw_os_ndev_register [8723ds]) from [<bf047c8c>] (rtw_os_ndevs_register+0xb0/0x118 [8723ds])
[ 159.648874] [<bf047c8c>] (rtw_os_ndevs_register [8723ds]) from [<bf047d44>] (rtw_os_ndevs_init+0x20/0x48 [8723ds])
[ 159.660453] [<bf047d44>] (rtw_os_ndevs_init [8723ds]) from [<bf048d9c>] (rtw_drv_init+0x64/0xe4 [8723ds])
[ 159.670662] [<bf048d9c>] (rtw_drv_init [8723ds]) from [<c05a83c8>] (sdio_bus_probe+0xfc/0x114)
[ 159.679283] [<c05a83c8>] (sdio_bus_probe) from [<c048436c>] (really_probe+0x1dc/0x2e0)
[ 159.687196] [<c048436c>] (really_probe) from [<c04845ec>] (driver_probe_device+0x60/0x1a0)
[ 159.695455] [<c04845ec>] (driver_probe_device) from [<c04848cc>] (device_driver_attach+0x58/0x60)
[ 159.704318] [<c04848cc>] (device_driver_attach) from [<c0484954>] (__driver_attach+0x80/0xbc)
[ 159.712833] [<c0484954>] (__driver_attach) from [<c04825ac>] (bus_for_each_dev+0x68/0xb4)
[ 159.721004] [<c04825ac>] (bus_for_each_dev) from [<c0483710>] (bus_add_driver+0x140/0x1e8)
[ 159.729261] [<c0483710>] (bus_add_driver) from [<c048516c>] (driver_register+0x78/0x110)
[ 159.737963] [<c048516c>] (driver_register) from [<bf13a040>] (rtw_drv_entry+0x40/0x1000 [8723ds])
[ 159.747466] [<bf13a040>] (rtw_drv_entry [8723ds]) from [<c010271c>] (do_one_initcall+0x50/0x1c0)
[ 159.756260] [<c010271c>] (do_one_initcall) from [<c019c72c>] (do_init_module+0x5c/0x20c)
[ 159.764347] [<c019c72c>] (do_init_module) from [<c019b7e8>] (load_module+0x1bc0/0x2194)
[ 159.772346] [<c019b7e8>] (load_module) from [<c019bfd0>] (sys_finit_module+0xac/0xbc)
[ 159.780169] [<c019bfd0>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 159.788334] Exception stack(0xc32b5fa8 to 0xc32b5ff0)
[ 159.793382] 5fa0: 000d5008 ffffffff 00000003 000d5008 00000000 bedddf46
[ 159.801550] 5fc0: 000d5008 ffffffff bedddf46 0000017b 00000000 00000000 b6fce000 00000000
[ 159.809715] 5fe0: bedddc98 bedddc88 0002ee98 b6f27ad2
[ 159.814869] ---[ end trace 3733023beed2cd03 ]---
[ 159.819493] ------------[ cut here ]------------
[ 159.824820] WARNING: CPU: 0 PID: 156 at drivers/staging/rtl8723ds/os_dep/linux/os_intfs.c:2566 rtw_os_ndevs_register+0xcc/0x118 [8723ds]
[ 159.837141] Modules linked in: 8723ds(C+)
[ 159.841185] CPU: 0 PID: 156 Comm: insmod Tainted: G WC 5.2.0-licheepi-zero+ #8
[ 159.849611] Hardware name: Allwinner sun8i Family
[ 159.854336] [<c010ec34>] (unwind_backtrace) from [<c010b6cc>] (show_stack+0x10/0x14)
[ 159.862080] [<c010b6cc>] (show_stack) from [<c07a94a0>] (dump_stack+0x94/0xa8)
[ 159.869300] [<c07a94a0>] (dump_stack) from [<c011d984>] (__warn+0xfc/0x114)
[ 159.876256] [<c011d984>] (__warn) from [<c011dab0>] (warn_slowpath_null+0x40/0x48)
[ 159.884491] [<c011dab0>] (warn_slowpath_null) from [<bf047ca8>] (rtw_os_ndevs_register+0xcc/0x118 [8723ds])
[ 159.895460] [<bf047ca8>] (rtw_os_ndevs_register [8723ds]) from [<bf047d44>] (rtw_os_ndevs_init+0x20/0x48 [8723ds])
[ 159.907073] [<bf047d44>] (rtw_os_ndevs_init [8723ds]) from [<bf048d9c>] (rtw_drv_init+0x64/0xe4 [8723ds])
[ 159.917266] [<bf048d9c>] (rtw_drv_init [8723ds]) from [<c05a83c8>] (sdio_bus_probe+0xfc/0x114)
[ 159.925887] [<c05a83c8>] (sdio_bus_probe) from [<c048436c>] (really_probe+0x1dc/0x2e0)
[ 159.933801] [<c048436c>] (really_probe) from [<c04845ec>] (driver_probe_device+0x60/0x1a0)
[ 159.942058] [<c04845ec>] (driver_probe_device) from [<c04848cc>] (device_driver_attach+0x58/0x60)
[ 159.950923] [<c04848cc>] (device_driver_attach) from [<c0484954>] (__driver_attach+0x80/0xbc)
[ 159.959438] [<c0484954>] (__driver_attach) from [<c04825ac>] (bus_for_each_dev+0x68/0xb4)
[ 159.967609] [<c04825ac>] (bus_for_each_dev) from [<c0483710>] (bus_add_driver+0x140/0x1e8)
[ 159.975865] [<c0483710>] (bus_add_driver) from [<c048516c>] (driver_register+0x78/0x110)
[ 159.984554] [<c048516c>] (driver_register) from [<bf13a040>] (rtw_drv_entry+0x40/0x1000 [8723ds])
[ 159.994082] [<bf13a040>] (rtw_drv_entry [8723ds]) from [<c010271c>] (do_one_initcall+0x50/0x1c0)
[ 160.002877] [<c010271c>] (do_one_initcall) from [<c019c72c>] (do_init_module+0x5c/0x20c)
[ 160.010969] [<c019c72c>] (do_init_module) from [<c019b7e8>] (load_module+0x1bc0/0x2194)
[ 160.018968] [<c019b7e8>] (load_module) from [<c019bfd0>] (sys_finit_module+0xac/0xbc)
[ 160.026791] [<c019bfd0>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 160.034956] Exception stack(0xc32b5fa8 to 0xc32b5ff0)
[ 160.040004] 5fa0: 000d5008 ffffffff 00000003 000d5008 00000000 bedddf46
[ 160.048172] 5fc0: 000d5008 ffffffff bedddf46 0000017b 00000000 00000000 b6fce000 00000000
[ 160.056337] 5fe0: bedddc98 bedddc88 0002ee98 b6f27ad2
[ 160.061497] ---[ end trace 3733023beed2cd04 ]---
离线