CONFIDENTIAL
DOC-USR-0014-03
___________________________________________________________________________________________
Z3 Technology, LLC
♦
100 N 8
th
ST, STE 250
♦
Lincoln, NE 68508-1369 U.S.A.
♦
+1.402.323.0702
13
(8)
When you get the u-boot prompt again, enter the commands below. This will enable mounting the
rootfs using NFS and booting the kernel by TFTP.
Z3-DM8168-MOD# setenv bootcmd run boot-nfs
Z3-DM8168-MOD# saveenv
(9)
Make sure that the DM8168 is connected to your network and power cycle.
If all went well, the DM8168 system will boot the kernel obtained via TFTP from the Linux PC,
mount a root file system using NFS, and present a "#" prompt. If not, then troubleshoot the
connections, IP addresses and server settings. Look in the .../images directory and make sure
that the code is there. The root file system for the target will be at .../filesys/fs.
8.1
U-boot Startup Scripts
The following u-boot startup scripts are available. Each set up the u-boot variables for a specific
behavior. To make the settings permanent, run 'saveenv'.
setenv bootcmd run boot-nfs
Obtains root file system from NFS, kernel from TFTP
setenv bootcmd run nand_boot_nfs
Obtains root file system from NFS, kernel from NAND
setenv bootcmd run nand_boot_jffs2
Obtains root file system from NAND (JFFS2 format), kernel
from NAND
setenv bootcmd run nand_boot_ramdisk
Obtains root file system from ramdisk, kernel from NAND
setenv bootcmd run nand_boot_ubifs
Obtains root file system from NAND (UBIFS format), kernel
from NAND
8.2
U-boot Update Scripts
The following U-boot update scripts are available. These scripts just update the images - you must also
set the bootcmd above to use the proper image.
run update-uboot
Update U-Boot bootloader in NAND
run update-kernel
Update Linux kernel image
run update-env
Update U-Boot environment settings
run update-ramdisk
Update root filesystem ramdisk
run update-jffs2
Update jffs2 image (requires mtd-utils on host)
run update-ubifs
Update jffs2 image (requires ubi utils on host)