background image

 

    

CONFIDENTIAL 

                             DOC-USR-0010-09 

 

___________________________________________________________________________________________ 

Z3 Technology, LLC 

 100 N 8

th

 ST, STE 250 

 Lincoln, NE 68508-1369 USA 

 +1.402.323.0702 

30 

(d)

 

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

/home/z3/z3-netra/filesys/fs 

192.168.0.6/255.255.0.0(no_root_squash,insecure,nohide,rw,async) 

 

(e)

 

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 
# ln –s z3-netra-DM8169_VI_RPS-20140405/images images 
# ln –s z3-netra-DM8169_VI_RPS-20140405/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 PC (see Steps (5) and (6) in 
Section 5). 

 

(b)

 

As soon as u-boot starts, 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.txt” (here emacs is used – any text editor can be used) 

 

# cd /home/z3/z3-netra 
# cd z3-netra-DM8169

_

VI

_

RPS-20140405 

# cd u-boot 
# emacs u-boot-env-netra.txt 

 

 

Summary of Contents for Z3-DM8169-VI-RPS

Page 1: ... save the manual for future use Copyright Z3 Technology LLC 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 Z3 Technology LLC incorporates HDMI technology The terms of HDMI and HDMI High Definition Multimedia I...

Page 2: ...atting Review MC 1 04 08 03 07 13 Update images MC 1 05 00 07 11 13 Formatting and minor wording modifications RC 1 05 02 07 23 13 Updated screenshots and System Menu Items PS 1 05 03 07 25 13 Formatting updated and reviewed MC 1 05 03a 07 26 13 Updated supported resolutions on p 7 corrections on p 12 14 formatting tweaks on p 27 RC 1 05 03b 07 26 13 Added note about Supported Outputs section RC 1...

Page 3: ...he Directories and Running the Make Script 10 6 0 CODE OVERVIEW 12 6 1 EZSDK Documentation 12 7 0 RUNNING THE ENCODER 13 7 1 Set up the HD Source 13 7 2 Connect the Board 13 7 3 Set up the Terminal Window 14 7 4 Power on the Board 15 7 5 Ensure Your PC has a Proper IP Address 16 7 6 Run the Web Interface to Configure Encode 16 7 7 Run VLC to View Stream 18 7 8 Streaming RTP 19 7 9 Showing Encode P...

Page 4: ...8169 VI RPS 13 Figure 6 Z3 DM8169 VI RPS Main Menu 15 Figure 7 Encoder Settings Screen Top Half 16 Figure 8 Setting Encode Parameters for TS Streaming 17 Figure 9 VLC Network Screen Setting to Receive Z3 TS Stream 18 Figure 10 Example of Z3 Video Streaming on VLC UDP 18 Figure 11 Example of Z3 Video Streaming to VLC RTP 19 Figure 12 HDMI Out to Show Encode Passthrough 20 Figure 13 Tuning for Vario...

Page 5: ...ists of the necessary components for developing advanced multimedia graphics and DSP applications The Z3 DM8169 MOD 2x is a compact OEM module that enables encode or decode of up to two channels of 1080p H 264 Encode can be used to stream and decode can be used as either stream or storage It is well suited for applications such as broadcast video encoding and decoding digital signage and video kio...

Page 6: ...as an SD card jack 2 bi color LEDs for status and a JTAG header to access the module s on board MSP430 processor Figure 2 below shows the Z3 DM8169 APP 3x application board Software licensing additional design services and support are available from Z3 Technology Please contact Z Technology at http www Z3technology com or e mail at sales Z3technology com Note Z3 does not warrant modules that are o...

Page 7: ..._________________________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 7 The figure below shows a block diagram of the Z3 DM8169 VI RPS system Figure 3 Z3 DM8169 VI RPS Block Diagram ...

Page 8: ... that can be configured in the GUI is given in Section 11 0 SUMMARY OF OPTIONS on page 34 2 2 If You Already Have a System from Z3 and Need to Update the Firmware You can update the firmware via the web GUI interface by following the instructions in Section 10 1 Method 1 Updating the Image File on page 27 2 3 If You are Ready to Start Development Details on how to untar and build the code can be f...

Page 9: ...ponent Input video resizer Interfaces to 1Gb Ethernet SATA2 USB 2 0 RS 232 Outputs RTP or MPEG 2 Transport Stream Web based or serial based configuration software 4 1 Supported Encode Resolutions HDMI 1080p60 1080p50 1080i30 1080i29 97 1080i25 720p60 720p59 94 720p50 576p50 576i25 480p60 480i30 and 480i29 97 Component 1080p60 1080p50 1080i30 1080i29 97 1080i25 720p60 720p59 94 720p50 576p50 576i25...

Page 10: ...o install some 32 bit libraries for the cross 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 5 2 Making the Directories a...

Page 11: ... around 30 40 minutes You will also need to type in the sudo password a few times throughout 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 4 Sample Content of Images Dire...

Page 12: ...ory testing scripts the user can disregard these filesys The base filesystem for release kernels Kernel code for release sysapps Various supporting applications toolchain The ARM toolchain for building the codebase u boot u boot code for release z3apps Z3 demo application code and scripts 6 1 EZSDK Documentation Documentation on the EZSDK can be found in ezsdk docs Below is a list of the documenta...

Page 13: ...MI 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 1080p or 1080i output Select content you would like to stream 7 2 Connect the Board For these steps please refer to Figure 5 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...

Page 14: ...running from a Windows PC run TeraTerm Select Setup Serial Port and set the following Port The 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 right Serial Device is specified typically dev ttyUSB0 Set option E B...

Page 15: ...d 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 one minute you will see the DM8169 VI RPS Main Menu Note the local IP address and netmask in this example it is 192 168 81 68 and 255 255 0 0 This is the IP address of the board You will need this later to access the web interface Figure 6...

Page 16: ...that this is the case If necessary use the P and Q options in the RPS menu to modify the address network mask of the board to conform to your network Note that the first two parts being the same are based on a netmask of 255 255 0 0 If netmask were 255 255 255 0 then the first three 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 Thi...

Page 17: ...11 Set Output Format to MPEG 2 TS and Dest IP Address to the IP address of your PC in this example 192 168 0 6 Also make note of the value of Dest Port should be 8888 by default 12 Click Start After about 6 seconds the status should change from idle to Running Figure 8 Setting Encode Parameters for TS Streaming d Click Start or Restart e After clicking start the status should change to Running a C...

Page 18: ...C 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 6 8888 where 192 168 0 6 is the IP address of your PC and 8888 is the value of Dest Port noted in step 11 15 Press Enter 16 You should now see video streaming to VLC Figure 9 VLC Network Screen Setting to Receive Z3 TS Stream Figure 10 Example of Z3 Video Stre...

Page 19: ...m Z3 To stream using RTP do the following steps 17 In the Encoder settings tab click on Stop to stop the current encoding session 18 Change Output Format from MPEG 2 TS to RTP see Figure 8 19 Change Dest IP Address to 225 1 2 3 20 Confirm that Dest Port see Figure 8 is 8888 this will be important for the VLC configuration 21 Click Start to start streaming 22 Copy the z3 netra multicast sdp file re...

Page 20: ... STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 20 7 9 Showing Encode Passthrough on a Screen Optional To see what is being encoded on a monitor connect that monitor to HDMI Out of the Z3 DM8169 VI RPS see Figure 12 Once you do this you should see the video going into the encoder on the monitor HDMI Out Figure 12 HDMI Out to Show Encode Passthrough ...

Page 21: ...owest value Z3 recommends is 150 B frames improve the quality of the picture but they also increase the latency by 1 frame time To minimize latency the number of B frames should be set to 0 B frame Interval should be set to 1 Figure 13 shows the suggested values for Video Burst Size and B frame Interval for three common use cases Video Burst Size B frame Interval Case 1 Highest Quality Highest Lat...

Page 22: ...In that case the decoder settings may have to be adjusted 8 1 Connect the Decoder Board 1 Connect the supplied 2 5mm serial cable and NULL modem adapter to your PC 2 Take the HDMI cable connected to the monitor and connect it to HDMI Out of the RPS 3 Connect the Ethernet Make sure the Ethernet is connected to a hub router that is also connected to the Encoder board and PC 4 Configure the PC termin...

Page 23: ...s perform the following steps 6 In the serial menu type X to exit the serial menu 7 This should take you to the linux prompt From here type fw_setenv ipaddr 192 168 81 67 opt z3 fw_setenv ipaddr 192 168 81 67 8 Then reboot the system by typing reboot f opt z3 reboot f 9 You should then see the Decoder board reboot In the serial menu you can verify the new IP address has taken effect 10 In your PC ...

Page 24: ...n NE 68508 1369 USA 1 402 323 0702 24 8 3 Configure the Encoder 11 Go back to your Encoder board 192 168 81 68 and change the settings to match those in the figure below Here a multicast address is used You can also try streaming unicast to 192 168 81 67 multicast allows you to also open VLC and view the stream from there Figure 16 Encoder Settings for Sample Decode ...

Page 25: ...tch to Decoder mode This can be done by changing Operating Mode in the lower right corner 13 Your Encoder Settings tab should now change to Decoder Settings Change the settings to match the settings below 14 Click the Start button on both the Encoder board and Decoder board 15 You should now see video and hear audio from your TV monitor 16 You can also view the content using VLC Open VLC as you di...

Page 26: ...e options in the GUI to exercise other features These include Modifying audio video bit rate Modifying the H 264 profile Setting of P frames per GOP You can also specify MPEG 2 encode instead of H 264 encode All of the same options that apply for H 264 also apply for MPEG 2 You can also store the configuration as the default configuration or as a file to be retrieved later Besides using the web ba...

Page 27: ...e 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 5 2 Click on the System Setup Tab 3 In the System Setup Tab click update device firmware Note If update device firmware is greyed out as it is in the figure above it is because the encoder or decoder is running If you click Stop at the bottom of t...

Page 28: ...s brings you to the Software Updater screen Click Browse and browse to the directory z3 netra z3 netra RPS date images and select the image file z3 netra upd img 5 Click Open 6 Click Upload and Update You should see a FLASH Update now in progress message Once finished it will go back to the main menu 7 You should be able to now run using the updated image Figure 19 Browsing for the Image File in t...

Page 29: ...erver args to home 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 init d xinetd start 2 Enable NFS on the Linux PC The target DM8169 will mount the root file system usin...

Page 30: ... different depending on your specific release cd home z3 z3 netra ln s z3 netra DM8169_VI_RPS 20140405 images images ln s z3 netra DM8169_VI_RPS 20140405 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 PC see Steps 5 and 6 in Section 5...

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

Page 32: ...keys to scroll down and select the u boot env netra 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 within u boot The very last line should say Writing to Nand done k Type printenv to show the current environment variables in u boot l Check...

Page 33: ...nd TFTP NFS there are other boot configurations that 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 na...

Page 34: ...2 Kbps The bitrate for the audio Video Resolution 320x180 1920x1080 Follow input De interlace The encode resolution Note 1 De interlace On Off Causes the de interlacer to be activated can also select De interlace for the video resolution Rate Control VBR CBR If CBR 1 the encoder will drop frames to maintain bit rate if difficult content is encountered Video Bitrate 100 12000K 8000K The target bitr...

Page 35: ...ker must be a closed GOP The default is Open B frame Interval 1 3 of B frames between P frames minus 1 Setting 1 means no B frames Setting 3 means 2 B frames between every P frame B frame Temporal Layer 1 4 Used to configure of pyramidal B frames the encoder uses Increasing this number will potentially improve quality at lower bit rates However setting this value to something besides 1 also runs t...

Page 36: ...tream Dest Port 0 9999 8888 The port that the encoder is streaming to ASI Bit Rate 0 20000k 12000k Governs the transport stream rate In general it is good to give a 30 50 margin over the video bit rate This parameter is only valid when Output Format is MPEG TS Note 1 Encode Resolutions Supported WQVGA 320x180 QVGA 320x240 SIF 352x240 CIF 352x288 2 CIF 352x576 640x360 VGA 640x480 4 CIF 704x576 16 9...

Page 37: ... 1 2 3 denotes a multicast addr Video Codec H 264 The video format in the stream Must be H 264 in this release If MPEG 2 is being streamed the DM8169 VI RPS will automatically switch to MPEG 2 decode Audio Codec AAC None The audio format in the stream Must be AAC or none in this release Stream Format auto detect 1080p 1920x1080 1080i 1920x1080 720p 1280x720 NTSC 720x480 PAL 720x576 The resolution ...

Page 38: ...255 255 0 0 Sets the netmask of the Z3 DM8169 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 DM8169 VI RPS Set Password Can use to assign a password to the Z3 DM8169 VI RPS update device firmware See Making a Firmware Update on page 27 11 4 The User Presets Tab Parameter Options default in bold Notes new Define a ne...

Page 39: ...er defined profiles The configuration file to use Encoder decoder factory default Factory settings Can also add more profiles Save Click on this to save preset value to what was selected Note if different values in different tabs are changed then Save should be clicked in each tab Operating Mode Encoder Decoder Selects between encode and decode Stop Stop encode or decode Start Start encode or deco...

Page 40: ... Point 80008000 Verifying Checksum OK Loading Kernel Image OK OK Starting kernel Uncompressing Linux done booting the kernel Linux version 2 6 37 neal ubuntu01 gcc version 4 3 3 Sourcery G Lite 2009q4 CPU ARMv7 Processor 413fc082 revision 2 ARMv7 cr 10c53c7f CPU VIPT nonaliasing data cache VIPT aliasing instruction cache Machine ti8168evm vram size 52428800 at 0x0 bootconsole earlycon0 enabled res...

Page 41: ...dler for IRQ405 Trying to install interrupt handler for IRQ406 Trying to install type control for IRQ407 Trying to set irq flags for IRQ407 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 table entries 512 CPU Testing write buffer co...

Page 42: ...turer Linux 2 6 37 musb hcd usb usb1 SerialNumber musb hdrc 0 hub 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 d701e000 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 de...

Page 43: ...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 NAND 256MiB 3 3V 8 bit erasesize 0x20000 writesize 2048 oobsize 64 Scanning device for bad bloc...

Page 44: ...c dev entries driver 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 0x0 asoc tlv320aic3x hifi davinci mcasp 2 mapping ok asoc HDMI D...

Page 45: ...on rp_filter Configuring network interfaces done Wed Dec 2 18 59 00 UTC 2009 Loading HDVICP2 Firmware SysLink version 2 20 02 20 SysLink module created on Date Jan 31 2014 Time 12 51 58 FIRMWARE Memory map bin file not passed Usage firmware_loader Processor Id Location of Firmware start stop mma Mandatory arguments Processor Id 0 DSP 1 Video M3 2 Vpss M3 Location of Firmware firmware binary file s...

Page 46: ... i2c init done by FIRMWARE isI2cInitRequiredOnM3 0 FIRMWARE Default memory configuration is used Firmware Loader debugging not configured Default FL_DEBUG warning Allowed FL_DEBUG levels error warning info debug log MemCfg DCMM Dynamically Configurable Memory Map Version 2 1 2 1 FIRMWARE 0 start Successful Starting syslogd klogd done load the tppss drivers insmod opt z3 tppss tppss_core ko create ...

Page 47: ...c tvp7002 found 0x5c OMAP I2C adapter tvp7002 1 005c Rev 02 detected z3netra 000 v4l2 sub device tvp7002 registered grp x3 gv7601_probe returns 0 z3netra 000 v4l2 sub device gv7601 registered grp xc gv7600_probe returns 0 z3netra 000 v4l2 sub device gv7600 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 seri...

Page 48: ...7 Video De interlace 8 Rate Control VBR 9 Video Bitrate 8000k A Video Profile High B Video Frame Rate 60 C Gop Size 60 Frames D Video Burst Size 1000ms E B Frame GOP Structure open IBB F B Frame Interval 3 G B Frame Temporal Layer 1 H Audio Delay 0 I Video Delay 0 J Video Codec K Output Interface Ethernet L Video Passthru HDMI M Output Format MPEG 2 TS N Dest IP Address 225 1 2 3 O Dest Port 8888 ...

Page 49: ...69 VI RPS IP address from the Linux PC Try pinging the Linux PC from the Z3 DM8169 VI RPS Problem Do not see video in VLC UDP Does the IP address set in Dest IP 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 Is the PC fast enough for 1080p decode on VLC Does the PC have enough DDR to handle 1080p decode on VLC Is VLC ...

Page 50: ... step 2e on page 30 Does the IP address 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 dm814x filesys fs Did you start the NFS server If you modified the exports file did you remember to restart the NFS server after that For information regarding your hardware warranty please visit www Z3technology com Support HW Warranty html ...

Reviews: