Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
504 Discussions

linux kernel hangs while aocl diagnose acl0 on a10soc custom bsp

pk123
Beginner
321 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-a10...).

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
268 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


Reply