TI中文支持网
TI专业的中文技术问题搜集分享网站

TDA4VM: Relevant TDA4VM SOC underlying library is missing when compiling TIDL_OD demo by qnx710

Part Number:TDA4VM

Backgrounddescription: We are developing APA algorithms based ontda4vm and qnx710. The parking space detection algorithm is implemented by deep learning Caffe architecture and TIDL_OD demo in PSDKRA. I am compiling the parking space detection deep learning algorithm (similar to tidl_od demo in psdkra) into an executable program with qnx710. I link the following Ti library:

  • ${PSDKRA_PATH}/tiovx/lib/J7/A72/QNX/release/*.a
  • ${PSDKRA_PATH}/vision_apps/lib/J7/A72/QNX/release/*.a
  • ${PSDKRA_PATH}/imaging/lib/J7/A72/QNX/release/*.a

Question: However, errors are reported as follows: At present, I only know that the underlying Inter-Process Communication(IPC) libraries are missing. Those libraries should be compiled using the QNX compilation toolchain to compile the codes related to the underlying communication driver of TI PSDKRA into the corresponding libraries. I want to ask, which libraries are the following functions (such as SemaphoreP_delete,SHM_alloc_aligned,Ipc_mpGetId,Ipc_Init and so on) in and what are the libraries name?

 Preliminary solution:IPC, RPM, task, hwip, semaphore, etc. have been found in ipc library and osal library. The paths are as follows:

  • Ipc* / RPM* – These would come from the ipc library,  ./psdkqa/pdk/packages/ti/drv/ipc/lib/j721e/qnx_mpu1_0/release/ipc.aa72fg
  • Task* / HwiP* / Semaphore* / Cache* come from the osal library, ./psdkqa/pdk/packages/ti/osal/lib/qnx/j721e/qnx_a72/release/ti.osal.aa72fg

I finally relied on ipc.aa72fg, ti.osal.aa72fg, sciclient.aa72fg, ti.csl.aa72fg, 30 symbols that cannot be found eventually become the following three symbols: “SHM_alloc”,”SHM_alloc_aligned”,”SHM_release”. I guess when linking TI SDK libraries (vision_apps / tiovx / imaging), many libraries that are not needed for deep learning may also be linked, resulting in the need of other lower level libraries, such as *.aa72fg, and then resulting in many symbols not found.

Question:

  1. In which Ti libraries are the three symbols(“SHM_alloc”,SHM_alloc_aligned”,”SHM_release”) defined?
  2. What Ti libraries do I need to link when compiling deep learning algorithms (similar to tidl_od demo in psdkra) based PSDKRA and QNX710? Is it not necessary to link all libraries in vision_apps/tiovx/imaging folders of PSDKRA?
Cherry Zhou:

Hi we have got your issue and escalated to e2e, please expect the response. Thanks!

,

Guohui Zhang:

I'd like to ask when there will be a reply to this question. This is my first time to ask a question and I want to ask,  isn't this website E2E?

,

Cherry Zhou:

Hi Dear,

Here's the E2ECHINA forum, and below is the link we help to escalate to e2e:

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1071683/tda4vm-relevant-tda4vm-soc-underlying-library-is-missing-when-compiling-tidl_od-demo-by-qnx710

,

Guohui Zhang:

Thank you very much for your great support . It seems that I must use the company email to ask questions on E2E? My company email has not been registered successfully. 

,

Cherry Zhou:

Hi, unfortunately company email is required for the submit of e2e. We would help you to follow up the question before you can reply on e2e successfully.

,

Cherry Zhou:

Hi,

For #1, the sharedmemallocator symbols can be found at psdkqa/qnx/sharedmemallocator/usr/aarch64/a.le/libsharedmemallocator.a.  The sources can be found at psdkqa/qnx/sharedmemallocator/usr/SharedMemAllocator.c

For #2, it will depend on the specifics of the demos itself.  The imaging libraries may not be needed if the imaging algorithms are not used in the specific demos.  However, each of the remaining libraries will be needed for the application.

Hope this is helpful!

Thanks and regards,

Cherry

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: Relevant TDA4VM SOC underlying library is missing when compiling TIDL_OD demo by qnx710
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1