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.

TMS320C6748: how to compile edma sample?

Part Number: TMS320C6748
Other Parts Discussed in Thread: OMAPL138

Hi team,

Here's an issue from the customer may need your help:

When using EDMA sample, adding the statement XDC.loadPackage('ti.sdo.edma3.drv.sample') in the .cfg compiles with the following error: 

Description Resource Path Location Type can't find the library 'lib/c6748-evm/674/release/edma3_lld_drv_sample.ae674' specified by package ti.sdo.edma3.drv.sample. 

Under the folder C:\ti\edma3_lld_2_12_05_30E\packages\ti\sdo\edma3\drv\sample\package\lib\lib\c6748-EVM\674\rele Ase did not find the library file, so the customer tried compiling.

Running results are as follows:

C:\ti\edma3_lld_2_12_05_30E\packages>set PATH=C:\ti\xdctools_3_55_02_22_core

C:\ti\edma3_lld_2_12_05_30E\packages>set ROOTDIR=C:\ti\edma3_lld_2_12_05_30E

C:\ti\edma3_lld_2_12_05_30E\packages>gmake examples FORMAT=ELF
C:\ti\edma3_lld_2_12_05_30E/makerules/env.mk:56: /oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk: No such file or directory
gmake: *** No rule to make target '/oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk'. Stop.

According to section 2.4.1 of the C:\ti\edma3_lld_2_12_05_30E\packages\ti\sdo\edma3\drv\docs\EDMA3_Driver_User_Guide.pdf file, Three parameters of makerules/env.mk need to be modified: Internal_SW_root, external_SW_root, utils_install_DIR. 

Q1: What values should these three parameters be set to? Especially utils_install_DIR. 

INTERNAL_SW_ROOT = C:\ti\edma3_lld_2_12_05_30E ?

EXTERNAL_SW_ROOT = C:\ti ?

Q2: In cmd, can these three values be modified with set?

Some version information is as follows:

bios_6_76_03_01
ccs1200
edma3_lld_2_12_05_30E
processor_sdk_rtos_omapl138_6_03_00_106
xdctools_3_55_02_22_core

The following is the result of the implementation of section 2.1.2, part (2). And PLATFORM tried two ways:

C:\ti\edma3_lld_2_12_05_30E\packages>set PATH=C:\ti\xdctools_3_55_02_22_core

C:\ti\edma3_lld_2_12_05_30E\packages>set ROOTDIR=C:\ti\edma3_lld_2_12_05_30E

C:\ti\edma3_lld_2_12_05_30E\packages>gmake examples PLATFORM=c6748-evm FORMAT=ELF
C:\ti\edma3_lld_2_12_05_30E/makerules/env.mk:56: /oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk: No such file or directory
gmake: *** No rule to make target '/oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk'. Stop.

C:\ti\edma3_lld_2_12_05_30E\packages>gmake libs PLATFORM=c6748-evm FORMAT=ELF
C:\ti\edma3_lld_2_12_05_30E/makerules/env.mk:56: /oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk: No such file or directory
gmake: *** No rule to make target '/oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk'. Stop.

C:\ti\edma3_lld_2_12_05_30E\packages>gmake libs PLATFORM=evm6748 FORMAT=ELF
C:\ti\edma3_lld_2_12_05_30E/makerules/env.mk:56: /oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk: No such file or directory
gmake: *** No rule to make target '/oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk'. Stop.

C:\ti\edma3_lld_2_12_05_30E\packages>gmake examples PLATFORM=evm6748 FORMAT=ELF
C:\ti\edma3_lld_2_12_05_30E/makerules/env.mk:56: /oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk: No such file or directory
gmake: *** No rule to make target '/oe/bld/build-ARM9_1/arago-tmp-glibc/work/omapl138_lcdk-oe-linux-gnueabi/edma3-lld-rtos/2.12.05.30E-r1.1.tisdk-int12/git/packages/component.mk'. Stop.

Could you help check this case? Thanks.

Best Regards,

Cherry