This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5718: OpenCL example fails

Part Number: AM5718


Tool/software: Linux

Dear Experts,

I have built the latest  SDK :

Boot the linux with SD card from rt-linux, during the login, it will display the mmu1_dsp1: wait_target_disable failed error: 

[24.070866] omap_hwmod: mmu1_dsp1: _wait_target_disable failed              

Log is list as bellow:

***************************************************************                 
[  OK  ] Started Print notice about GPLv3 packages.                             
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
[  OK  ] Started Telephony service.                                             
[  OK  ] Reached target Sound Card.                                             
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.        
[  OK  ] Started Serial Getty on ttyS2.                                         
[  OK  ] Started Getty on tty1.                                                 
[  OK  ] Reached target Network.                                                
         Starting Network Name Resolution...                                    
         Starting Lightning Fast Webserver With Light System Requirements...    
[  OK  ] Started uim-sysfs.service.                                             
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.       
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Started Login Service.                                                 
         Starting rc.pvr.service...                                             
[   19.395722] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]       
[  OK  ] Started rc.pvr.service.                                                
         Starting weston.service...                                             
[  OK  ] Started weston.service.                                                
         Starting tiipclad-daemon.service...                                    
         Starting telnetd.service...                                            
[  OK  ] Started tiipclad-daemon.service.                                       
[  OK  ] Started telnetd.service.                                               
         Starting thttpd.service...                                             
[  OK  ] Started thttpd.service.                                                
         Starting rng-tools.service...                                          
[  OK  ] Started rng-tools.service.                                             
         Starting gdbserverproxy.service...                                     
[  OK  ] Started gdbserverproxy.service.                                        
         Starting matrix-gui-2.0.service...                                     
[  OK  ] Started matrix-gui-2.0.service.                                        
         Starting thermal-zone-init.service...                                  
[  OK  ] Started thermal-zone-init.service.                                     
[   24.070866] omap_hwmod: mmu1_dsp1: _wait_target_disable failed               
[   24.085029] omap_hwmod: mmu0_dsp1: _wait_target_disable failed               
                                                                 

Then I run the OpenCL example code,  float_compute, it seems failed. Some log is listed as bellow:

root@am57xx-evm:~# ls                                                           
dual_camera     log.txt         log_mod.txt     ov2659.ko                       
float_compute   log_camera.txt  nemo                                            
root@am57xx-evm:~# ./float_compute                                              
                                                                                
This example computes y[i] = M[i] * x[i] + C on single precision floating point2
- Computation on the ARM is parallelized across the A15s using OpenMP.          
- Computation on the DSP is performed by dispatching an OpenCL NDRange kernel a.
                                                                                
Running[ 1452.861241] omap_hwmod: mmu0_dsp1: _wait_target_disable failed        
[ 1452.872217] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0               
[ 1452.885450] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0               
Binary read function failure                                                    
terminate called after throwing an instance of 'std::length_error'              
  what():  basic_string::_M_create                                              
root@am57xx-evm:~# [ 1463.038335] omap_hwmod: mmu1_dsp1: _wait_target_disable fd
[ 1463.051270] omap_hwmod: mmu0_dsp1: _wait_target_disable failed 

It seems the DSP doesn't work.

Best Regards,

Nemo