Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16593 Discussions

a10gx board installation failed

Altera_Forum
Honored Contributor II
3,498 Views

I follow to install,although at "Installing kernel driver module... " and "Installing board drivers..." gives "install: completed successfully" however there are some errors during install,so I am not really sure install truly successful.Here is install log: --------------------------------------------------------------- C:\Users\source>aocl installDo you want to install C:\intelFPGA_pro\17.1\hld\board\a10_ref? [y/n] y aocl install: Running install from c:/intelFPGA_pro/17.1/hld/board/a10_ref/windows64/libexec +------------------------------------------------------++ Performing initial checks... ++------------------------------------------------------++------------------------------------------------------++ Installing kernel driver module... ++------------------------------------------------------+WDREG utility v10.21. Build Aug 31 2010 14:21:54Processing HWID *WINDRVR6Installing a signed driver package for *WINDRVR6CM_Get_DevNode_Status ret value 0, status 1802401, problem 1cLOG ok: 1, ENTER: DriverPackageInstallALOG ok: 1, ENTER: DriverPackageInstallWLOG ok: 1, Looking for Model Section [DeviceList.NTamd64]...LOG ok: 1, RETURN: DriverPackageInstallW (0xE000024B)LOG ok: 1, RETURN: DriverPackageInstallA (0xE000024B) difx_install_preinstall_inf: err e000024b, last event 0, last error 0. UNKNOWNinstall: completed successfully+------------------------------------------------------++ Installing board drivers... ++------------------------------------------------------+WDREG utility v10.21. Build Aug 31 2010 14:21:54Processing HWID PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01Installing a non-signed driver package for PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01Device node (hwid:PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01): does not exist and is not configured. Pre-installing.LOG ok: 1, ENTER: DriverPackagePreinstallALOG ok: 1, ENTER: DriverPackagePreinstallWLOG ok: 1, RETURN: DriverPackagePreinstallW (0xE000022F)LOG ok: 1, RETURN: DriverPackagePreinstallA (0xE000022F) difx_install_preinstall_inf: err e000022f, last event 0, last error 0. UNKNOWNinstall: completed successfully+------------------------------------------------------++ ****** SUCCESS! Please reboot your system +-------------------------------------------------------------------------------After install, I try to use aocl diagnose, and get diagnose.exe system error: can't find altera_a10_ref_mmd.dll---------------------Warning:No devices attached for package:C:\intelFPGA_pro\17.1\hld\board\a10_ref---------------------Even I reinstall 2 times and get same message.When I use clinfo in command, get-------------------Platform Name: Intel(R) FPGA SDK for OpenCL(TM)ERROR: clGetDeviceIDs(-1)-------------------

0 Kudos
11 Replies
Altera_Forum
Honored Contributor II
1,333 Views

I dont know why my "\n" or "enter" is missing

0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

C:\Users\10611016\source>aocl install 

Do you want to install C:\intelFPGA_pro\17.1\hld\board\a10_ref? [y/n] y 

aocl install: Running install from c:/intelFPGA_pro/17.1/hld/board/a10_ref/windows64/libexec 

+------------------------------------------------------+ 

+ Performing initial checks... + 

+------------------------------------------------------+ 

 

+------------------------------------------------------+ 

+ Installing kernel driver module... + 

+------------------------------------------------------+ 

 

WDREG utility v10.21. Build Aug 31 2010 14:21:54 

 

Processing HWID *WINDRVR6 

Installing a signed driver package for *WINDRVR6 

CM_Get_DevNode_Status ret value 0, status 1802401, problem 1c 

LOG ok: 1, ENTER: DriverPackageInstallA 

LOG ok: 1, ENTER: DriverPackageInstallW 

LOG ok: 1, Looking for Model Section [DeviceList.NTamd64]... 

LOG ok: 1, RETURN: DriverPackageInstallW (0xE000024B) 

LOG ok: 1, RETURN: DriverPackageInstallA (0xE000024B) 

difx_install_preinstall_inf: err e000024b, last event 0, last error 0. UNKNOWN 

install: completed successfully 

 

+------------------------------------------------------+ 

+ Installing board drivers... + 

+------------------------------------------------------+ 

 

WDREG utility v10.21. Build Aug 31 2010 14:21:54 

 

Processing HWID PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01 

Installing a non-signed driver package for PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01 

Device node (hwid:PCI\VEN_1172&DEV_2494&SUBSYS_A1511172&REV_01): does not exist and is not configured. Pre-installing. 

LOG ok: 1, ENTER: DriverPackagePreinstallA 

LOG ok: 1, ENTER: DriverPackagePreinstallW 

LOG ok: 1, RETURN: DriverPackagePreinstallW (0xE000022F) 

LOG ok: 1, RETURN: DriverPackagePreinstallA (0xE000022F) 

difx_install_preinstall_inf: err e000022f, last event 0, last error 0. UNKNOWN 

install: completed successfully 

 

+------------------------------------------------------+ 

+ ****** SUCCESS! Please reboot your system + 

+------------------------------------------------------+
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

when I use aocl diagnose, I get:  

diagnose.exe error: can't find altera_a10_ref_mmd.dll 

--------------------- 

Warning: 

No devices attached for package: 

C:\intelFPGA_pro\17.1\hld\board\a10_ref 

---------------------
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

Using clinfo in command, and get: 

----------------------------------- 

Platform Name: Intel(R) FPGA SDK for OpenCL(TM) 

ERROR: clGetDeviceIDs(-1) 

-----------------------------------
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

Your log is not readable like this, so it is hard to tell what is happening. Have you followed Altera's instructions in the OpenCL Getting Started Guide? Also what version of Windows are you using? Others have reproted that correct driver installation on Windows 8/8.1/10 requires disabling driver signature enforcement.

0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

Yes, I follow Altera's instructions in the OpenCL Getting Started Guide. 

My system is windows 10, and I have disabling driver signature enforcement. 

 

Here is my Warning  

C:\Windows\system32>aocl diagnose 

Warning: 

No devices attached for package: 

C:\intelFPGA_pro\17.1\hld\board\a10_ref 

 

 

C:\Windows\system32>clinfo 

Warning: Cannot find any Intel(R) FPGA Board libraries. No Intel(R) FPGA devices will be loaded. Please contact your board vender or see section "Linking Your Host Application to the Khronos ICD Loader Library" of the Programming Guide to set up FCD manually. 

Platform Name: Intel(R) FPGA SDK for OpenCL(TM) 

ERROR: clGetDeviceIDs(-1)
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

Here is log when I run Hello_World 

 

 

C:\Users\exm_opencl_hello_world_x64_windows\hello_world>aoc -march=emulator -v -board=a10gx device/hello_world.cl -o bin/hello_world.aocx 

aoc: Environment checks are completed successfully. 

aoc: If necessary for the compile, your BAK files will be cached here: C:\Users\AppData\Local\aocl 

You are now compiling the full flow!! 

aoc: Selected target board a10gx 

aoc: Running OpenCL parser.... 

aoc: OpenCL parser completed successfully. 

aoc: Compiling for Emulation .... 

Error: Linker FAILED. 

Refer to hello_world/hello_world.log for details.
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

You first have to solve the problem with the driver not being compiled correctly. Unless that is done, aocl diagnose will not work. Kernel compilation is a whole different story and if you are getting compilation failure, that needs to be diagnosed in a different fashion. 

 

Have you made sure your FPGA board is installed correctly? Have you programmed the FPGA using a pre-compiled OpenCL binary? The driver compilation log seems to state that it is unable to find your board.
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

I haven't plug in FPGA board, I just want to use <aocl -march=emulator> to make sure my kernel code is correct and make some optimization. So I try to solve kernel compilation first. 

I follow getting start guide, and it works on my Linux CentOS 7, but not work on windows 10.
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

I now solve the problem. 

on windows 10, visual studio 2017 community 

we need to set VS LIB variable to x64. 

we can first echo %LIB% on Developer command Prompt for VS 2017, it may show our default is point to x86 system. 

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\ATLMFC\lib\x86;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\lib\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.16299.0\um\x86 

 

then, we enter C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build and run vcvarsall.bat x64. It will point LIB variable to x64.
0 Kudos
Altera_Forum
Honored Contributor II
1,333 Views

If you haven't connected the board yet, you should not expect the driver installtion or "aocl diagnose" to work correctly.

0 Kudos
Reply