background image

 
 
 
 
 
 

User Instructions 

Multi-Channel H.264 HD Multimedia System 

DM8168-DVR Rapid Prototyping System  

Model Name: 

Z3-DM8168-DVR-RPS 

 
 
 
 
 

 

 

 

DOC-USR-0014-03 

Manual Version 1.0.5 

Software Version 0.0.1 

July 16, 2015

 

 

Before attempting to connect or operate this product, please read these instructions carefully and save the manual for future use. 

 

® Z3 Technology, LLC. All rights reserved.

 

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.

  

Summary of Contents for Z3-DM8168-DVR-RPS

Page 1: ...ore attempting to connect or operate this product please read these instructions carefully and save the manual for future use Z3 Technology LLC All rights reserved 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 Z...

Page 2: ...00 N 8th ST STE 250 Lincoln NE 68508 1369 U S A 1 402 323 0702 2 Revision History Version Date Change Note Author 1 0 0 2 27 13 Original DM8168 DVR System PS 1 0 1 2 28 13 Formatting Review MC 1 0 2 3 1 13 Minor Updates PS 1 0 3 5 2 13 Cleanup NB 1 0 4 6 26 13 Corrections by NB and RC MC 1 0 5 7 16 15 Added SATA2 note Updated formatting KA ...

Page 3: ... Connection to PC 8 5 2 Main Menu 8 6 0 USING THE Z3 DM8168 DVR RPS 9 7 0 INSTALLING RELEASED MATERIALS 11 7 1 Building the Code 11 8 0 CONFIGURING THE TARGET FOR YOUR OWN DEVELOPMENT ENVIRONMENT 12 8 1 U boot Startup Scripts 13 8 2 U boot Update Scripts 13 9 0 BUILDING THE CODE 14 10 0 UBIFS 16 11 0 DEPENDENCIES 17 12 0 NAND RECOVERY PROCEDURE 18 12 1 Purpose 18 12 2 General Description 18 12 3 O...

Page 4: ...embedded video sub systems The Z3 DM816x MOD features a unique expansion interface comprised of five high density connectors providing access to the greatest majority of interface signals available from the DM8168 processor Figure 1 below shows the Z3 DM8168 DVR RPS An example application board Z3 DM8168 APP 11 is available from Z3 Technology and is included with the Z3 DM8168 DVR RPS system This ...

Page 5: ... connectors to interface to all signals Supports output of video and audio at up to 1080p60 resolution 1024MB DDR3 MOD 2X or 512MB DDR3 MOD 0X 256MB NAND Flash 16 channel Composite video input RJ45 jack from on module PHY supporting 1GB Ethernet Dual SATA interface supporting 3Gbps drives Dual USB 2 0 type A host jacks RS232 serial console port JTAG debug port 2 1 Supported Input Resolutions Compo...

Page 6: ...ecoding real time transcoding at 1080p60 video security and industrial DVR medical and industrial video and video conferencing terminal and MCU Its versatile design allows the system designer to focus on the end application with confidence that the Z3 DM816x MOD will handle all audio and video media operations required with little or no additional engineering effort Whether the end application req...

Page 7: ... cooler The heat sink may reach temperatures in excess of 75 C during work Please make sure that the airflow for the heat sink is free and unimpeded at all times Hot air must have a place to escape to allow for room air to be used to cool the chip Failure to cool the processor may result in permanent damage to the processor The maximum continuous power consumption by the whole DM8168 MOD system du...

Page 8: ...0ms line 3 Connect to the proper COM port 4 Connect the supplied 12V power to the Z3 DM816x MOD 5 Power on the Z3 DM816x MOD 6 Power on the Z3 DM8168 APP 11 7 Output should come immediately to the Teraterm console 5 2 Main Menu Z3 Technology LLC DM8168 MOD v1 00 01 H 264 multichannel demo Current P Change local IP address 192 168 0 81 N Change netmask 255 255 0 0 G Change default gateway 192 168 0...

Page 9: ...the supplied serial cable and NULL modem adaptor from Z3 DM816x MOD to PC s COM port 2 Setup teraterm on PC for 115k 8 N 1 0ms char 100ms line 3 Connect the other end of the serial cable to the console port on Z3 DM816x MOD board The console port is the 2 5mm jack next to the power switch 4 Connect power supply to Z3 DM816x MOD 5 Power on Z3 DM816x MOD 6 Power on Z3 DM8168 APP 11 7 Connect HDMI ou...

Page 10: ... demo Current P Change local IP address 192 168 0 81 N Change netmask 255 255 0 0 G Change default gateway 192 168 0 1 N Number of Channels 16 1 Change H 264 channel config URL rtp 225 1 2 3 5004 VBRATE 2000000 VFRATE 30 VDELAY 2000 S Start streaming W Write configuration to flash X eXit to prompt 12 Press S to start the demo You can change the parameters by pressing 1 and then paging through the ...

Page 11: ...chive tar xjf z3 dm8168 version tar bz2 A directory with the release name and a set of sub directories should have been created as follows z3 dm8168 version build tools Contains some scripts that simplify the setup filesys Contains the root file system for the DM8168 target kernels The kernel source tree w added support for the Z3 DM8168 MOD HW images Binary images needed by the target toolchain A...

Page 12: ...the etc exports file and restart the NFS service as root with service nfs restart 4 Copy the file u boot u boot env netra txt to the Windows PC running Teraterm Edit the file and change the following variables to match your own system and network Note Use a Windows editor it is important to Teraterm to have CR LF instead of just LF setenv ipaddr 192 168 0 56 IP address of the target system setenv ...

Page 13: ...t startup scripts are available Each set up the u boot variables for a specific behavior To make the settings permanent run saveenv setenv bootcmd run boot nfs Obtains root file system from NFS kernel from TFTP setenv bootcmd run nand_boot_nfs Obtains root file system from NFS kernel from NAND setenv bootcmd run nand_boot_jffs2 Obtains root file system from NAND JFFS2 format kernel from NAND seten...

Page 14: ...esults of your build without changing paths in the target system or elsewhere It is not necessary to do so but starting at the right place can shorten the startup time First create a work directory if you have not already done so and cd to it mkdir z3 netra cd z3 netra Place release tar file in new directory and untar archive cp your_tar_file_location z3 dm8168 version tar bz2 tar xjf z3 dm8168 ve...

Page 15: ...s cd home z3 z3 netra ln s z3 dm8168 version images images ln s z3 dm8168 version filesys filesys Make sure that the u boot environment variables set on the target board match the locations of the executables on your work directory and run the target board By default using the factory settings the target expects that the kernel image is available at z3 z3 netra images assuming that the root path s...

Page 16: ...td3 Run this to preserve wear leveling data 3 Attach UBI device Ubiattach dev ubi_ctrl m 3 O 2048 4 Create UBI volume named rootfs on device ubi0 ubimkvol dev ubi0 N rootfs s 128MiB 5 Mount clean copy of NFS root filesystem mkdir tmp mynfsmnt mount o nolock 192 168 0 6 home z3 z3 netra filesys fs tmp mynfsmnt 6 Mount UBIFS on empty filesystem mkdir mnt ubifs mount t ubifs ubi0 rootfs mnt ubifs 7 C...

Page 17: ...default by most Linux distributions If the build aborts with an error then most likely your installation is lacking one or more of these packages mtd utils JFFS2 and UBI utilities For Ubuntu 10 x use the following command to install the needed packages sudo apt get install bison flex mtd utils liblzo2 dev uuid dev zlib1g dev libpcre3 dev For Fedora Core use the following command to install the nee...

Page 18: ...n order to allow the module to boot the Flash needs to contain at least the u boot code and its environment variables The Flash chip is initially blank The various software components that are to be loaded into the flash are stored in a server on the network The module can be configured to boot from the network using BOOTP protocol so that the initial load is provided from the server This initial ...

Page 19: ...he server and write to Flash c Get the file u boot bin img from the server and write to Flash d Get the file uImage from the server and write to Flash e Get the file ubifs image from the server and write to Flash 3 Once all sections of the Flash are written successfully a success message is displayed If the test succeeds then proceed to the next step otherwise troubleshoot 4 Turn power off 5 Next ...

Page 20: ...g boot to force the module to stop at the u boot prompt Once at the u boot prompt the command below will erase the Flash Z3 DM8168 MOD nand erase Once the Flash is erased turn power off and on again to start the Flash procedure 2 Another method to force booting from the BOOTP server is to set the module boot jumpers to default to a BOOTP boot This is accomplished by placing jumper blocks on pins 1...

Page 21: ...face NAND Flash DDR3 SDRAM Serial console port 12 5 3 Pass Fail Criteria When the procedure completes successfully the console will display the message below NAND update SUCCESS Z3 DM8168 MOD Any result different from this represents a failed test In this case please troubleshoot the hardware or the test setup 12 6 Test and Programming Setup 12 6 1 Materials needed The following materials are requ...

Page 22: ...secondary IP address can be created to accommodate the requirement using the command ifconfig eth0 1 192 168 0 6 netmask 255 255 0 0 12 6 3 Target Configuration 1 Configure the boot jumpers on the module so that it will boot either from the BOOTP server or from the Flash 2 Place jumpers on pins 1 2 3 4 and 5 6 of the boot jumper block J20 for BOOTP The default is shown below Pins 5 6 9 10 and 15 1...

Page 23: ...t at 81000000 Saving Environment to NAND Erasing Nand Warning Erase size 0x00002000 smaller than one erase block 0x00020000 Erasing 0x00020000 instead Erasing at 0x260000 100 complete Writing to Nand done Using DaVinci EMAC device TFTP from server 192 168 0 6 our IP address is 192 168 81 68 Filename z3 z3 netra init images u boot env scr Load address 0x81800000 Loading done Bytes transferred 5978 ...

Page 24: ...C selected Using DaVinci EMAC device TFTP from server 192 168 0 6 our IP address is 192 168 81 68 Filename z3 z3 netra init images uImage Load address 0x81800000 Loading done Bytes transferred 2440424 253ce8 hex NAND erase device 0 offset 0x280000 size 0x300000 Erasing at 0x560000 100 complete OK NAND write device 0 offset 0x280000 size 0x280000 2621440 bytes written OK Using DaVinci EMAC device T...

Page 25: ...______________________________________________________ Z3 Technology LLC 100 N 8th ST STE 250 Lincoln NE 68508 1369 U S A 1 402 323 0702 25 done Bytes transferred 22282240 1540000 hex NAND erase device 0 offset 0x6c0000 size 0xcee0000 Erasing at 0xd580000 100 complete ...

Page 26: ...ce 0 offset 0x6c0000 size 0x1540000 22282240 bytes written OK Saving Environment to NAND Erasing Nand Warning Erase size 0x00002000 smaller than one erase block 0x00020000 Erasing 0x00020000 instead Erasing at 0x260000 100 complete Writing to Nand done NAND update SUCCESS Z3 DM8168 MOD TROUBLESHOOTING o Check your Z3 server account Please include a log file from the serial console when contacting ...

Reviews: