[setupvars.sh] OpenVINO environment initialized autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ ./init_opencl.sh Proper usage: source init_opencl.sh autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ source init_opencl.sh INTELFPGAOCLSDKROOT is not set Using script's current directory (/opt/altera/aocl-pro-rte/aclrte-linux64) aoc was not found, but aocl was found. Assuming only RTE is installed. AOCL_BOARD_PACKAGE_ROOT path is not set in environment. Setting to default a10_ref board. If you want to target another board, do export AOCL_BOARD_PACKAGE_ROOT= and re-run this script Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ cd /home/autodrive/Downloads/fpga_support_files/ autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:~/Downloads/fpga_support_files$ sudo ./setup_env.sh [sudo] password for autodrive: Adding to Path (OpenVINO AOCL) INTELFPGAOCLSDKROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64. Using that. aoc was not found, but aocl was found. Assuming only RTE is installed. AOCL_BOARD_PACKAGE_ROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref. Using that. Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH [setupvars.sh] OpenVINO environment initialized autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:~/Downloads/fpga_support_files$ cd /opt/altera/aocl-pro-rte/aclrte-linux64/ autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ source init_opencl.sh INTELFPGAOCLSDKROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64. Using that. aoc was not found, but aocl was found. Assuming only RTE is installed. AOCL_BOARD_PACKAGE_ROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref. Using that. Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ aocl diagnose all autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ aocl install Do you want to install /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref? [y/n] y aocl install: Adding the board package /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref to the list of installed pckages touch: cannot touch '/opt/Intel/OpenCL/.inst_pkg_busy.marker': Permission denied Unable to unlock /opt/Intel/OpenCL/installed_packages autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ sudo aocl install sudo: aocl: command not found autodrive@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64$ sudo su root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# cd /home/autodrive/Downloads/fpga_support_files/ root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/home/autodrive/Downloads/fpga_support_files# ^C root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/home/autodrive/Downloads/fpga_support_files# ./setup_env.sh Adding to Path (OpenVINO AOCL) INTELFPGAOCLSDKROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64. Using that. aoc was not found, but aocl was found. Assuming only RTE is installed. AOCL_BOARD_PACKAGE_ROOT is set to /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref. Using that. Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH [setupvars.sh] OpenVINO environment initialized root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/home/autodrive/Downloads/fpga_support_files# aocl install aocl: command not found root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/home/autodrive/Downloads/fpga_support_files# cd /opt/altera/aocl-pro-rte/aclrte-linux64/ root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# source init_opencl.sh INTELFPGAOCLSDKROOT is not set Using script's current directory (/opt/altera/aocl-pro-rte/aclrte-linux64) aoc was not found, but aocl was found. Assuming only RTE is installed. AOCL_BOARD_PACKAGE_ROOT path is not set in environment. Setting to default a10_ref board. If you want to target another board, do export AOCL_BOARD_PACKAGE_ROOT= and re-run this script Adding /opt/altera/aocl-pro-rte/aclrte-linux64/bin to PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/host/linux64/lib to LD_LIBRARY_PATH Adding /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/lib to LD_LIBRARY_PATH root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# aocl diagnose -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- Vendor: Intel(R) Corporation MMD INFO : [acla10_ref0] PCIe-to-fabric read test failed, read 0xffffffff after 1 attempts Phys Dev Name Status Information acla10_ref0 Failed Board name not available. Failed initial tests, so not working as expected. Please try again after reprogramming the device. 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 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- Vendor: Intel(R) Corporation MMD INFO : [acla10_ref0] PCIe-to-fabric read test failed, read 0xffffffff after 1 attempts Phys Dev Name Status Information acla10_ref0 Failed Board name not available. Failed initial tests, so not working as expected. Please try again after reprogramming the device. 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 -------------------------------------------------------------------- Call "aocl diagnose " to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# aocl install Do you want to install /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref? [y/n] y aocl install: Adding the board package /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref to the list of installed pckages aocl install: Setting up FCD aocl install: Running install from /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/linux64/libexec Looking for kernel source files in /lib/modules/4.15.0-55-generic/build Using kernel source files from /lib/modules/4.15.0-55-generic/build Building driver for BSP with name a10_ref make: Entering directory '/usr/src/linux-headers-4.15.0-55-generic' CC [M] /tmp/opencl_driver_kZF7Zy/aclpci_queue.o CC [M] /tmp/opencl_driver_kZF7Zy/aclpci.o CC [M] /tmp/opencl_driver_kZF7Zy/aclpci_fileio.o CC [M] /tmp/opencl_driver_kZF7Zy/aclpci_dma.o CC [M] /tmp/opencl_driver_kZF7Zy/aclpci_pr.o CC [M] /tmp/opencl_driver_kZF7Zy/aclpci_cmd.o LD [M] /tmp/opencl_driver_kZF7Zy/aclpci_a10_ref_drv.o Building modules, stage 2. MODPOST 1 modules CC /tmp/opencl_driver_kZF7Zy/aclpci_a10_ref_drv.mod.o LD [M] /tmp/opencl_driver_kZF7Zy/aclpci_a10_ref_drv.ko make: Leaving directory '/usr/src/linux-headers-4.15.0-55-generic' root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# aocl flash acl0 boardtest.aocx Device not part of know packages. -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- Call "aocl diagnose " to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# source AOCL_BOARD_PACKAGE_ROOT /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/ bash: AOCL_BOARD_PACKAGE_ROOT: No such file or directory root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# export AOCL_BOARD_PACKAGE_ROOT /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/ bash: export: `/opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/': not a valid identifier root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INTELFPGAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INTELFPGAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# aocl flash acl0 boardtest.aocxDevice not part of know packages. -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- Call "aocl diagnose " to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# export AOCL_BOARD_PACKAGE_ROOT root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/aocl-pro-rte/aclrte-linux64# cd /opt/altera/intelFPGA/18.1/qprogrammer/bin/ root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# aocl flash acl0 boardtest.aocx Device not part of know packages. -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- Call "aocl diagnose " to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# cp boardtest.aocx /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref/ root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# aocl flash acl0 boardtest.aocxDevice not part of know packages. -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 -------------------------------------------------------------------- -------------------------------------------------------------------- Warning: No devices attached for package: /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_ref -------------------------------------------------------------------- Call "aocl diagnose " to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# aocl diagnose a10_ref -------------------------------------------------------------------- a10_ref is not a valid device name. -------------------------------------------------------------------- root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# aocl diagnose 10AX115S2F45 -------------------------------------------------------------------- 10AX115S2F45 is not a valid device name. -------------------------------------------------------------------- root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# lspci | grep Altera 82:00.0 Processing accelerators: Altera Corporation Device 2494 (rev 01) root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# aocl diagnose 2494 -------------------------------------------------------------------- 2494 is not a valid device name. -------------------------------------------------------------------- root@autodrive-RS363S15F-Invalid-entry-length-16-Fixed-up-to-11:/opt/altera/intelFPGA/18.1/qprogrammer/bin# l