您尚未登录。

楼主 # 2024-06-29 17:00:57

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

求一份xr829 tina sdk 3.10内核的驱动

目前网上能找到的都是3.4 4.9 和5.4版本的驱动,自己尝试修改了4.9版本的xr829驱动到3.10内核版本中,发现运行不了,一直驱动不起来,有没有大佬做过,求一份驱动,我的硬件版本是F1C200s Tina sdk 3.5.1

离线

楼主 #1 2024-06-30 15:06:39

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

Re: 求一份xr829 tina sdk 3.10内核的驱动

有大佬做过么f1c200s 的tina sdk中添加xr829网卡么,有偿求一份

离线

#2 2024-06-30 18:24:19

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,350
积分: 9202

Re: 求一份xr829 tina sdk 3.10内核的驱动

从 linux3.4 里面复制过去试一试:

lichee/linux-3.4/drivers/net/wireless/xr829





离线

楼主 #3 2024-06-30 20:30:36

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

Re: 求一份xr829 tina sdk 3.10内核的驱动

晕哥 说:

从 linux3.4 里面复制过去试一试:

lichee/linux-3.4/drivers/net/wireless/xr829

试过了,直接复制到c200s的板子中好多编译报错,接口需要改动

离线

楼主 #4 2024-06-30 20:48:52

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

Re: 求一份xr829 tina sdk 3.10内核的驱动

天岦 说:
晕哥 说:

从 linux3.4 里面复制过去试一试:

lichee/linux-3.4/drivers/net/wireless/xr829

试过了,直接复制到c200s的板子中好多编译报错,接口需要改动

现在我这边改了一下接口,目前能够成功编译出来.ko文件了也能够加载,但是调用wifi的时候显示接口报错

离线

楼主 #5 2024-07-01 10:31:29

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

Re: 求一份xr829 tina sdk 3.10内核的驱动

目前insmod xr829可以正常加载了,再系统中也能正常的看到网卡设备了,但是wifi还是不能正常使用,也不知道问题出在哪里了,有大佬知道的么
下面是加载驱动打样的信息

[  114.160762] ======== XRADIO WIFI OPEN ========
[  114.175860] [XRADIO_ERR] <try_create_hwinfo_buffer : 1513>read hwinfo file:/tmp/hwinfo.bin failed!
[  114.186041] [XRADIO] Driver Label:XR_V02.16.77_HT40_01.31  Jun 30 2024 09:33:05
[  114.197532] [XRADIO] Allocated hw_priv @ c1b90fa0
[  114.206299] sunxi-wlan wlan: bus_index: 0
[  114.320923] [XRADIO] Detect SDIO card 0
[  114.336079] sunxi-mmc sdc0: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[  114.365446] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[  114.394618] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[  114.408681] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[  114.422091] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
[  114.443349] sunxi-mmc sdc0: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[  114.454933] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
[  114.466830] sunxi-mmc sdc0: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
[  114.479751] mmc0: new high speed SDIO card at address 0001
[  114.495005] [SBUS] XRadio Device:sdio clk=50000000
[  114.525035] [XRADIO] XRADIO_HW_REV 1.0 detected.
[  114.624683] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x01400000.
[  114.739374] [XRADIO] Bootloader complete
[  114.861895] [XRADIO] Firmware completed.
[  114.877836] [WSM] Firmware Label:XR_C09.08.52.64_DBG_02.85 2GHZ HT40 Apr  9 2019 11:15:08
[  114.888069] [XRADIO] Firmware Startup Done.
[  114.894755] [XRADIO_WRN] enable Multi-Rx!
[  114.901150] cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
[  114.910123] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  114.918481] cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
[  114.927300] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  114.935641] cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
[  114.944452] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  114.952750] cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
[  114.961566] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  114.969890] cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
[  114.978705] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  114.987029] cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
[  114.995840] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.004177] cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
[  115.012957] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.021297] cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
[  115.030121] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.038452] cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
[  115.047259] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.055592] cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
[  115.064399] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.072694] cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
[  115.081508] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.089831] cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
[  115.098638] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.106967] cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
[  115.115774] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
[  115.124096] cfg80211: Updating information on frequency 2484 MHz with regulatory rule:
[  115.132884] cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
[  115.159424] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

离线

楼主 #6 2024-07-05 16:53:59

天岦
会员
所在地: 安徽合肥
注册时间: 2020-03-30
已发帖子: 34
积分: 49

Re: 求一份xr829 tina sdk 3.10内核的驱动

目前好像调试成功了,能够扫描到wifi网络了,但是硬件设计的天线好像有点问题,扫描到的wifi比较少

root@TinaLinux:/etc/init.d# wifi_scan_results_test ?[J

*********************************
***Start scan!***
*********************************
bssid / frequency / signal level / flags / ssid
60:fa:9d:0b:83:70       2437    -63     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       ChinaNet-wQLp
80:b5:75:16:07:e8       2437    -79     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       ChinaNet-YejT
******************************
Wifi get_scan_results: Success!
******************************

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn