background image

 

 

 

 

User’s Guide 

H.264 HD Multimedia System 

High Definition Video Processor Module 

DM8148 Rapid Prototyping System 

Model Name: 

Z3-DM8148-RPS

 

DOC-USR-0024-06 

Manual Version 1.05.05b 

Software Version 1.05.05 

December 15, 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. 

 

 

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.

Summary of Contents for Z3-DM8148-RPS

Page 1: ...ully 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 Z3 Technology LLC incorporates HDMI technology The terms of HDMI and HDMI High Definition Multimedia Interface and the HDM...

Page 2: ...nd Section 3 0 Included Parts List Modified note in Section 6 11 Formatting KA Note This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency ene...

Page 3: ... Environment 10 5 2 Making the 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...

Page 4: ...ns for Z3 DM8148 RPS Audio Video Detail 13 Figure 7 Z3 DM8148 RPS Main Menu 15 Figure 8 Encoder Settings Screen 16 Figure 9 Setting Encode Parameters for TS Streaming 17 Figure 10 VLC Network Screen Setting to Receive Z3 TS Stream 18 Figure 11 Example of Z3 Video Streaming on VLC UDP 18 Figure 12 Example of Z3 Video Streaming on VLC RTP 19 Figure 13 Component and Composite Inputs 20 Figure 14 Mapp...

Page 5: ...The software bundle consists of the necessary components for developing advanced multimedia graphics and DSP applications The Z3 DM8148 MOD 2X is a compact OEM module It is especially suited for power sensitive applications requiring a single video stream These applications include broadcast video encoding and decoding video surveillance and security industrial digital video recorders DVRs and med...

Page 6: ...ent 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 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 DM8168 APP 02 application board Software licensing additional design services and support are available from Z3 Technology Pleas...

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

Page 8: ...t can be configured in the GUI is given in Section 11 0 SUMMARY OF OPTIONS on page 36 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 28 2 3 If You are Ready to Start Development Details on how to untar and build the code can be found...

Page 9: ...el H 264 video encode and decode up to 1080p60 HDMI Component and Composite Input HDMI Output Gigabit Ethernet Dual USB 2 0 Dual SATA2 supporting 3Gbps MMC SD 512MB DDR3 256 MB NAND Flash Control through RS 232 serial port or HTTP JTAG debug port High density connectors to interface to all signals 4 1 Supported Input Resolutions Encode HDMI 1080p60 1080p50 1080i30 1080i29 97 1080i25 720p60 720p59 ...

Page 10: ...in 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 and Running the Make Script The software provided will allow you...

Page 11: ...oln NE 68508 1369 USA 1 402 323 0702 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 Directory after Successful Build ...

Page 12: ...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 documentation availab...

Page 13: ...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 1080p or 1080i output Select content you would like to stream 7 2 Connect the Board For these steps please refer to Figure 5 and Figure 6 Serial Power Switch 12V In Ethernet See Figure 6 Detail HDMI Out Figure 5 Demo Connections for ...

Page 14: ... Ethernet The next step is to set up a terminal to view the activity of the board 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 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...

Page 15: ...Board 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 Note the local IP address and netmask in this example it is 192 168 81 48 and 255 255 0 0 This is the IP address of the board You will need this later to access the web interface Figure 7 Z3 DM81...

Page 16: ...twork Ensure that this is the case If necessary use the H and I options in the RPS menu to modify the address network mask of the board to conform to your network Note that the first 2 parts being the same are based on a netmask of 255 255 0 0 If netmask were 255 255 255 0 then the first 3 parts of the IP address would have to be the same After you are done make note of your PC s address This will...

Page 17: ...1 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 a Change format to MPEG 2 TS b Change Dest IP Address to PC IP address c Note Dest Port will use in VLC d Click Start or Restart e After cli...

Page 18: ... 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 10 VLC Network Screen Setting to Receive Z3 TS Stream Figure 11 Example of Z3 Video Streami...

Page 19: ... from 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 Copy the z3 multicast_h264_aac_480000 sdp file received from Z3 to yo...

Page 20: ...ct 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 For Component the 2 inputs are to the right of the HDMI ports with Component1 on the right and Component2 on the left Figure 13Error Reference source not found below When connecting Component to the video source the mapping is red red white blue and yellow green ...

Page 21: ...n this case the yellow connector is connected to Composite 1 and the red connector to Composite 2 Figure 15 7 10 Showing Encode Passthrough on a Screen Optional To see what is being encoded on a monitor simply connect that monitor to HDMI Out of the Z3 DM8148 RPS see Figure 16 Once you do this you should see the video going into the encoder on the monitor Composite 1 Composite 2 Figure 15 Mapping ...

Page 22: ...west 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 the number of B frames should be set to 0 B frame Interval should be set to 1 Figure 17 shows the suggested values for Video Burst Size and B frame Interval for 3 common use cases Video Burst Size B frame Interval Case 1 Highest Quality Highest Latency ...

Page 23: ...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 on the board 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 term...

Page 24: ...mplete 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 47 opt z3 fw_setenv ipaddr 192 168 81 47 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 run...

Page 25: ...n NE 68508 1369 USA 1 402 323 0702 8 3 Configure the Encoder 11 Going back to your encoder board 192 168 81 48 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 47 multicast allows you to also open VLC and view the stream from there Figure 20 Encoder Settings for Sample Decode ...

Page 26: ...ls The first thing you want to do is switch 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 You should now see video and hear audio from your TV monitor 15 You can also view the content using VLC Open VLC as you did in the Encode instructions a...

Page 27: ...mo in Section 7 0 running you can modify the options in the GUI to exercise other features These include Modifying audio video bitrate Modifying the H264 profile Setting of P frames per GOP 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 Details on the different parameters that can be set can be found in...

Page 28: ...ge 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 7 0 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 the ...

Page 29: ...u to the Software Updater screen Click Browse and browse to the directory z3 dm814x z3 centaurus dm814x_RPS date images and select the image file z3 centaurus 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 23 Browsing for the Image File...

Page 30: ...gs 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 DM8148 will mount the root file system using NFS Th...

Page 31: ...pending on your specific release cd home z3 z3 dm814x ln s z3 centaurus dm814x_RPS 20131118 images images ln s z3 centaurus dm814x_RPS 20131118 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 7 0 b As so...

Page 32: ... changes and then copy this file to your home directory this will make it easy to transfer from minicom later cp u boot env centaurus 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 33: ...roll down and select the u boot env centaurus 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 within u boot The very last line should say Saving Environment to NAND k Type printeny to show the current environment variables in u boot l C...

Page 34: ...M8148 setenv bootcmd run boot nfs n Save your changes Z3 DM8148 saveenv 4 Make sure the DM8148 is connected to your network 5 From the u boot prompt type boot Z3 DM8148 boot You should see the Z3 DM8148 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 A...

Page 35: ...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 update ub...

Page 36: ...udio Bitrate 18 24 56 96 128 192 Kbps The bitrate for the audio Video Resolution 320x180 1920x1080 The input resolution Note 1 De interlace On Off Causes the de interlacer to be activated can also simply select De interlace for the video resolution Rate Control VBR CBR If CBR 1 the encoder will drop frames to maintain bitrate if difficult content is encountered Video Bit Rate 100 12000K 8000K The ...

Page 37: ... audio video offset when the A V sync of the source is a little off This is typically set to 0 Output Interface Ethernet Where the output stream goes to In this RPS only Ethernet output is supported Video Passthru HDMI Where the passthrough video is sent to In this RPS only HDMI passthrough is supported Output Format MPEG 2 TS RTP Selects between MPEG 2 TS encapsulated streams sent over UDP or RTP...

Page 38: ...ddress in the 200s such as the default of 225 1 2 3 denotes a multicast address Video Codec H 264 The video format in the stream Must be H 264 in this release 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 of the incoming stream In general auto de...

Page 39: ... default in bold Notes new Define a new configuration file rename Rename a configuration file delete Delete a configuration file export Export current settings to a file import Load settings from a previously exported file 11 5 Values Appearing at the Bottom of All Tabs Parameter Options default in bold Notes preset encoder factory default decoder factory default any user defined profiles The conf...

Page 40: ...re the known issues with this release These will be addressed in an upgrade to the Z3 DM8148 RPS 1 When decoding RTP audio is not yet supported If audio decode is required the source should be set to stream using UDP 2 On boot up an unhandled fault message can be seen The user can disregard this message 3 When encoding using composite input if a switch from NTSC to PAL or PAL to NTSC is needed the...

Page 41: ...r rrSG A r i s222hG rrsrrrrrr ri r hr r SG3ssrr2r rrsrsrsrsrr rh B H rr 3Hs rrr sr rrsrsrsrsrsr H B s rrs 5 rrrr r H rrsrsrsrsrr s srs X 9 r r 2 rrr rrsrsrsrr rrsrrs MB rsrsrsrsrr G r rrsrsr X SX25Ss M 9H9rrsrsrsrsrs r G 9 srsrsrs 2 X H rrsrsrsrsrsrr 3 X rrsrsrsrr XAi Bs rrsrsrsrsrsrsrsrr X rsrsrsrsrr r2ir rrsrsrsrsrsrsrsrsr A rrsrsrsrr 2 29 M rrrrsrsrsrsrsrsrs H rsrsrsrr A s rrsrsrsrsrsr G rrsrsr...

Page 42: ...ta cache VIPT aliasing instruction cache Machine ti8148evm vram size 52428800 at 0x0 bootconsole earlycon0 enabled reserved size 52428800 at 0x0 FB Reserving 52428800 bytes SDRAM for VRAM Memory policy ECC disabled Data cache writeback OMAP chip is TI8148 3 0 SRAM Mapped pa 0x402f1000 to va 0xfe400000 size 0xf000 Built 1 zonelists in Zone order mobility grouping on Total pages 31904 Kernel command...

Page 43: ...lized Mount cache hash table entries 512 CPU Testing write buffer coherency ok devtmpfs initialized omap_voltage_early_init voltage driver support not added regulator core version 0 5 regulator dummy NET Registered protocol family 16 omap_voltage_domain_lookup Voltage driver init not yet happened Faulting omap_voltage_add_dev VDD specified does not exist OMAP GPIO hardware version 0 1 OMAP GPIO ha...

Page 44: ... 2 usb usb2 New USB device found idVendor 1d6b idProduct 0002 usb usb2 New USB device strings Mfr 3 Product 2 SerialNumber 1 usb usb2 Product MUSB HDRC host driver usb usb2 Manufacturer Linux 2 6 37 musb hcd usb usb2 SerialNumber musb hdrc 1 hub 2 0 1 0 USB hub found hub 2 0 1 0 1 port detected musb hdrc musb hdrc 1 USB Host mode controller at cb832800 using DMA IRQ 19 NET Registered protocol fami...

Page 45: ... 64 Scanning device for bad blocks Factory marked eraseblock 118 at 0x000000ec0000 Factory marked eraseblock 169 at 0x000001520000 Factory marked eraseblock 677 at 0x0000054a0000 Factory marked eraseblock 733 at 0x000005ba0000 Factory marked eraseblock 806 at 0x0000064c0000 Factory marked eraseblock 1479 at 0x00000b8e0000 Factory marked eraseblock 1929 at 0x00000f120000 Creating 8 MTD partitions o...

Page 46: ...iver 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 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 H...

Page 47: ...ubifs filesystem on device 0 14 devtmpfs mounted Freeing init memory 208K init started BusyBox v1 15 0 svn 2013 11 20 11 58 20 CST starting pid 54 tty etc init d rcS Please wait booting Starting udev udevd 72 proc 72 oom_adj is deprecated please use proc 72 oom_score_adj i Populating dev cache Root filesystem already rw not remounting root mount mounting rootfs on failed No such file or directory ...

Page 48: ... log MemCfg DCMM Dynamically Configurable Memory Map Version 2 1 2 1 FIRMWARE 2 start Successful HDMI W1 rev 4 0 HDMI CEC Spec version 1 2 I2C No Ack HDMI failed to read E EDID Loading DSP Firmware FIRMWARE Memory map bin file not passed Usage firmware_loader Processor Id Location of Firmware start stop mm Mandatory arguments Processor Id 0 DSP 1 Video M3 2 Vpss M3 Location of Firmware firmware bi...

Page 49: ...device tvp5150 registered grp x2 z3netra 000 V4L2 device registered as video0 Z3 Netra video decoders ver 0 6 0 successfully loaded 1 devs Starting telnet daemon Starting web configurator NET Registered protocol family 10 Point your browser to http 192 168 81 48 Starting Z3 demo Z3 Technology LLC DM8148 RPS 1 05 05 Set Device Name DM8148 RPS Set Password BLANK 0 Operating Mode Encoder 1 Video Sour...

Page 50: ...________ Z3 Technology LLC 100 N 8th St STE 250 Lincoln NE 68508 1369 USA 1 402 323 0702 P Local IP Address 192 168 81 48 Q Local Netmask 255 255 0 0 R Default Gateway 192 168 0 1 T Stop S Start Set diagnostics level U Load User Settings W Save User Settings X Exit Y Load Factory Default Settings enter option ...

Page 51: ...P address from the Linux PC Try pinging the Linux PC from the Z3 DM8148 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 version 1 1x o...

Page 52: ... 2e on page 31 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 http Z3technology com support hardware warranty Whe...

Reviews: