Forum Discussion
can 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
54 Replies
- JohnT_Altera
Regular Contributor
Hi,
Can you update your Kernel Driver to 5.8?
- AVolo2
Occasional Contributor
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_pcisudo ./hello_fpga Using OPAE C library version '1.1.2' build 'fa90f2cd' Error enumerating accelerators: no driver available Error no matching accelerator: not foundor 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/Linuxsudo 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-genericThe following NEW packages will be installed: linux-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49at 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 buildHowever 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
- JohnT_Altera
Regular Contributor
Hi,
May I know what is the OS and kernel version used?
- AVolo2
Occasional Contributor
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
- JohnT_Altera
Regular Contributor
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.
- AVolo2
Occasional Contributor
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
- AVolo2
Occasional Contributor
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 - JohnT_Altera
Regular Contributor
Hi,
Can you try " lspci -s 07:00.0 -vv" where it will show if the driver is bind or not?
- AVolo2
Occasional Contributor
!!! Unknown header type 7f
- AVolo2
Occasional Contributor
lspci | grep 09c4 07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff) - AVolo2
Occasional Contributor
om dmesg outputs
[ 31.135966] dfl-fme-bridge dfl-fme-bridge.1.auto: fpga bridge [DFL FPGA FME Bridge] registered - AVolo2
Occasional Contributor
after installing the dev stack
after sourcing
. /home/$USER/inteldevstack/init_env.shsudo fpgasupdate $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_0/bin/\ > nlb_mode_0_unsigned.gbs [2022-06-09 21:38:42,635] [ERROR ] No suitable PAC found.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 - AVolo2
Occasional Contributor
- AVolo2
Occasional Contributor
to build these guys?
usr/src/opae/samples$ ls
hello_events.c hello_fpga.c