1、Ubuntu选择桥接并配置成网线接口
2、新建Ubuntu网路,设置IP为192.168.1.100,子网掩码为255.255.255.0
3、设置开发板:
STM32MP> setenv ipaddr 192.168.1.250
STM32MP> setenv netmask 255.255.255.0
STM32MP> setenv gatewayip 192.168.1.1
STM32MP> setenv serverip 192.168.1.100
STM32MP> saveenv
4、全部完成后出现以下代码
Saving Environment to MMC... Writing to redundant MMC(0)... OK
5、 测试ping命令:在串口工具中
STM32MP> ping 192.168.1.100
成功现象:
Using ethernet@5800a000 device
host 192.168.1.100 is alive
失败现象:
STM32MP> ping 192.168.1.100
ethernet@5800a000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
phy_startup() failed: -110FAILED: -110ping failed; host 192.168.1.100 is not alive
ARM - 使用SecureCRT软件实现开发板与Ubuntu的连接
于 2022-09-27 20:41:52 首次发布
499

被折叠的 条评论
为什么被折叠?



