background image

 

                             

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 

  

Summary of Contents for Z3-DM8168-PCI-RPS

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: