 +		do_expect "\"$prompt\"" "send \"setenv ip_method dhcp\"" $cwd/setupBoard.minicom
 +		do_expect "\"$prompt\"" "send \"setenv nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096'\"" $cwd/setupBoard.minicom
 +		do_expect "\"$prompt\"" "send \"setenv getuenv 'mmc dev \${mmcdev}; if mmc rescan; then if run loadbootenv; then run importbootenv; fi; fi;'\"" $cwd/setupBoard.minicom
-+		do_expect "\"$prompt\"" "send setenv bootcmd 'setenv autoload no; mmc rescan; run findfdt; run getuenv; setenv devtype mmc; run loadimage; run netargs; bootm \${fit_loadaddr}#\${fdtaddr}'" $cwd/setupBoard.minicom
++		do_expect "\"$prompt\"" "send setenv bootcmd 'setenv autoload no; mmc rescan; run findfdt; run getuenv; setenv devtype mmc; run loadimage; run netargs; bootm \${fit_loadaddr}#\${fdtfile}'" $cwd/setupBoard.minicom
 +		do_expect "\"$prompt\"" "send \"saveenv\"" $cwd/setupBoard.minicom
 +		do_expect "\"$prompt\"" "send \"boot\"" $cwd/setupBoard.minicom
 +	    else

From d1da0171e5e179816a1d8fd101a7f6c9f5ea307a Mon Sep 17 00:00:00 2001
From: Jacob Stiffler <j-stiffler@ti.com>
Date: Tue, 27 Feb 2018 13:50:28 -0500
Subject: [PATCH 8/8] setup-uboot-env-am*-hs: add support for rootfs over NFS

* Now that ramfs is not required for fitImages, NFS can be used for
  the rootfs.

 
 echo "--------------------------------------------------------------------------------"
diff --git a/setup-uboot-env-am43x-hs.sh b/setup-uboot-env-am43x-hs.sh
index 5add85f..ccb0f93 100644
--- a/setup-uboot-env-am43x-hs.sh
+++ b/setup-uboot-env-am43x-hs.sh
@@ -66,6 +66,18 @@ if [ ! -n "$ip" ]; then
