Tool/software: Linux
Hi,
I have some trouble during boot and also after boot when trying to run Opencl examples.
Please have a look at the information below and give me some ideas about how to solve the issue.
Regards,
Olivier
CONFIGURATION
Using PROCESSOR_SDK_VISION_03_01_00_00
Build Linux Vision SDK on TDA2xx :
- MAKECONFIG=tda2xx_evm_linux_all is set in Rules.make
- All optional components downloaded (ipumm, Codec Engine, Framework Components, Opencl supported package)
Booting using micro SD Card
DURING BOOT
Error messages :
1) [FAILED] Failed to start Load Kernel Modules à The cmemk module was not loaded during boot.
There is the following error message from the daemon using "systemctl status systemd-modules-load.service" : “Failed to find module ‘cmemk’”
- kernel version is (uname –r) : 4.4.84-00012-gf07f446
- cmemk.ko can’t be found in : /lib/modules/4.4.84-00012-gf07f446/extra/
- cmemk.ko can be found in : /lib/modules/4.4.84-g7e6588b179/extra/
- cmemk.ko vermagic (modinfo) : 4.4.84-g7e6588b179 SMP preempt mod_unload modversions ARMv7 p2v8
2) [FAILED] Failed to start TI MultiCore Tools Daemon à The ti-mctd daemon was not started during boot.
There is the following error message from the daemon using "journalctl -u ti-mct-daemon.service" : “Failed to pen /dev/cmem”
This is probably because “cmemk” module was not found during boot.
AFTER BOOT
I can execute the following lines :
insmod /opt/vision_sdk/cmemk.ko phys_start=0xA9000000 phys_end=0xACffffff pools=1x67108863 phys_start_1=0x40400000 phys_end_1=0x40500000
export TI_OCL_COMPUTE_UNIT_LIST="0"
ti-mctd
But, when trying to execute examples provided in /usr/share/ti/examples/opencl/, I get the following error message:
TIOCL FATAL: Internal Error: Number of message queues (0) does not match number of compute units (2)