background image

 

    

CONFIDENTIAL

                      Z3-DM816X-VI-RPS RDK V2.00.04a  

 

___________________________________________________________________________________________ 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

27 

# mkdir –p /export/users 
# mount –bind /export/users /home/users 
 

(c)

 

Add the following line to /etc/fstab: 

 

/home/users         /export/users         none     bind 0  0 

 

(d)

 

Add an entry for the file system directory in /etc/exports.  For example, the line would be 
something like (here, 192.168.0.6 is the IP address of the PC, and 255.255.0.0 is the netmask): 

/home/z3/z3-netra-rdk/filesys/fs 192.168.0.6/255.255.0.0(no_root_squash,insecure,nohide,rw,async) 

 

(e)

 

Start the NFS server 

# sudo service nfs-kernel-server restart 

 

(3)  Create symbolic links in your top-level directory to allow access to your filesys and images directory 

(note:  actual directory name may be different depending on your specific release): 

 

# cd /home/z3/z3-netra-rdk 
# ln –s z3-netra-rdk-20130826/images images 
# ln –s z3-netra-rdk-20130826/filesys filesys 

 
 (4

) Configure u-boot on your board to match your system configuration settings 

 

(a)

 

Reboot the board with minicom or TeraTerm setup on your PC (see Steps (5) and (6) in Section 5). 

 

(b)

 

Press the space bar immediately to make it stop in the u-boot prompt. 

 

(c)

 

The next step is to prepare the environment variable script to match your own environment 
settings.  Go to the u-boot directory in the release directory and edit the file “u-boot-env-netra-
rdk.txt” (here emacs is used – any text editor can be used) 

 

# cd /home/z3/z3-netra-rdk 
# cd z3-netra-RDK-20130826 
# cd u-boot 
# emacs u-boot-env-netra-rdk.txt 

 

 

Summary of Contents for Z3-DM816 VI-RPS Series

Page 1: ...0 04 February 3 2014 Before attempting to connect or operate this product please read these instructions carefully and save the manual for future use This document contains proprietary and confidential information of Z3 Technology LLC Z3 This document may not be used reproduced disclosed or disseminated to anyone without the prior written approval of an authorized representative of Z3 ...

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 2 00 04 11 19 13 Original Document RC 2 00 04a 2 3 14 Updated photos MS ...

Page 3: ...tion Overview 12 4 2 1 Application Names and Locations 12 4 2 2 Application Options and Arguments 12 4 2 3 Application Source Code 13 4 3 RDK documentation 14 5 Running the Encode Demo 16 5 1 Set up the HD Source 16 5 2 Connect the Board 16 5 3 Set up the Terminal Window 17 5 4 Power on the board 17 5 5 Ensure your PC has a proper IP address 18 5 6 Run the Web Interface to Configure CH1 18 5 7 Run...

Page 4: ...__________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 4 8 4 The CH1 Tab 33 8 5 The CH2 Tab 35 8 6 Values Appearing at the Bottom of All Tabs 35 9 Known Limitations 36 Appendix A Example of Successful Boot Log 37 Appendix B Troubleshooting 47 ...

Page 5: ... after Successful Build 10 Figure 4 Demo Connections for Z3 DM816X VI RPS 16 Figure 5 Web Interface Initial Screen 18 Figure 6 Channel 1 Configuration Screen 19 Figure 7 VLC Open Network Screen 20 Figure 8 Example of Z3 Video Streaming to VLC UDP 20 Figure 9 Example of Z3 Video Streaming to VLC RTP 21 Figure 10 Tuning for Various Use Cases 22 Figure 11 Updating the Device Firmware from the Web Int...

Page 6: ...nced multimedia graphics and DSP applications Measuring 88mm x 108mm the Z3 DM816X MOD is a compact OEM module which supports H 264 encode decode at up to two channels of 1080p at 60 fps frames per second It supports encode and stream and decode from stream or file It is targeted for applications such as real time transcoding broadcast video encoding and decoding digital signage and video kiosks m...

Page 7: ...ment additional functions not present in the base module The Z3 DM8168 APP 3X application board has an HDMI input 3G SDI input output ASI input output YPbPr input and two analog stereo audio inputs Figure 2 below shows the Z3 DM8168 APP 3X application board A Linux based media SDK license additional design services and support are all available from Z3 Technology Please contact Z3 at http www z3te...

Page 8: ...nt Input video resizer Interfaces to 1Gb Ethernet SATA2 USB2 0 RS 232 Outputs RTP or MPEG 2 Transport Stream Web based or serial based configuration software 2 1 Supported Input Resolutions SDI 1080p60 1080p50 1080i30 1080i29 97 1080i25 720p60 720p59 94 720p50 576p50 576i25 480p60 480i30 and 480i29 97 HDMI 1080p60 1080p50 1080i30 1080i29 97 1080i25 720p60 720p59 94 720p50 576p50 576i25 480p60 480i...

Page 9: ...oss compiling toolchain You can 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 3 2 Making the Directories and Running the Make Script The software pr...

Page 10: ...ake around 30 40 minutes You will also need to type in the sudo password a few times towards the end of the build 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 3 Sample Content of ...

Page 11: ...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 4 1 1 The z3apps rdk directory There are 3 main subdirectories rdk_demo z3_mcfw_api and z3 Note Source cod...

Page 12: ...n the serial terminal when the board is powered on The second is a command line interface that is more flexible and easier to use from a programming standpoint The web based interface uses the command line interface extensively The menu based demo binary can be found at opt dvr_rdk ti816x bin z3_dvr_rdk_demo_mcfw_api out The command line interface binary can be found at opt dvr_rdk ti816x bin mcfw...

Page 13: ...to encode For example encode instance 1 source SDI1 dst rtp 192 168 0 6 5004 size 1280x720 audio off will start an encode from SDI1 streaming to 192 168 0 6 at port 5004 scaled to 1280x720 You can find an example of using this in a script at PRJROOT dvr rdk runz3demo sh 4 2 3 Application Source Code The application source code can be found mainly in z3apps rdk rdk_demo The top level file for the m...

Page 14: ...DM81xx_DVR_RDK_Audio_Notes pdf DM81xx_DVR_RDK_AVSync_Notes pdf DM81xx_DVR_RDK_Boot_Logo_and_External_Device pdf DM81xx_DVR_RDK_Customer_Display_Resolution pdf 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_Us...

Page 15: ...de_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_Display pdf DM816x_DVR_RDK_UseCaseGuide_SD_HD_Encode_Card pdf DM81xx_DVR_RDK_Interlace_UseCaseGuide pdf UserGuides DM8168_DVR_RDK_GUI_Guide pdf DM816x_FAPLL xls DM81xx_DVR_RDK_Demo_Guide pdf DM81xx_DVR_RDK_FAQs pdf DM81xx_DVR_RDK_IPC_Bits_Out_Hos...

Page 16: ...the Z3 DM816X VI RPS an HD source with HDMI output and a PC are required 5 1 Set up the HD Source 1 Select an HD source with HDMI non HDCP output in Z3 s testing the Brite View BV 5005HD is used Power on the HD Source Connect HDMI to a monitor Set the HD Source to 1080i output Select content you would like to stream If you see playback on the monitor you ve confirmed the source works 5 2 Connect t...

Page 17: ... following Port Whichever serial port the port is connected to Baud Rate 115200 Data 8 bit Parity None Stop 1 bit Flow Control None 6 If you are running from Linux type sudo minicom s And then configure by doing the following Select Serial Port Setup Ensure the correct Serial Device is specified typically dev ttyUSB0 Set option E Bps Par Bits to 115200 8N1 Press return Select Exit 5 4 Power on the...

Page 18: ...f course Ensure that this is the case 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 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 address you set your PC to This will be important in the streaming step 5 6 Run the Web Interface to Configure CH1 9 In your PC...

Page 19: ... 5004 by default 12 Click start note The demo may have already started as it will automatically start in 30 seconds if a valid input is detected If that occurs just click stop first The status should change from IDLE or STOPPED to RUNNING Figure 6 If status is POLLING that means a valid HDMI input was not detected in HDMI In 5 7 Run VLC to View Stream Figure 6 Channel 1 Configuration Screen 5 Clic...

Page 20: ...69 USA 1 402 323 0702 20 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 6 5004 where 192 168 0 6 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 7 VLC Open Network Screen Figure 8 Example of Z3 Video Streaming to VLC UDP ...

Page 21: ...d with the software release from Z3 To stream using RTP do the following steps 17 In the CH1 configuration tab click on stop to stop the current encoding session 18 Change Output Format from UDP to RTP see Figure 6 19 Confirm that Dest Port see Figure 6 is 5004 this will be important for the VLC configuration 20 Click on start to start the RTP encoding session 21 Copy the z3 netra sdp file receive...

Page 22: ... smooth things out for challenging content However a higher value also causes latency to increase accordingly To minimize latency this value should be set to the lowest possible value The lowest value Z3 recommends is 100 B frames improve the quality of the picture but they also increase the latency by 1 frame time To minimize latency B frames should be disabled done by setting Number of B frames ...

Page 23: ...cond channel 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 More detailed system information can also be gained from the options in the serial interface A command line interface called MCSENC is also available for running encode commands This can be inv...

Page 24: ...built in Section 4 and run them on the board 1 Updating the image file and 2 Setting up NFS TFTP to link to your development PC 7 1 Method 1 Updating the Image File 1 Run the Web Interface Steps 1 9 in Section 0 2 Select update device firmware from the main screen 3 This brings you to the Software Updater screen Click Browse and browse to the directory z3 netra rdk z3 netra RDK date images and sel...

Page 25: ...__ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 25 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 using the updated image Figure 12 Browsing for the Image File in the Updater ...

Page 26: ...tp b Create the file etc xinetd d tftp Set server_args to the home directory containing z3 netra rdk home 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 c Make a tftpboot directory sudo mkdir tftpboot sudo chmod R 777 tftpboot sudo chown R nobody tftpboot d Start TFTP sudo etc ...

Page 27: ...erver restart 3 Create symbolic links in your top level directory to allow access to your filesys and images directory note actual directory name may be different depending on your specific release cd home z3 z3 netra rdk ln s z3 netra rdk 20130826 images images ln s z3 netra rdk 20130826 filesys filesys 4 Configure u boot on your board to match your system configuration settings a Reboot the boar...

Page 28: ...nges 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 then Z This should bring up the minicom Command Summary From here type T to bring up the Terminal Settings window From here set Newline tx delay ms option D to 1...

Page 29: ... 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 within u boot The very last line should say Saving Environment to NAND k Type printenv to show the current environment variables in u boot l Check the value of serverip nfsserver and netmask to make sure it conforms to your network You can use setenv to change anything t...

Page 30: ..._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_ubifs Get kernel from NAND root file system from NAND UBIFS setenv bootcmd run nand_boot_ramdisk Get kernel from NAND root file system from ramdisk The following scripts are also available to update the u boot environment run...

Page 31: ...ss of the Z3 DM816X VI RPS Local Netmask 255 255 z w 255 255 0 0 Sets the netmask of the Z3 DM816X VI RPS Default Gateway 192 168 a b 192 168 0 1 Can generally leave this as 192 168 0 1 Set Device Name Can use to set name for Z3 DM816X VI RPS Set Password Can use to assign a password update device firmware See Making a Firmware Update on p 24 8 2 The User Presets Tab Parameter Options default in b...

Page 32: ...encoder Actual FPS Actual frames per second being encoded Key frame FPS of key frames per second for example a value of 0 5 means a key frame is inserted every 2 seconds Width Width of encoded picture Height Height of encoded picture Stream Status channel The channel number 1 or 2 URL URL the channel is being streamed to frames of frames sent from encoder to channel since the beginning of encoding...

Page 33: ... Number of B frames 1 3 1 Used to specify of B frames A value of 1 means no B frames A value of 2 means 1 B frame etc Number of Temporal Layers 1 4 1 Used to configure of pyramidal B frames the encoder uses Increasing this number will potentially improve quality at lower bitrates However setting this value to something besides 1 also runs the chance of causing an incompatibility with off the shelf...

Page 34: ...mat RTP UDP File ASI ASI UDP Output format of encoded stream Note RTP requires an SDP file for the receiver ASI UDP causes the input for that channel to be simultaneously output on ASI and Ethernet UDP Dest Address 192 168 x y 192 168 0 6 The IP address that the encoder is streaming to Dest Port 0 9999 5004 The port that the encoder is streaming to Audio PID UDP Only 0 999 120 PID assigned to audi...

Page 35: ... explanation The only difference is that CH1 can take HDMI or Component as an input while CH2 can take HD SDI as an input 8 6 Values Appearing at the Bottom of All Tabs Parameter Options default in bold Notes preset serial_menu encoder factory default any user defined profiles The configuration file to use serial_menu Last value saved in GUI encoder factory default Factory settings Can also add mo...

Page 36: ...lease All of these issues will be addressed in future software upgrades 1 Some USB drives do not work with u boot and can cause a hang if connected to USB1 on the Z3 DM816X VI RPS during boot up The user should either use a different USB drive or connect the USB drive only after boot up has completed and the Web GUI Serial UI is running 2 On MCSENC commands typed in by the user may sometimes not a...

Page 37: ...iB Load Address 80008000 Entry Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Uncompressing Linux done booting the kernel Linux version 2 6 37 z3 z3 H77H2 M3 gcc version 4 5 3 20110311 prerelease 3 CPU ARMv7 Processor 413fc082 revision 2 ARMv7 cr 10c53c7f CPU VIPT nonaliasing data cache VIPT aliasing instruction cache Machine ti8168evm vram size 20971520 at 0x0 boo...

Page 38: ... 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 GPTIMER1 at 27000000 Hz Console colour dummy device 80x30 Calibrating delay loop 1346 76 BogoMIPS lpj 6733824 pid_max default 32768 minimum 301 Security Framework initialized Mount cache hash ta...

Page 39: ...b 1 0 1 0 USB hub found hub 1 0 1 0 1 port detected musb hdrc musb hdrc 0 USB Host mode controller at d0832000 using DMA IRQ 18 musb hdrc musb hdrc 1 dma type dma cppi41 MUSB controller 1 revision 4ea20800 musb hdrc musb hdrc 1 MUSB HDRC host driver musb hdrc musb hdrc 1 new USB bus registered assigned bus number 2 usb usb2 New USB device found idVendor 1d6b idProduct 0002 usb usb2 New USB device ...

Page 40: ...ahci 0 flags ncq sntf stag pm led clo only pmp pio slum part ccc scsi0 ahci_platform scsi1 ahci_platform ata1 SATA max UDMA 133 mmio mem 0x4a140000 0x4a150fff port 0x100 irq 16 ata2 SATA max UDMA 133 mmio mem 0x4a140000 0x4a150fff port 0x180 irq 16 omap2 nand driver initializing omap2 driver probed NAND device Maf ID 0xad Chip ID 0xda Hynix erasesize 0x20000 writesize 2048 oobsize 64 Scanning devi...

Page 41: ...er Linux video capture interface v2 00 usbcore registered new interface driver uvcvideo USB Video Class driver v1 0 0 OMAP Watchdog Timer Rev 0x00 initial timeout 60 sec usbcore registered new interface driver usbhid usbhid USB HID core driver notify_init notify drivercreated for remote proc id 2 at physical Address 00 Registered tvp5158 audio codec asoc tlv320aic3x hifi davinci mcasp 2 mapping ok...

Page 42: ...rdware supports tppss load the tppss drivers insmod opt z3 tppss tppss_core ko create ti_dmx proc read entries tppss_core_create_procs successful create cppi proc read entries create bdmem proc directory cppi create procs successful insmod opt z3 tppss fpt_mpeg2 ko Probe for FPT Type 0 registered MPEG2 FPT Probe Successfully Registered insmod opt z3 tppss ti_dmxdev ko DMX Major 251 begin tppss_pla...

Page 43: ...7600 registered grp x0 z3netra 000 V4L2 device registered as video0 Z3 Netra video decoders ver 0 6 0 successfully loaded 1 devs Use FPGA slave serial mode Design filename FPGA_APP31 ncd HW_TIMEOUT FALSE UserID 0xFFFFFFFF Part num len 12 Part number 6slx9ftg256 Date 2012 09 04 Time 12 05 13 Bitstream size 340604 fpga_write init_b low FPGA write failed Use FPGA slave serial mode Design filename FPG...

Page 44: ...tep 0 50dB mute 1 numid 37 iface MIXER name PGA Capture Volume type INTEGER access rw R values 2 min 0 max 119 step 0 values 15 15 dBscale min 0 00dB step 0 50dB mute 0 Setting DMM priority for DUCATI to 0 0x4e000624 0x08000000 Setting DMM priority for HDVICP0 to 2 0x4e000634 0x0000000a Setting DMM priority for HDVICP1 to 2 0x4e000634 0x000a0000 Setting DMM priority for HDVICP2 to 2 0x4e000634 0x0...

Page 45: ...ess 0x48180900 0x40262900 0x2 Written 0x1 readback 0x1 dev mem opened Memory mapped at address 0x4004c000 Value at address 0x48180920 0x4004c920 0x70000 Written 0x0 readback 0x0 dev mem opened Memory mapped at address 0x402b8000 Value at address 0x48180F00 0x402b8f00 0x30000 Written 0x0 readback 0x0 dev mem opened Memory mapped at address 0x40244000 Value at address 0x48180F10 0x40244f10 0x0 ORG 0...

Page 46: ...ROFILE high ASRC hdmi ACODEC dsp_aaclc ABRATE 128000 bps ASRATE 48000 Hz AMODE stereo 2 Change channel 2 H 264 RES 1920x1080 URL udp 192 168 0 6 5006 VSRC HD SDI VBRATE 6000K VFRATEDIV 1 VDELAY 1200 ms BFRAME 1 GOP 120 PROFILE high ASRC sdi ACODEC dsp_aaclc ABRATE 128000 bps ASRATE 48000 Hz AMODE stereo VPID 200 APID 100 PCRPID 500 Z Status S Start streaming T Stop streaming W Write configuration ...

Page 47: ...s from the Linux PC Try pinging the Linux PC from the Z3 DM816X VI RPS Problem Do not see video in VLC UDP 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 fast enough for 1080p decode on VLC Do...

Page 48: ...not come up Is the link to filesys properly set up see step 3 on page 27 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 additiona...

Reviews: