background image

 

                             

CONFIDENTIAL

                                    Z3-DM8168-PCI-RPS  

   

      ___________________________________________________________________________________________ 

                                                                                V1.1 

Z3 Technology, LLC ♦ 4701 Innovation Drive CB103 ♦ Lincoln, NE 68521 USA ♦ +1.402.323.0702 

20 

configured for root complex, the kernel will hang waiting for the PCIe clock during initialization and the 

module will not boot. 

 

12.4

 

Using the DM8168 PCI Express interface 

The PCI Express interface on the DM8168 provides a direct high speed access path between the host and 

the DM8168 memory space. A good example of how this can be used is booting the DM8168 using the 

PCIe interface. The host PC can upload the u-boot, kernel and root file system in the DM8168 memory 

space via PCIe bus, then let the DM8168 execute it. 

Example software to boot the Z3-DM8168-PCI-RPS system via PCIe bus is provided as part of the 
EZSDK in the …/ezsdk/example-applications/linux-driver-examples-psp*/pcie directory. The boot 

example application takes command line parameters with the file names for u-boot, kernel and root file 

system, uploads them 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 Linux driver is provided in 
the kernel tree, at …/kernels/drivers/char. The files ti81xx_pcie_bootdrv.c and ti81xx_pcie_bootdrv.h 

implement the driver entirely. You can move them to the host PC running Linux and compile them to 

create a loadable module on the host machine. 
The document “DM816x_AM389x_PCI_Express_Endpoint_Boot_Driver_User_Guide.pdf” is a must 
read. It can be found in the …/ezsdk/board-support/docs directory. 

 

13.

 

Troubleshooting 

No video is usually caused by networking issues. 

o

 

First: check IP address and Netmask. Ping PC from DM8168 and ping DM8168 from PC. Use direct 

connection from DM8168 system to PC without router/customer network. Once video connection is 

established, then add in customer specific network equipment. 

o

 

Second: check to make sure firewalls are turned off 

o

 

Third: check video source. Verify video source is outputting compatible analog video 

o

 

Fourth: verify PC is fast enough and has enough DDR to decode compressed video 

o

 

Fifth: verify VLC version is 1.1x or later 

No SDP file 

o

 

Check your Z3 server account 

 

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: