通过tftp调试xilinx-linux

betball贝博app xilinx, 嵌入式linux 335 次浏览 没有评论

安装tftp服务器

sudo apt install tftp-hpa tftpd-hpa

编辑配置文件

 sudo vim /etc/default/tftpd-hpa 

启动tftp

sudo update-inetd --enable BOOT
sudo service tftpd-hpa restart

设置工程petalinux-config Image Packaging Configuration 选中Copy final images to ftpboot 然后在下一行设置路径

然后启动

petalinux-boot --jtag --prebuilt 2

启动以后,无法实现自动发现,然后需要定义服务端IP和自己的IP

Zynq> print ipaddr
## Error: "ipaddr" not defined
Zynq> set ipaddr 192.168.10.101; saveenv
Saving Environment to FAT... Card did not respond to voltage select!
Failed (1)
Zynq> run netboot
Using ethernet@e000b000 device
TFTP from server 192.168.10.100; our IP address is 192.168.10.101

启动run netboot

发表评论

邮箱地址不会被公开。

Go