TI达芬奇专题-配置DVEVM DSPLINK环境

Softwares/tools already in dvevm

Dsplink 1.30.07

Xdctools 1.20

Xdais 5.00

CGTools : There are cgtools for arm and for dsp separately. For arm, it is arm_v5t_…gcc. For dsp, it is c64x, etc. Please NOTE that arm cgtools are already in montavista linux directory. You have to install dsp cgtools by yourself.

Rebuild the DSPLink

Follow the instructions in UserGuide.pdf in the directory of DSPLink.

  1. Modify the davinci_mvlpro4.0.mk file
    You need the include directory in the target file system to build the dsplink. You should indicate the path by OSINC_TARGET. The default value of this variable is /opt/montavista/pro/devkit/arm/v5t_le/target/usr/include.
    The full makefile is in the same dir with this doc.
  2. set the DSPLINK environment variable
  3. run dsplinkcfg.pl by “perl dsplinkcfg.pl”, the config file generated is in the same directory of this doc. (CURRENTCFG.MK)
  4. enter gpp/src, and “make release”

 

Build the DSP side dsplink

ENVIRONMENT:

CGTools 6.1.13

DSP/BIOS 5.21.03.12

  1. install DSP/BIOS 5.21.03.12
  2. modify c64xxp_5.xx_linux.mk. The according .mk file is in the same directory with this doc.
  3. make

File: config_file_dsplink_build (c64xxp_5.xx_linux.mk, CURRENTCFG.MK, davinci_mvlpro4.0.mk)

Troubleshooting

When: “make release” in dsp/src/sample

Phenomenon: /bin/sh: Illegal option –p

Explanation:

For certain reasons, Ubuntu links the /bin/sh to /bin/dash. But dash does not support –p option.

Solution:

sudo mv /bin/sh /bin/sh.orginalsudo ln –s /bin/bash /bin/sh

 

When: “make release” in dsp/src/test

Phenomenon:

…make -f Makefile -C perfEval_dataxfer   dirincmake: Entering an unknown directorymake: *** perfEval_dataxfer: No such file or directory.  Stop.make: Leaving an unknown directorymake[1]: *** [perfEval_dataxfer.dirinc] Error 2make[1]: Leaving directory `/home/manio/dvevm_1_00_00_32/dvevm_1_00_00_32/dsplink_1_30_07ce/packages/dsplink_dm420/dsp/src/test/CHNL’make: *** [CHNL.dirinc] Error 2

Explanation:

There is not a dir named perfEval_dataxfer in DHNL. So, of course, the make system can not find it. Actually, there is a perfeval_dataxfer.

Solution:

Change DIR file in DHNL:

perfEval_dataxfer -> perfeval_dataxfer

When: “make release” in dsp/src/test

Phenomenon:

…js: “./peval_msgqxfer.tcf”, line 55: Can’t set field…

Explanation:

I DO NOT KNOW.

Solution:

perl dsplinkcfg.pl

and disable the Probe function.

发表评论

电子邮件地址不会被公开。 必填项已用*标注