4 nfsboot, Nfsboot – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual
Page 132

BSP
COMX-P40x0 ENP2 Installation and Use (6806800R95C)
132
The "nandboot" will load Linux kernel and DTB from NOR flash into RAM and then boot. JFFS2
will then mount on the file system on NAND flash as rootfs.
The following are the critical environment variables for "nandboot":
The following are the examples of critical environment variables:
7.23.4 NFSboot
The COMX-P40x0 ENP2 has a U-Boot variable called "nfsboot".
setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off
console=$consoledev,$baudrate $hwbootargs $othbootargs;tftp
$loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr -
$fdtaddr
The "nfsboot" will load Linux kernel and DTB into RAM via network by TFTP and then boot. NFS
will then mount on the remote server as rootfs.
The following are the critical environment variables for "nfsboot":
jffs2nand
-
MTD device for JFFS2 rootfs on NAND FLASH
norbootaddr
-
Linux kernel address on NOR FLASH
norfdtaddr
-
DTB address on NOR FLASH
=> setenv jffs2nand mtdblock7
=> setenv norbootaddr EE000000
=> setenv norfdtaddr EFD00000
ethact
-
Active ethernet port
netdev
-
The NFS mounting network port
bootfile
-
Linux kernel file name on TFTP server
fdtfile
DTB file name on TFTP server
rootpath
The NFS path the remote server exports