Z3 Technology Z3-DM8107-RPS Скачать руководство пользователя страница 16

 

                             

CONFIDENTIAL

                                 Z3-DM8107-RPS V1.2.6 

 

16 

8.

 

Configuring the Target for Your Own Development Environment 

The best way to develop for the Z3-DM8107 system is to use the HDD of a Linux PC to serve as the root file 
system for the target. It is also productive to allow the DM8107 system to fetch the Linux kernel from the PC 
using the network, so all the software that is being run by the DM8107 is in effect coming from the PC. 
To accomplish this, follow the steps below. 

1.)

 

Run a TFTP server on the Linux PC. The target system will need to access files from the "images" 
directory via TFTP. Depending on your Linux distribution you will need to download and set up the 
server. 

2.)

 

The DM8107 module is pre-setup so that it will TFTP from the path "z3/z3-dm8107/images". This 
path is defined in the target by the u-boot environment variable "tftp_root". 

3.)

 

Enable NFS on the Linux PC. The target DM8107 will need to mount the root file system using NFS. 
Usually it is sufficient to add the desired path in the /etc/exports file, and restart the NFS service 
(as root) with 
# service nfs restart 

4.)

 

Copy the file .../u-boot/u-boot-env-centaurus.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 gatewayip 192.168.0.1     

Usually the router in your network 

setenv netmask 255.255.0.0       

As per your network parameters 

setenv serverip 192.168.0.6      

The computer with the TFTP server 

setenv tftp_root z3/z3-dm8107/images           Location of the images folder in TFTP space 

setenv nfs_root /home/z3/z3-

dm8107/filesys/fs 

Location of the root file system 

 

5.)

 

Reboot the DM8107-MOD system and press the space bar to make it stop in the u-boot prompt. 

Make sure that your terminal is pausing for 120ms or more at the end of each line. 
This is important because the serial port does not have hardware flow control. 

6.)

 

Open Teraterm. Select the "Setup" menu. Select "Serial port". 

 Set the "Baud rate" to 115200, "Data" to 8 bit, "Parity" to none, 1 stop bit and flow control to "none" 
 At "Transmit delay" part, enter 120 in the box next to "msec/line", then click OK. 

7.)

 

Now upload the new environment variables to the board: 

In Teraterm, go to the "File" menu and click on "Send file...". 
Select the file with the variables that was just edited. 

8.)

 

When you get the u-boot prompt again, enter the commands below. This will enable mounting the 

      ___________________________________________________________________________________________ 

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...

Отзывы: