0 Replies Latest reply on Jan 7, 2021 5:36 AM by ldeevans

    MicroZed TFTP boot

    ldeevans

      Hi,

      How do I change the TFTP boot server in uBoot please?

       

      Doing:

      Zynq> setenv serverip 192.168.1.107

      Zynq> printenv serverip

      serverip=192.168.1.107

      Zync> saveenv

      Saving Environment to SPI Flash... Erasing SPI flash...Writing to SPI flash...done

      OK

       

      Then booting, for example:

      petalinux-boot --jtag --prebuilt 2

       

      I get several:

      TFTP from server 192.168.1.254; our IP address is 192.168.1.183

      Filename 'pxelinux.cfg/default'.

      Load address: 0x2000000

      Loading: *

      TFTP server died; starting again

      Config file not found

      BOOTP broadcast 1

      DHCP client bound to address 192.168.1.183 (102 ms)

      Using ethernet@e000b000 device

      TFTP from server 192.168.1.254; our IP address is 192.168.1.183

      Filename 'boot.scr.uimg'.

      Load address: 0x3000000

      Loading: *

      TFTP server died; starting again

      BOOTP broadcast 1

      DHCP client bound to address 192.168.1.183 (145 ms)

      Using ethernet@e000b000 device

      TFTP from server 192.168.1.254; our IP address is 192.168.1.183

      Filename 'boot.scr.uimg'.

      Load address: 0x2000000

      Loading: *

      TFTP server died; starting again

       

      So it is trying to boot from 192.168.1.254, not 192.168.1.107.

      Probably me doing something silly, any help appreciated,

      Thanks,

      Dave.