As far as I know it's still necessary to use 4.14 kernel. Instructions to downgrade are here
Next month (Apr 2020) a new image for the BBAI is supposed to come out and the kernel restriction may change.
Thanks Bernard.Hope they change restrictions soon.
Issue they are mainly discussing here is with cloud9-examples. There are other examples present in /var/share/ti/examples.
I can not compile the codes they have provided.
After degrading kernel, I am able to run pre-compiled files. But still I can't modify existing code or use tidl api in new code and compile it with gcc.
debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp -I/usr/share/ti/tidl/tidl_api/inc/
In file included from main.cpp:44:0:
/usr/share/ti/tidl/tidl_api/inc/executor.h:41:20: fatal error: custom.h: No such file or directory
Where can I find this custom.h
Cloud9 classification example is running absolutely fine.
I am trying to compile other examples provided in /usr/share/ti/examples/tidl directory.
The switching of the Kernel is the problem.
Get the latest 4.14 and you should be OK. Make sure all the components are the latest as well via 'sudo apt update; sudo apt upgrade -y'.
Hope that helps!
Yeah, there is more to the upgrade than just doing the standard apt-get stuff:
However, this process, as well as the latest release of 4.14, have issues:
For the Spring 2020 release, see:
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?