Hello!
I am a newbie with the MCSDK. I am writing some ARM code in Linux and have a problem in linking the EDMA3 LLD driver into my code. The linker complains:
"gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ledma3_lld_drv.ae66". The same errors come also for the rest of the edma3_lld-libraries.
I compile my project with the following command:
arm-linux-gnueabihf-g++ \
-Dxdc_target_types__=ti/targets/std.h \
-D__TMS470__ \
-Dxdc_target_name__=C66 \
-O3 \
-I/home/neukkari/ti/edma3_lld_02_11_13_17/packages/ti/sdo/edma3/drv/sample \
-I/home/neukkari/ti/edma3_lld_02_11_13_17/packages \
-I/opt/ti/bios_6_35_04_50/packages \
-I/opt/ti/xdctools_3_25_03_72/packages \
-L/home/neukkari/ti/edma3_lld_02_11_13_17/packages/ti/sdo/edma3/drv/lib/66/release \
-L/home/neukkari/ti/edma3_lld_02_11_13_17/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/66/release \
-L/home/neukkari/ti/edma3_lld_02_11_13_17/packages/ti/sdo/edma3/drv/sample/lib/tci6636k2h-evm/66/release \
-lm -ledma3_lld_drv.ae66 -ledma3_lld_rm.ae66 -ledma3_lld_drv_sample.ae66 \
-o arm.elf \
main.cpp
which succeeds just fine, but then the linking fails.
In the directory:
/home/neukkari/ti/edma3_lld_02_11_13_17/packages/ti/sdo/edma3/drv/lib/66/release
I have the following files:
edma3_lld_drv.ae66e and
edma3_lld_drv.ae66,
both have the size of 274kB.
From what I know the libraries should be named "lib***.a" (just like the library "m" linked successfully has) but these have no such a prefix and extension. I have tried renaming them but no help. Also, there should be the corresponding .so files, but I haven't found them either in my HD and the problem with that should appear only in runtime anyway.
The libm.a can be found under gcc-linaro--arm-linux-gnueabihf (and several other places). I have tried copying the edma3_lld_drv.ae66 also there + tried the renaming tricks, but no help.
The EDMA3_LLD driver came along with the MCSDK package 3_01_03_06 and it seems to have support for my target (K2HEVM).
Am I missing something in my configuration or am I using completely wrong tools for this? I have written successfully applications without the MCSDK with this very compiler and run them in the target board without any problems, so the compiler itself works for my target.
I need also the .so files. I wonder why they are not present at all. Can the driver installation have been failed? There was no issues in running it, though.
Regards,
Ari