Table of Contents

Advertisement

Quick Links

Developer's Guide
Dual 1080p60 Encoding System
High Definition Video Processor Module
DM8168 Multichannel Rapid Prototyping System
Z3-DM816X-PCI2-RPS
Model Name:
DOC-USR-0028-01
Manual Version 2.00.00
Software Version 2.00.00
August 15, 2013
Before attempting to connect or operate this product, please read these
instructions carefully and save the manual for future use.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z3-DM816X-PCI2-RPS and is the answer not in the manual?

Questions and answers

Summary of Contents for Z3 Technology Z3-DM816X-PCI2-RPS

  • Page 1 Developer’s Guide Dual 1080p60 Encoding System High Definition Video Processor Module DM8168 Multichannel Rapid Prototyping System Z3-DM816X-PCI2-RPS Model Name: DOC-USR-0028-01 Manual Version 2.00.00 Software Version 2.00.00 August 15, 2013 Before attempting to connect or operate this product, please read these...
  • Page 2 Revision History Version Date Change Note Author 8/12/13 Original Z3-DM8168-PCI2-RPS document 8/13/13 Formatting changes 8/14/13 Added information on power adapter 8/15/13 Engineering revisions ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 3: Table Of Contents

    PCIe BIOS on the PC ........................29 10.3 The DM816X-MOD-3X PCIe Hardware ................... 30 Appendix A: Example of Successful Boot Log .................... 31 Appendix B: Troubleshooting ........................39 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 4 Figure 15 Minicom Terminal Settings ................ 26 Figure 16 Minicom Paste File Selection ..............27 Figure 17 Example of Successful u-boot Configuration ........... 27 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 5: General Description

    Z3-DM816X-PCI2-RPS V2.00.00 1. General Description The Z3-DM816X-PCI2-RPS is a development system that allows dual encode and single decode of 1080p60 video on media-centric PCI Express applications. The hardware consists of one Z3-DM816X-MOD-3X System on Module card with one Z3-DM8168-APP-41 PCI Express application board. The software consists of Linux kernel and application packages to allow users to develop their own advanced multimedia, graphics and DSP applications.
  • Page 6: Figure 2 Z3-Dm816X-Mod-3X

    DSP , and graphics. Those customers that license the optional source code package can also receive source code for Z3’s demonstration applications, providing an ideal starting point for custom applications. Additional design services and support are available from Z3 Technology. Please contact Z3 at http://www.z3technology.com or e-mail at sales@z3technology.com.
  • Page 7: Features

    1080p60, 1080p50, 1080i30, 1080i29.97, 1080i25, 720p60, 720p59.94, 720p50, 576p50, 576i25, 480p60, 480i30, and 480i29.97 2.2 Supported Output Resolutions – Decoder HDMI: 1080p60, 720p60 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 8: Thermal Considerations

    The maximum continuous power consumption by the whole Z3-DM816X-MOD-3X system during normal operation should be less than 18W, with up to 14W dissipated by the main processor. Please plan the cooling strategy appropriately. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 9: Standalone Operation

    ). This board allows the user to power the board using the standard 12V power Figure 3 supply shipped with the Z3-DM816X-PCI2-RPS. It connects to the Z3-DM8168-APP-41 board using a 6-pin connector located at J25 ( ). To attach, carefully insert the connector into the pins, applying even Figure 4 pressure until the connector is even with the socket at J25.
  • Page 10: Untarring And Building The Sample Code

    Note: Building can take around 30-40 minutes. You will also need to type in the sudo password a few times towards the end of the build. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 11: Figure 5 Sample Content Of Images Directory After Successful Build

    The result should be something like the following. Note that actual filenames, dates, and times will differ. Figure 5 Sample Content of Images Directory after Successful Build ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 12: Code Overview

    Z3 demo application code and scripts The Z3 demo code that comes with the Z3-DM816X-PCI2-RPS is run from the run.sh script in dvr- rdk/dvr_rdk/bin/ti816x . This code calls the z3_dvr_rdk_demo_mcfw_api.out binary, which initializes and runs the encoder. This binary is built from the dvr-rdk directory. The code for the binary resides in z3apps/rdk/rdk_demo.
  • Page 13: Z3_Mcfw_Api

    │ ├── DM81xx_DVR_RDK_Debug_Statistics.pdf │ ├── DM81xx_DVR_RDK_Display_Output_Configuration.pdf │ ├── DM81xx_DVR_RDK_Ethernet_Offload_Driver.pdf │ ├── DM81xx_DVR_RDK_External_Video_Device_Configuration.pdf │ ├── DM81xx_DVR_RDK_Flash_File_FS.pdf │ ├── DM81xx_DVR_RDK_Graphics_Using_FBDev.pdf │ ├── DM81xx_DVR_RDK_HDMI_Control_Notes.pdf │ ├── DM81xx_DVR_RDK_Memory_Map.pdf ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 14 ├── DM816x_FAPLL.xls ├── DM81xx_DVR_RDK_Demo_Guide.pdf ├── DM81xx_DVR_RDK_FAQs.pdf ├── DM81xx_DVR_RDK_IPC_Bits_Out_Host.pdf ├── DM81xx_DVR_RDK_Migration_Guide.pdf ├── DM81xx_DVR_RDK_Overview.pdf ├── DM81xx_DVR_RDK_PSP_Arago.pdf ├── DM81xx_DVR_RDK_SCD_DMVAL_FAQs.pdf ├── DMVAL_API_and_UsersGuide.pdf ├── DVR_RDK_ApiGuide.CHM └── SCD_TI_API_UsersGuide_v00.50.pdf ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 15: Running The Demos

    (3) Take the HDMI cable connected to the monitor and connect it to HDMI In 1 of the board. (4) Connect the Ethernet The next step is to set up a terminal to view the activity of the board … ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 16: Set Up The Terminal Window

    If all is configured properly, you should see the board booting up within the terminal window. After about a minute, you will see the RPS Main Menu ( Figure 7 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 17: Figure 7 Rps Main Menu

    Note the local IP address and netmask (in this example, it is 192.168.0.81 and 255.255.255.0). This is the IP address of the board. You will need this later to access the web interface. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 18: Ensure Your Pc Has A Proper Ip Address

    IP address of the board noted in step (7) (for example, if the default value is used, it would be http://192.168.0.81). After about 3 seconds, the control menu should come up: Figure 8 Web Interface Initial Screen ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 19: Figure 9 Web Interface Channel 1 Configuration Tab

    (d) Click “start” Figure 9 Web Interface Channel 1 Configuration Tab (12) Click “start”. The status should change from “IDLE” or “STOPPED” to “RUNNING” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 20: Figure 10 Vlc Network Screen Setting To Receive Z3 Ts Stream

    Figure 10 VLC Network Screen Setting to Receive Z3 TS Stream (15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 11 Example of Z3 Video Streaming on VLC ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 21: Exercising Other Features

    A command line interface called MCSENC is also available for running commands. This can be invoked with the command: source /opt/mcsenc/mcsenc.sh A separate manual for MCSENC is available upon request. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 22: Running The Code You Built On The Board

    (1) Run the Web Interface (Steps (1)-(9) in Section 7). (2) Select “update device firmware” from the main screen: Click here Figure 12 Updating the Device Firmware from the Web Interface ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 23: Figure 13 Browsing For The Image File In The Updater

    (5) Click “Upload and Update.” You should see a “FLASH Update now in progress” message. Once finished it will go back to the main menu. (6) You should be able to now run using the updated image. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 24: Method 2: Running Your Code Through Tftp/Nfs

    (a) Get nfs if it is not already installed: # sudo apt-get install nfs-kernel-server (b) Create /export/users and set it up: # mkdir –p /export/users # mount –bind /export/users /home/users ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 25 (here emacs is used – any text editor can be used) # cd /home/z3/z3-netra-rdk # cd z3-netra-DM8168-PCI2-RPS-20130814 # cd u-boot # emacs u-boot-env-netra-rdk.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 26: Figure 14 Editing U-Boot-Env-Netra-Rdk.txt

    “Terminal Settings” window. From here, set “Newline tx delay (ms)” (option D) to 100, and “Character tx delay (ms)” (option F) to 1: Change to 100 Change to 1 Figure 15 Minicom Terminal Settings ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 27: Figure 16 Minicom Paste File Selection

    (m) Set boot mode to NFS Z3-DM8168-MOD# setenv bootcmd run boot-nfs (n) Save your changes Z3-DM8168-MOD# saveenv ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 28: Other Available U-Boot Commands

    Update root filesystem ramdisk run update-jffs2 Update jffs2 image (requires mtd-utils on host) run update-ubifs Update jffs2 image (requires ubi utils on host) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 29: Pci Express

    Therefore, the Z3-DM8168-APP-41 board can fit into a slot with 4, 8, or 16 lanes. The Z3-DM816X-PCI2-RPS board set can also operate as 1 1-lane PCIe device. This means that if the mechanical restrictions of inserting a big board into a small slot did not exist, it would also work. Since this is a generic situation, some motherboard vendors have included PCIe slots that have their backs open to allow the insertion of board with more lanes than the connector.
  • Page 30: The Dm816X-Mod-3X Pcie Hardware

    Z3-DM816X-PCI2-RPS V2.00.00 motherboard. Z3 Technology recommends that development with the DM816X-PC2I-RPS be done on an Asus P8H67-MPRO motherboard. The BIOS on this system has been verified to perform correctly. The systems with “bad BIOS” tend to work correctly when the add-in card is plugged into the 1-lane slot, when present.
  • Page 31: Appendix A: Example Of Successful Boot Log

    ### Reserved DDR region @8ff00000 reserved size = 20971520 at 0x0 FB: Reserving 20971520 bytes SDRAM for VRAM no PCI mem!!!!!!!!!!!!!!!!!!!!! ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 32 HDMI device registered ti81xx_fb device registered ti81xx_vin device bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 33 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc scsi0 : ahci_platform scsi1 : ahci_platform ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 34 Waiting 4sec before mounting root device... PHY: 0:01 - Link is Up - 100/Full ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 35 Simple mixer control 'Left PGA Mixer Mic3R',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Right PGA Mixer Mic3L',0 Capabilities: pswitch pswitch-joined ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 36 Value at address 0x48180F00 (0x4023ef00): 0x30000 Written 0x0; readback 0x0 /dev/mem opened. Memory mapped at address 0x402ea000. Value at address 0x48180F10 (0x402eaf10): 0x0 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 37 | ACODEC: dsp_aaclc | ABRATE: 128000 bps | ASRATE: 48000 Hz | AMODE: stereo | VPID: 200 APID: 100 PCRPID: 500 +--------------------------------------------------------------+ ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 38 | W - Write configuration to flash | | X - eXit to prompt | +==============================================================+ Enter option: No input -> start automatically ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
  • Page 39: Appendix B: Troubleshooting

    -Is the Ethernet cable plugged in to the Z3-DM8168-APP-41 board solidly (do you see the link light)? -Does the Z3-DM816X-PCI2-RPS IP address and the PC IP address have the same first 2 values (or, if netmask is set to 255.255.255.0, the same first 3 values)? -Do the Z3-DM816X-PCI2-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
  • Page 40 -If you modified the exports file, did you remember to restart the nfs server after that? When contacting Z3 Support for additional support, please capture and include a log file with the diagnostic level set to analysis. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...

Table of Contents