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

Can not program a10soc platform using OpenCL rte

DongWang-BJTU
New Contributor I
781 Views

I am trying to upgrade the rte for the a10soc board from 18.1 to 20.1 since the official does not provide the linux image for SDK v20.1 anymore.

When I tried to to reprogram the aocx file generated by v20.1 sdk the following Error shows:

----------------------------------------------------------------------------------------

Program to acl_a10soc0
Programming device: a10soc : Arria 10 SoC Development Kit (acl_a10soc0)
OpenCL Notification Callback: Malformed program interface definition found in binary:
OpenCL Notification Callback: FAILED to read auto-discovery string at byte 11. Full auto-discovery string value is 23 17 12671e4c7186d275d33f9a70c152152c47c9c6cd a10soc_2ddr 0 1 10 default 2 2 0 1 2 0 1073741824 1073741824 2147483648 0 0 3 101 eltwise 0 256 1 0 0 1 0 1 0 11 6 0 0 4 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 4 1 0 0 6 0 0 4 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 2 1 8 1024 0 2 6 2 1 8 1024 0 2 6 2 1 8 1024 0 2 0 0 0 0 1 1 1 3 1 1 1 0 0 248 memRead 256 256 1 0 0 1 0 1 0 32 6 0 0 2 1 0 0 6 0 0 2 1 0 0 6 0 0 4 1 0 0 6 0 0 2 1 0 0 6 0 0 2 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 2 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 4 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 1 1 0 0 6 0 0 2 1 0 0 6 2 1 8 1024 0 2 6 2 1 8 1024 0 2 6 2 1 8 1024 0 2 6 2 1 8 1024 0 2 0 0 0 0 1 1 1 3 1 1 1 0 0 122 memWrite 512 256 1 0 0 0 0 1 0 10 6 0
OpenCL Notification Callback: Invalid binary
Failed clCreateProgramWithBinary.
Error code: -42
aocl program: Program failed.

------------------------------------------------------------------

I think the reason might be the full chip programming file "socfpga.rbf" is not compatible with v20.1 SDK, so I tried to regenerate the rbf file by following the instruction (Section 3.4) on porting guide v19.1 (again no updates for v20.1), when executing the command "aocl binedit .temp.fpga.bin get .acl.sof .temp.sof"  it shows that section ".acl.sof" cannot be found !

So I listed all the sections in the .temp.fpga.bin files get, I got this:

Sections in package file:
.acl.core.rbf, 96103060 bytes
.acl.hash, 10 bytes

So, it seems that the aocx file for new versions has changed, and it was not compatible with old rbf (I think linux driver still works).  How could I solve this problem  ??

 

 

 

 

 

0 Kudos
0 Replies
Reply