knowledge_map/rk3568开发问题.md
2024-11-14 18:20:55 +08:00

36 lines
1016 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 设备环境
系统Ubuntu20.04 Linux 内核 5.10.198
只使用了核心板的uart 和两个网口。其他都用不到。
调整了dts 文件。关闭了一些不需要用的设备,然后重新编译固件用厂家提供的工具刷入。
## 开发板
现在在开发板上是网口串口都正常的。
## 自制底板
### 网口
网口正常识别使用netplan 配置静态IP 成功但是使用网口和另一个设备直连无法ping通设备两个设备都在同一个网段。
```yaml
network:
version: 2
renderer: NetworkManager
ethernets:
eth0: # 网卡名称
dhcp4: no # 关闭dhcp
dhcp6: no
addresses: [192.168.110.12/24] # 静态ip
gateway4: 192.168.110.1 # 网关
nameservers:
addresses: [8.8.8.8, 114.114.114.114] #dns
```
### uart
整体上应该通了但是和其他设备使用高波特率921600通信时不稳定。会报错
```log
tyS3: Frame error!
ttyS3: maybe rx pin is low or baudrate is not correct!
```