background image

 

    

CONFIDENTIAL

                                            DOC-USR-0055-03 

 
 

___________________________________________________________________________________________ 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

45 

10.0

 

   RUNNING THE CODE YOU BUILT ON THE BOARD 

 

There are two ways to take the image files you 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. 

 

10.1

 

  Method 1:  Updating the Image File 

 

(1)

 

Run the Web Interface (Steps (1)-(9) in Section 6). 

 

(2)

 

Select “update device firmware” from the main screen: 

   

   

   

   

   

   

   

   

   
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 

Click here 

Figure 39  Updating the Device Firmware from the Web Interface 

Summary of Contents for Z3-DM8107-SDI2-RPS

Page 1: ...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...

Page 2: ...f download device logs in Section 12 1 Modified description of Video Height and added Audio Status information in Section 12 3 Added note on MPTS tab in Section 12 4 Modified definition of Video Resol...

Page 3: ...es and Running the Make Script 12 6 0 CODE OVERVIEW 14 6 1 Directory Structure 14 6 2 Z3 Application Overview 15 6 3 RDK documentation 17 7 0 RUNNING THE ENCODER 19 7 1 Set up the HD Source 19 7 2 Con...

Page 4: ...DE YOU BUILT ON THE BOARD 45 10 1 Method 1 Updating the Image File 45 10 2 Method 2 Running Your Code through TFTP NFS 47 10 3 Other available u boot commands 50 11 0 USING THE PASSWORD FEATURE 51 12...

Page 5: ...o VLC RTP 26 Figure 13 Viewing Bit Rate in VLC 27 Figure 14 Changing the Bit Rate Dynamically 27 Figure 15 Drop in Bit Rate after Dynamic Bit Rate Change 28 Figure 16 Changing TS Rate 29 Figure 17 TS...

Page 6: ...ting to the Wowza Test Player 42 Figure 38 Viewing DME 02 Content on Wowza 43 Figure 39 Updating the Device Firmware from the Web Interface 45 Figure 40 Browsing for the Image File in the Updater 46 F...

Page 7: ...nd one Z3 DM8107 APP 21 board The software bundle consists of the necessary components for developing advanced multimedia graphics and DSP applications The Z3 DM8107 MOD is a compact OEM module which...

Page 8: ...MOD to implement additional functions not present in the base module The Z3 DM8107 APP 21 application board has 1 SDI input 1 HDMI output and a port for composite analog audio input Figure 2 below sho...

Page 9: ...Ch mode which allows one source to be encoded 3 different ways as long as the total processing involved fits within the constraints of DM8107 performance can be found in Section 8 0 STREAMING RTMP IN...

Page 10: ...E 250 Lincoln NE 68508 1369 USA 1 402 323 0702 10 3 0 INCLUDED PARTS LIST 1 x Z3 DM8107 MOD 1 x Z3 DM8107 APP 21 1 x Z3 DM8168 DEB 01 JTAG connector attaches to DM8107 MOD 1 x Cable Strip for connecti...

Page 11: ...nput 1 HDMI Input and 1 Composite Input Gigabit Ethernet USB 2 0 SATA x2 1 GB DDR3 256 MB NAND Flash Control through serial port or HTTP High density connectors to all signals 4 1 Supported Input Reso...

Page 12: ...g 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 ne...

Page 13: ...nd 30 40 minutes You will also need to type in the sudo password a few times toward the end of the build The outcome of the build process should be newly created image files in the images directory Yo...

Page 14: ...n code that comes with the Z3 DM8107 SDI2 RPS is run from the run sh script in dvr rdk dvr_rdk bin ti810x This code calls the z3_dvr_rdk_demo_mcfw_api out binary which initializes and runs the encoder...

Page 15: ...use cases directory The use case code is called from ti_vsys c in the same directory z3 This directory contains the base code for RTP tx and rx as well as the base code for audio capture and output 6...

Page 16: ...y the generated ini out of tmp and save it The command line interface for the encoder is set up by running source opt mcsenc mcsenc sh This will present you with an prompt You can then enter commands...

Page 17: ...VR_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_RD...

Page 18: ...IF_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_Ca...

Page 19: ...e with HDMI output an HDMI SDI converter and a PC are required 7 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...

Page 20: ...7 3 Set up the Terminal Window 5 If you are running from a Windows PC run TeraTerm Select Setup Serial Port and set the following Port Whichever serial port the port is connected to Baud Rate 115200 D...

Page 21: ...address and netmask in this example it is 192 168 81 7 and 255 255 0 0 This is the IP address of the board You will need this later to access the web interface 7 5 Ensure your PC has a proper IP addre...

Page 22: ...in the streaming step 7 6 Run the Web Interface to Configure CH1 9 In your PC run a web browser for best results Z3 recommends FireFox In this browser type the IP address of the board noted in step 7...

Page 23: ...rt note The encode 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...

Page 24: ...7 Run VLC to View Stream 13 Run VLC on your PC version used in testing at Z3 2 1 5 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...

Page 25: ...are a change of settings and an SDP file an example file is provided 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...

Page 26: ...ay be necessary to use SDP files instead of RTSP to stream RTP 22 In the Open Media box type rtsp DM8107 SDI2 RPS IP Address name mp4 where DM8107 SDI2 RPS IP Address is the IP address of the Z3 DM810...

Page 27: ...to change the bit rate without stopping and restarting the encoder To use it do the following steps 24 In VLC click on Tools and select Codec Information This brings up a window with four tabs Select...

Page 28: ...f the video bit rate This can be found just below PCR PID when UDP is selected as the output format Normally this value is set to 25 to 33 above the sum of the video and audio bit rate For example the...

Page 29: ...this tab click stop Then change Video Resolution to 720x480 Video Bit Rate to 512K and Output Format to UDP steps 1 4 in the figure below 28 Once you select UDP TS RATE should appear with the default...

Page 30: ...ency For latency the key parameters to work with are Maximum Delay and Number of B frames Maximum Delay defines the number of milliseconds of buffering the encoder has to work with The higher this val...

Page 31: ...ning DHCP DHCP is also supported When enabled the Z3 DM8107 SDI2 RPS dynamically receives an IP address to use at startup The IP address that is assigned can be seen either through the serial interfac...

Page 32: ...screen and select as the preset the z3_test configuration you just created 34 As soon as you select z3_test the screen will reload Go ahead and check the Use DHCP box 35 Now that DHCP is set in z3_te...

Page 33: ...iguration z3_test and specified that z3_test will be used when the system restarts you can go ahead and reboot the Z3 DM8107 SDI2 RPS 38 A new IP address is assigned to the unit through DHCP You have...

Page 34: ...and lists the location of all Z3 systems connected to the network In this case the Z3 DM8107 SDI2 RPS appears with the IP address obtained through DHCP 41 Select the DM8107 SDI2 RPS and then click Op...

Page 35: ...pports encode via HDMI or Composite In The HDMI or Composite In can be used in parallel with the SDI In A special cable provided with the Z3 DM8107 SDI2 RPS is needed for the Composite In To encode wi...

Page 36: ...through HDMI to a multicast address are shown below Note that it is not necessary to use a multicast address for HDMI Composite It is used here as an example value If SDI encode is also being done at...

Page 37: ...ure above 46 Note that since a different IP address is used a different value will be needed in the VLC Open network stream window 47 If composite encode is desired the special composite cable shown b...

Page 38: ...TP UDP or TSFILE instead of RTMP and ignore the sections referring to Wowza in this section Note that if multiple channels off the same input is done the total performance cannot exceed the capability...

Page 39: ...1 402 323 0702 39 8 3 Configure CH1 for RTMP Streaming 4 Click on the CH1 tab 5 Set encode to 720p 4Mbps input HD SDI 6 Set Output Format to RTMP 7 For Dest Address type 10 1 10 251 1935 live 720 whe...

Page 40: ...Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 40 8 4 Configure CH2 for RTMP Streaming 9 Click on the CH2 tab 10 Set encode to D1 2Mbps input HD SDI Audio input source H...

Page 41: ...______ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 41 8 5 Configure CH3 for RTMP Streaming 12 Click on the CH3 tab 13 Set encode to 352x240 1Mbps input HD SDI1 14 U...

Page 42: ...tent on Wowza 17 Go to a PC that is on the same network as the Wowza server and open a web browser in this example FireFox is used Type in the URL of the Wowza server with the port 8088 in this exampl...

Page 43: ...screen Select the Adobe RTMP tab change the Stream name to 720 should match one of the directories you are streaming to in the Z3 DM8107 SDI2 RPS and click Start You should then see the content stream...

Page 44: ...resolution You can also store the configuration and store in the default or other files Serial menus can be used instead of the web based GUI More detailed system information diagnostic messages can...

Page 45: ...THE CODE YOU BUILT ON THE BOARD There are two ways to take the image files you 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 developm...

Page 46: ...u to the Software Updater screen Click Browse and browse to the directory z3 dm810x z3 centaurus dm810x_sdi2_rps date images and select the image file z3 centaurus upd img 4 Click Open 5 Click Upload...

Page 47: ...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 s home c Start TFTP sudo etc init d xin...

Page 48: ...e bar immediately to make it stop in the u boot prompt d 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 di...

Page 49: ...here set Newline tx delay ms option D to 100 and Character tx delay ms option F to 1 h Press return to save your terminal settings i The next step is to read the u boot environment file you just modi...

Page 50: ...he Troubleshooting section in Appendix B 10 3 Other available u boot commands Besides booting from NAND and TFTP NFS there are other boot configurations that are possible Below are the possible option...

Page 51: ...TURE The Z3 DM8107 SDI2 RPS includes an optional password to prevent unauthorized users from accessing the Web GUI The steps for using it are shown below 1 In the System Setup tab click on go next to...

Page 52: ...369 USA 1 402 323 0702 52 3 Wait for the password options to disappear This indicates that the password has changed 4 Retype the IP address in the web browser You should then see a prompt for a user n...

Page 53: ...e netmask of the Z3 DM8107 SDI2 RPS Note that a save of these settings and a reboot is needed for changes to this value to take effect Default Gateway 192 168 a b 192 168 0 1 Sets the network gateway...

Page 54: ...take a few seconds to load after being clicked Output Value Explanation Video Status CH The channel number 1 or 2 Bitrate Kbps Current target bitrate of encoder Actual Bit rate Actual bitrate being o...

Page 55: ...el since the beginning of encoding This can serve as a quick sanity check For example you can click Refresh count to 10 click Refresh again and you should see an increase of around 600 for 60 frames p...

Page 56: ...12000K 6000K The bit rate Video Profile High Main Baseline The H264 profile of the bitstream Generally High is used for 1080p Main for D1 and Baseline for D1 Frame Rate Divider 1 2 4 Used to encode at...

Page 57: ...o inputs Source HD SDI HDMI Analog None Where to get audio for that subchannel Pid 0 8191 120 121 122 123 If UDP format is selected the PID to use for that audio channel RTP Port 0 9999 8892 8898 If R...

Page 58: ...y False True For UDP streaming only If UDP is being streamed this allows the same UDP stream to be saved to a ts file The name of the file is specified in Aux ts file location Aux TS File Location UDP...

Page 59: ...kly copy CH1 values to CH2 for example delete Used to delete excess tabs created by Clone status IDLE STOPPED RUNNING POLLING Current status of the encoder POLLING indicates start was pressed and the...

Page 60: ...rofiles by clicking on new in the User Presets tab Save Click on this to save preset value to what was selected Operating Mode Encoder Interlaced Progressive Encode Single Ch No Scale Encode 1 to 3 Ch...

Page 61: ...DRAM 1 GiB NAND setting chip delay to 15us HW ECC BCH8 Selected 256 MiB Using default environment The 2nd stage U Boot will now be auto loaded Please do not interrupt the countdown till DM385_EVM prom...

Page 62: ...nel from Legacy Image at 81800000 Image Name Linux 2 6 37 Image Type ARM Linux Kernel Image uncompressed Data Size 2984912 Bytes 2 8 MiB Load Address 80008000 Entry Point 80008000 Verifying Checksum O...

Page 63: ...B text 0xc0042000 0xc05af000 5556 kB data 0xc05b0000 0xc0601100 325 kB SLUB Genslabs 11 HWalign 64 Order 0 3 MinObjects 0 CPUs 1 Nodes 1 NR_IRQS 407 IRQ Found an INTC at 0xfa200000 revision 5 0 with 1...

Page 64: ...cppi dma Intr IRQ 17 Cppi41 Init Done omap_i2c omap_i2c 1 bus 1 rev4 0 at 100 kHz omap_i2c omap_i2c 1 timeout waiting for bus ready tps65910 1 002d read from reg 3f failed omap_i2c omap_i2c 1 timeout...

Page 65: ...2768 bytes TCP Hash tables configured established 8192 bind 8192 TCP reno registered UDP hash table entries 256 order 0 4096 bytes UDP Lite hash table entries 256 order 0 4096 bytes NET Registered pro...

Page 66: ...00240000 U Boot min Copy 0x000000240000 0x000000260000 U Boot Env Copy 0x000000260000 0x000000280000 U Boot Env 0x000000280000 0x0000006c0000 Kernel 0x0000006c0000 0x00000cee0000 File System 0x00000ce...

Page 67: ...0 0 OMAP Watchdog Timer Rev 0x00 initial timeout 60 sec usbcore registered new interface driver usbhid usbhid USB HID core driver notify_shm_drv no DSP present MULTIPROC_INVALIDID notify_init notify...

Page 68: ...d rcS Please wait booting Starting udev udevd 79 proc 79 oom_adj is deprecated please use proc 79 oom_score_adj instead udev starting version 141 PHY 0 01 Link is Up 100 Full Root filesystem already r...

Page 69: ...k on numid 1 iface MIXER name PCM Playback Volume type INTEGER access rw R values 2 min 0 max 127 step 0 values 127 127 dBscale min 63 50dB step 0 50dB mute 0 numid 22 iface MIXER name Line DAC Playba...

Page 70: ...o query acodecs here are the audio codec options none fdk_aaclc fdk_aaclc_mp2 fdk_aache fdk_aache_v2 arm_g711_alaw set demo mode to interlaced_progressive OK Z3 Technology LLC DM8107 MOD SDI2 RPS v2 0...

Page 71: ...USR 0055 03 ___________________________________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 71 X eXit to pro...

Page 72: ...to work with the Z3 DM8107 SDI2 RPS RTMP streaming the following steps are needed 1 Log in to the Wowza Streaming Engine Manager Home page by typing http localhost 8088 where localhost is the IP addre...

Page 73: ...2 323 0702 73 3 Click on Applications in the top band of options On the left column click on live and then Incoming Security Click Edit and then make sure RTMP Publishing and RTSP Publishing are both...

Page 74: ...inging the Linux PC from the Z3 DM8107 SDI2 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...

Page 75: ...oes 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 dm810x filesys fs Did you start the NFS server If y...

Reviews: