U-Boot Startup Scripts; U-Boot Update Scripts - Z3 Technology Z3-DM8168-DVR-RPS User Instructions

Multi-channel h.264 hd multimedia system
Table of Contents

Advertisement

(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
setenv bootcmd run nand_boot_nfs
setenv bootcmd run nand_boot_jffs2
setenv bootcmd run nand_boot_ramdisk
setenv bootcmd run nand_boot_ubifs

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
run update-kernel
run update-env
run update-ramdisk
run update-jffs2
run update-ubifs
___________________________________________________________________________________________
Z3 Technology, LLC ♦ 100 N 8
CONFIDENTIAL
Obtains root file system from NFS, kernel from TFTP
Obtains root file system from NFS, kernel from NAND
Obtains root file system from NAND (JFFS2 format), kernel
from NAND
Obtains root file system from ramdisk, kernel from NAND
Obtains root file system from NAND (UBIFS format), kernel
from NAND
Update U-Boot bootloader in NAND
Update Linux kernel image
Update U-Boot environment settings
Update root filesystem ramdisk
Update jffs2 image (requires mtd-utils on host)
Update jffs2 image (requires ubi utils on host)
13
th
ST, STE 250 ♦ Lincoln, NE 68508-1369 U.S.A. ♦ +1.402.323.0702
DOC-USR-0014-03

Advertisement

Table of Contents
loading

Table of Contents