awssak program fails in AMI 1.8.1 and 1.9.1

0

We have two xpfm setup (basically two different versions of the F1 shell) and we have generated bitfiles with them. The name of these two xpfm files are:

  • xilinx_aws-vu9p-f1-04261818_dynamic_5_0.xpfm
    *xilinx_aws-vu9p-f1_shell-v04261818_201920_2.xpfm
    I believe the latter is the one which works with Vitis 2019.2 and later versions.
    When we program either of the bitfiles on an F1.2xlarge instance with AMI 1.7.1 (FPGA Developer AMI - 1.7.1-40257ab5-6688-4c95-97d1-e251a40fd1fc-ami-073c0053d4be15233.4 - ami-0c9c61319a32e0692) it passes. But when we program either of the bitfiles on F1.2xlarge instance with AMI 1.8.1 (FPGA Developer AMI - 1.8.1-40257ab5-6688-4c95-97d1-e251a40fd1fc-ami-0c90eb898f6c9f1bd.4 - ami-0209388abb64ef69c) or AMI 1.9.1 (FPGA Developer AMI - 1.9.1-40257ab5-6688-4c95-97d1-e251a40fd1fc-ami-0c3a51e8e73a7fa94.4 - ami-03d255ca72d04ce3e) they fail with the following error messages:

root@ip-172-31-4-120 ~# awssak program -p /tmp/binary_container_1_dynamic.awsxclbin
xclProbe found 1 FPGA slots with xocl driver running
INFO: Found 1 device(s)
IOCTL DRM_IOCTL_XOCL_READ_AXLF Failed: -1
ERROR: awssak program failed.

For newer version bitfile, dmesg shows the following errors:

[Sat Feb 20 00:47:28 2021] xocl 0000:00:1d.0: xocl_read_axlf_helper: did not find platform dtb
[Sat Feb 20 00:47:28 2021] xocl 0000:00:1d.0: xocl_read_axlf_helper: Failed to download xclbin, err: -22

and for the older version bitfile, dmesg shows the following error:

[Sat Feb 20 00:47:18 2021] xocl 0000:00:1d.0: xocl_read_axlf_helper: Failed to download xclbin, err: -110

Can you please guide us why this is happening?

Edited by: shahrzad on Mar 3, 2021 11:52 AM

질문됨 3년 전211회 조회
2개 답변
0

Hello,

Since 2019.2 onwards, Xilinx XRT has requires MPD to start.

Another thing is, could you provide the output of

 sudo journalctl -u mpd

followed with:

 /opt/xilinx/xrt/bin/xbutil scan

-Deep

Deep_P
답변함 3년 전
0

Thanks Deep for the tip. starting mpd by running sudo systemctl start mpd did the trick and the bitfiles with xilinx_aws-vu9p-f1-04261818_dynamic_5_0 shell could be programmed in both 1.8.1 and 1.9.1 AMI versions.

Regards,
Shahrzad

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠