完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
这里是 sipeed 的大佬鼠喔,前天下午被催着处理,折腾了一天处理掉了,先上结果图吧。
(2021-12-17 大佬鼠我发帖时,BS 加载还有一些bug,所以没有具体的截图) 移植方法的前提有两个,首先拿到全志公开的 SDK ,然后在 lichee/linux-5.4/drivers/net/wireless/rtl8723ds 里添加旧驱动升级上来。 不要去尝试使用主线的 8723bs 驱动和其他 lichee/linux-5.4/drivers/net/ 目录下的驱动,全志只有 XR829 上写了sunxi相关操作,也就是说,其他地方的驱动要从这里抄,或者从以前的旧代码升级上来。 官方有用的讯息只有这个 https://bbs.aw-ol.com/topic/756/faq-全志d1芯片-如何移植-rtl8821cu-wifi-驱动到-linux-5-4内核/1 注意 lichee/linux-5.4/include/linux/timer.h 和 相关 lichee/linux-5.4/drivers/net/wireless/rtl8723ds/os_dep/osdep_service.c 接口的升级,vfs_read 已经发生了改变,所以要用 kernel_read 喔。 最后附带一下我编译好的 8723ds.ko 吧,感兴趣的同学可以试试! 用法如下: 8723ds.ko (这版模块插入挺久的,这让我有一点迷惑,之后我再看看要不要优化吧) root@TinaLinux:/# insmod 8723ds.ko [ 37.434002] RTW: module init start [ 37.437799] RTW: rtl8723ds v5.10.1-26-ga10bc0b8b.20200617_COEX20200103-3535 [ 37.445650] RTW: build time: Dec 17 2021 08:23:15 [ 37.450894] RTW: rtl8723ds BT-Coex version = COEX20200103-3535 [ 37.467463] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 37.574642] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 37.580856] ----- platform_wifi_power_on sdc_id: 1 [ 37.586697] RTW: == SDIO Card Info == [ 37.590810] RTW: card: (____ptrval____) [ 37.595340] RTW: clock: 25000000 Hz [ 37.599419] RTW: timing spec: sd high-speed [ 37.604338] RTW: sd3_bus_mode: FALSE [ 37.608515] RTW: func num: 1 [ 37.611915] RTW: func1: (____ptrval____) (*) [ 37.616924] RTW: ================ [ 37.662236] RTW: HW EFUSE [ 37.665197] RTW: 0x000: 29 81 00 7C E1 88 07 00 A0 04 EC 35 12 C0 A3 D8 [ 37.673162] RTW: 0x010: 27 26 25 26 26 26 28 28 27 27 27 01 FF FF FF FF [ 37.681049] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.688995] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.696924] RTW: 0x040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.704884] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.712768] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.720720] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.728631] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.736583] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.744492] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.752395] RTW: 0x0B0: FF FF FF FF FF FF FF FF 20 33 1C 00 00 00 FF FF [ 37.760320] RTW: 0x0C0: FF 29 20 11 00 00 00 FF 00 FF 11 FF FF FF FF FF [ 37.768267] RTW: 0x0D0: 3E 10 01 12 23 FF FF FF 20 04 4C 02 23 D7 21 02 [ 37.776196] RTW: 0x0E0: 0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01 [ 37.784171] RTW root@TinaLinux:/# insmod 8723ds.ko [ 37.434002] RTW: module init start [ 37.437799] RTW: rtl8723ds v5.10.1-26-ga10bc0b8b.20200617_COEX20200103-3535 [ 37.445650] RTW: build time: Dec 17 2021 08:23:15 [ 37.450894] RTW: rtl8723ds BT-Coex version = COEX20200103-3535 [ 37.467463] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 37.574642] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 37.580856] ----- platform_wifi_power_on sdc_id: 1 [ 37.586697] RTW: == SDIO Card Info == [ 37.590810] RTW: card: (____ptrval____) [ 37.595340] RTW: clock: 25000000 Hz [ 37.599419] RTW: timing spec: sd high-speed [ 37.604338] RTW: sd3_bus_mode: FALSE [ 37.608515] RTW: func num: 1 [ 37.611915] RTW: func1: (____ptrval____) (*) [ 37.616924] RTW: ================ [ 37.662236] RTW: HW EFUSE [ 37.665197] RTW: 0x000: 29 81 00 7C E1 88 07 00 A0 04 EC 35 12 C0 A3 D8 [ 37.673162] RTW: 0x010: 27 26 25 26 26 26 28 28 27 27 27 01 FF FF FF FF [ 37.681049] RTW: 0x020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.688995] RTW: 0x030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.696924] RTW: 0x040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.704884] RTW: 0x050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.712768] RTW: 0x060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.720720] RTW: 0x070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.728631] RTW: 0x080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.736583] RTW: 0x090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.744492] RTW: 0x0A0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 37.752395] RTW: 0x0B0: FF FF FF FF FF FF FF FF 20 33 1C 00 00 00 FF FF [ 37.760320] RTW: 0x0C0: FF 29 20 11 00 00 00 FF 00 FF 11 FF FF FF FF FF [ 37.768267] RTW: 0x0D0: 3E 10 01 12 23 FF FF FF 20 04 4C 02 23 D7 21 02 [ 37.776196] RTW: 0x0E0: 0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01 [ 37.784171] RTW: 0x0F0: 01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF [ 37.792056] RTW: 0x100: 00 |
|
|
|
|
|
只有小组成员才能发言,加入小组>>
全志T113双核异构处理器的使用基于Tina Linux5.0——RTOS编译开发说明
504 浏览 0 评论
1100 浏览 1 评论
2933 浏览 0 评论
为了学习内核开发,大佬手搓了一个轻量级操作系统YiYiYa OS
2876 浏览 0 评论
1288 浏览 0 评论
【开源硬件大赛】基于全志V853设计的全功能BTB学习开发板
3450浏览 8评论
3102浏览 5评论
1876浏览 4评论
全志V85x硬件设计大赛作品精选第二期,快来Pick你心目中的最佳方案
88825浏览 3评论
3610浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 19:54 , Processed in 0.617130 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号