Hello Every one, I am newbie on DM6446 EVM. I am currently working on Codec Engine examples and trying to build it. I have downloaded DVEVM 1_30_01_41 version from ti website.
I have gone thru the build instructions.html and modified the two files in the
example directory.
"xdcpaths..mak" and "user.bld". I have attached these two files.
When I do "gmake clean" in viddec_copy directory, I get this error message
I have double checked the path, but i still get error message.
----------
[sand...@davinci codecs]$ gmake clean
gmake -C viddec1_copy clean
gmake[1]: Entering directory `/home/sandeep/workdir_4.0.1/
filesys/opt/ce_examples/ti/sdo/ce/examples/codecs/viddec1_copy'
/home/sandeep/dvsdk_1_30_01_41/xdc_3_00_02 /xdc
XDCPATH="/home/sandeep/workdir_4.0.1/filesys/opt/ce_examples/ti/sdo/ce/examples/codecs/viddec1_copy/../../../../../..;/home/sandeep/dvsdk_1_30_01_41/codec_engine_2_00_01
/packages;/home/sandeep/dvsdk_1_30_01_41/codec_engine_2_00_01
/cetools/packages" \
XDCOPTIONS=v clean -PD .
/bin/sh: /home/sandeep/dvsdk_1_30_01_41/xdc_3_00_02: is a directory
gmake[1]: *** [clean] Error 126
gmake[1]: Leaving directory
`/home/sandeep/workdir_4.0.1/filesys/opt/ce_examples/ti/sdo/ce/examples/codecs/viddec1_copy'
gmake: *** [clean] Error 2
-------------------------------
Please suggest where I am wrong.
Best Wishes,
Sandeep.Yedire
Many Thanks,
Sandeep.Yedire
Cricket on your mind? Visit the ultimate cricket website. Enter
http://beta.cricket.yahoo.com
user.bld
Description: Binary data
#
# ======== xdcpaths.mak ========
# definition of XDC paths and commands
#
# This makefile constructs the "search path" for the XDC tools where it finds
# numerous components and packages needed to build Codec Engine examples and
# programs.
#
# USER NOTE:
# 1) you must specify various <component>_INSTALL_DIRs directores below to
# reflect your installation, where <component> is CE for Codec Engine,
# BIOS for DSP/BIOS, etc.
# 2) you can remove some of the devices from the "DEVICES" list and/or remove
# some of the types of binaries from the "PROGRAMS" list to reduce
# the build time (and possibly avoid checking for presence of a component
# you don't need)
# (Optional) Remove from this list the devices you're not interested in building
DEVICES := DM6446 ## DM355 DM6437 DM648 #Removed from list_Jun 10, 2009,
Sandeep.
# (Optional) Remove from the list the types of programs you're not intersted in
# building:
# APP_CLIENT -- Arm client for codecs running on the DSP, on dual-CPU systems
# DSP_SERVER -- DSP server with the codecs, running on the DSP, on dual-CPUs
# APP_LOCAL -- Client+codecs in a single program, whether Arm only or DSP only
PROGRAMS := APP_CLIENT #DSP_SERVER APP_LOCAL
# (Mandatory) Specify where various components are installed.
# What you need depends on what device(s) you're building for, what type(s) of
# programs you are building for, and whether your Codec Engine distribution
# is a "big" one that contains all the minor components in its "cetools"
# directory. The legend:
# CE - Codec Engine (needed for Arm and for DSP)
# XDC - XDC tools (Arm and DSP)
# BIOS - DSP/BIOS (DSP only)
# XDAIS - XDAIS header files (Arm and DSP)
# FC - Framework components, various resource managers (ARM and DSP)
# CMEM - Continuous memory manager (Arm only)
# DSPLINK - Arm<->DSP communication software (Arm + DSP)
#
# you can ommit directory specifications for the components you think you don't
# need (will be warned if you do, based on your DEVICES + PROGRAMS selection
# above).
CE_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/codec_engine_2_00_01
XDC_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/xdc_3_00_02
BIOS_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/bios_5_31_08
# no need to specify the installation directories below if your CE installation
# has cetools/ directory on top
USE_CETOOLS_IF_EXISTS := 1
XDAIS_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/xdias_6_00_01
DSPLINK_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/dsplink-140-05p1
CMEM_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/cmem_2_00_01
FC_INSTALL_DIR
:=/home/sandeep/dvsdk_1_30_01_41/framework_components_2_00_01
BIOSUTILS_INSTALL_DIR :=/home/sandeep/dvsdk_1_30_01_41/biosutils_1_00_02
# (Mandatory) specify correct compiler paths and names for the architectures
# you'll be building for:
# compiler path and name for Montavista Arm 9 toolchain. NOTE: make sure the
# directory you specify has a "bin" subdirectory
CGTOOLS_MVARM9 =/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le
CC_MVARM9 =bin/arm_v5t_le-gcc
# compiler path and name for TI C64x toolchain. NOTE: make sure the
# directory you specify has a "bin" subdirectory
CGTOOLS_C64X =/home/sandeep/dvsdk_1_30_01_41/cg6x_6_0_15
CC_C64X =bin/cl6x
# -----------------------------------------------------------------------------
# determine which components are necessary based on DEVICES and PROGRAMS
REQUIRE_CE := 1
REQUIRE_XDC := 1
REQUIRE_XDAIS := 1
REQUIRE_FC := 1
ifneq (,$(findstring DM6446,$(DEVICES)))
ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
REQUIRE_LINK := 1
REQUIRE_CMEM := 1
endif
ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
REQUIRE_LINK := 1
REQUIRE_BIOS := 1
endif
endif
ifneq (,$(findstring DM355,$(DEVICES)))
ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
REQUIRE_CMEM := 1
endif
endif
ifneq (,$(findstring DM6437,$(DEVICES)))
ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
REQUIRE_BIOS := 1
endif
endif
ifneq (,$(findstring DM648,$(DEVICES)))
ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
REQUIRE_BIOS := 1
endif
endif
# Build the XDC path from the necessary components, verifying along the way
# that the required compoments are present
XDC_PATH :=
ERRMSG = which is invalid (could not find file "$(TEST_FILE)"). Set this in
<codec engine examples>/xdcpaths.mak! See the build documentation to correct
this error.
# CE_INSTALL_DIR is the location of your Codec Engine.
ifeq ($(REQUIRE_CE), 1)
TEST_FILE := $(CE_INSTALL_DIR)/packages/ti/sdo/ce/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error CE_INSTALL_DIR is set to "$(CE_INSTALL_DIR)", $(ERRMSG))
endif
XDC_PATH := $(CE_INSTALL_DIR)/packages
endif
# if the CE distribution has "cetools/", we have components in the "else"
branch available inside "cetools"
ifeq ($(USE_CETOOLS_IF_EXISTS), 1)
XDC_PATH := $(XDC_PATH);$(CE_INSTALL_DIR)/cetools/packages
else
# XDAIS_INSTALL_DIR is the location of your XDAIS distribution
ifeq ($(REQUIRE_XDAIS), 1)
TEST_FILE := $(XDAIS_INSTALL_DIR)/packages/ti/xdais/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error XDAIS_INSTALL_DIR is set to "$(XDAIS_INSTALL_DIR)",
$(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(XDAIS_INSTALL_DIR)/packages
endif
# DSPLINK_INSTALL_DIR is the location of your DSPLINK distribution
ifeq ($(REQUIRE_LINK), 1)
TEST_FILE := $(DSPLINK_INSTALL_DIR)/packages/dsplink/gpp/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error DSPLINK_INSTALL_DIR is set to "$(DSPLINK_INSTALL_DIR)",
$(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(DSPLINK_INSTALL_DIR)/packages
endif
# CMEM_INSTALL_DIR is the location of your CMEM distribution
ifeq ($(REQUIRE_CMEM), 1)
TEST_FILE :=
$(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error CMEM_INSTALL_DIR is set to "$(CMEM_INSTALL_DIR)", $(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(CMEM_INSTALL_DIR)/packages
endif
# FC_INSTALL_DIR is the location of your Frameworks Components distribution
ifeq ($(REQUIRE_FC), 1)
TEST_FILE := $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error FC_INSTALL_DIR is set to "$(FC_INSTALL_DIR)", $(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(FC_INSTALL_DIR)/packages
endif
# BIOSUTILS_INSTALL_DIR is the location of your BIOSUTILS distribution
ifeq ($(REQUIRE_BIOS), 1)
TEST_FILE := $(BIOSUTILS_INSTALL_DIR)/packages/ti/bios/utils/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error BIOSUTILS_INSTALL_DIR is set to "$(BIOSUTILS_INSTALL_DIR)",
$(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(BIOSUTILS_INSTALL_DIR)/packages
endif
endif
# BIOS_INSTALL_DIR is the location of your BIOS distribution
ifeq ($(REQUIRE_BIOS), 1)
TEST_FILE := $(BIOS_INSTALL_DIR)/packages/ti/bios/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error BIOS_INSTALL_DIR is set to "$(BIOS_INSTALL_DIR)", $(ERRMSG))
endif
XDC_PATH := $(XDC_PATH);$(BIOS_INSTALL_DIR)/packages
endif
# XDC_INSTALL_DIR is the location of your XDCTOOLS installation.
ifeq ($(REQUIRE_XDC), 1)
TEST_FILE := $(XDC_INSTALL_DIR)/packages/xdc/package.xdc
ifeq ($(wildcard $(TEST_FILE)),)
$(error XDC_INSTALL_DIR is set to "$(XDC_INSTALL_DIR)", $(ERRMSG))
endif
endif
# XDC_PATH is complete. Any other components you could add as
# XDC_PATH := <your component>/packages;$(XDC_PATH)
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
