Part Number: BEAGLE-3P-BBONE-AI
Tool/software: TI C/C++ Compiler
I was trying to run TIDL segmentation example provided in debian@beaglebone:/usr/share/ti/examples/tidl/segmentation using ./segmentation. but it is raising following error:
CMEM Error: init: major version mismatch between interface and driver.
CMEM Error: needs driver version 0x4150002, got 0x4160000
TIOCL FATAL: The cmemk kernel module is not installed. Consult the OpenCL UserGuide at http://software-dl.ti.com/mctools/esd/docs/opencl/index.html
My kernel version is:
I have updated kernel from 4.14. Is that causing problem?
How can I recompile the codes which use TIDL library?
If I try gcc main.cpp in same segmentation folder it raises
debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp
main.cpp:44:22: fatal error: executor.h: No such file or directory
Also can we use TIDL in python?
Hi Prathamesh, let me check with a colleague and come back to you.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Paula Carrillo:
Hi Prathamesh, I heard back that updating kernel without updating u-boot, fw among other things to the exact correct version is always a cause for issues. Could you update the whole PSDK to latest image and give a try?
I think I already have latest version Debian 9.9 2019-08-03 4GB SD LXQT for BB-AI. http://beagleboard.org/latest-images . I heard that next image is supposed to be launched in April 20.
I tried reverting kernel back to 4.14 and that works. But compiling codes is still problem with that. Only pre-compiled files run.
Could you update the whole PSDK to latest image and give a try?
--> I followed steps given in https://beagleboard.org/upgrade for updating kernel. I am not sure how to do what you want me to do. Can you please help me out with steps to do that.
P.S : I am not trying to compile with cloud9. I want to do it for codes provided in /usr/share/ti/examples/tidl/.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.