I have a uEnv.txt file sitting on a TFTP server and whenever the zybo board downloads the file I have to manually input the "env import" command to update the variables from the recently downloaded file. Is there a way to automate this process within the uenv.txt file?
Command to tftpboot to download uEnv.txt:
Code:
tftp_boot = tftpboot uEnv.txt
bootcmd = run tftp_boot
Contents of uEnv.txt:
Code:
autoload=yes
netstart=0x04000000
bootargs_config=setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.5; setenv bootargs console=ttyPS0,115200
boot_image=image.ub
load_image=tftpboot ${netstart} ${serverip}:${boot_image}; bootm ${netstart}
uenvcmd=run ${load_image}