AVolo2
Occasional Contributor
3 years agocan arria-10-gx run on aarch64 nvidia jetson?
we got this card
can it work on jetson board?
Thanks
It is listed in lspci outputs as
0005:01:00.0 Processing accelerators: Intel Corporation Device 09c4
we got this card
can it work on jetson board?
Thanks
It is listed in lspci outputs as
0005:01:00.0 Processing accelerators: Intel Corporation Device 09c4
errors are from 5.8
setup.sh execution
ation, 1,011 kB of additional disk space will be used. Get:1 /home/hp/inteldevstack/a10_gx_pac_ias_1_2_1_pv/sw/opae-intel-fpga-driver_2.0.3_all.deb opae-intel-fpga-driver all 2.0.3 [153 kB] Selecting previously unselected package opae-intel-fpga-driver. (Reading database ... 509701 files and directories currently installed.) Preparing to unpack .../opae-intel-fpga-driver_2.0.3_all.deb ... Unpacking opae-intel-fpga-driver (2.0.3) ... Setting up opae-intel-fpga-driver (2.0.3) ... Add module source to dkms Creating symlink /var/lib/dkms/intel-fpga/2.0.3/source -> /usr/src/intel-fpga-2.0.3 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area..... make -j4 KERNELRELEASE=5.8.0-49-generic KERNELDIR=/lib/modules/5.8.0-49-generic/build......(bad exit status: 2) Error! Bad return status for module build on kernel: 5.8.0-49-generic (x86_64) Consult /var/lib/dkms/intel-fpga/2.0.3/build/make.log for more information. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j4 KERNELRELEASE=5.8.0-49-generic KERNELDIR=/lib/modules/5.8.0-49-generic/build...(bad exit status: 2) ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/opae-intel-fpga-driver.0.crash' Error! Bad return status for module build on kernel: 5.8.0-49-generic (x86_64) Consult /var/lib/dkms/intel-fpga/2.0.3/build/make.log for more information. modprobe: FATAL: Module mtd not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module spi-nor-mod not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-generic-qspi not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-on-chip-flash not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module altera-asmip2 not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module i2c-altera not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module spi-altera-mod not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module ifpga-sec-mgr not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module avmmi-bmc not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-max10 not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module fpga-mgr-mod not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-fpga-pci not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-fpga-afu not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-fpga-fme not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-fpga-pac-hssi not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module intel-fpga-pac-iopll not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module pac_n3000_net not found in directory /lib/modules/5.8.0-49-generic modprobe: FATAL: Module c827_retimer not found in directory /lib/modules/5.8.0-49-generic ------------------------------------------------------------------------------- - 1. Ubuntu installing OPAE software ... ------------------------------------------------------------------------------- >>> Running cmd: sudo apt-get install ./opae-libs-1.1.2-2.x86_64.deb
now it returns this
lspci -s 07:00.0 -vv 07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff) (prog-if ff) !!! Unknown header type 7f
cat /var/crash/opae-intel-fpga-driver.0.crash ProblemType: Package DKMSBuildLog: DKMS make.log for intel-fpga-2.0.3 for kernel 5.8.0-49-generic (x86_64) Fri Jun 10 04:26:19 EDT 2022 make -C /lib/modules/5.8.0-49-generic/build M=/var/lib/dkms/intel-fpga/2.0.3/build modules make[1]: Entering directory '/usr/src/linux-headers-5.8.0-49-generic' CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/intel-generic-qspi.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/devices/intel-on-chip-flash.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/altera-asmip2.o In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/regmap-intel-pac.h:5, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/mtd/intel-generic-qspi.h:12, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/intel-generic-qspi.c:15: ./include/linux/iopoll.h:120:0: warning: "readx_poll_timeout" redefined #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/intel-generic-qspi.c:13:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:43:0: note: this is the location of the previous definition #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/regmap-intel-pac.h:5, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/mtd/intel-generic-qspi.h:12, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/intel-generic-qspi.c:15: ./include/linux/iopoll.h:140:0: warning: "readx_poll_timeout_atomic" redefined #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/spi-nor/intel-generic-qspi.c:13:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:78:0: note: this is the location of the previous definition #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/regmap-intel-pac.h:5, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/mtd/intel-on-chip-flash.h:12, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/devices/intel-on-chip-flash.c:17: ./include/linux/iopoll.h:120:0: warning: "readx_poll_timeout" redefined #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/devices/intel-on-chip-flash.c:14:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:43:0: note: this is the location of the previous definition #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/regmap-intel-pac.h:5, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/mtd/intel-on-chip-flash.h:12, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/devices/intel-on-chip-flash.c:17: ./include/linux/iopoll.h:140:0: warning: "readx_poll_timeout_atomic" redefined #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/mtd/devices/intel-on-chip-flash.c:14:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:78:0: note: this is the location of the previous definition #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:23:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:43:0: warning: "readx_poll_timeout" redefined #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/i2c/altera.h:13, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:22: ./include/linux/iopoll.h:120:0: note: this is the location of the previous definition #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ In file included from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:23:0: /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/iopoll-4-12.h:78:0: warning: "readx_poll_timeout_atomic" redefined #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ In file included from ./include/linux/regmap.h:20:0, from /var/lib/dkms/intel-fpga/2.0.3/build/include/linux/i2c/altera.h:13, from /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:22: ./include/linux/iopoll.h:140:0: note: this is the location of the previous definition #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c: In function ‘altr_i2c_probe’: /var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:636:4: error: implicit declaration of function ‘i2c_new_device’; did you mean ‘i2c_acpi_new_device’? [-Werror=implicit-function-declaration] i2c_new_device(&idev->adapter, pdata->devices + i); ^~~~~~~~~~~~~~ i2c_acpi_new_device cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target '/var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.o' failed make[2]: *** [/var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:1783: recipe for target '/var/lib/dkms/intel-fpga/2.0.3/build' failed make[1]: *** [/var/lib/dkms/intel-fpga/2.0.3/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.8.0-49-generic' Makefile:115: recipe for target 'all' failed make: *** [all] Error 2 DKMSKernelVersion: 5.8.0-49-generic Date: Fri Jun 10 04:26:32 2022 DuplicateSignature: dkms:opae-intel-fpga-driver:2.0.3:/var/lib/dkms/intel-fpga/2.0.3/build/drivers/i2c/busses/i2c-altera.c:636:4: error: implicit declaration of function ‘i2c_new_device’; did you mean ‘i2c_acpi_new_device’? [-Werror=implicit-function-declaration] Package: opae-intel-fpga-driver 2.0.3 PackageVersion: 2.0.3 SourcePackage: opae-driver Title: opae-intel-fpga-driver 2.0.3: intel-fpga kernel module failed to build
previously after the minor upgrade but before upgrade to 5.8 it was better;
it was like
lspci -s 07:00.0 -vv 07:00.0 Processing accelerators: Intel Corporation Device 09c4 Subsystem: Intel Corporation Device 0000 Physical Slot: 1 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 NUMA node: 0 Region 0: Memory at 80600000 (64-bit, prefetchable) [size=512K] Region 2: Memory at 80680000 (64-bit, prefetchable) [size=512K] Capabilities: <access denied> Kernel driver in use: dfl-pci Kernel modules: dfl_pci
@seemab321 It depends
In my environment it won't work.
However, according to the Intel's documentation it works, which is not the case in my situation
now after upgrading 18.04 to 20.04
------------------------------------------------------------------------------- - Begin installing Intel® Acceleration Stack for Intel® Xeon® CPU with FPGAs Development Package ------------------------------------------------------------------------------- Intel® Acceleration Stack for Intel® Xeon® CPU with FPGAs Development Package is only supported on RedHat 7.6.* kernel 3.10.* or Ubuntu 18.04, you're currently on Ubuntu 20.04 LTS \n \l using kernel 5.8.0-49-generic. Refer to the Intel® Acceleration Stack for Intel® Xeon® CPU with FPGAs Development Package Quick Start Guide, https://www.intel.com/content/www/us/en/programmable/documentation/iyu1522005567196.html, for complete operating system support information.
it won't work saying the version of ubuntu should be 18
Linux hp-ProLiant-MicroServer-Gen10-Plus 5.8.0-49-generic #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
but on 18 with 5.8 it wouldn't work neither
Hi,
Are you installing the driver from the Programmer Acceleration Stack installer? If yes, then it is not supported. You will need to use the OPAE in the https://opae.github.io/
To clarify:
Installing everything from Programmer Acceleration Stack installer to just reinstalled Ubuntu 18.04 OS is not supported on x86_64? Is it supported in some other specific OS version? Or the support has been dropped for all OS'es?
I have tried installing the driver from the poorly documented open source source https://opae.github.io/ too - it resulted in red error message while booting the linux-dfl; I tried like 12 times already; so rebuilding it again
Could you provide redundant instructions how to get the hello world example running? Which OS is required?
@kellyhilton right now even the trivial task to run hello world on x86_64 fresh installed OS won't work
once it works we will try further on aarch64
Hi,
Have you try other OS?
@JohnT_Intel I tried asking intel regarding which OS to install
They pointed to Ubuntu 18.04
Shall I repeat? Which exactly OS [exact OS image [iso]will work with the PAC ? In a way the installation script will install everything including the driver?
Hi,
For standard installation, it is supporting Ubuntu 18.04. You may refer to https://www.intel.com/content/www/us/en/docs/programmable/683633/1-2-1/system-requirements.html
Hello
Coud you confirm
That on 18.04 not only opae-sdk installs with linux-dfl from opae repository
But the intel setup script install also installing linux-dfl from dev stack install script, please?
Other Intel folks pointed out that intel dev stack install script doesn't install linux-dfl at any OS as I understand
Moreover installing it manually from opae-sdk results in nothing but in boot error when booting from linux -dfl kernel.
Any ideas?
-BR
AV