CONFIDENTIAL
Z3-DM8168-PCI-RPS
___________________________________________________________________________________________
V1.1
Z3 Technology, LLC ♦ 4701 Innovation Drive CB103 ♦ Lincoln, NE 68521 USA ♦ +1.402.323.0702
14
mount a root file system using NFS and present a "#" prompt. If this does not happen, please 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 script allows for a different combination of where the
kernel and file system are obtained from, and boots that particular combination.
boot-nfs
Obtains root file system from NFS, kernel from TFTP
nand_boot_nfs
Obtains root file system from NFS, kernel from NAND
nand_boot_jffs2
Obtains root file system from NAND (JFFS2 format), kernel from NAND
nand_boot_ramdisk Obtains root file system from ramdisk, kernel from NAND
nand_boot_ubifs
Obtains root file system from NAND (UBIFS format), kernel from NAND
From the u-boot command prompt, you can execute any one of the above scripts by typing the command “run”
followed by the script name. To cause the module to get a kernel and file system from the PC server use:
Z3-DM8168-MOD# run boot-nfs
During the normal boot procedure the module will execute whatever command is in the variable “bootcmd”.
Set bootcmd as desired with the commands below:
Z3-DM8168-MOD# setenv bootcmd run boot-nfs
Z3-DM8168-MOD# saveenv
This will make booting from TFTP and NFS the default behavior, and the “saveenv” makes it permanent.
Without the “saveenv” the variable bootcmd would revert to its previous value at the next boot.
8.2
U-boot Update Scripts
The following u-boot update scripts are available. These scripts solely update the images of the various
components stored in the NAND flash - you must also set the bootcmd or manually run one of the startup
scripts as per above to use the a given image. Please see the update scripts below:
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 (creating a JFFS2 image requires mtd-utils on host)