background image

 

                             

CONFIDENTIAL

                                 Z3-DM8107-RPS V1.2.6 

 

19 

9.

 

Building the Code 

Instructions to setup and build the full code base for the Z3-DM8107-MOD. 
 
You will need sudo privileges in order to build the code. Make sure that the user account you are working 
from is in the /etc/sudoers file and that you have the password. 
 
The various variables of the system are all set up by default as if you are using the user account "z3". If you 
create a "z3" account and use it to build the code then you will be able to execute the results 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-dm8107 
cd ~/z3-dm8107 
 
Place release tar file in new directory and untar archive. 
cp /your_tar_file_location/z3-dm8107-RELEASE_NAME.tar.bz2  
tar -xjf z3-dm810-RELEASE_NAME.tar.bz2 
 
Un-tar'ring the release should have created an intermediate directory with the release name (such as "z3-
dm8107-RELEASE_NAME"), please cd into it. In order to build the code, the current directory must contain 
the project subdirectories "build-tools", "dvsdk", "kernels", "u-boot", etc. 
 
Then run the following commands to build the system executables. 
./build-tools/setup.sh 
source z3-env 
make z3_centaurus_defconfig 
make clean 
makeall.sh 
make demos 
 
Now all the executables are built and ready to run. All binaries and executables are in the images/ 
directory. 
 
The target board must be able to access the files placed in the “images” directory of the project. Since the 
default u-boot variables point to /home/z3/z3-dm8107, it is just easier to make symbolic link from there to 

      ___________________________________________________________________________________________ 

Z3 Technology, LLC ♦ 100 N 8

th

 

ST, STE 250 ♦ Lincoln, NE 68508-1369 U.S.A. ♦ +1.402.323.0702 

Содержание Z3-DM8107-RPS

Страница 1: ...ocessor Module DM8107 Rapid Prototyping System Model Name Z3 DM8107 RPS DOC USR 0012 03 Manual Version 1 2 6 Software Version v06 2012 04 20 March 7 2013 Before attempting to connect or operate this p...

Страница 2: ...comments MC 1 2 1 12 14 12 Added minor changes AC 1 2 2 12 14 12 Added Sections 6 10 PS 1 2 3 2 11 13 Minor Update PS 1 2 4 2 11 13 Formatting MC 1 2 5 2 12 13 Minor Update PS 1 2 6 3 7 13 Added list...

Страница 3: ...ode Demos 10 7 Installing the Released Materials 15 8 Configuring the Target for Your Own Development Environment 16 9 Building the Code 19 9 UBIFS 21 10 Dependencies 22 11 Troubleshooting 23 ________...

Страница 4: ...ingle channel 1080p60 fps1 frames per second encode or decode stream or storage This module is suited for power sensitive applications requiring a single video stream These applications include broadc...

Страница 5: ...utput The Z3 DM8168 APP 02 application board has two HDMI inputs two YPbPr component inputs two analog stereo audio inputs an SD card jack 2 bi color LEDs for status and a JTAG header to access the mo...

Страница 6: ...e 1x Gender Change 1x Video Cable 1x HDMI Cable 1x Z3 DM8168 DEB 01 1x Cable Strip 1x Z3 DM8107 RPS Lite Documentation _________________________________________________________________________________...

Страница 7: ...olutions Multiple interfaces including gigabit Ethernet PCI Express SATA2 DDR3 USB 2 0 MMC SD HDMI and DVI ARM Cortex A8 Memory Architecture Dual SATA interface supporting 3Gbps drives RS232 serial co...

Страница 8: ...ner to focus on the end application with confidence that the Z3 DM8107 MOD will handle all audio and video media operations required with little or no additional engineering effort Whether the end app...

Страница 9: ...r must have a place to escape to allow for room air to be used to cool the chip Failure to do so may result in permanent damage to the processor The maximum continuous power consumption by the whole Z...

Страница 10: ...N 1 0ms char 100ms line 3 Connect the other end of the serial cable to the console port on Z3 DM8107 MOD 01 board The console port is the 2 5mm jack next to the power switch 4 Connect power supply to...

Страница 11: ...n supplied USB stick from Z3 or contact Z3 Technology for content The USB stick is 2GB in capacity It is formatted as FAT It includes six files hd_other_artbeats_hd_library_demo_reel_2008_480p_30 h264...

Страница 12: ...ically approximately 1 minute and 30 seconds Step 4 Follow the steps in section 4 to change the display settings 5 3 Change Display Settings Step 1 Press Enter to display the Run Time Menu The console...

Страница 13: ...should display the following Step 3 Press 3 to change the layout of the output The console should display the following _______________________________________________________________________________...

Страница 14: ...n 2 will display a 2x2 output Option 9 will display a Picture in Picture output Figure 4 ___________________________________________________________________________________________ Z3 Technology LLC 1...

Страница 15: ...directory with the release name and a set of sub directories should have been created as follows z3 dm8107 a build tools Contains some scripts that simplify the setup b filesys This contains the root...

Страница 16: ...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 gatewayip 192 168 0 1 Usually the...

Страница 17: ...bootcmd run nand_boot_ramdisk Obtains root file system from ramdisk kernel from NAND setenv bootcmd run nand_boot_ubifs Obtains root file system from NAND UBIFS format kernel from NAND 8 2 U boot Upda...

Страница 18: ...ort 0 speed 100 full duplex Using cpsw device TFTP from server 192 168 0 6 our IP address is 192 168 0 111 Filename z3 z3 dm8107 images u boot bin Load address 0x81800000 Loading done Bytes transferre...

Страница 19: ...ive cp your_tar_file_location z3 dm8107 RELEASE_NAME tar bz2 tar xjf z3 dm810 RELEASE_NAME tar bz2 Un tar ring the release should have created an intermediate directory with the release name such as z...

Страница 20: ...lt using the factory settings the target expects that the kernel image is available at z3 z3 dm8107 images assuming that the root path set at the TFTP server is home and that a root file system is ava...

Страница 21: ...s 128MiB 5 Mount clean copy of NFS root filesystem mkdir tmp mynfsmnt mount o nolock 192 168 0 6 home z3 z3 dm8107 filesys fs tmp mynfsmnt 6 Mount UBIFS on empty filesystem mkdir mnt ubifs mount t ub...

Страница 22: ...d utils JFFS2 and UBI utilities For Ubuntu 10 x use the following command to install the needed packages sudo apt get install mtd utils liblzo2 dev uuid dev zlib dev For Fedora Core use the following...

Страница 23: ...k to make sure firewalls are turned off o Third check video source Verify video source is outputting compatible analog video o Fourth verify PC is fast enough and has enough DDR to decode compressed v...

Отзывы: