PrincetonUniversity/openpiton

DMA error when running on AWS instance

Closed this issue · 3 comments

Hello,

I am trying to run the AWS F1 instance setup.
I am using f1.2xlarge instance type with AWS FPGA operating system.

I am following the instructions from here: https://github.com/PrincetonUniversity/openpiton#running-openpiton-simulations-on-f1-instances-in-aws-step-guide

But, when I run ./dma_os $FILE_LOCATION , I am getting the following error:

[root@ip-10-0-9-104 src]# ./dma_os $FILE_LOCATION 2020-06-10T18:13:24.765435Z, test_dram_dma, INFO, dma_os.c +65: main(): Checking to see if the right AFI is loaded... 2020-06-10T18:13:24.778029Z, test_dram_dma, INFO, dma_os.c +159: check_slot_config(): Operating on slot 0 with id: 0000:00:1d.0 2020-06-10T18:13:24.780280Z, test_dram_dma, ERROR, dma_os.c +212: dma_os(): DMA write failed 2020-06-10T18:13:24.780371Z, test_dram_dma, ERROR, dma_os.c +77: main(): OS DMA failed! 2020-06-10T18:13:24.780377Z, test_dram_dma, INFO, dma_os.c +87: main(): Memory initialization FAILED

here are the other things I did already:

  1. I ran hdk_setup.sh and sdk_setup.sh from https://github.com/aws/aws-fpga.
  2. I ran steps from https://github.com/Xilinx/dma_ip_drivers/tree/master/XDMA/linux-kernel

Hi Rahul,
You can check openpiton google discussion Forum and search for similar issues .
I remember of facing similar errors and fixed . I was able to Boot OS on AWS.
Raghav

Hi,

Thank you. I'll look in the forum then.

Hi Rahul,

Please feel free to reopen this or post in the google group if you're still having trouble.

Thanks,
Jon