Community Linux DVEVM Software Migration Guide

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Introduction

This document describes component-level modifications in the DVSDK 3.10 release from the DVSDK 2.xx releases, and serves as an aid for migrating existing applications.

Overall Package Related Changes

The main package modifications are as given below:

  1. PSP precompiled binaries are now provided in a new package. Please refer to Installing_Software_Components for further details.
  2. XDCtools are now bundled with the DVSDK package.

Component Level Changes

Arago information

Arago is a Open Embedded based tool that is used internally at TI to create the DVSDK software source tarballs. At this time, it is not available for external users. The exception is, the PSP components are available in Arago framework externally. The PSP online documentation (Release Notes, User Guide) provides further information. All the components required for DVSDK development or testing are available in form of binary installers or tar balls from download page. The DVSDK 3.10 users are not required to use Arago for their development for any of the components.

PSP related changes

The PSP component has migrated from a MontaVista-based Linux kernel (i.e., Linux kernel version 2.6.18) to Linux PSP GIT (i.e., Linux kernel version 2.6.32). For installation details, please refer to PSP Installation UserGuide for DM3xx platforms and PSP Installation UserGuide for DM6467/DM6467t platforms.

The PSP defaults to the JFFS2 file system in DVSDK 3.10. The entire NAND flash will need to be erased and the Bad Block Tables need to be re-written for old EVMs. The procedure to erase the flash is provided in Flashing_DM365_EVM_using_NAND_Writer page.

The interface level changes with respect to the 2.6.32 kernel based Linux PSP releases is provided in PSP Migration Guide for DM3xx platforms and PSP Migration Guide for DM6467/DM6467t platforms.

NOTE: The new Linux kernel requires that U-Boot and the filesystem be updated. These images are provided as a part of the release items.

Tool chain changes

The toolchain have been changed from MontaVista-based tool chain to the CodeSourcery tool chain (arm2009q1). Please refer to Getting_CodeSourcery_Toolchain for download and installation information.

Note: All components are modified to work with the Linux PSP GIT (Linux kernel version 2.6.32)

Default filesystem changes

The default filesystem provided by the DVSDK release is changed from DVSDK 2.X to DVSDK 3.10. The DVSDK 2.X release used to have Monta Vista based file system. The DVSDK 3.10 does not include the Monta Vista filesystem. One of the visible difference is this new file system uses ash shell. So the existing bash shell scripts might required to be ported to ash scripts.

DSPLink directory structure change (Makefile change required if upgrading from DVSDK 2.xx releases)

The DSPLink applications that support multiple platforms and multiple DVSDK versions rely on RTSC to pull in DSPLink for the appropriate platforms and DVSDK versions. This was previously done by adding "$(LINK_INSTALL_DIR)/packages" to the XDCPATH during the build. Starting with DVSDK 3.10, the "$(LINK_INSTALL_DIR)/packages" is no longer the XDC root for DSPLink. The "packages" directory has been removed, so the XDC root is "$(LINK_INSTALL_DIR)".

Change required in application makefiles:

The variable XDCPATH should have $(LINK_INSTALL_DIR) instead of $(LINK_INSTALL_DIR)/packages. 

(Where LINK_INSTALL_DIR variable points to root of DSPLink package, for eg:, <DVSDK installation directory>/dsplink_linux_1_64).

All build systems using previous DVSDK versions must now be updated to handle this directory change. Furthermore, applications that support multiple platforms and multiple DVSDK versions must now implement the necessary infrastructure to handle it both ways.

DVSDK make infrastructure changes

Following are the DVSDK makefile changes (Please type make help to see the details)

DMAI changes

DVSDK Demo changes

DM365/DM355 DVSDK demo file system image

The DVSDK demo system image is not provided as part of DVSDK 3.10 download. Please follow the DM3xx restore procedure to create demo filesystem image and write it to NAND.

E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article Community Linux DVEVM Software Migration Guide here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox