Code Overview; Directory Structure; The Z3Apps/Rdk Directory - Z3 Technology Z3-DM8169-APP-L1-RPS User Manual

Custom software for z3-dm8169-app-l1
Table of Contents

Advertisement

4. Code Overview

4.1 Directory Structure

Once you have untarred the code, you will see the following top-level directories:
build-tools
dvr-rdk
factory
filesys
kernels
sysapps
toolchain
u-boot
z3apps
The Z3 demo code that comes with the Z3-DM816X-APP-L1-RPS is run from the run.sh script in dvr-
rdk/dvr_rdk/bin/ti816x. This code calls the z3_dvr_rdk_demo_mcfw_api.out binary, which initializes and
runs the encoder. This binary is built from the dvr-rdk directory. The code for the binary resides in
z3apps/rdk/rdk_demo. The z3apps/rdk directory is described in more detail in the next section.
4.1.1

The z3apps/rdk directory

There are three main subdirectories: rdk_demo, z3_mcfw_api, and z3 (Note: Source code is available for
customers that have licensed RPS-SRC. For licensees of RPS, binaries of the applications are available).
rdk_demo
This directory contains the code for the various modes that Z3's boards are able to run in. The encoder
setup is done in demo_vcap_vdis.c. The decoder setup is done in demo_vdec_vdis.c. The passthrough
setup is done in demo_vcap_vdis.c.
The file demo_rtptx.c is responsible for setting the output mode of the encoder. Output to file, RTP, and
MPEG2-TS are handled here.
The file demo_mcsenc.c contains the implementation of the command line interface. This can be run
using the following command:
#
source /opt/mcsenc/mcsenc.sh
___________________________________________________________________________________________
Z3 Technology, LLC ♦ 100 N 8
CONFIDENTIAL
Config files and scripts for building the codebase
A modified version of the TI RDK code
Factory testing scripts (the user can disregard these)
The base filesystem for release
Kernel code for release
Various supporting applications
The ARM toolchain for building the codebase
u-boot code for release
Z3 demo application code and scripts
th
ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702
Z3-DM8169-APP-L1-RPS V2.01.10
8

Advertisement

Table of Contents
loading

Table of Contents