~/Works/ZYNQ/MZ702P/petaLinux$ petalinux-boot --jtag --u-boot --hw_server-url TCP:ubuntu:3121
INFO: Sourcing build tools
INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
rlwrap: warning: your $TERM is ‘xterm-256color’ but rlwrap couldn’t find it in the terminfo database. Expect some problems.: Inappropriate ioctl for device
Connection refused
while executing
“error $message”
(procedure “connect” line 143)
invoked from within
“connect -url TCP:ubuntu:3121”
(file “/tmp/tmp.C5Okp2kEkP” line 2)
INFO: The XSDB log is as follows
打开ubuntu虚拟机的 hw_server该问题可以解决。