NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

MCSDK VIDEO 2.1 Rebuild Dsp Guide

From Texas Instruments Wiki
Jump to: navigation, search

TIBanner.png


MCSDK Video

Version 2.1.0 (Alpha Release)

Guide to Rebuild DSP Images

Last updated: 07/28/2014


Introduction[edit]

The MCSDK Video release provides factory pre-built DSP image to run the video demos out of the box. It also provides the required source code to rebuild the DSP application. When the source code is modified, the DSP application can be rebuilt using the instructions on this page.

Specifically, this DSP Rebuild Guide provides information on installing software packages which are required to rebuilding the DSP image, and how to rebuild the MCSDK Video DSP application if needed.


Install Software Required for Rebuilding DSP Images[edit]

This section will walk you through installing the required software packages for rebuilding MCSDK Video DSP application. The overall steps are:

  1. Install the BIOS MCSDK 2.0.5
  2. Install the MCSDK Video 2.1.0
  3. Install Active Perl



Installing the BIOS Multicore Software Development Kit[edit]

Visit BIOS-MCSDK 2.0.x to get BIOS-MCSDK 2.0 (v2.0.5) Linux installer.

After downloading the Linux installer, (mcsdk_video<version>_setuplinux.bin), please change the attribute of the installer to executable and run the installer as shown below. <syntaxhighlight lang="bash"> chmod +x mcsdk_video<version>_setuplinux.bin ./mcsdk_video<version>_setuplinux.bin </syntaxhighlight>

The following components of BIOS-MCSDK must be installed to support the MCSDK VIDEO:

  • PDK C6678
  • EDMA3-LLD
  • SYS/BIOS
  • XDC tools
  • IPC

Select MCSDK components snap shot:

BIOS-MCSDK-Linux-setup-01.png

BIOS-MCSDK-Linux-setup-02.png



Installing the MCSDK Video[edit]

After downloading the Linux installer, (mcsdk_video<version>_setuplinux.bin), please change the attribute of the installer to executable and run the installer as shown below. <syntaxhighlight lang="bash"> chmod +x mcsdk_video<version>_setuplinux.bin ./mcsdk_video<version>_setuplinux.bin </syntaxhighlight>


Major Steps of MCSDK Video Installation
  • Step-1: Welcome Screen and Click Next

Screenshot_Welcome.png


  • Step-2: Select Destination Folder and Click Next

Screenshot_Destination.png


  • Step-3: Select Components and Click Next. Note that all the components are required to rebuild the DSP application.

Screenshot_SelectAlComponents.png


  • Step-4: Copy the Components selected in Step-2 to the Destination Folder specified in Step-1

Screenshot_CopyComponents.png


  • Step-5: Click Finish to complete installation

Screenshot_InstallationComplete.png




Install Active Perl[edit]

Active Perl (5.14.2.1402) can be downloaded from Active Perl 5.14.2.1402. Install it by following Active Perl installation instructions.


Build MCSDK Video DSP Application[edit]

To rebuild MCSDK video DSP application, follow the two steps below to set up environment variables and then rebuild the application. These steps are needed only when there are changes in the source code and therefore the DSP image needs to be recompiled.

Set up environment variables[edit]

Under the installation directory of the MCSDK Video, go to <MCSDK Video Install Dir>/dsp/mkrel and run the following command to set up environment variables. Before running this command, ensure all the components/tools described above are installed. Also modify dsp/mkrel/setupenvMsys.sh as needed to point to the correct path of the installed components/tools.

<syntaxhighlight lang="bash"> cd dsp/mkrel source setupenvMsys.sh </syntaxhighlight>

"setupenvMsys.sh" will check if all the required components and tools are available at the specified locations. If not, please double check if all the required components/tools are installed and if their path information in dsp/mkrel/setupenvMsys.sh is correct.

Make DSP Image[edit]

Run dsp/mkrel/makefile to build DSP code. The following is the command to build the video application: make [build_name]. sv04 is the only DSP build in this release.

<syntaxhighlight lang="bash"> cd dsp/mkrel make sv04 </syntaxhighlight>

The build command make sv04 will produce directory: dsp/mkrel/sv04 with the following files: sv04.out, sv04.map, readme_sv04.txt.

Helpful tips image.jpg

Useful Tip

1. If a source debugger requires all source files to be combined into a single directory, "FLAT=YES" may be added in the make command line, which will create the directory mkrel\sv04\flat containing all source and header files used for the build.
2. After making the first build, if there is no source file change in \components directory, "RTSCBYPASS=YES" may be added in the make command line, which will bypass compiling the components. If there is no source file change in dsp\ggcfg\build\hdg\sv04\bios directory, "BIOSCFGPKGBYPASS=YES" may be added in the make command line, which will bypass compiling the BIOS configuration package.


Use Rebuild DSP Image to Run Video Demos[edit]

In order to use the rebuild DSP image for running video demos, copy the rebuilt dsp/mkrel/sv04/sv04.out to demos\demoC667x4\dsp_images folder. Then follow steps to run video demos on a Linux PC.


Software Installation and Rebuild DSP Application on Windows[edit]

MCSDK Video 2.1 release also provides a Windows installer (mcsdk_video<version>_setupwin32.exe) which can be used to recompile DSP application on a Windows PC. The major steps of installing the required software packages and rebuilding the DSP application are listed below. More details of this can be found from MCSDK Video 2.0 Getting Started Guide.



Software Installation on Windows[edit]

The major steps of Windows installation includes:

1. Install BIOS MCSDK 2.0.5 with the following Components:

  • PDK C6678
  • EDMA3-LLD
  • SYS/BIOS
  • XDC tools
  • IPC

2. Install MinGW  3. Install the MCSDK Video 2.1.0 (mcsdk_video<version>_setupwin32.exe) with all the components listed  4. Install Active Perl 5.14.2.1402



Rebuild DSP Application on Windows[edit]

The major steps of rebuilding DSP application on Windows includes:

1. Setup environment variables: go to <MCSDK Video Install Dir>\dsp\mkrel in a command window and run batch file "setupenvMsys.bat bypass". This will execute \dsp\mkrel\setupenvMsys.sh and enters shell. "setupenvMsys.sh" will check if all the required components and tools are available at the specified locations. If not, please ensure all the components/tools are installed and also modify setupenvMsys.sh as needed to use the correct path for the installed components/tools.

2. Go to dsp\mkrel and run command make sv04 to rebuild DSP application. This will produce dsp\mkrel\sv01 directory with files: sv04.out, sv04.map, readme_sv04.txt.


Related Documents[edit]


Technical Support and Product Updates[edit]

For technical discussions and issues, please visit

NoteNote: When asking for help in the forum you should tag your posts in the Subject with “MCSDK VIDEO”, the part number (e.g. “C6678”) and additionally the component (e.g. “NWAL”).


For product updates,

  • Visit MCSDK VIDEO (Multicore Video Infrastructure Demo Built on MCSDK): TBD

For Video codec products,


E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article MCSDK VIDEO 2.1 Rebuild Dsp Guide here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity