background image

 

 

 

Developer’s Guide 

Dual 1080p60 Encoding System 

High Definition Video Processor Module 

DM8168 Multichannel Rapid Prototyping System 

Model Name: 

Z3-DM816X-PCI2-RPS

 

 

 

 

 

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. 

Summary of Contents for Z3-DM816X-PCI2-RPS

Page 1: ...le DM8168 Multichannel Rapid Prototyping System Model Name Z3 DM816X PCI2 RPS 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 ...

Page 2: ..._______________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 2 Revision History Version Date Change Note Author 1 0 8 12 13 Original Z3 DM8168 PCI2 RPS document NC 1 1 8 13 13 Formatting changes MC 1 2 8 14 13 Added information on power adapter NC 2 0 8 15 13 Engineering revisions RC ...

Page 3: ... 12 6 1 The z3apps rdk directory 12 6 1 1 rdk_demo 12 6 1 2 z3_mcfw_api 13 6 1 3 z3 13 6 2 RDK documentation 13 7 Running the Demos 15 7 1 Set up the HD Source 15 7 2 Connect the Board 15 7 2 Set up the Terminal Window 16 7 3 Power on the board 16 7 4 Ensure your PC has a proper IP address 18 7 5 Run the Web Interface to Configure CH1 18 7 6 Run VLC to View Stream 20 8 Exercising Other Features 21...

Page 4: ... Content of Images Directory after Successful Build 11 Figure 6 Demo Connections 15 Figure 7 RPS Main Menu 17 Figure 8 Web Interface Initial Screen 18 Figure 9 Web Interface Channel 1 Configuration Tab 19 Figure 10 VLC Network Screen Setting to Receive Z3 TS Stream 20 Figure 11 Example of Z3 Video Streaming on VLC 20 Figure 12 Updating the Device Firmware from the Web Interface 22 Figure 13 Browsi...

Page 5: ... graphics and DSP applications The Z3 DM8168 APP 41 application board includes 2 HDMI 1080p60 inputs and 1 HDMI 1080p60 output It includes a 2 lane PCIe interface that can plug into a 4 lane or 16 lane PCIe slot or a 1 lane PCIe slot with open back It has been proven on an ASUS motherboard model P8H67 M PRO CSM revision 3 0 In order to make custom hardware and software development easier the Z3 DM...

Page 6: ...h as the Linux kernel u boot tool chain and starter file system pre integrated and configured There is no need to port or integrate OS functions media functions etc The software bundle also contains tools to allow the development of high level applications using hardware accelerated video processing DSP and graphics Those customers that license the optional source code package can also receive sou...

Page 7: ... bandwidth communication with a PCI host Standalone operation independent of host for easy development Independent 1GB Ethernet and serial I O connections Pre integrated ready to run hardware and software provides for zero development start up time Modular approach allows for rapid and cost effective deployment of customer s applications 2 1 Supported Input Resolutions Encoder HDMI 1080p60 1080p50...

Page 8: ... a heat sink The heat sink may reach temperatures in excess of 75 C during operation Please make sure that the airflow for the heat sink is free and unimpeded at all times Hot air must have a place to escape to allow for room air to be used to cool the chip Failure to do so may result in permanent damage to the processor The maximum continuous power consumption by the whole Z3 DM816X MOD 3X system...

Page 9: ... Z3 DM8168 APP 41 board using a 6 pin connector located at J25 Figure 4 To attach carefully insert the connector into the pins applying even pressure until the connector is even with the socket at J25 Note Once the Z3 DM8168 DEB 02 is connected to the Z3 DM8168 APP 41 it is recommended that the 2 boards stay connected If you must disconnect the boards you can do so very gently using a needle nose ...

Page 10: ...determine whether your OS is 64 bit by using the uname p command A 64 bit OS will return x86_64 while a 32 bit OS will return i386 i586 or i686 For 64 bit Ubuntu you can get the necessary libraries by typing sudo apt get install ia32 libs For 64 bit Fedora you can type sudo yum install glibc i686 5 2 Making the Directories and Running the Make Script The software provided will allow you to re crea...

Page 11: ...0 Lincoln NE 68508 1369 USA 1 402 323 0702 11 The outcome of the build process should be newly created image files in the images directory You can confirm this by doing the following cd images ls alt 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 ...

Page 12: ...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 The z3apps rdk directory is described in more detail in the next section 6 1 The z3apps rdk directory There are 3 main subdire...

Page 13: ... can be found in dvr rdk dvr_rdk docs Below is a list of some of the major documentation available Docs DM81xx_DVR_RDK_Install_Guide pdf DM81xx_DVR_RDK_MainPage pdf DM81xx_DVR_RDK_Release_Notes pdf DM81xx_DVR_RDK_Release_Summary pdf AppNotes DM8107_DVR_RDK_DM8107DVR_SchematicChanges_BCH120 pdf DM8107_DVR_RDK_PowerSavings pdf DM8168_DVR_RDK_AVS_User_Guide pdf DM81xx_DVR_RDK_960H_Notes pdf DM81xx_DV...

Page 14: ...0 00 03 xls DM816X_DVRRDK_Test_Report_04 00 00 03 xls HDMITestReports Trainings DVR_RDK_McFW_Link_API_Training pdf Usecases DM810x_DVR_RDK_UseCaseGuide_4D1_8CIF_16CIF_DVR pdf DM810x_DVR_RDK_UseCaseGuide_Decode_Display pdf DM814x_DVR_RDK_UseCaseGuide_4D1_8CIF_16CIF_DVR pdf DM814x_DVR_RDK_UseCaseGuide_Decode_Display pdf DM816x_DVR_RDK_UseCaseGuide_16D1_DVR pdf DM816x_DVR_RDK_UseCaseGuide_32D1_Decode...

Page 15: ...3 s testing the Brite View BV 5005HD is used Power on the HD Source Connect HDMI to a monitor Set the HD Source to 1080p or 1080i output Select content you would like to stream 7 2 Connect the Board For these steps please refer to Figure 6 2 Connect the supplied 2 5mm serial cable and NULL modem adapter to your PC 3 Take the HDMI cable connected to the monitor and connect it to HDMI In 1 of the bo...

Page 16: ...are running from Linux type sudo minicom s And then configure by doing the following Select Serial Port Setup Ensure the right Serial Device is specified typically dev ttyUSB0 Set option E Bps Par Bits to 115200 8N1 Press return Select Exit 7 4 Power on the board 7 If using the board in standalone mode connect the 12V power supply and turn on the switch If using the board in a PCI slot insert it i...

Page 17: ...________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 17 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 Figure 7 RPS Main Menu ...

Page 18: ...hat this is the case If necessary use the P and N options to modify the address network of the board to conform to your network Note that the first 2 parts being the same are based on a value of netmask of 255 255 0 0 If netmask were 255 255 255 0 as it is in the previous screenshot for example then the first 3 parts of the IP address would have to be the same After you are done make note of the a...

Page 19: ...ould see the Channel 1 configuration tab In this tab set Output Format to UDP and Dest Address to the IP address of your PC in this example 192 168 0 2 Also make note of the value of Dest Port should be 5004 by default 12 Click start The status should change from IDLE or STOPPED to RUNNING Figure 9 Web Interface Channel 1 Configuration Tab a Change format to UDP a Change Dest Address to PC IP addr...

Page 20: ... Run VLC to View Stream 13 Run VLC on your PC version used in testing at Z3 2 05 14 Select Media Open Network Stream In the box type udp 192 168 0 2 5004 where 192 168 0 2 is the IP address of your PC and 5004 is the value of Dest Port noted in step 11 15 Press Enter 16 You should now see video streaming to VLC Figure 10 VLC Network Screen Setting to Receive Z3 TS Stream Figure 11 Example of Z3 Vi...

Page 21: ...TP Streaming to a file Adjusting input resolution Setting of I P B frames You can also store the configuration and store in the default or other files Besides using the web based GUI you can also use the serial menus Note that in this release the decoders can only be exercised from the serial menus there is no menu based support More detailed system information can also be gained from the options ...

Page 22: ...ning The Code You Built on the Board There are 2 ways to take the image files you built in Chapter 4 and running them on the board 1 Updating the image file and 2 Setting up NFS TFTP to link to your development PC 9 1 Method 1 Updating the Image File 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...

Page 23: ...brings you to the Software Updater screen Click Browse and browse to the directory z3 netra rdk z3 netra DM8168 PCI2 RPS date images and select the image file z3 netra upd img Figure 13 Browsing for the Image File in the Updater 4 Click Open 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...

Page 24: ... d tftp Set server_args to the home directory containing z3 netra home z3 in this example An example of a tftp file would be service tftp disable no socket_type dgram protocol udp wait yes user nobody server usr sbin in tftpd server_args home z3 c Make a tftpboot directory sudo mkdir tftpboot sudo chmod R 777 tftpboot sudo chown R nobody tftpboot d Start tftp sudo etc init d xinetd start 2 Enable ...

Page 25: ...al directory name may be different depending on your specific release cd home z3 z3 netra rdk ln s z3 netra DM8168 PCI2 RPS 20130814 images images ln s z3 netra DM8168 PCI2 RPS 20130814 filesys filesys f Start the NFS server sudo service nfs kernel server restart 3 Configure u boot on your board to match your system configuration settings a Reboot the board with Minicom or TeraTerm setup on your P...

Page 26: ...t up in step 2e e Save your changes and then copy this file to your home directory this will make it easy to transfer from minicom later cp u boot env netra rdk txt home z3 f Now set up your terminal program to take input from a file If you are using minicom type ctl A and Z This should bring up the minicom Command Summary From here type T to bring up the Terminal Settings window From here set New...

Page 27: ...netra rdk txt file you modified and then copied in step 3e Press the space bar to tag the file Then use the left and right arrow keys to select Okay Press return j You should then see a series of commands being pasted on run within u boot The very line should say Writing to Nand done k Type printenv to show the current environment variables in u boot l Check the value of gatewayip and netmask to m...

Page 28: ...hat are possible Below are the possible options provided in the Z3 u boot environment setenv bootcmd run boot nfs Get kernel from TFTP root file system from NFS setenv bootcmd run nand_boot_nfs Get kernel from NAND root file system from NFS setenv bootcmd run nand_boot_jffs2 Get kernel from NAND root file system from NAND JFFS2 setenv bootcmd run nand_boot_ramdisk Get kernel from NAND root file sy...

Page 29: ...situations The PCI Express Card Electromechanical Specification section on Card Interoperability is a good reference The document is available for members from the PCI Group at http www pcisig com specifications pciexpress base 10 2 PCIe BIOS on the PC When the PC is first powered up its BIOS performs some system tests and initialization including initializing PCIe The PC BIOS is required to assig...

Page 30: ...odule is capable of being a root complex or an endpoint In order for the Z3 module to be used in a specific PCIe setting the module must have the proper configuration By default Z3 ships Z3 DM816X MOD 2X modules configured as a root complex and Z3 DM816X MOD 3X modules configured as an endpoint The Z3 DM816X PCI2 RPS kit contains a Z3 DM816X MOD 3X module and therefore is by default configured as ...

Page 31: ...server 192 168 0 2 our IP address is 192 168 0 68 Filename z3 netra rdk images uImage Load address 0x81800000 Loading done Bytes transferred 2444632 254d58 hex Booting kernel from Legacy Image at 81800000 Image Name Linux 2 6 37 Image Type ARM Linux Kernel Image uncompressed Data Size 2444568 Bytes 2 3 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK ...

Page 32: ...r for IRQ368 Trying to install interrupt handler for IRQ369 Trying to install interrupt handler for IRQ370 Trying to install interrupt handler for IRQ371 Trying to install interrupt handler for IRQ372 Trying to install interrupt handler for IRQ373 Trying to install interrupt handler for IRQ374 Trying to install type control for IRQ375 Trying to set irq flags for IRQ375 OMAP clockevent source GPTIM...

Page 33: ... 0 USB hub found hub 2 0 1 0 1 port detected musb hdrc musb hdrc 1 USB Host mode controller at d0832800 using DMA IRQ 19 NET Registered protocol family 2 IP route cache hash table entries 2048 order 1 8192 bytes TCP established hash table entries 8192 order 4 65536 bytes TCP bind hash table entries 8192 order 3 32768 bytes TCP Hash tables configured established 8192 bind 8192 TCP reno registered U...

Page 34: ...erface driver cdc_ether usbcore registered new interface driver dm9601 Initializing USB Mass Storage driver usbcore registered new interface driver usb storage USB Mass Storage support registered mice PS 2 mouse device common for all mice omap_rtc omap_rtc rtc core registered omap_rtc as rtc0 i2c dev entries driver Linux video capture interface v2 00 usbcore registered new interface driver uvcvide...

Page 35: ... 5150 driver init called adv7611 1 004c chip found 0x98 OMAP I2C adapter z3netra 000 v4l2 sub device adv7611 registered grp x3 adv7611 1 004d chip found 0x9a OMAP I2C adapter z3netra 000 v4l2 sub device adv7611 registered grp xc z3netra 000 V4L2 device registered as video0 Z3 Netra video decoders ver 0 6 0 successfully loaded 1 devs Starting telnet daemon NET Registered protocol family 10 Starting...

Page 36: ...us 0x00000000 Attached to slave procId 1 Loaded file firmware dvr_rdk_fw_m3video_1024M_256M xem3 on slave procId 1 Started slave procId 1 After Ipc_loadcallback status 0x00000000 After Ipc_startcallback status 0x00000000 Attached to slave procId 0 Loaded file firmware dvr_rdk_fw_c6xdsp_1024M_256M xe674 on slave procId 0 Started slave procId 0 After Ipc_loadcallback status 0x00000000 After Ipc_star...

Page 37: ...e local IP address 192 168 0 81 N Change netmask 255 255 255 0 G Change default gateway 192 168 0 1 M Change mode enc_int_prog Preset serial_menu 1 Change channel 1 H 264 RES 1920x1080 URL udp 192 168 0 2 5004 VSRC HDMI1 VBRATE 8000K VFRATEDIV 1 VDELAY 2000 ms BFRAME 1 GOP 60 PROFILE high ASRC hdmi ACODEC dsp_aaclc ABRATE 128000 bps ASRATE 48000 Hz AMODE stereo VPID 220 APID 120 PCRPID 520 2 Chang...

Page 38: ...__________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 38 Z Status S Start streaming T Stop streaming W Write configuration to flash X eXit to prompt Enter option No input start automatically ...

Page 39: ... pinging the Z3 DM816X PCI2 RPS IP address from the Linux PC Try pinging the Linux PC from the Z3 DM816X PCI2 RPS Problem Do not see video in VLC Does the IP address set in Dest Address equal the IP address of the PC running VLC Does the port number in Dest Port equal the value entered in the URL for VLC Does the video coming out of the source match the resolution in the encoder settings Is the PC...

Page 40: ...oes not come up Is the link to filesys properly set up see step 2e Does the IP address in the line added in etc exports match the IP address set in nfsserver in u boot Does the value of nfs_root in u boot point to z3 netra rdk filesys fs Did you start the nfs server If you modified the exports file did you remember to restart the nfs server after that When contacting Z3 Support for additional supp...

Reviews: