File size: 12,572 Bytes
5aefcf4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Ticket Name: error: symbols in the reserved far sections cannot be accessed as near; symbol "numEdma3Instances" in the far section and sysbios linking error

Query Text:
Other Parts Discussed in Thread: SYSBIOS, TDA2 error_list_update.txt  undefined                  first referenced                                                                                                                                                                         
  symbol                        in file                                                                                                                                                                              
 ---------                  ----------------                                                                                                                                                                         
 EDMA3_DRV_close            /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_init.oe66>          
 EDMA3_DRV_create           /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_init.oe66>          
 EDMA3_DRV_delete           /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_init.oe66>          
 EDMA3_DRV_initXbarEventMap /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 EDMA3_DRV_open             /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_init.oe66>          
 lisrEdma3CCErrHandler0     /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3ComplHandler0     /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC0ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC1ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC2ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC3ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC4ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC5ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC6ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>
 lisrEdma3TC7ErrHandler0    /opt/ti/VISION_SDK_02_06_00_00/ti_components/drivers/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/tda2xx-evm/66/debug/edma3_lld_drv_sample.ae66<sample_tda2xx_int_reg.oe66>

error: unresolved symbols remain
error: errors encountered during linking; "app_dsp" not built

>> Compilation failure
make[3]: *** [src/svs220jr18/video/app_dsp/app_dsp] Error 1
make[3]: Leaving directory `/svsbase/build_jr18_dsp'
make[2]: *** [src/svs220jr18/video/app_dsp/CMakeFiles/app_dsp.dir/all] Error 2
make[2]: Leaving directory `/svsbase/build_jr18_dsp'
make[1]: *** [src/svs220jr18/video/app_dsp/CMakeFiles/app_dsp.dir/rule] Error 2
make[1]: Leaving directory `/svsbase/build_jr18_dsp'
make: *** [app_dsp] Error 2
 Hi, I am trying to run the example code available in edma3_lld_02_12_00_20 . This is edma package that I downloaded from below link : software-dl.ti.com/.../index.html PFB linker command file (which comes with examples default one) SECTIONS { .my_sect_iram > L2SRAM .my_sect_ddr > L2SRAM } I tried to remove maximum liking error but I am unable to solve the linking errors mentioned in attachment .PFA. I am using CCSv5.4 in windows (64 bit) . edma3 version :edma3_lld_02_12_00_20 CORE : C6657 EXAMPLE: edma3_drv_bios6_c6657_st_sample CCS:v5.4 OS:Windows Error:PFA DSP:C66X 2388.error_edma3.txt 
**** Build of configuration Debug for project edma3_drv_bios6_c6657_st_sample ****

/home/studinstru/Docker/ti/ccsv6/utils/bin/gmake -k all 
Building target: edma3_drv_bios6_c6657_st_sample.out
Invoking: C6000 Linker
"/home/studinstru/Docker/ti/ccsv6/tools/compiler/c6000_7.4.13/bin/cl6x" --cmd_file="/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/examples/edma3_driver/simC6657/rtsc_config/Debug/configPkg/compiler.opt"  -mv6600 -g --diag_warning=225 --abi=eabi -z -m"edma3_drv_bios6_c6657_st_sample.map" --warn_sections -i"/home/studinstru/Docker/ti/ccsv6/tools/compiler/c6000_7.4.13/lib" -i"/home/studinstru/Docker/ti/ccsv6/tools/compiler/c6000_7.4.13/include" -i"/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/lib/66/debug" -i"/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-sim/66/debug" -i"/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/rm/lib/c6657-sim/66/debug" -i"/home/studinstru/Docker/ti/ccsv6/tools/compiler/c6000_7.4.13/lib" -i"/home/studinstru/Docker/ti/ccsv6/tools/compiler/c6000_7.4.13/include" -i"/home/studinstru/Docker/ti/bios_6_33_02_31/packages/ti/sysbios/syncs/lib/debug" --reread_libs --xml_link_info="edma3_drv_bios6_c6657_st_sample_linkInfo.xml" --rom_model -l"/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/examples/edma3_driver/simC6657/rtsc_config/Debug/configPkg/linker.cmd" -o "edma3_drv_bios6_c6657_st_sample.out" "./common.obj" "./dma_chain_test.obj" "./dma_link_test.obj" "./dma_misc_test.obj" "./dma_ping_pong_test.obj" "./dma_poll_test.obj" "./dma_test.obj" "./main.obj" "./qdma_link_test.obj" "./qdma_test.obj" "../linker.cmd"  -ledma3_lld_drv_sample.ae66 -ledma3_lld_rm.ae66 -ledma3_lld_drv.ae66 -l"libc.a" -lti.sysbios.syncs.ae66e 
<Linking>
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"
error: symbols in the reserved far sections cannot be accessed as near; symbol
   "numEdma3Instances" in the far section
   "/home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sa
   mple/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_c6657_cfg.oe66>
   (.const)" is accessed as near in the section "./main.obj(.text)"

 undefined                       first referenced                                                                                                                                
  symbol                             in file                                                                                                                                     
 ---------                       ----------------                                                                                                                                
 ti_sysbios_knl_Semaphore_create /home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>
 ti_sysbios_knl_Semaphore_delete /home/studinstru/Docker/ti/edma3_lld_02_12_00_20/packages/ti/sdo/edma3/drv/sample/lib/c6657-sim/66/debug/edma3_lld_drv_sample.ae66<sample_cs.oe66>

error: unresolved symbols remain
error: errors encountered during linking; "edma3_drv_bios6_c6657_st_sample.out"
   not built

>> Compilation failure
gmake: *** [edma3_drv_bios6_c6657_st_sample.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

Responses:
This question doesn't really seem to be specific to TI-RTOS. I went ahead and moved it to the device forum in hopes that it will get a faster response there.

Hi studinstru sggs, We are working on your previous post referred below on the same topic. We request your patience. https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/452426 Thank you.

I followed below post and I was not able to resolve my issue .As this post mention to post my querry in TI-RTOS ,so did I .e2e.ti.com/.../1264816

No problem. We will try to help you as much as possible.Thank you.

Hi raja, I am able to remove this error: "symbols in the reserved far sections cannot be accessed as near; symbol "numEdma3Instances" in the far section and sysbios linking error" by adding far before this variale name .ButI am still having some linker error .PFA above - error_list_update.txt

Hi,Could you please attach your log file? Make to sure to add edma lib path to link edma libraries. Path: ..:\ti\edma3_lld_02_11_13_17\packages\ti\sdo\edma3\drv\lib\66\release Thank you for the update.

Raja,I want to ask one question -What is the difference between system EDMA and DSP EDMA on tda2x hardware ??

I am not familier with TDA2x platform . Please post your query on Automotive forum for faster and appropriate response. Detailed information about TDA2 and TDA3 is shared under NDA (Non Disclosure Agreement). I would suggest that you contact your local sales representative. Automotive Forum: Thank you.