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.

Does the EDMA3 LLD support ARM core in Linux?

Hello everyone

I am trying to use EDMA3 on ARM core, the ARM core is running in Linux. BTW, I am using K2HEVM. I found an example in the EDMA3 LLD installation folder (~/ti/edma3_lld_02_11_13_17/examples/edma3_user_space_driver). When I was trying to compile the example from the folder evmTCI6626K2H, multiple compiling errors were popped out, such as undefined references to sem_init in the main.c.

In the makefile, it mentions several libraries, showing below. However, I cannot locate those libraries. The entire makefile is in the attachment.

# Libraries and Include paths
EXT_LIB_a15host = $(edma3_lld_drv_PATH)/lib/a15/$(PROFILE_$(CORE))/edma3_lld_drv.aa15fg $(edma3_lld_rm_PATH)/lib/tci6636k2h-evm/a15/$(PROFILE_$(CORE))/edma3_lld_rm.aa15fg -lrt -lpthread
EXT_INCLUDES = -I$(edma3_lld_drv_PATH) -I$(edma3_lld_rm_PATH) -I$(edma3_lld_PATH)/packages

My question is: does this example suit for ARM core running in Linux? If the answer is yes, where can I find those libraries?

Thanks

Xining Yu

makefile.tar.gz

  • Dear Xining Yu,
    edma3_lld_drv_PATH=C:\ti\edma3_lld_2_12_01_23\packages\ti\sdo\edma3\drv
    Here, you can get the EDMA3 A15 (ARM) libraries in EDMA3 LLD location.
    C:\ti\edma3_lld_2_12_01_23\packages\ti\sdo\edma3\drv\lib\a15\debug\edma3_lld_drv.aa15fg
  • Hi Titus

    Does this EDMA3_LLD support ARM in Linux? According to this website(http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_EDMA3), it looks like that the EDMA3 LLD is for SDK RTOS.

    When I use the makefile method to build the example project, I encountered too many missing *.mk files, so I tried to compile the project in Eclipse. My project is in the attachment.

    When I tried to cross-compile the example project in eclipse, it pops out an error "cannot find -l/home/arrc-3190/ti-processor-sdk-linux-k2hk-evm-02.00.02.11/linux-devkit/sysroots/cortexa15hf-vfp-neon-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages/ti/sdo/edma3/drv/lib/a15/debug/edma3_lld_drv.aa15fg". I am sure of that the edma3_lld_drv.aa15fg is right there. Why Eclipse cannot open it? (I include the library by configuring the Paths and Symbols as showing below)

    Thanks.

    Xining

    EDMA.zip

  • I think, this project can be build by makefile and not with CCS.
    You need .ccsproject files if you would like to import the project.
  • Hi Titus S.

    Thanks for your replying.

    When I use the make file to build the project, it utilize the env.mk file in the folder "/home/arrc-3190/ti-processor-sdk-linux-k2hk-evm-02.00.02.11/linux-devkit/sysroots/cortexa15hf-vfp-neon-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/makerules".

    In this file, it has two environment variable, <CODEGEN_PATH_A15> and <CODEGEN_PATH_A15_GCC>. In the original env.mk, it used the following definition.

    # Cortex-A15
    CODEGEN_PATH_A15 = /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/gcc-arm-none-eabi
    # Cortex-A15_GCC
    CODEGEN_PATH_A15_GCC = /home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/share/ti/gcc-arm-none-eabi

    However, I cannot locate those two folder in my Linux system. Can you help me to find it?

    THanks.

    Xining