Hi Mylee
Here are my answers to your question:
1) I think so, here is the output:
root@hpvmfpga:[/home/aejjeh]: aocl install
Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [y/n] y
aocl install: Adding the board package /opt/intelFPGA_pro/19.1/hld/board/a10_ref to the list of installed packages
aocl install: Setting up the FPGA Client Driver (FCD) to the system.
Install the FCD file to /opt/Intel/OpenCL/Boards
Installing the board package driver to the system.
aocl install: Running install from /opt/intelFPGA_pro/19.1/hld/board/a10_ref/linux64/libexec
Looking for kernel source files in /lib/modules/4.15.0-66-generic/build
Using kernel source files from /lib/modules/4.15.0-66-generic/build
Building driver for BSP with name a10_ref
make: Entering directory '/usr/src/linux-headers-4.15.0-66-generic'
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci_queue.o
/tmp/opencl_driver_6kHrDJ/aclpci_queue.c: In function ‘queue_push’:
/tmp/opencl_driver_6kHrDJ/aclpci_queue.c:133:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
void* dest = queue_addr(q, loc);
^
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci.o
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci_fileio.o
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci_dma.o
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci_pr.o
CC [M] /tmp/opencl_driver_6kHrDJ/aclpci_cmd.o
/tmp/opencl_driver_6kHrDJ/aclpci_cmd.c: In function ‘aclpci_exec_cmd’:
/tmp/opencl_driver_6kHrDJ/aclpci_cmd.c:176:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
size_t bytes_copy = strnlen(ACL_BOARD_PKG_NAME, BUF_SIZE) + strnlen(ACL_DRIVER_VERSION, BUF_SIZE) + 2; // 1 for '.', 1 for '\0'
^
LD [M] /tmp/opencl_driver_6kHrDJ/aclpci_a10_ref_drv.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/opencl_driver_6kHrDJ/aclpci_a10_ref_drv.mod.o
LD [M] /tmp/opencl_driver_6kHrDJ/aclpci_a10_ref_drv.ko
make: Leaving directory '/usr/src/linux-headers-4.15.0-66-generic'
2) Yes, jtagconfig passes
root@hpvmfpga:[/home/aejjeh]: jtagconfig
1) USB-BlasterII [2-1.7]
02E660DD 10AX115H1(.|E2|ES)/10AX115H2/..
020A40DD 5M(1270ZF324|2210Z)/EPM2210
3) I cannot run aocl program because aocl does not detect the device to start with
4) Not sure what you mean here, I reboot the machine manually when I am trying to initialize the board. I have a script that I use to initialize the board based on the AN 807 Intel document: https://www.intel.com/content/www/us/en/programmable/documentation/tgy1490191698959.html#wmh1490212984610
Basically, I set the jtag speed to 6M, then I run the following two commands:
quartus_pgm -c 1 -m JTAG -o "p;max5_150.pof@2"
quartus_pgm -c 1 -m JTAG -o "p;top.sof"
After that I do a soft reboot. When the reboot is done, I used to run aocl install and then the board would work.
5) The board is inside the PC chassis. I cannot see the LCD display while the board is connected to PCIe.