页次: 1
各位大佬,我用自己编译的tina,网络连接失败,无论wifi还是有线连接都不行。
板子无线模组是RTL8723ds的。源码中已经没有这个驱动了,驱动是自己按照网上教程改的。
通过无线扫描,日志如下,没有报错,就是扫描不到网络,已连接天线
root@TinaLinux:/# wifi_scan_results_test
*********************************
***Start scan!***
*********************************
bssid / frequency / signal level / flags / ssid
******************************
Wifi get_scan_results: Success!
******************************
通过ifconfig 能看到接口:
root@TinaLinux:/# ifconfig
br-lan Link encap:Ethernet HWaddr 22:74:77:FE:45:80
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2074:77ff:fefe:4580/64 Scope:Link
inet6 addr: fdea:9b58:4a7e::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7117 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:373407 (364.6 KiB) TX bytes:5008 (4.8 KiB)
eth0 Link encap:Ethernet HWaddr 22:74:77:FE:45:80
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9271 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1278194 (1.2 MiB) TX bytes:27884 (27.2 KiB)
Interrupt:9
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:13835 errors:0 dropped:0 overruns:0 frame:0
TX packets:13835 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1079504 (1.0 MiB) TX bytes:1079504 (1.0 MiB)
wlan0 Link encap:Ethernet HWaddr 7C:A7:B0:25:9D:4A
UP BROADCAST MULTICAST MTU:1500 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)
有线连接路由器,使用命令配置ip:
root@TinaLinux:/# ifconfig eth0 192.168.31.222
root@TinaLinux:/# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 22:74:77:FE:45:80
inet addr:192.168.31.222 Bcast:192.168.31.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9906 errors:0 dropped:0 overruns:0 frame:0
TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1354041 (1.2 MiB) TX bytes:27970 (27.3 KiB)
Interrupt:9
配置完之后还是ping不通路由器。
配置自动获取ip,输出三句之后就卡了,没有后续了。
root@TinaLinux:/# udhcpc -i eth0
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
我怀疑还是驱动有问题,但是不知道怎么看日志,排查了,向各位大佬请教下该怎么查。
驱动查看:
root@TinaLinux:/# lsmod
8723ds 1445136 0
bnep 11548 0
btintel 8089 1 btusb
btusb 30816 0
fuse 85019 0
hidp 16957 0
ipt_REJECT 1646 0
iptable_filter 1514 0
tlsc6x 68595 0
xt_LOG 1467 0
xt_TCPMSS 2753 0
xt_comment 1116 0
xt_limit 2265 0
xt_mac 1236 0
xt_mark 1398 0
xt_multiport 1847 0
xt_time 2307 0
PC:win10
板子:按FEL,烧写固件tina_r329-evb5_uart0_atina_dragonMAT4testOK_toCityBank_20210106.img
烧机程序:AllwinnertechPhoeniSuitRelease20230905.zip(保留数据升级、分区擦除升级、全盘擦除升级都试了)
串口日志参看:serial-debug-2023-10-24-205549.txt
程序弹框: 大概在48%的时候提示,固件烧写失败,请确认固件版本或者板子是否正常。
板子之前开机之后无法正常启动,所以要烧写固件
兄弟们帮忙看看哈
以下是烧写固件之前的报错信息,因为系统起不来了,才开始烧固件的:
[ 7.268198] tlsc6x_ts 1-002e: fail to get vdd_name
[ 7.268243] tlsc6x_ts 1-002e: fail to get virtualkeys
[ 7.272442] 1-002e supply vdd not found, using dummy regulator
[ 7.536520] sunxi_i2c_do_xfer()1942 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2e)
[ 7.539231] [tlsc][error] [IIC]: i2c_transfer(1) error, addr= 0x0!!
页次: 1