summaryrefslogtreecommitdiff
path: root/include/configs/verdin-imx8mm.h
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-03-27 12:28:20 +0200
committerStefano Babic <sbabic@denx.de>2020-04-17 18:59:16 +0200
commit2c28c4a2806e51a0cc3b9444890e6a184321b1ff (patch)
treeadc6e65cfe33394831d6a09e4d878804f0768125 /include/configs/verdin-imx8mm.h
parent47d430baed16b35a1afc5ae2ae8c468de8d21efd (diff)
downloadu-boot-2c28c4a2806e51a0cc3b9444890e6a184321b1ff.tar.gz
verdin-imx8mm: add nfsboot wrapper to env
Add nfsboot wrapper to env to boot Linux kernel from TFTP/NFS. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'include/configs/verdin-imx8mm.h')
-rw-r--r--include/configs/verdin-imx8mm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/verdin-imx8mm.h b/include/configs/verdin-imx8mm.h
index dc0a2efec6..82bff3608c 100644
--- a/include/configs/verdin-imx8mm.h
+++ b/include/configs/verdin-imx8mm.h
@@ -66,6 +66,12 @@
"initrd_addr=0x43800000\0" \
"initrd_high=0xffffffffffffffff\0" \
"kernel_image=Image\0" \
+ "netargs=setenv bootargs console=${console},${baudrate} " \
+ "root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp" \
+ "\0" \
+ "nfsboot=run netargs; dhcp ${loadaddr} ${kernel_image}; " \
+ "tftp ${fdt_addr} verdin/${fdtfile}; " \
+ "booti ${loadaddr} - ${fdt_addr}\0" \
"setup=setenv setupargs console=${console},${baudrate} " \
"console=tty1 consoleblank=0 earlycon\0" \
"update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \