This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[DM 368] DVSDK Installation

Good morning,

I'm trying to put up a development enviroment for a DM 368 based videocamera but I have some problems so I need some help.

Here I write a short list of operations I have made :

First of all I installed this:

apt-get install build-essential subversion sed coreutils texinfo docbook-utils gawk help2man diffstat file texi2html bison flex gettext libglib2.0-dev gperf autoconf automake libtool uboot-mkimage mtd-utils ncurses-dev fakeroot

These are the files I have :

dvsdk_dm365_setuplinux_2_10_01_18.bin
mvl_5_0_0801921_demo_sys_setuplinux.bin
mvl_5_0_0_demo_lsp_setuplinux_02_10_00_14.bin
xdctools_setuplinux_3_15_01_59.bin

and the four archives with the IPNC source.

ipnc_app_dm368_aewb_IMX036_2.60.01.tgz
ipnc_app_dm368_open_IMX036_2.60.01.tgz
ipnc_app_dm368_priv_IMX036_2.60.01.tgz
lsp_ipnc_dm368_IMX036_2.60.01.tgz

As root I made this. First of all installed Montavista :

./mvl_5_0_0801921_demo_sys_setuplinux.bin
./mvl_5_0_0_demo_lsp_setuplinux_02_10_00_14.bin

ed put them in /opt/mv_pro_5.0 .

After I found in /opt/mv_pro_5.0 this files

DaVinciLSP_02_10_00_14.tar.gz 
mvltools5_0_0801921_update.tar.gz

and I decompress it.

tar -zxf mvltools5_0_0801921_update.tar.gz

tar -zxf DaVinciLSP_02_10_00_14.tar.gz 

So they created the montavista directory in /opt/mv_pro_5.0.

After that I extracted dvsdk_2_10_01_18.tar.gz in

/home/sviluppo/Scrivania/DM368_2.6

created the ipnc folder into, put there the tar files

ipnc_app_dm368_aewb_IMX036_2.60.01.tgz
ipnc_app_dm368_open_IMX036_2.60.01.tgz
ipnc_app_dm368_priv_IMX036_2.60.01.tgz
lsp_ipnc_dm368_IMX036_2.60.01.tgz

and extracted.
I created also the tftp foulder as destination for my uImage and cramfs files and the target/filesys folder for the file system.

Now it gave :

root@debian:/home/sviluppo/Scrivania/DM368_2.6/ipnc/target/filesys# cp -a /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/*

root@debian:/home/sviluppo/Scrivania/DM368_2.6/ipnc/target/filesys# chown -R <user> opt

I edited the Rules.makefile in ipnc and created a path.sh file for give this command before compiling :

export PATH="/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin:/opt/mv_pro_5.0/montavista/pro/bin:/opt/mv_pro_5.0/montavista/common/bin:$PATH"

I also created a folder

/home/sviluppo/Scrivania/DM368_2.6/ipnc/target/filesys/ipnc/modules

because the first time I tried the system reported an error about that.

After all these operations I gave :

make all

I had this error :

making package.mak (because of package.bld) ...
generating interfaces for package alg_config (because package/package.xdc.inc is older than package.xdc) ...
configuring alg_server.x470MV from package/cfg/alg_server_x470MV.cfg ...
js: "/home/sviluppo/Scrivania/DM368_2.6/ipnc/av_capture/framework/alg/src/alg_server.cfg", line 79: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ittiam.codecs.aaclc_enc.ce' along the path: '/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/codec_engine_2_24/examples;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/codec_engine_2_24/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/xdais_6_24/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/framework_components_2_25_00_04/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/edma3_lld_1_06_00_01/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/linuxutils_2_24_03/packages;/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages;..;'. Ensure that the package path is set correctly.
    "./package/cfg/alg_server_x470MV.cfg", line 474
    "./package/cfg/alg_server_x470MV.cfg", line 429
gmake: *** [package/cfg/alg_server_x470MV.c] Error 1
js: "/home/sviluppo/Scrivania/DM368_2.6/dvsdk_2_10_01_18/xdctools_3_15_01_59/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
make[5]: *** [alg_config] Error 1
make[5]: Leaving directory `/home/sviluppo/Scrivania/DM368_2.6/ipnc/av_capture/framework/alg/src'
make[4]: *** [xdc] Error 2
make[4]: Leaving directory `/home/sviluppo/Scrivania/DM368_2.6/ipnc/av_capture/framework/alg/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/sviluppo/Scrivania/DM368_2.6/ipnc/av_capture/framework'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/sviluppo/Scrivania/DM368_2.6/ipnc'
make[1]: *** [exe] Error 2
make[1]: Leaving directory `/home/sviluppo/Scrivania/DM368_2.6/ipnc'
make: *** [all] Error 2

So, can anybody please help me? Thanks a lot in advice.