Jump to content
  • 1

u-boot tftp on zybo z7




Trying to get the petalinux u-boot tftpboot to connect from a tftp server from a zybo-z7. The peltalinux demo was obtained from https://digilent.com/reference/programmable-logic/zybo-z7/demos/petalinux. The network configuration between tftp server and zybo is through a switch.

The tftp server is configured as below:

$ cat /etc/default/tftpd-hpa

$ ll /var/lib | grep tftpboot
drwxrwxrwx   4 tftp          tftp          4096 Nov 26 11:54 tftpboot/

$ ll /var/lib/tftpboot/ | grep system.bit
-rw-r--r--   1 tftp tftp    978568 Nov 26 11:54 system.bit

The server has been restarted:

sudo systemctl restart tftpd-hpa

When attempting a tftp transfer a connection does not seem to be made to the server at (timeouts):

Zynq> printenv ipaddr                            
Zynq> tftpboot 0x1000000

Using ethernet@e000b000 device
TFTP from server; our IP address is
Filename 'system.bit'.
Load address: 0x1000000
Loading: T T T T ...

pings from u-boot seems ok:

Zynq> ping
Using ethernet@e000b000 device
host is alive

pings from tftp server to zybo only work when the zybo u-boot tftp transfer is being attempted. When u-boot is not trying to tftp from tftp server to zybo fail as follows:

tftp_server$ ping
PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable
From icmp_seq=2 Destination Host Unreachable
From icmp_seq=3 Destination Host Unreachable

When u-boot is trying to tftp from tfto server to zybo fail as follows:

$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=0.196 ms
64 bytes from icmp_seq=2 ttl=64 time=0.171 ms
64 bytes from icmp_seq=3 ttl=64 time=0.130 ms

Anyone have success for tftp loading images from tftp server to zybo petalinux u-boot ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...