执行petalinux-config指令
Subsystem AUTO Hardware Settings --->
Ethernet Settings --->
[*] Obtain IP address automatically
去掉*,改为[ ] Obtain IP address automatically
然后修改静态IP相关参数
执行petalinux-config指令