Skip to content

Cannot run hello world on AWS F1 FPGA #552

@hecmay

Description

@hecmay

Hi,

I used the scripts in aws-fpga to set up environment and compile the hello world program from Vitis official repo on F1 instance. However, I was not able to run the registered awsxclbin binary with the host program. Here is the error I got

# Error from running "./host kernel.awsxclbin"
HOST: ip-172-31-87-64.ec2.internal
EXE: /home/centos/src/project_data/gaussian/host
[XRT] ERROR: See dmesg log for details. err=-
[XRT] ERROR: failed to load xclbin: Input/output error
Failed to program device[0] with xclbin file!
Failed to program any device found, exit!****

# Log from desmg
[ 5755.281977] xocl 0000:00:1d.0: icap.u.23068672 ffff8e123dc93410 __icap_peer_xclbin_download: peer xclbin download err: -5
[ 5755.291418] xocl 0000:00:1d.0: icap.u.23068672 ffff8e123dc93410 icap_cache_bitstream_axlf_section: found kind 6(MEM_TOPOLOGY)
[ 5755.291425] xocl 0000:00:1d.0: icap.u.23068672 ffff8e123dc93410 icap_cache_bitstream_axlf_section: found kind 26(ASK_GROUP_TOPOLOGY)
[ 5755.291432] xocl 0000:00:1d.0: icap.u.23068672 ffff8e123dc93410 icap_download_bitstream_axlf: err: -5
[ 5755.291437] xocl 0000:00:1d.0:  ffff8e12455d7098 xocl_read_axlf_helper: Failed to download xclbin, err: -5
[ 5755.308285] xocl 0000:00:1d.0:  ffff8e12455d7098 xocl_destroy_client: client exits pid(17594)
[ 5755.308291] xocl 0000:00:1d.0:  ffff8e12455d7098 xocl_drvinst_close: CLOSE 2
[ 5755.308295] xocl 0000:00:1d.0:  ffff8e12455d7098 xocl_drvinst_close: NOTIFY ffff8e123dc94c10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions