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.

XDC Tools question



I am new with the DM355. I download the DVSDK 2.0 and I am trying to modify one of the jpegenc examples.

Before to be able to compile I need to have the compiler.opt and other files which are generated using this command:

 

xs xdc.tools.configuro -r release  -t gnu.targets.MVArm9 -c /usr/local/arm-2008q3 codecscfg.cfg

 

But I received an error:

 

Can't locate the package ti.sdo.ce.osal

 

It seems that the path where it is located (../codec_engine_....) is  not declared on the XDCPATH

 

How can I declare it? or How can I include this directory in the path?

 

I am confused at this point.

 

Thanks

  • I am new with the DM355. I download the DVSDK 2.0 and I am trying to modify one of the jpegenc examples.

    Before to be able to compile I need to have the compiler.opt and other files which are generated using this command:

     

    xs xdc.tools.configuro -r release  -t gnu.targets.MVArm9 -c /usr/local/arm-2008q3 codecscfg.cfg

     

    But I received an error:

     

    Can't locate the package ti.sdo.ce.osal

     

    It seems that the path where it is located (../codec_engine_....) is  not declared on the XDCPATH

     

    How can I declare it? or How can I include this directory in the path?

     

    I am confused at this point.

     

    Thanks

  • Generally all of your paths should stem from the rules.make file in the root directory of the DVSDK, so if it is missing codec engine the first place I would check is in the rules.make, however codec engine should not be a path you need to change typically so this is a bit unusual.

    Have you tried rebuilding the entire DVSDK, i.e. run make from the root directory of the DVSDK as discussed in the getting started guide (this should build all the examples)? Typically I would recommend rebuilding the entire DVSDK from the root directory instead of building an individual piece like the examples.

    Have you modifed any of the make files for the examples that may have lead to this?

  • I can't rebuild the DVSDK.

     

    I download :

    DVSDK 2_00_00_22

    XDC Tools

    I modified Rules.make but I am still missing two things:

    WARNING: /home/minidas/dvsdk_2_00_00_22/bios_5_33_03/packages doesn't exist, check your Rules.make..
    WARNING: /home/minidas/dvsdk_2_00_00_22/cg6x_6_0_21/bin/cl6x doesn't exist, check your Rules.make..

     

    I am working with DM355 so I am not sure If I need to install bios_5_33_03 package.

     

    Also the second problem, from which package is cg6x_6_0_21??

     

     

    After I run make, I got the following error:

    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:29:27: error: asm-arm/memory.h: No such file or directory
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:33:27: error: asm/arch/edma.h: No such file or directory
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:75: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX_LOCKED'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:75: warning: parameter names (without types) in function declaration
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c: In function 'irq_handler':
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:93: error: 'dm350mmap_reply_mutex' undeclared (first use in this function)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:93: error: (Each undeclared identifier is reported only once
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:93: error: for each function it appears in.)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c: In function 'ioctl':
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:131: error: 'EDMA_TCC_ANY' undeclared (first use in this function)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:132: error: storage size of 'paramentry' isn't known
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:144: error: 'dm350mmap_reply_mutex' undeclared (first use in this function)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:142: warning: unused variable 'retval'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:168: error: implicit declaration of function 'davinci_request_dma'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:168: error: 'EDMA_DMA_CHANNEL_ANY' undeclared (first use in this function)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:170: error: 'EVENTQ_1' undeclared (first use in this function)
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:179: error: implicit declaration of function 'davinci_stop_dma'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:181: error: implicit declaration of function 'davinci_set_dma_src_params'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:185: error: implicit declaration of function 'davinci_set_dma_dest_params'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:189: error: implicit declaration of function 'davinci_set_dma_src_index'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:191: error: implicit declaration of function 'davinci_set_dma_dest_index'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:193: error: implicit declaration of function 'davinci_set_dma_transfer_params'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:197: error: implicit declaration of function 'davinci_get_dma_params'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:203: error: implicit declaration of function 'davinci_set_dma_params'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:204: error: implicit declaration of function 'davinci_start_dma'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:209: error: implicit declaration of function 'davinci_free_dma'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:132: warning: unused variable 'paramentry'
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c: In function 'dm350mmap_init':
    /home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.c:258: warning: passing argument 2 of 'request_irq' from incompatible pointer type
    make[3]: *** [/home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module/dm350mmap.o] Error 1
    make[2]: *** [_module_/home/minidas/dvsdk_2_00_00_22/dm355_codecs_1_13_000/dm355mm/module] Error 2
    make[1]: *** [release] Error 2
    make: *** [dm355mm] Error 2

     

     

    Any suggestions that I should try?

     

    Thanks