Alright, solved the problem by elaborate use of 'ln -s', to map my
codegen directory (cg6x_6_0_3) to the expected /c6000/codegen structure.
Two questions, remain, though:

1] What is the correct directory tree structure? I'm working on a
computer which already had everything installed on it, so I can't be
sure if the previous installer went wrong somewhere, or is it just that
the different components don't fit so well together. Also, editing the
xdcpaths.mak and user.bld didn't work as expected, and I had to resort
to the 'ln -s' method.

 

2] A different problem on my journey to run a Codec Engine on a custom
card: now I can't seem to be able to build the DSP server. Error
message:

 

js: "/opt/dvevm_1_10/xdctools_1_21/packages/xdc/cfg/cfg.js", line 143:
exception from uncaught JavaScript throw: Error: incompatible use of the
target 'ti.targets.C64P', imported version [], ti.targets.rts6000 was
built using version [1,0,5.2,0,4], ti.sdo.ce.trace was built using
version [1,0,6.0,3], ti.sdo.ce.osal.alg was built using version
[1,0,6.0,3], ti.bios.utils was built using version [1,0,6.0,3], ti.bios
was built using version [1,0,6.0,3], ti.rtdx was built using version
[1,0,6.0,3], ti.sdo.ce.osal was built using version [1,0,6.0,3],
ti.sdo.fc.dskt2 was built using version [1,0,6.0,3], ti.sdo.fc.dman3 was
built using version [1,0,6.0,3], ti.sdo.fc.acpy3 was built using version
[1,0,6.0,3], ti.sdo.ce.bioslog was built using version [1,0,6.0,3],
ti.sdo.ce.node was built using version [1,0,6.0,3], ti.sdo.ce was built
using version [1,0,6.0,3], ti.sdo.ce.video was built using version
[1,0,6.0,3], codecs.viddec_copy was built using version [1,0,6.0,3],
codecs.videnc_copy was built using version [1,0,6.0,3]
gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Error 1
gmake: *** Deleting file `package/cfg/video_copy_x64Pcfg_c.c'
gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Deleting file
`package/cfg/video_copy_x64Pcfg.cmd'
gmake: *** [package/cfg/video_copy_x64Pcfg_c.c] Deleting file
`package/cfg/video_copy_x64Pcfg.s62'
make: *** [all] Error 2

 

Regards,

Avishai.

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Avishai Hendel
Sent: Monday, December 25, 2006 3:06 PM
To: [email protected]
Subject: problems during DSPLINK build

 

Hello all,

I am trying to follow the instructions given to build a new dsplink
module, suitable to my custom card (using less memory than 256M). The
procedure is explained in
http://www.mail-archive.com/[EMAIL PROTECTED]
om/msg00876.html.

I can compile the gpp side with no problems, however when I try to 'make
-C dsp/src' I fail with the following error message:

 

 

"echo Compiling failure.c...
Compiling failure.c...
/opt/ti-tools/c6000/cgtools/bin/cl6x -g -d"_DEBUG" --no_compress
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/inc
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/inc/DspBio
s
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/inc/DspBio
s/Davinci
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/src/base/g
en
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/src/base/g
en/DspBios
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/src/base/g
en/DspBios/Davinci -I/opt/ti-tools/bios/packages/ti/bios/include
-I/opt/ti-tools/c6000/cgtools/include
-I/opt/ti-tools/bios/packages/ti/rtdx/include/c6000
-I/opt/ti-tools/bios/packages/ti/psl/include
-I/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/BUILD/INCL
UDE -q -pdr -pdv -pden -ml3 -mv6400+ --disable:sploop
-d"MSGQ_COMPONENT" -d"MSGQ_ZCPY_LINK" -d"ZCPY_LINK"
-d"DAVINCI_EVMVARIANT"
-fr"/opt/dvevm_1_10/dsplink_1_30_08_02_64M/packages/dsplink/dsp/BUILD/GE
N/OBJ/DEBUG" failure.c
/bin/sh: line 1: /opt/ti-tools/c6000/cgtools/bin/cl6x: No such file or
directorymake[3]: *** [failure.c.deb] Error 127"

 

Obviously something went wrong with the paths, as I don't have a
/opt/ti-tools directory. My DSP tools are found in
/opt/dvevm_1_10/cg6x_6_0_3. Here are the paths as defined in
$(DSPLINK)/make/DspBios/c64xx_5.xx_linux.mk:

 

#
------------------------------------------------------------------------
----

#   Base directory for the DSP OS
#
------------------------------------------------------------------------
----

#BASE_INSTALL    := /opt/ti-tools
BASE_INSTALL    := /opt/dvevm_1_10
#BASE_SABIOS     := $(BASE_INSTALL)/bios
BASE_SABIOS     := $(BASE_INSTALL)/bios_5_30
BASE_BUILDOS    := $(BASE_SABIOS)/packages/ti/bios

#
------------------------------------------------------------------------
----

#   Base directory for the XDC tools
#
------------------------------------------------------------------------
----

XDCTOOLS_DIR    := $(BASE_SABIOS)/xdctools

#
------------------------------------------------------------------------
----

#   Base for code generation tools - compiler, linker, archiver etc.
#
------------------------------------------------------------------------
----

#BASE_CGTOOLS    := $(BASE_INSTALL)/c6000/cgtools
BASE_CGTOOLS    := $(BASE_INSTALL)/cg6x_6_0_3
BASE_CGTOOLSBIN := $(BASE_CGTOOLS)/bin

#
------------------------------------------------------------------------
----

#   Base for TCONF, platform files and dependent components
#
------------------------------------------------------------------------
----

BASE_TCONF      := $(XDCTOOLS_DIR)
BASE_PLATFORMS  := $(BASE_SABIOS)/packages
BASE_CSL        := $(BASE_INSTALL)/c6000/csl
BASE_PSL        := $(BASE_SABIOS)/packages/ti/psl
BASE_RTDX       := $(BASE_SABIOS)/packages/ti/rtdx

 

Thanks for your help,

Avishai.

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to