1016 B
1016 B
设备环境
系统Ubuntu20.04 Linux 内核 5.10.198 只使用了核心板的uart 和两个网口。其他都用不到。 调整了dts 文件。关闭了一些不需要用的设备,然后重新编译固件用厂家提供的工具刷入。
开发板
现在在开发板上是网口串口都正常的。
自制底板
网口
网口正常识别,使用netplan 配置静态IP 成功,但是使用网口和另一个设备直连无法ping通设备,两个设备都在同一个网段。
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)通信时不稳定。会报错
tyS3: Frame error!
ttyS3: maybe rx pin is low or baudrate is not correct!