
42
CONFIDENTIAL
DOC-USR-0045-05
____________________________________________________________________________________
Z3 Technology, LLC
♦
100 N. 8th St. STE 250
♦
Lincoln, NE 68508-1369 USA
♦
+1.402.323.0702
(k)
Type “printenv” to show the current environment variables in u-boot.
(l)
Check the value of gatewayip and netmask to make sure it conforms to your network. You can
use setenv to change anything that needs to be modified.
(m)
Set boot mode to NFS
Z3-DM8168-MOD# setenv bootcmd run boot-nfs
(n)
Save your changes
Z3-DM8168-MOD# saveenv
(5)
Make sure the DM8168 is connected to your network.
(6)
From the u-boot prompt, type “boot”
Z3-DM8168-MOD# boot
You should see the DM8169-4K-RPS boot the kernel obtained via TFTP, mount a file system using NFS,
and then go straight to the serial menu. If you are running into issues, see the “Troubleshooting”
section in Appendix B.
10.3
Other Available u-boot Commands
Besides booting from NAND and TFTP/NFS, there are other boot configurations that are possible. Below
are the possible options provided in the Z3 u-boot environment:
setenv bootcmd run boot-nfs
Get kernel from TFTP, root file system from NFS
setenv bootcmd run nand_boot_nfs
Get kernel from NAND, root file system from NFS
setenv bootcmd run nand_boot_jffs2
Get kernel from NAND, root file system from NAND (JFFS2)
setenv bootcmd run nand_boot_ramdisk Get kernel from NAND, root file system from ramdisk
setenv bootcmd run nand_boot_ubifs
Get kernel from NAND, root file system from NAND (UBIFS)
The following scripts are also available to update the u-boot environment:
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)