CONFIDENTIAL
Z3-DM8169-VI-RPS
___________________________________________________________________________________________
V1.03.00
Z3 Technology, LLC ♦ 100 N 8
th
ST, STE 250 ♦ Lincoln, NE 68508-1369 U.S.A. ♦ +1.402.323.0702
24
directory via TFTP. Depending on your Linux distribution you will need to download and set up the
server.
2.)
The DM8169 module is pre-setup so that it will TFTP from the path "z3/z3-netra/images". This path
is defined in the target by the u-boot environment variable "tftp_root".
3.)
Enable NFS on the Linux PC. The target DM8169 will need to mount the root file system using
NFS. Usually it is sufficient to add the desired path in the /etc/exports file, and restart the NFS
service (as root) with
# service nfs restart
4.)
Copy the file .../u-boot/u-boot-env-netra.txt to the Windows PC running Teraterm. Edit the file and
change the following variables to match your own system and network. Note: Use a Windows
editor; it is important to Teraterm to have CR-LF instead of just LF.
setenv ipaddr 192.168.0.56
IP address of the target system
setenv gatewayip 192.168.0.1
Usually the router in your network
setenv netmask 255.255.0.0
As per your network parameters
setenv serverip 192.168.0.6
The computer with the TFTP server
setenv tftp_root z3/z3-netra/images
Location of the images folder in TFTP space
setenv nfs_root /home/z3/z3-netra/filesys/fs
Location of the root file system
5.)
Reboot the DM8169-MOD system and press the space bar to make it stop in the u-boot prompt.
Make sure that your terminal is pausing for 120ms or more at the end of each line.
This is important because the serial port does not have hardware flow control.
6.)
Go into the Teraterm "Setup" menu, select "Serial port..."
Set the "Baud rate" to 115200, "Data" to 8 bit, "Parity" to none, 1 stop bit and flow control to "none"
At "Transmit delay" part, enter 120 in the box next to "msec/line", then click OK.
7.)
Now upload the new environment variables to the board:
In Teraterm, go to the "File" menu and click on "Send file..."
Select the file with the variables that was just edited.
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 DM8169 is connected to your network and power cycle. If all went well, the
DM8169 system will boot the kernel obtained via TFTP from the Linux PC, mount a root file