Summary of Contents for Z3 Technology Z3-DM8107-RPS
Page 1
Z3. Z3 Technology, LLC incorporates HDMI® technology. The terms of HDMI and HDMI High-Definition Multimedia Interface, and the HDMI Logo are trademarks or registered trademarks of HDMI Licensing LLC in the United States and other countries.
Page 2
Revision History Version Date Change Note Author Original Document taken from Z3-DM8107-RPS (software update for 1.00.00 05/13/13 DM8107-RDK Encoder v1.04.09) 1.00.01 05/28/13 Removal of decoder section, Formatting 1.00.02 06/04/13 Minor updates 2.00.00 08/20/13 Updated for latest release 2.00.01 08/21/13 Added note on multiple resolutions 2.00.02...
Set up the Decoder board to work with the Encoder board ........... 35 Configure the Encoder ..................35 Configure the Decoder ..................36 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 4
Values Appearing at the Bottom of All Tabs .............. 60 APPENDIX A: Example of Successful Boot Log ................ 61 APPENDIX B: Troubleshooting ................... 72 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 5
Figure 13 Mapping of A/V Cable to Component Jacks ............... 24 Figure 14 Mapping of A/V Cable to Composite 1/2 ..............25 Figure 15 Allowed Input Combinations on the Z3-DM8107-RPS ............ 25 Figure 16 Viewing Bitrate in VLC ..................26 Figure 17 Changing the Bitrate Dynamically ................
Page 6
Figure 46 Minicom Terminal Settings .................. 50 Figure 47 Minicom Paste File Selection................51 Figure 48 Example of Successful u-boot Configuration ............. 51 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
DOC-USR-0012-08 GENERAL DESCRIPTION The Z3-DM8107-RPS is a development system that allows multiple channel encode and decode of HD video. It consists of a hardware package and software bundle designed to enable rapid development of multimedia applications. The hardware consists of one Z3-DM8107-MOD System on Module card, one Z3- DM8107-APP carrier board, and one Z3-DM8168-APP-02 advanced I/O board.
CONFIDENTIAL DOC-USR-0012-08 An application board, the Z3-DM8168-APP-02, is available from Z3 Technology and is included with the Z3- DM8107-RPS system. This application board uses the I/O expansion capability of the Z3-DM8107-MOD to implement additional functions not present in the base module. The Z3-DM8168-APP-02 application board has 2 HDMI inputs, 2 YPbPr component inputs, 2 analog stereo audio inputs, an SD card jack, and 2 bi-color LEDs for status.
# sudo yum install glibc.i686 3.2 Making the Directories and Running the Make Script The software provided will allow you to re-create the pre-installed software of the Z3-DM8107-RPS starting from the included source code. On a PC running Linux, create a directory where the released materials are going to be located:...
The result should be something like the following. Note that actual filenames, dates, and times will differ. Figure 3 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...
The ARM toolchain for building the codebase u-boot u-boot code for release z3apps Z3 sample application code and scripts The Z3 sample application code that comes with the Z3-DM8107-RPS is run from the script in run.sh dvr- . This code calls the...
.ini out of /tmp and save it. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The top-level file for the menu-driven application is . The top-level files for the demo.c command line interfaces are demo_mcsenc.c demo_mcsdec.c ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
CONFIDENTIAL DOC-USR-0012-08 5.0 RUNNING THE ENCODER This section gives step-by-step instructions on taking the Z3-DM8107-RPS and using it to stream 1080p or 1080i video to VLC running on your PC. 5.1 Set up the HD Source (1) Select an HD source with HDMI non-HDCP output (Z3 used the Brite-View BV-5005HD is used).
(7) Connect the 12V power supply and turn on the switch. 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: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
After about 3 seconds, the control menu should come up: Figure 7 Web Interface Initial Screen (10) Click on the “CH1” tab ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
-The encoder automatically starts 20 seconds after booting up. If it has already started, it may be necessary to click “stop” before clicking “start.” ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(15) Press “Enter.” (16) You should now see video streaming to VLC: Figure 10 Example of Z3 Video Streaming on VLC (UDP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(22) Open VLC. Select “Media – Open File” and select the “z3-dm8107.sdp” file you just copied. (23) You should then see RTP video streaming on VLC: Figure 11 Example of Z3 Video Streaming to VLC (RTP) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
CONFIDENTIAL DOC-USR-0012-08 5.9 Encoding from other inputs In addition to HDMI1, the Z3-DM8107-RPS allows encode from a second HDMI channel, 2 component inputs, and 2 composite inputs. To select a source, simply select the desired source from “Video Source.” To use HDMI2, simply plug a video source to the HDMI port just below HDMI1.
Most combinations are allowed. However, because of the way the hardware is configured within the Z3-DM8107-RPS, two combinations are not allowed. For both of those combinations, an alternative is available. Figure 15 below shows the combinations that are allowed and not allowed on the Z3- DM8107-RPS.
DOC-USR-0012-08 5.10 Changing the bitrate dynamically The Z3-DM8107-RPS includes an “update” button which allows you to change the bitrate 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 4 tabs.
Figure 18 Drop in Bitrate after Dynamic Bitrate Change 5.11 Adjusting the UDP TS Rate The Z3-DM8107-RPS includes a parameter to adjust the TS rate independent of the video bitrate. This can be found just below “PCR PID” when “UDP” is selected as the output format.
(29) Click on “start” to start encoding. (30) Click on the Status tab. You should see the new bitrate and resolution reflected in the status: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The value of TS Rate must be higher than (video bit rate + audio bit rate) * 1.25. If an attempt is made to input a value less than this, the error message “TS rate too small to carry elementary streams” will appear. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
GDR can also be used to reduce latency if I-frames are not needed. 5.13 Running DHCP DHCP is also supported. When enabled, the Z3-DM8107-RPS dynamically receives an IP address to use at startup. The IP address that is assigned can be seen either through the serial interface or through the ZFinder tool running on a PC.
(35) As soon as you select “z3_test”, the screen will reload. Check the “Use DHCP” box. Check “Use DHCP” again Figure 26 Setting DHCP within z3_test ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(37) Now that you’ve set DHCP and saved it to a configuration “z3_test” and specified that “z3_test” will be used when the system restarts, go ahead and reboot the Z3-DM8107-RPS. (38) A new IP address is assigned to the unit through DHCP . You have two ways of finding out that IP address.
(40) Run the “ZFinder” PC Utility on your Windows PC. The ZFinder window appears. ZFinder does a scan of the network and lists the location of all Z3 systems connected to the network. In this case, the Z3-DM8107-RPS appears with the IP address obtained through DHCP: New IP address Figure 29 ZFinder with DM8107-RPS IP Address (41) Select the DM8107-RPS and then click “Open Device.”...
The Z3-DM8107-RPS can also be used to decode streams. This section describes how to quickly get decode up and running. A second Z3-DM8107-RPS is required in these instructions. If the user has only one Z3- DM8107-RPS, they can also try using an alternate source for the video stream (in which case the decoder settings may have to be adjusted).
Decoder board (192.168.81.07 in this example). Using multicast allows you to also open VLC and view the stream from there: Figure 32 Encoder Settings for Sample Decode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Once you do this, the description at the top right will change from “DM8107-RDK Encoder” to “DM8107-RDK Decoder” and settings for Display Mode, Resolution, and Layout will appear: Figure 34 System Setup in Decoder Mode ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(2) Change to 225.1.2.3 (3) Change to 5004 (5) Click “start” (4) Change to HDMI Figure 36 Decoder Configuration Settings for Decode Example ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 38
(15) You can also view the content using VLC. Open VLC as you did in the Encode instructions and use the address “udp://@225.1.2.3:5004” for the URL. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
WRITING TO A TS FILE AND PLAYING BACK A TS FILE The Z3-DM8107-RPS can also be used to write an encoded stream to TS file and to play it back. To do this, the Serial UI should be used. The steps below list the steps to write a file and then play back that same file.
(7) Type “X” <ret> to go back to the previous menu. (8) Type “2” <ret>, “A” <ret>, “n” <ret>, and then “X” <ret> to disable channel 2. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Your configuration should look like the following: Figure 39 Serial UI Settings for Write to TS File Insert a USB drive into the top or bottom USB port on the Z3-DM8107-RPS. (10) Type “S” <ret> to start encoding to the ts file “test1.ts”.
(17) Once you do this, the HDMI is initialized (takes around 4 seconds). Then you will see the Decoder Serial UI: Figure 40 Decoder Serial UI (Top Part) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(25) Type “A” <ret> and “n” <ret> to disable channel 2. (26) Type “X” <ret> to go back to the main menu. (27) Make sure that the USB drive with “test1.ts” is still connected to the Z3-DM8107-RPS. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8...
(28) Type “S” <ret> to start playback. -After 5-10 seconds, you should see the video on the monitor connected to HDMI Out. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Command line interfaces called MCSENC and MCSDEC are also available for running commands. This can be found with the command: source /opt/mcsenc/mcsenc.sh source /opt/mcsdec/mcsdec.sh Separate manuals for MCSENC and MCSDEC are also available with this release. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(1) Run the Web Interface (Steps (1)-(9) in Section 5). (2) Select “update device firmware” from the main screen: Click here Figure 43 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...
(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...
Ubuntu 10.x or later (these are in gray to denote they can vary from system to system): (a) Get NFS if it is not already installed: # sudo apt-get install nfs-kernel-server ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 49
(here emacs is used – any text editor can be used) # cd /home/z3/z3-dm810x # cd z3-centaurus-dm810x_RDK-20140401 # cd u-boot # emacs u-boot-env-dm810x-rdk.txt ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(m) Set boot mode to NFS Z3-DM385# setenv bootcmd run boot-nfs (n) Save your changes Z3-DM385# saveenv ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
(5) From the u-boot prompt, type “boot” Z3-DM385# boot You should see the Z3-DM8107-RPS boot the kernel obtained via TFTP, mount a file system using NFS, and then go straight to the serial menu. Appendix A shows an example of a successful boot. If you are running into issues, see the “Troubleshooting”...
10.1 The System Setup Tab Parameter Options (default in bold) Notes Local IP Address 192.168.x.y (192.168.81.07) Sets the IP address of the Z3-DM8107-RPS. Local Netmask 255.255.z.w (255.255.0.0) Sets the netmask of the Z3-DM8107-RPS. Default Gateway 192.168.a.b (192.168.0.1) Can generally leave this as “192.168.0.1”.
Stream Status channel The channel number (1 or 2) URL the channel is being streamed to ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
The H264 profile of the bitstream. Generally High is used for > D1, Main for D1, and Main Baseline for < D1. Baseline ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 56
DSP AACLC is not a valid option in this ARM AACLC MPEG2 release and should not be selected. ARM AACHE ARM AACHE V2 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 57
File with expectation. RTP requires an SDP file for the receiver. TSFile and File are not yet supported from the GUI in the Z3-DM8107-RPS. Serial UI should be used. Dest Address 192.168.x.y (192.168.0.6) The IP address that the encoder is streaming ___________________________________________________________________________________________ Z3 Technology, LLC ♦...
If audio is selected, use to select the audio output. HDMI Analog 10.6 The CH2 Tab (Please see CH1 values – Encode/Decode for a detailed explanation) ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Decoder Stop All Stop encode on all channels. Start All Start encode on all channels. ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 62
10485760 Memory policy: ECC disabled, Data cache writeback OMAP chip is DM385 1.0 SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 63
Voltage driver init not yet happened.Faulting! omap_voltage_add_dev: VDD specified does not exist! OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 64
USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 65
MMIO 0x48024000 (irq = 74) is a OMAP UART2 brd: module loaded loop: module loaded ahci probe: devid name is ahci ahci CAP register dump =0x6726ff80 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 66
UBI: number of internal volumes: 1 UBI: number of user volumes: 1 UBI: available PEBs: 0 UBI: total number of reserved PEBs: 1599 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 67
IEEE802.11 drivers Registering the dns_resolver key type VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 68
1-004d: chip found @ 0x9a (OMAP I2C adapter) z3netra-000: v4l2 sub device adv7611 registered grp xc z3netra-000: v4l2 sub device register fails ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 70
[m3video] Remote Debug Shared Memory @ 0xbff05020 [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040 [m3video] Received character 's' /opt/dvr_rdk/ti810x ORG 0x46c00524: 0 NEW 0x46c00524: 2 ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
Page 71
| T - Stop streaming | | W - Write configuration to flash | | X - eXit to prompt | +==============================================================+ Enter option: ___________________________________________________________________________________________ Z3 Technology, LLC ♦ 100 N 8 ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702...
-Is the Ethernet cable plugged in to the Z3-DM8107-RPS solidly (do you see the link light)? -Does the Z3-DM8107-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-DM8107-RPS and the PC running VLC have the same netmask? (Default value is 255.255.0.0)
Page 73
-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...
Need help?
Do you have a question about the Z3-DM8107-RPS and is the answer not in the manual?
Questions and answers