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.

EDMA3 LLD Bios 6 unresolved symbols errors?

Guru 15580 points
Other Parts Discussed in Thread: OMAP-L138, SYSBIOS

 

I am working on an OMAP-L138 project that includes the use of the latest EDMA3 LLD package for bios 6 (C:\Program Files (x86)\Texas Instruments\edma3_lld_02_11_01_02). I have used the same project code in a previous project that used bios 5 LLD, and am in the process of transferring to bios 6. I have added links to 4 seperate library (OMAP debug) files in the new new LLD package.

edma3_lld_drv.ae9

edma3_lld_drv_sample.ae9

edma3_lld_rm.ae9

edma3_lld_rm_sample.ae9

I have also provided include links to each of the folders that contain the .h files for these libraries, and included the following includes in my code.

#include <edma3_drv.h> // LLD Driver header file 

#include <edma3_rm.h>

#include <edma3_common.h>

#include <bios6_edma3_drv_sample.h> // OS-specific and device-specific header file

#include <src\edma3_rl_cc.h> // needed for the EDMA3_CCRL_RegsOvly global (for debug) 

However, when I build the project I get the following linker errors. Am I forgetting a link somewhere?

<Linking>

 undefined                   first referenced

  symbol                         in file     

 ---------                   ----------------

 EDMA3_DRV_close             ./edma_arm.obj  

 EDMA3_DRV_create            ./edma_arm.obj  

 EDMA3_DRV_delete            ./edma_arm.obj  

 EDMA3_DRV_enableTransfer    ./edma_arm.obj  

 EDMA3_DRV_freeChannel       ./edma_arm.obj  

 EDMA3_DRV_getPaRAM          ./edma_arm.obj  

 EDMA3_DRV_linkChannel       ./edma_arm.obj  

 EDMA3_DRV_open              ./edma_arm.obj  

 EDMA3_DRV_requestChannel    ./edma_arm.obj  

 EDMA3_DRV_setDestIndex      ./edma_arm.obj  

 EDMA3_DRV_setDestParams     ./edma_arm.obj  

 EDMA3_DRV_setOptField       ./edma_arm.obj  

 EDMA3_DRV_setPaRAM          ./edma_arm.obj  

 EDMA3_DRV_setSrcIndex       ./edma_arm.obj  

 EDMA3_DRV_setSrcParams      ./edma_arm.obj  

 EDMA3_DRV_setTransferParams ./edma_arm.obj  

 SWI_post                    ./edma_arm.obj  

 sampleEdma3GblCfgParams     ./edma_arm.obj  

 sampleInstInitConfig        ./edma_arm.obj  

 

error: unresolved symbols remain

error: errors encountered during linking; "ARM_init_SYSBIOS.out" not built

Thx,

MikeH

 

 

 

  • Ok. So the OMAP team punted me out of their sandbox back into the BIOS sandbox. Must be on a tight quota system......

    It appears as though the EDMA2 LLD for bios 5 had pre-made .lib files and the EDMA3 LLD for bios 6 does not. Hence my attempt to link to the wrong files above.

    Is this true? If so, can someone give me a clue as to how I (re) build the entire EDMA3 LLD library so that I can link to .lib files?

    Guidance appreciated.

    Thx,

    MikeH

     

  • Mike,

    Look in the EDM3 release notes and/or User Guide. It talks about how to build the libraries.

    Todd

  • Todd,

    Can you be a bit more specific? I looked through the release notes, and they say :

    Hence libraries need to be built

    through command prompt using gmake command (Please refer the user

    guide available with this release for detailed build instructions).

    But I find no User Guide with this package. I have no clue how to build the libraries.

    Thx,

    MikeH

     

  • Mike,

    Look in the Help->Help Contents in CCS. You should see a EDMA3 product with several different documents. (Or at least I see several docs with the EDMA3 2.10.02 that I have installed.) You could also look in the <edma3>\packages\ti\sdo\edma3\drv\docs directory (note: the directory structure might be different for your version).

    Todd

     

     

  • Mike,

    Steps to build the libraries and the stand-alone application are  given in EDMA3_Driver_User_Guide.pdf in edma3_lld_<<version_number>>\packages\ti\sdo\edma3\drv\docs folder. Refer to the steps mentioned in "2.4 Integration Guide" in the document.

    Prasad

  • Todd, Prasad,

    Thanks guys. I had stopped at C:\Program Files (x86)\Texas Instruments\edma3_lld_02_11_01_02\docs when looking for the User Guide. Is there some reason why the User Guide, and other docs, are not in the above folder?

    Thx,

    Mike

     

  • Sorry to reject the answer, but this is still a problem. I believe I mis-understood what I should be linking to in the EDMA driver. Apparently the ".a674P" files *are* library files (is this true?). If so, why do I get the "undefined symbol" errors above in my original post?

    Thx,

    MikeH

     

  • Mike,

    I wasn't sure by looking at this thread whether it overlapped with other threads you were pursuing simultaneously.  Are you still working this particular issue and getting these build errors?

  • David,

    David Friedland said:
    Are you still working this particular issue and getting these build errors?

    No. I have given up on SYSBIOS for the time being.

    thx

    MikeH

     

  • Was there a resolution to this issue? I am having the same problem with my build using the sample libraries.