CONFIDENTIAL
Z3-DM8168-PCI-RPS
___________________________________________________________________________________________
V1.1
Z3 Technology, LLC ♦ 4701 Innovation Drive CB103 ♦ Lincoln, NE 68521 USA ♦ +1.402.323.0702
12
Untar the archive
# tar -xjf z3-dm8168-1.0.0-20110209.tar.bz2
A directory with the release name and a set of sub-directories should have been created as follows:
z3-dm8168-1.0.0-20110209/
7.
Building the Code
Follow the directions in section 7, "Building the Code" below in this document. When the build is successfully
completed, an “images” directory will be created at the project level. All images and executables will be
located in the "images" directory. These will now be ready to be transferred to the target.
8.
Configuring the Target for Your Own Development Environment
The best way to develop software for the Z3-DM8168-PCI-RPS system is to use the HDD of a Linux PC to
serve as the root file system for the target DM8168 system. It is also productive to allow the Z3-DM8168-PCI-
RPS system to fetch the Linux kernel from the PC using the network, so all the software that is being run by
the DM8168 is in effect coming from the PC.
To accomplish this, follow the steps below.
1.)
Run a Trivial File Transfer Protocol (TFTP) server on the Linux PC. The target system will need to
access files from the "images" directory via TFTP. Depending on your Linux distribution you will need to
download and set up the server.
2.)
The DM8168 module is pre-setup so that it will TFTP from the path "z3/z3-netra/images". This
means that you should configure the TFTP server root directory as /home. This way the DM8168 will get
the kernel from /home/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 DM8168 will need to mount the root file system using
NFS. Usually it is sufficient to add the desired path and permission in the /etc/exports file, and restart the
NFS service (as root) with
build-tools Contains some scripts that simplify the setup
filesys
This contains the root file system for the DM368 target
kernels
The kernel source tree, with added support for the Z3-DM368-MOD HW
images
Binary images needed by the target are here
toolchain
ARM compilers, binutils and other build tools
u-boot
The u-boot source tree, with support for the Z3-DM368-MOD hardware
z3apps
Optional software licensed by Z3 Technology