Using OMAPL138 Combos on OMAPL137

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Contents

Overview

OMAPL137 and OMAPL138 share the same DSP memory thus we are able to rebuild the OMAPL138 DSP Codec Combo for OMAPL137. The OMAPL138 DSP Codec Combo is available for download from here. In addition, you will need the OMAPL137 SDK and associated TI Tools (TI Code Generation Tools for C6000, TI DSP BIOS, XDCTools.

Rebuilding for OMAPL137

SDK_INSTALL_DIR = $(HOME)/OMAPL137_arm_1_00_00_11
XDC_INSTALL_DIR = $(HOME)/xdctools_3_10_05_61
BIOS_INSTALL_DIR = $(HOME)/bios_5_33_05
LINUXKERNEL_INSTALL_DIR =$(HOME)/workdir/lsp/ti-davinci/linux-2.6.18_pro500/
CE_INSTALL_DIR = $(SDK_INSTALL_DIR)/codec_engine_2_23_01
FC_INSTALL_DIR = $(SDK_INSTALL_DIR)/framework_components_2_23_01
LINK_INSTALL_DIR = $(SDK_INSTALL_DIR)/dsplink-1_61_03-prebuilt
XDAIS_INSTALL_DIR = $(SDK_INSTALL_DIR)/xdais_6_23
CMEM_INSTALL_DIR = $(SDK_INSTALL_DIR)/linuxutils_2_23_01
BIOSUTILS_INSTALL_DIR = $(SDK_INSTALL_DIR)/biosutils_1_02_01
CODEC_INSTALL_DIR = $(SDK_INSTALL_DIR)/cs1omapl138_1_00_00
EDMA3_LLD_ROOT = $(SDK_INSTALL_DIR)/edma3_lld_1_07_00_01
MVTOOL_DIR=$(HOME)/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le
MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-
CODEGEN_INSTALL_DIR=$(HOME)/cg6x_6_1_9
$ cd $(HOME)/OMAPL137_arm_1_00_00_11/cs1omapl138_1_00_00
$ sed -i 's/L138/L137/g' config.bld
$ sed -i 's/L138/L137/g' packages/ti/sdo/server/cs/package.bld
$ sed -i 's/L138/L137/g' packages/ti/sdo/server/cs/server.tcf
$ cd $(HOME)/OMAPL137_arm_1_00_00_11/cs1omapl138_1_00_00
$ make clean
$ make all

Application

You can test this server using DMAI 1.27.

If you use the default memory map, you can use mem=32MB in the OMAPL137 bootargs with the CMEM pools below.

Example loadmodules.sh for the default cs1omapl138 memory map

# CMEM pools
insmod cmemk.ko phys_start=0xC2200000 phys_end=0xC3200000 pools=1x3600000,1x1429440,5x1048576,5x829440,1x256000,8x131072,20x4096 allowOverlap=1
 
# insert DSP/BIOS Link driver
insmod dsplinkk.ko
 
# make /dev/dsplink
rm -f /dev/dsplink
mknod /dev/dsplink c `awk "\\$2==\"dsplink\" {print \\$1}" /proc/devices` 0
E2e.jpg For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article Using OMAPL138 Combos on OMAPL137 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