TS-7680 U-boot nfs boot

From embeddedTS Manuals
Revision as of 16:37, 29 April 2015 by Kris (talk | contribs) (Created NFS page more appropriate for TS-7680)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

U-boot includes support for NFS which can be used to load your kernel, device tree binary, and root filesystem. Our default environment contains the nfsboot command which can be updated to boot NFS on your network:

# Set this to your NFS server ip
env set nfsip 192.168.0.11;

# Set this to your NFS root path.  The server root should be accessible at this path.
env set nfsroot /nfsroot/rootfs/
env save

To boot your NFS root:

# Boot to NFS once
run nfsboot;

# To make the NFS boot the persistent default
env set bootcmd run nfsboot;
env save