- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm trying to run the hello_world OpenCL program in FPGA Bittware s5phq under Centos 6.6. I have tried to follow the steps of Altera manual (Getting Started Guide), but diagnostic is not working: >> aocl diagnostic it seems to be something wrong: aocl diagnose: Running diagnostic from /opt/altera/apbpp_v14.0/linux64/libexec Verified that the kernel mode driver is installed on the host machine. Using board package from vendor: BittWare Inc Querying information for all supported devices that are installed on the host machine ... 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 Altera OpenCL PCIE Express Driver is successfully installed, because that appears loaded but not used: >> lsmod | grep aclpci aclpci_drv 29316 0 In fact, it is detected using lspci: >> lspci | grep Altera 83:00.0 Unassigned class [ff00]: Altera Corporation Device ab00 (rev 01) I've managed to compile the hello_world kernel from Altera, reaching the .aocx file but I cannot obviously flash on the fpga. Any ideas?Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just my 2 cents:
1. Did you try to restart the computer after installed the driver 2. Did you run aocl install with admin 3. try chmod some programs/files within your board support package folder to read write or read write execute because sometimes they are read only. 4. try to flash with serial link (such as USB Blaster, dependent on which card you have) instead of via pcie. Regards, Ryan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide the following env variables?:
$ALTERAOCLSDKROOT $AOCL_BOARD_PACKAGE_ROOT $QUARTUS_ROOT It looks to me that your Bittware BSP isn't installed in the correct location. Bittware should have documentation on how to install it in the proper locations. I believe it came with the BSP. Modify the items below based on the location of your Quartus installation 1. $ALTERAOCLSDKROOT should be /root/altera/hld 2. $AOCL_BOARD_PACKAGE_ROOT = $ALTERAOCLSDKROOT/board/apbpp_v14.0 (although I would change it to bittware or something more meaningful ) And as RT137 said, run aocl install as root. You will have to set $QUARTUS_ROOT and $LM_LICENSE_FILE correctly. As far as flashing the board, see the following thread. Bittware had an error in their documentation. Not sure if it has been addressed. http://www.alteraforum.com/forum/showthread.php?t=45702 Let me know if this helps, Rudy
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page