Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
663 Discussions

linux kernel hangs while aocl diagnose acl0 on a10soc custom bsp

pk123
Beginner
893 Views

we are in the process of making a custom bsp for a COTS arria10 som. we have modified the bsp of a10soc_2ddr for our board(https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/ug-opencl-a10socdk-platform.pdf).

The opencl_rte driver for arm  was compiled and loaded.

after booting the boad. "aocl diagnose" test passes and reads the fpga temperature (log attached) while "aocl diagnose acl0" makes the linux kernel hang  (log attached). From the log we are able to observe that the board hangs while writing to global memory. Help is required to address the issue. Also please clarify how to find whether the global memory issue is related to fpga ddr or hps ddr.

 

 

 

 

0 Kudos
1 Reply
AnilErinch_A_Intel
840 Views

Hi ,

From the log it seems like there was NULL pointer dereference and and some other access violations in the code. The HPS side DDR will be used by the Linux OS while booting. Please try and let us know after providing proper null checks in the custom code.

Thanks and Regards

Anil


0 Kudos
Reply