CONFIDENTIAL
Z3-DM8168-PCI-RPS
___________________________________________________________________________________________
V1.1
Z3 Technology, LLC ♦ 4701 Innovation Drive CB103 ♦ Lincoln, NE 68521 USA ♦ +1.402.323.0702
15
run update-ubifs Update jffs2 image (creating a UBIFS image requires ubi utils on host)
9.
Building the Code
Instructions to setup and build the full code base for the Z3-DM8168-MOD-3X.
You will need sudo privileges in order to build the code. Make sure that the user account you are working from
is in the /etc/sudoers file and that you have the password. It is recommended that you setup the /etc/sudoers
file so that no password is required.
The various variables of the system are all set up by default as if you are using the user account "z3" and
follow the directory naming as below. If you create a "z3" account and use it to build the code then you will be
able to execute the results of your build without changing paths in the target system or elsewhere. It is not
necessary to do so, but starting at the right place can shorten the startup time.
First login as user z3. Create a work directory (if you have not already done so) and cd to it.
mkdir ~/z3-netra
cd ~/z3-netra
Place release tar file in new directory and untar archive.
cp /your_tar_file_location/z3-dm8168-version.tar.bz2
tar -xjf z3-dm8168-version.tar.bz2
Un-tar'ring the release should have created an intermediate directory with the release name (such as "z3-
dm8168-1.0.0-20110209"), please cd into it. In order to build the code, the current directory must contain the
project subdirectories "build-tools", "dvsdk", "kernels", "u-boot", etc.
Then run the following commands to build the system executables.
./build-tools/setup.sh
source z3-env
make z3_netra_pcie_ep_defconfig
make clean
make all install
make demos