background image

 

                             

CONFIDENTIAL

                                    Z3-DM8168-PCI-RPS  

   

      ___________________________________________________________________________________________ 

                                                                                V1.1 

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

19 

One of the functions of the BIOS is to determine if there is a display adapter card present in the system, 

and if so the BIOS makes it the primary video monitor. Some BIOSes mistakenly think that any add-in 

card present in its 16-lane PCIe slot must be a display controller, even if the PCIe card clearly tells the 

BIOS (via configuration space) it isn’t so. This BIOS behavior is most frequent on motherboards with only 

one PCIe slot or one 16-lane and one 1-lane slot, where the most popular add-in card on the 16-lane slot 

would in fact be a video controller. The problem is that these systems will effectively either not boot with 

the Z3-DM368-APP-2x card (or any other non-video card) plugged in, or boot without video. Usually 

there are no configuration settings in the BIOS that will correct the behavior of the BIOS, making it 

effectively impossible to use that motherboard. 

Z3 Technology recommends that development with the PCI-RPS system be done on an Asus P8H67-

MPRO motherboard. We found that the BIOS performs the system initialization correctly. 
The systems with “bad BIOS” tend to work correctly when the add-in card is plugged into the 1-lane slot, 

when present. This can be accomplished with a PCIe to PCIe adapter or when the 1-lane slot connector on 

the motherboard is open at the edge to allow insertion of boards with more than 1 lane. 

 

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 perform PCI transactions, and the slave carries them 

out. The PCIe interface on the master side is called the “root complex”, and the slave side is the 
“endpoint”. A computer or any device with a slot is the root complex, while anything the plugs into the slot 

is the endpoint. 

The Z3-DM8168-MOD-xx module is capable to perform as a root complex or endpoint. In order for the Z3 

module to be used in a specific PCI Express setting the module must have the proper configuration. By 

default, Z3 ships Z3-DM8168-MOD-2x modules configured as root complex, and Z3-DM8168-MOD-3x 

configured as endpoint. The Z3-DM8168-PCI-RPS kit contains a Z3-DM8168-MOD-3x module, and 

therefore is by default configured as endpoint. 

At the hardware level, inside the module the difference is the PCIe clock generation. PCI Express requires 

that the root complex provide a 100 MHz clock to the endpoint. The DM8168 processor uses this clock to 

drive its internal PCIe interface. So when a module is configured as root complex it will provide the 100 

MHz clock to the processor and the PCIe bus. When the module is configured as an endpoint, the PCIe bus 

clock is an input to be driven from the root complex, and it is required to drive the PCI Express interface 

on the DM8168 chip. 

Another point to keep in mind is that the same PCIe interface on the chip is used for both root complex and 

endpoint configurations. The software needs to be set to operate in the right mode or the DM8168 system 

will not work as expected. In particular, if the board is set up for endpoint operation and the Linux kernel is 

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: