background image

 

                             

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 

 

Содержание Z3-DM8168-PCI-RPS

Страница 1: ..._____________________________________________________________ V1 3 Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 U S A 1 402 323 0702 1 PCIe H 264 HD Video Daughtercard PCIe Starter Kit...

Страница 2: ...ss B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates...

Страница 3: ...d grammatical errors CH 0 4 12 14 11 Added Section 5 1 and 5 2 CH 0 5 12 17 11 Rewrite section 1 revised sections 3 and 4 IM 0 6 12 18 11 Technical revision with major changes throughout Added to new...

Страница 4: ...with PC VLC Decode 6 5 2 Encode Stream with Z3 MVP 02 Decode 9 6 Installing the Released Materials 11 7 Building the Code 12 8 Configuring the Target for Your Own Development Environment 12 8 1 U boot...

Страница 5: ...kernel u boot tool chain and starter file system pre integrated and configured There is no need to port or integrate OS functions media drivers etc The software bundle also contains tools to allow th...

Страница 6: ...68 PCI RPS will simplify the overall system design reducing time to market and development costs The modular building block approach enables quick and cost effective deployment of end user systems by...

Страница 7: ...rt The console port is the 2 5mm jack next to the power switch Please refer to Figure 1 2 Setup teraterm on PC for 115k 8 N 1 0ms char 100ms line 3 Connect the power supply and a USB pen drive with vi...

Страница 8: ...rate 60 S Start streaming W Write configuration to flash X eXit to prompt Enter option 12 On the encoder menu you can press U to change the URL to your computer s static IP and then press S to start...

Страница 9: ...m to Z3 MVP 02 demo The encoder portion of the demo is identical to the encode and stream to PC demo described above It too can support HDMI input with the same HDCP restrictions The connections are l...

Страница 10: ...After booting up and running through the beginning of the sequence the H 264 decode demo menu will appear Below is a screenshot of the H 264 decode demo terminal console Z3 Technology LLC DM8168 MOD...

Страница 11: ...6 Installing the Released Materials The software provided will allow you to re create the pre installed software of the DM8168 MOD starting from the included source code On a PC running Linux create a...

Страница 12: ...un 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 file...

Страница 13: ...twork 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...

Страница 14: ...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...

Страница 15: ...ming 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 nece...

Страница 16: ...target board match the locations of the executables on your work directory and then run the target board By default using the factory settings the target expects that the kernel image is available at...

Страница 17: ...mynfsmnt mount o nolock 192 168 0 6 home z3 z3 netra filesys fs tmp mynfsmnt 5 Mount UBIFS on empty filesystem mkdir mnt ubifs mount t ubifs ubi0 rootfs mnt ubifs 6 Copy all files from clean NFS moun...

Страница 18: ...face card Therefore the PCIe spec allows you to plug the Z3 DM8168 APP 2x board into any PCI Express slot that it will fit in 4 8 or 16 lanes The Z3 DM8168 PCI RPS board set can also operate as 1 1 la...

Страница 19: ...12 3 The DM8168 MOD xx PCI Express hardware The PCI Express bus is not really a bus Instead it is a point to point connection between a PCI master and a slave The PCI master can send commands to perfo...

Страница 20: ...and boots the DM8168 The application relies on an underlying device driver to provide low level access to the DM8168 device addresses as set by the BAR registers in PCI configuration space An example...

Отзывы: