--- Quote Start ---
Could it be because Altera is incompetent ?
My experience so far is the following:
1.) The A10 GX board does not fit inside my machine. It appears to not conform to PCIe standards, the cooling fans overlap the next PCI slot, the card is too high, and possibly also too long. (I had to completely deconstruct my workstation to get the card to fit into the PCIe slot.
2.) The installation instructions are completely unclear, and there appear to be multiple versions of the instructions for the same Dev kit.
3.) The installation instructions contain incorrect characters in Text fields meant to be copied. Clearly nobody has tested that copying and pasting of the commands works.
4.) The installation instructions don't actually work. I had to find a file named board_env.xml and copy it into the AOCL_BOARD_PACKAGE_ROOT directory. It should have been there already.
5.) Installation instructions fail: aocl flash command produces "No flash routine supplied."
Who does the quality control for this stuff ?
--- Quote End ---
I think that# 4 below will fix your aocl flash problem, as I had a similar problem at one point. I had problems with Quartus Pro 17 in the past, and moved to Quartus Pro 16.0 and successfully ran the basic boardtest.aocx (found below). I'm now trying Quartus Pro 17.0 again for the potential speed improvements, but I am not able to get things working, much the same as you. I'm experiencing a new problem now that I'd love help on if anyone has an idea.
Running: Quartus Pro 17.0, Centos 7, Arria 10 GX Development Board.
- I had similar problems, but got the PCIe slot to work as well.
- The install instructions to follow are in the following link. https://www.altera.com/documentation/tgy1490191698959.html
- Don't copy the commands from the text in the link. You are correct in that they contain characters that do not work. Type the commands as they look.
- When it says to uncompress the “ALTERAOCLSDKROOT/boards/a10_ref/bringup/a10_ref_initialization.tgz” to a temporary directory, make sure that the temporary directory is the “ALTERAOCLSDKROOT/boards/a10_ref/bringup” directory. Make a copy of the bringup directory first if you'd like.
The problem I am now having is with "aocl diagnose" which returns "found no active devices installed on the host machine" and then 5 options, none of which are working. My output is below (username replaced by <user>) and I was running the terminal in ~/intelFPGA_pro/17.0/hld/board/a10_ref/bringup.
[<user>@localhost bringup]$ su
Password:
[root@localhost bringup]# aocl install
aocl install: Running install from /home/<user>/intelFPGA_pro/17.0/hld/board/a10_ref/linux64/libexec
Looking for kernel source files in /lib/modules/3.10.0-514.26.2.el7.x86_64/build
Using kernel source files from /lib/modules/3.10.0-514.26.2.el7.x86_64/build
Building driver for BSP with name a10_ref
make: Entering directory `/usr/src/kernels/3.10.0-514.26.2.el7.x86_64'
CC [M] /tmp/opencl_driver_9PtW0d/aclpci_queue.o
CC [M] /tmp/opencl_driver_9PtW0d/aclpci.o
CC [M] /tmp/opencl_driver_9PtW0d/aclpci_fileio.o
CC [M] /tmp/opencl_driver_9PtW0d/aclpci_dma.o
CC [M] /tmp/opencl_driver_9PtW0d/aclpci_pr.o
CC [M] /tmp/opencl_driver_9PtW0d/aclpci_cmd.o
LD [M] /tmp/opencl_driver_9PtW0d/aclpci_a10_ref_drv.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/opencl_driver_9PtW0d/aclpci_a10_ref_drv.mod.o
LD [M] /tmp/opencl_driver_9PtW0d/aclpci_a10_ref_drv.ko
make: Leaving directory `/usr/src/kernels/3.10.0-514.26.2.el7.x86_64'
[root@localhost bringup]# exit
exit
[<user>@localhost bringup]$ aocl diagnose
aocl diagnose: Running diagnose from /home/<user>/intelFPGA_pro/17.0/hld/board/a10_ref/linux64/libexec
aocl diagnose: failed 32 times. First error below:
Vendor: Intel(R) Corporation
Found no active device installed on the host machine.
Please make sure to:
1. Set the environment variable AOCL_BOARD_PACKAGE_ROOT to the correct board package.
2. Install the driver from the selected board package.
3. Properly install the device in the host machine.
4. Configure the device with a supported OpenCL design.
5. Reboot the machine if the PCI Express link failed.
DIAGNOSTIC_FAILED
[<user>@localhost bringup]$