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.

dm6446 demo build failure -- xdc.PACKAGE_NOT_FOUND

Other Parts Discussed in Thread: OMAP3530

I reinstalled the dm6446 files, and tried a rebuild and I get the following error.  Does anybody else have this issue?  any ideas?

 

 

 

======== Building decode ========

Configuring application using decode.cfg

 

configuring decode.x470MV from package/cfg/decode_x470MV.cfg ...

Info: Configuring engine named 'decode' from the info file for DSP server './decodeCombo.x64P',

          located in package 'ti.sdo.servers.decode':

      Target app will look for the DSP server image 'decodeCombo.x64P' in its current directory.

      Adding codec 'h264dec' (ti.sdo.codecs.h264dec.ce.H264DEC), scratch groupId=0

      Adding codec 'mpeg2dec' (ti.sdo.codecs.mpeg2dec.ce.MPEG2DEC), scratch groupId=0

      Adding codec 'mpeg4dec' (ti.sdo.codecs.mpeg4dec.ce.MPEG4DEC), scratch groupId=0

      Adding codec 'aachedec' (ti.sdo.codecs.aachedec.ce.AACHEDEC), scratch groupId=1

      Adding codec 'g711dec' (ti.sdo.codecs.g711dec.ce.G711DEC), scratch groupId=1

Info: Reading DSP memory map from the info file for DSP server './decodeCombo.x64P',

      located in package 'ti.sdo.servers.decode':

js: "/home/dm6446/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/xdc.tci", line 299: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: /home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/packages/ti/sdo/simplewidget/package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.sdo.simplewidget' is completely built.

    "/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode/decode.cfg", line 36

    "./package/cfg/decode_x470MV.cfg", line 479

    "./package/cfg/decode_x470MV.cfg", line 434

gmake: *** [package/cfg/decode_x470MV.c] Error 1

js: "/home/dm6446/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/tools/Cmdr.xs", line 40: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

make[2]: *** [decode_config/linker.cmd] Error 1

make[2]: Leaving directory `/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode'

make[1]: *** [decode] Error 2

make[1]: Leaving directory `/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446'

make: *** [demos] Error 2

dm6446@lola:~/dvsdk_2_00_00_22$

 

 

=======================================================================================================================

 

dm6446@lola:~/dvsdk_2_00_00_22$

dm6446@lola:~/dvsdk_2_00_00_22$ make check

Checking that components in Rules.make are found:

 

Done checking! If no warning messages above, all components are found..

 

dm6446@lola:~/dvsdk_2_00_00_22$

 

==========================================================================================================================

dm6446@lola:~/dvsdk_2_00_00_22$ cat Rules.make

# This make variable must be set before the DVSDK components can be built.

PLATFORM=dm6446

ifndef PLATFORM

   $(error PLATFORM must be set in Rules.make to dm355, dm6467 or dm6446 before building)

endif

 

 

 

# The installation directory of the DVSDK

DVSDK_INSTALL_DIR=$(HOME)/dvsdk_2_00_00_22

 

# For backwards compatibility

DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)

 

# Where the DVSDK demos are installed

DEMO_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvsdk_demos_2_00_00_07

 

# Where the Digital Video Test Bench is installed

DVTB_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvtb_4_00_08

 

# Where the Davinci Multimedia Application Interface is installed

DMAI_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dmai_1_20_00_06

 

# Where the Codec Engine package is installed.

CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec_engine_2_23_01

 

# Where the XDAIS package is installed.

XDAIS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_23

 

# Where the DSP Link package is installed.

LINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dsplink-1_61_03-prebuilt

 

# Where the CMEM (contiguous memory allocator) package is installed.

CMEM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/linuxutils_2_23_01

 

# Where the EDMA3 Low Level Driver is installed.

EDMA3_LLD_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/edma3_lld_1_05_00

 

ifeq ($(PLATFORM),dm6467)

   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm6467_dvsdk_combos_2_05

endif

ifeq ($(PLATFORM),dm6446)

   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm6446_dvsdk_combos_2_05

endif

ifeq ($(PLATFORM),dm355)

   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm355_codecs_1_13_000

endif

 

# Where the RTSC tools package is installed.

XDC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdctools_3_10_05_61

 

# Where Framework Components product is installed

FC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework_components_2_23_01

 

# Where DSP/BIOS is installed

BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/bios_5_33_03

 

# BIOS Utilities

BIOSUTILS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/biosutils_1_01_00

 

# Additional RTSC package repositories to be picked up by components.

USER_XDC_PATH=$(CE_INSTALL_DIR)/examples

#above works around DMAI path bug

 

# Where the TI c6x code generation tools are installed

CODEGEN_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cg6x_6_0_21

 

# Platform Support Package installation directory.

PSP_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/PSP_02_00_00_140

 

# The directory that points to your kernel source directory.

LINUXKERNEL_INSTALL_DIR=$(HOME)/workdir/lsp/ti-davinci/linux-2.6.18_pro500

 

# The prefix to be added before the GNU compiler tools (optionally including

# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".

MVTOOL_DIR=/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le

MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-

 

# Where to copy the resulting executables and data to (when executing 'make

# install') in a proper file structure. This EXEC_DIR should either be visible

# from the target, or you will have to copy this (whole) directory onto the

# target filesystem.

EXEC_DIR=$(DVSDK_INSTALL_DIR)/install/$(PLATFORM)

#EXEC_DIR=$(HOME)/workdir/filesys  #!!!

 

dm6446@lola:~/dvsdk_2_00_00_22$

 

=======================================================================================================================

 

dm6446@lola:~/dvsdk_2_00_00_22$ ls -ls

total 1456

   4 drwxrwxr-x  2 dm6446 dm6446    4096 2009-10-29 10:58 bin

   4 drwxr-xr-x  5 dm6446 dm6446    4096 2009-10-29 11:34 bios_5_33_03

   4 drwxrwxr-x  4 dm6446 dm6446    4096 2009-10-29 10:58 biosutils_1_01_00

   4 drwxrwxr-x  5 dm6446 dm6446    4096 2009-10-29 10:58 ceutils_1_06

   4 drwxr-xr-x  6 dm6446 dm6446    4096 2009-10-29 11:45 cg6x_6_0_21

   4 drwxrwxr-x  7 dm6446 dm6446    4096 2009-10-29 10:58 cg_xml_2_12_00

   4 drwxrwxr-x  3 dm6446 dm6446    4096 2009-10-29 11:50 clips

   4 drwxrwxr-x  8 dm6446 dm6446    4096 2009-10-29 11:03 codec_engine_2_23_01

  28 -rw-r--r--  1 dm6446 dm6446   27811 2009-05-26 18:05 dm355_2_00_00_22_release_notes.html

   4 drwxrwxr-x  6 dm6446 dm6446    4096 2009-10-29 11:04 dm355_codecs_1_13_000

  28 -rw-r--r--  1 dm6446 dm6446   24769 2009-05-26 18:06 dm6446_2_00_00_22_release_notes.html

   4 drwxr-xr-x  3 dm6446 dm6446    4096 2009-10-29 11:48 dm6446_dvsdk_combos_2_05

  24 -rw-r--r--  1 dm6446 dm6446   22931 2009-05-26 18:06 dm6467_2_00_00_22_release_notes.html

   4 drwxrwxr-x  4 dm6446 dm6446    4096 2009-10-29 11:04 dmai_1_20_00_06

   4 drwxrwxr-x  3 dm6446 dm6446    4096 2009-10-29 11:06 docs

   4 drwxrwxr-x  3 dm6446 dm6446    4096 2009-10-29 11:06 dsplink-1_61_03-prebuilt

   4 drwxrwxr-x  7 dm6446 dm6446    4096 2009-10-29 16:13 dvsdk_demos_2_00_00_07

   4 drwxrwxr-x  3 dm6446 dm6446    4096 2009-10-29 11:09 dvtb_4_00_08

   4 drwxrwxr-x  6 dm6446 dm6446    4096 2009-10-29 11:09 edma3_lld_1_05_00

   4 drwxrwxr-x  5 dm6446 dm6446    4096 2009-10-29 11:10 examples

   4 drwxrwxr-x  9 dm6446 dm6446    4096 2009-10-29 11:11 framework_components_2_23_01

   4 drwxr-xr-x  3 dm6446 dm6446    4096 2009-10-29 15:27 install

   4 drwxrwxr-x  5 dm6446 dm6446    4096 2009-10-29 11:11 kernel_binaries

   4 drwxr-xr-x  2 dm6446 dm6446    4096 2009-10-29 11:49 licenses

   4 drwxrwxr-x  7 dm6446 dm6446    4096 2009-10-29 11:11 linuxutils_2_23_01

  20 -rw-r--r--  1 dm6446 dm6446   16643 2009-05-26 12:35 Makefile

   4 drwxrwxr-x  2 dm6446 dm6446    4096 2009-10-29 11:11 mapdmaq

   4 drwxrwxr-x  2 dm6446 dm6446    4096 2009-10-29 11:11 mapdmaq-hd

   4 drwxrwxr-x  6 dm6446 dm6446    4096 2009-10-29 11:12 PSP_02_00_00_140

   4 drwxrwxr-x  2 dm6446 dm6446    4096 2009-10-29 11:12 quilt

   4 -rw-r--r--  1 dm6446 dm6446    2978 2009-10-29 17:00 Rules.make

   4 -rw-r--r--  1 dm6446 dm6446    2937 2009-10-29 16:16 Rules.make~

1236 -rwxr-xr-x  1 dm6446 dm6446 1259634 2009-10-29 16:29 uninstall

   4 drwxrwxr-x  9 dm6446 dm6446    4096 2009-10-29 11:12 xdais_6_23

   4 drwxr-xr-x 11 dm6446 dm6446    4096 2009-10-29 11:29 xdctools_3_10_05_61

dm6446@lola:~/dvsdk_2_00_00_22$

 

  • mmm, did you configure kernel for DM6446 and rebuild prior to trying to build DVSDK tree?  I believe the Getting Started Guide suggests this.  I am using this DVSDK version as well and had no problems re-building it that helps give you some comfort that it is likely a minor step missing.

  • I still get the following error.  how do I

                 Ensure that the package 'ti.sdo.simplewidget' is completely built.

     

    ?

     

    What is the root of the problem?

     

    ======== Building decode ========
    Configuring application using decode.cfg

    configuring decode.x470MV from package/cfg/decode_x470MV.cfg ...
    Info: Configuring engine named 'decode' from the info file for DSP server './decodeCombo.x64P',
              located in package 'ti.sdo.servers.decode':
          Target app will look for the DSP server image 'decodeCombo.x64P' in its current directory.
          Adding codec 'h264dec' (ti.sdo.codecs.h264dec.ce.H264DEC), scratch groupId=0
          Adding codec 'mpeg2dec' (ti.sdo.codecs.mpeg2dec.ce.MPEG2DEC), scratch groupId=0
          Adding codec 'mpeg4dec' (ti.sdo.codecs.mpeg4dec.ce.MPEG4DEC), scratch groupId=0
          Adding codec 'aachedec' (ti.sdo.codecs.aachedec.ce.AACHEDEC), scratch groupId=1
          Adding codec 'g711dec' (ti.sdo.codecs.g711dec.ce.G711DEC), scratch groupId=1
    Info: Reading DSP memory map from the info file for DSP server './decodeCombo.x64P',
          located in package 'ti.sdo.servers.decode':
    js: "/home/dm6446/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/xdc.tci", line 299: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: /home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/packages/ti/sdo/simplewidget/package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.sdo.simplewidget' is completely built.
        "/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode/decode.cfg", line 36
        "./package/cfg/decode_x470MV.cfg", line 479
        "./package/cfg/decode_x470MV.cfg", line 434
    gmake: *** [package/cfg/decode_x470MV.c] Error 1
    js: "/home/dm6446/dvsdk_2_00_00_22/xdctools_3_10_05_61/packages/xdc/tools/Cmdr.xs", line 40: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make[2]: *** [decode_config/linker.cmd] Error 1
    make[2]: Target `all' not remade because of errors.
    make[1]: *** [decode] Error 2
    make[2]: Leaving directory `/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/decode'

    Making all in subdirectory encode...
    make[2]: Entering directory `/home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/dm6446/encode'

  • simple widget package should be rebuilt as a result of performing

     > make clean

    > make

    in root DVSDK directory.  Also, the one thing I noticed from your log above is that you seem to have a newer version of xdctools that came with dvsdk_2_00_00_22 installation (xdctools_3_10_03); I am not sure if this is a big deal or not, but something that may be worth investigating...

  • I went back to xdctools_3_10_03 and got the same error.  any other ideas?

  • I am using dvsdk_2_00_00_22 and am able to rebuild the demos fine when following instructions on Getting Started Guide.  Are you sure you are running make from root dvsdk directory (which would take care of building simplewidget) and not the demo directory?  If so, then you may want to r-install dvsdk as it appears these is stuff missing from your source tree.

  • We ran 'make' from  the directory with the missing file, and it built whatever was needed.  A full make from the dvsdk_xxx runs to completion now.

     

      516  cd /home/dm6446/dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/packages/ti/sdo/simplewidget
      517  ls
      518  ls package.xdc
      519  make

     

    Brett

  • this is great news!

  • Hi all,

     

    I am facing the same issue posted above. my log is below which is similar to the one posted earlier.

    ======== Building decode ========
    Configuring application using decode.cfg

    configuring decode.xv5T from package/cfg/decode_xv5T.cfg ...
    Info: Configuring engine named 'decode' from the info file for DSP server './bin/cs.x64P',
    located in package 'ti.sdo.server.cs':
    Target app will look for the DSP server image 'cs.x64P' in its current directory.
    Adding codec 'aachedec' (ti.sdo.codecs.aachedec.ce.AACHEDEC), scratch groupId=1
    Adding codec 'g711dec' (ti.sdo.codecs.g711dec.ce.G711DEC), scratch groupId=1
    Adding codec 'g711enc' (ti.sdo.codecs.g711enc.ce.G711ENC), scratch groupId=1
    Adding codec 'h264dec' (ti.sdo.codecs.h264dec.ce.H264DEC), scratch groupId=0
    Adding codec 'h264enc' (ti.sdo.codecs.h264enc.ce.H264ENC), scratch groupId=0
    Adding codec 'jpegdec' (ti.sdo.codecs.jpegdec.ce.JPEGDEC), scratch groupId=0
    Adding codec 'jpegenc' (ti.sdo.codecs.jpegenc.ce.JPEGENC), scratch groupId=0
    Adding codec 'mpeg2dec' (ti.sdo.codecs.mpeg2dec.ce.MPEG2DEC), scratch groupId=0
    Adding codec 'mpeg4dec' (ti.sdo.codecs.mpeg4dec.ce.MPEG4DEC), scratch groupId=0
    Adding codec 'mpeg4enc' (ti.sdo.codecs.mpeg4enc.ce.MPEG4ENC), scratch groupId=0
    Adding codec 'deinterlacer' (ti.sdo.codecs.deinterlacer.ce.I2P), scratch groupId=0
    Info: Reading DSP memory map from the info file for DSP server './bin/cs.x64P',
    located in package 'ti.sdo.server.cs':
    js: "/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dvsdk_demos_3_01_00_13/omap3530/decode/decode.cfg", line 33: XDCException: xdc.PACKAGE_NOT_FOUND: /home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dvsdk_demos_3_01_00_13/packages/ti/sdo/simplewidget/package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.sdo.simplewidget' is completely built.
    "./package/cfg/decode_xv5T.cfg", line 474
    "./package/cfg/decode_xv5T.cfg", line 429
    gmake: *** [package/cfg/decode_xv5T.c] Error 1
    js: "/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    make[3]: *** [decode_config/linker.cmd] Error 1
    make[3]: Leaving directory `/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dvsdk_demos_3_01_00_13/omap3530/decode'
    make[2]: *** [decode] Error 2
    make[2]: Leaving directory `/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dvsdk_demos_3_01_00_13/omap3530'
    make[1]: *** [omap3530] Error 2
    make[1]: Leaving directory `/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dvsdk_demos_3_01_00_13'
    make: *** [demos] Error 2

     

    I tired the solution give above. there I get the following error.

    thalib@SilentStorm:$cd packages/ti/sdo/simplewidget/
    thalib@SilentStorm:$make

    Building package interface for simplewidget..
    making package.mak (because of package.bld) ...
    js: "/home/thalib/project/dsp_proj/dvsdk_3_01_00_10/xdctools_3_16_01_27/packages/xdc/xdc.tci", line 546: XDCException: xdc.bld.ROOTDIR_NOT_SET: 'rootDir' has not been set for the target gnu.targets.arm.GCArmv5T; define 'rootDir' in /home/thalib/project/dsp_proj/dvsdk_3_01_00_10/dmai_2_05_00_12/packages/config.bld
    all files complete.
    thalib@SilentStorm:$

     

    From the error message I tried to change the rootDir variable. but didn't work.

     

    Could some one help.

    Regards,

    HM Thalib.