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.

linking errors with C6678 sample edma3 lld project

Other Parts Discussed in Thread: SYSBIOS

Hi all,

I am working on sobel 3x3 kernel (picked up from TI's IMGLIB) and I wanted to use DMAs since my data was stored in DDR3. To start off I tried building the sample edma3 lld project at /opt/ti/edma3_lld_02_11_05_02/examples/edma3_driver/evm6678/sample_app/ and I get the following errors when I build it:

undefined first referenced 

symbol in file
--------- ----------------
ti_sysbios_BIOS_start__E ./main.obj
ti_sysbios_family_c64p_EventCombiner_disableEvent__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_family_c64p_EventCombiner_dispatchPlug__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c64p_EventCombiner_enableEvent__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_family_c64p_Hwi_enableInterrupt__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_disableHostInt__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_dispatchPlug__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_dispatch__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_enableAllHostInts__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_enableHostInt__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_getEventId__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_family_c66_tci66xx_CpIntc_mapSysIntToHostInt__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_c6678_int_reg.oe66>
ti_sysbios_hal_Cache_inv__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_hal_Cache_wb__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>

>> Compilation failure
ti_sysbios_knl_Semaphore_Object__create__S /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_Object__delete__S /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_Params__init__S /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_init.oe66>
ti_sysbios_knl_Semaphore_pend__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Semaphore_post__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Task_Object__create__S ./main.obj
ti_sysbios_knl_Task_disable__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
ti_sysbios_knl_Task_enable__E /opt/ti/edma3_lld_02_11_05_02/packages/ti/sdo/edma3/drv/sample/lib/c6678-evm/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>

error: unresolved symbols remain
error: errors encountered during linking; "edma3_drv_bios6_c6678_st_sample.out"
not built
gmake: *** [edma3_drv_bios6_c6678_st_sample.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

I am a newbie to TI DSPs, all I can guess at the moment is I am missing few ti_sysbios libraries in my build.  I would really appreciate your help in building the sample project successfully which should get me started on DMAs. 

Please correct me if you feel that my approach for my problem is incorrect.

Thank you in advance

regards,

Barath Ramesh 

  • Hi,

    Did you import the RTSC configuration project and build it?  The sample_app project includes this as a dependency.

    The steps should be:

    1) Import /sample_app as an existing/legacy project.

    2) Import /rtsc_config as an existing/legacy project.

    3) Build /rtsc_config (this is rather slow, just wait on it).  Under Project, select "Build Project".

    4) Build /sample_app.