L i n u x b o o t m e t h o d s
Linux boot methods
Linux is booted by
TFTP/NFS
Flash memory
USB storage device (e.g. an USB memory stick)
The following information describes each boot method.
TFTP/NFS
With this method, the Linux kernel is downloaded through Ethernet via TFTP protocol from the server's TFTP folder.
Use the "tftp" command from the
#setenv bootargs console=...
ip=$(ipaddr):$(serverip)::$(netmask):2440:eth0:off root=nfs
nfsroot=$(serverip):$(npath)
#tftp <load_addr> <kernel_image>
#bootm <load_addr>
A faster way to do this is to use the "boot_net" macro, which loads a kernel image from your TFTP server to the target's RAM and then connect to a root file system via NFS.
NAND-Flash
This method will load the Linux kernel and the root file system from NAND Flash. Use the "nand read.jffs2" command to load the kernel from the NAND flash. After copying the kernel image from NAND to flash you can run it with "bootm".
#setenv bootargs console=...
ip=$(ipaddr):$(serverip)::$(netmask):2440:eth0:off root=/dev/mtdblock2 rootfstype=jffs2
#nand read.jffs2s <load_addr> <start flash> <kernel_image_size>
#bootm <load_addr>
4 6 | L x N E T E S U s e r ’ s G u i d e |