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.

Problems building Framework Components Examples on DVSDK 3.10.00.19

Guru 10685 points

I'm having trouble building the Framework Components examples on DVSDK 3.10.00.19.

I have set up my Rules.make in the DVSDK root directory.

I have set up the Makefile in the FC examples directory.

I have set up the config.bld in the FC examples directory.

I type "make" and after a while it errors out with the following text:


======== .executables [ti/sdo/fc/rman/examples/dummyedma3] ========
#
# configuring dummy_edma3_dm6446.x64P from package/cfg/dummy_edma3_dm6446_x64P.cfg ...
/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/xs -Dxdc.path="^;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/fctools/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/;/home/user/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages;/home/user/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;../../../../../.." -Dxdc.root=/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27 -Dxdc.hostOS=Linux -Dconfig.importPath=".;../../../../../..;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/fctools/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/;/home/user/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages;/home/user/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;../../../../../..;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/etc ;/home/user/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages/ti/bios/include" -Dxdc.bld.targets="" -DTOOLS=   xdc.cfg dummy_edma3_dm6446.x64P package/cfg/dummy_edma3_dm6446_x64P.cfg package/cfg/dummy_edma3_dm6446_x64P
fastcopytest.cfg: chipType= 2430 ACPY3_INSTR=undefined
js: "./2430_bios/fastcopytest.cfg", line 78: XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.edma3.rm' along the path: '/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/examples/ti/sdo/fc/dman3/examples/fastcopy/./../../../../../..;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/fctools/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/;/home/user/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages;/home/user/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;../../../../../..;'. Ensure that the package path is set correctly.
    "./package/cfg/2430_bios/fastcopytest_lld_2430_x64P.cfg", line 762
    "./package/cfg/2430_bios/fastcopytest_lld_2430_x64P.cfg", line 721
js: "./dmaExample.cfg", line 122: XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.edma3.rm' along the path: '/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/examples/ti/sdo/fc/examples/dma/./../../../../..;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/fctools/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/user/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/;/home/user/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages;/home/user/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/packages;/home/user/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;../../../../..;'. Ensure that the package path is set correctly.
    "./package/cfg/bin/dmaExample_dm6467_x64P.cfg", line 756
    "./package/cfg/bin/dmaExample_dm6467_x64P.cfg", line 715
gmake[1]: *** [package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg_c.c] Error 1
gmake[1]: *** Deleting file `package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg_c.c'
gmake[1]: *** [package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg_c.c] Deleting file `package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg.cmd'
gmake[1]: *** [package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg_c.c] Deleting file `package/cfg/2430_bios/fastcopytest_lld_2430_x64Pcfg.s62'
gmake: *** [ti/sdo/fc/dman3/examples/fastcopy,.executables] Error 2
gmake: *** Waiting for unfinished jobs....


Does anyone know where I am going wrong? My confidence is not helped by the fact that the default Makefile that TI supplies implies that older versions of the sub-packages that make up the DVSDK should be used than are present in the official supplied DVSDK. Another thing is that the mysterious "fctools" directory that does not exist in the DVSDK is referred to in the build instructions that come with the framework components supplied with the DVSDK!

Cheers,

Ralph

  • The package it can't find ('ti.sdo.edma3.rm') is a part of the "EDMA3 LLD" product.  I can see from the search path that there's a 'strange' "/packages" directory on it - a tell-tale sign that one of the vars isn't set up right (it's probably set via a $(<something>_INSTALL_DIR)/packages var, where the $(<something>_INSTALL_DIR) wasn't set so you're just left with "/packages"):

    Ralph said:
    js: "./dmaExample.cfg", line 122: XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.sdo.edma3.rm' along the path: '/home/viper/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/examples/ti/sdo/fc/examples/dma/./../../../../..;/home/viper/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/fctools/packages;/home/viper/dvsdk/dvsdk_3_10_00_19/xdais_6_25_02_11/packages;/home/viper/dvsdk/dvsdk_3_10_00_19/framework_components_2_25_02_06/packages/;/home/viper/dvsdk/dvsdk_3_10_00_19/bios_5_41_00_06/packages;/home/viper/dvsdk/dvsdk_3_10_00_19/linuxutils_2_25_04_10/packages;/packages;/home/viper/dvsdk/dvsdk_3_10_00_19/xdctools_3_16_01_27/packages;../../../../..;'. Ensure that the package path is set correctly.

    In this case, that's supposed to be set to the location of the EDMA3 LLD product.  A quick peek at the examples/Makefile in the FC dir shows there may be a typo in that makefile - in one case, the EDMA3 LLD product's install dir is "EDMA3_LLD_INSTALL_DIR", in another place, its referred to as "EDMA3_LLD_ROOT".

    I think you'll have to fiddle with that Makefile to get the XDCPATH to pick up the EDMA3 LLD installation dir.  We'll look at whether this has been fixed in a newer release, and if not, we'll get it fixed in the next one.

    Chris

  • Thanks, I changed EDMA3_LLD_INSTALL_DIR to EDMA3_LLD_ROOT.and it now builds fine.

     

    Ralph