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
om dmesg outputs
[ 31.135966] dfl-fme-bridge dfl-fme-bridge.1.auto: fpga bridge [DFL FPGA FME Bridge] registered
lspci | grep 09c4 07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff)
Hi,
Can you try " lspci -s 07:00.0 -vv" where it will show if the driver is bind or not?
!!! Unknown header type 7f
lspci -s 07:00.0 -vv 07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: dfl-pci Kernel modules: dfl_pci
Hi,
It looks like the lspci is not fully working on the NVIDIA Jetson platform. You will need to find ways to enable this on the platform. Currently the driver is only for X86 CPU.
The error/ issue is on x86_64 Xeon computer
lspci -s 07:00.0 -vv 07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: dfl-pci Kernel modules: dfl_pci
Hi,
May I know what is the OS and kernel version used?
Linux hp-ProLiant-MicroServer-Gen10-Plus 5.4.0-113-generic #127~18.04.1-Ubuntu SMP Wed May 18 15:40:23 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Hi,
Can you update your Kernel Driver to 5.8?
after minor upgrade it has become as listed below;
shall I still install 5.8 kernel?
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
sudo ./hello_fpga Using OPAE C library version '1.1.2' build 'fa90f2cd' Error enumerating accelerators: no driver available Error no matching accelerator: not found
or the dev stack environment needs to be reinstalled?
Linux hp-ProLiant-MicroServer-Gen10-Plus 5.4.0-117-generic #132~18.04.1-Ubuntu SMP Thu Jun 2 23:36:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
sudo fpgasupdate $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_0/bin/\ > nlb_mode_0_unsigned.gbs [2022-06-10 04:13:07,711] [ERROR ] No suitable PAC found.
However installing 5.8 with
apt install linux-image-unsigned-5.8.0-49-generic linux-headers-5.8.0-49-generic
The following NEW packages will be installed: linux-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49
at this step I can see some crash log for fpga from prior attempts like
CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm-debug.o /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c: In function ‘show_csk_vector’: /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c:369:2: error: implicit declaration of function ‘bitmap_from_u32array’; did you mean ‘bitmap_from_arr32’? [-Werror=implicit-function-declaration] bitmap_from_u32array(csk_map, TCM_CSK_BIT_LEN, csk32, ^~~~~~~~~~~~~~~~~~~~ bitmap_from_arr32 CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-iperf.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-dperf.o CC [M] /var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-error.o cc1: some warnings being treated as errors scripts/Makefile.build:270: recipe for target '/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.o' failed make[2]: *** [/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:1762: 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.4.0-117-generic' Makefile:115: recipe for target 'all' failed make: *** [all] Error 2 DKMSKernelVersion: 5.4.0-117-generic Date: Fri Jun 10 04:02:39 2022 DuplicateSignature: dkms:opae-intel-fpga-driver:2.0.3:/var/lib/dkms/intel-fpga/2.0.3/build/drivers/fpga/intel/fme-tcm.c:369:2: error: implicit declaration of function ‘bitmap_from_u32array’; did you mean ‘bitmap_from_arr32’? [-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
However 5.8 kernel has been installed
which steps are required next?
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
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
Hi,
It looks like it is making the driver issue. You will need to either modify the driver to work with kernel version 5.4 or update the kernel version to 5.8.
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
As I mentioned before I have already installed 5.8 kernel