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
Hi,
It is not verified with NVIDIA Jestson as the driver is only verified in X86 Xeon CPU. It should be able to work but the concern will be on the driver side.
Hi @JohnT_Intel
Thank you for following up
So how can I try to work with the unit from the unix shell?
Hi,
You may try with the default driver to see if it is working or not. If it is not working then you might need to modify the driver where you can get the source code of the driver from https://opae.github.io/2.0.11/index.html.
Thank you for your reply.
I will try https://opae.github.io/2.0.11/docs/install_guide/installation_guide.html#system-compatibility
But what exactly the way to try the default driver? What are the steps to do so ? Could you extend, please?
-BR
AV
Hi,
You can download the installation for the acceleration stack from https://www.intel.com/content/www/us/en/collections/products/fpga/software/downloads.html?s=Newest&f:guidetm5E778C79B03E44E9B8E4DD2A75C6DEE3=%5BIntel%C2%AE%20Acceleration%20Stack%20for%20Intel%C2%AE%20PAC%20with%20Arria%2010%20GX%5D.
You may refer to the quick start guide in https://www.intel.com/content/www/us/en/docs/programmable/683633/1-2-1/about-this-document.html
this one during the installation script running would say that it requires x86_64 processor instruction set
The other one which is the method for building from sources, used with ubuntu
which kernel modules need to be built for ubuntu?
could you extend, please? Just building the opae-sdk won't work, will it without modules customly added?
for fedora I can see these steps listed
$ cat configs/n3000_d5005_defconfig >> .config $ echo 'CONFIG_LOCALVERSION="-dfl"' >> .config $ echo 'CONFIG_LOCALVERSION_AUTO=y' >> .config
trying also to build the package [ failed]
~/opae-sdk/packaging/opae/deb$ ./create ubuntu
trying to build without packaging
/home/nvidia/opae-sdk/libraries/plugins/vfio/opae_vfio.c: In function ‘vfio_fpgaOpen’: /home/nvidia/opae-sdk/libraries/plugins/vfio/opae_vfio.c:681:2: error: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Werror=implicit-function-declaration] 681 | __builtin_cpu_init(); | ^~~~~~~~~~~~~~~~~~ | __builtin_irint /home/nvidia/opae-sdk/libraries/plugins/vfio/opae_vfio.c:682:6: error: implicit declaration of function ‘__builtin_cpu_supports’; did you mean ‘__builtin_isupper’? [-Werror=implicit-function-declaration] 682 | if (__builtin_cpu_supports("avx512f")) { | ^~~~~~~~~~~~~~~~~~~~~~ | __builtin_isupper [ 24%] Building C object libraries/plugins/xfpga/CMakeFiles/xfpga.dir/enum.c.o [ 24%] Building C object libraries/libbitstream/CMakeFiles/bitstream.dir/metadatav1.c.o [ 25%] Building CXX object libraries/libopaecxx/CMakeFiles/opae-cxx-core.dir/src/except.cpp.o [ 26%] Building C object libraries/plugins/vfio/CMakeFiles/opae-v.dir/dfl.c.o [ 27%] Building C object libraries/libbitstream/CMakeFiles/bitstream.dir/__/__/tests/framework/mock/opae_std.c.o [ 27%] Building CXX object libraries/libopaecxx/CMakeFiles/opae-cxx-core.dir/src/errors.cpp.o [ 27%] Linking C shared library ../../lib/libbitstream.so [ 27%] Built target bitstream [ 27%] Building C object libraries/libboard/board_common/CMakeFiles/board_common.dir/board_common.c.o [ 27%] Building C object libraries/plugins/xfpga/CMakeFiles/xfpga.dir/error.c.o [ 27%] Building CXX object libraries/libopaecxx/CMakeFiles/opae-cxx-core.dir/src/sysobject.cpp.o [ 28%] Building C object libraries/plugins/xfpga/CMakeFiles/xfpga.dir/umsg.c.o [ 29%] Building C object libraries/libboard/board_common/CMakeFiles/board_common.dir/__/__/__/tests/framework/mock/opae_std.c.o [ 29%] Linking C static library ../../../lib/libboard_common.a [ 30%] Built target board_common [ 30%] Building C object libraries/libboard/board_a10gx/CMakeFiles/board_a10gx.dir/board_a10gx.c.o cc1: all warnings being treated as errors make[2]: *** [libraries/plugins/vfio/CMakeFiles/opae-v.dir/build.make:90: libraries/plugins/vfio/CMakeFiles/opae-v.dir/opae_vfio.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1773: libraries/plugins/vfio/CMakeFiles/opae-v.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 30%] Building C object libraries/plugins/xfpga/CMakeFiles/xfpga.dir/reconf.c.o [ 30%] Building C object libraries/plugins/xfpga/CMakeFiles/xfpga.dir/open.c.o [ 31%] Building CXX object libraries/libopaecxx/CMakeFiles/opae-cxx-core.dir/src/version.cpp.o /home/nvidia/opae-sdk/libraries/plugins/xfpga/open.c: In function ‘xfpga_fpgaOpen’: /home/nvidia/opae-sdk/libraries/plugins/xfpga/open.c:147:2: error: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Werror=implicit-function-declaration] 147 | __builtin_cpu_init(); | ^~~~~~~~~~~~~~~~~~ | __builtin_irint /home/nvidia/opae-sdk/libraries/plugins/xfpga/open.c:148:6: error: implicit declaration of function ‘__builtin_cpu_supports’; did you mean ‘__builtin_isupper’? [-Werror=implicit-function-declaration] 148 | if (__builtin_cpu_supports("avx512f")) { | ^~~~~~~~~~~~~~~~~~~~~~ | __builtin_isupper cc1: all warnings being treated as errors make[2]: *** [libraries/plugins/xfpga/CMakeFiles/xfpga.dir/build.make:146: libraries/plugins/xfpga/CMakeFiles/xfpga.dir/open.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 32%] Building C object libraries/libboard/board_a10gx/CMakeFiles/board_a10gx.dir/__/__/__/tests/framework/mock/opae_std.c.o [ 32%] Linking C shared module ../../../lib/libboard_a10gx.so make[1]: *** [CMakeFiles/Makefile2:1719: libraries/plugins/xfpga/CMakeFiles/xfpga.dir/all] Error 2 [ 32%] Built target board_a10gx [ 32%] Linking C static library ../../lib/libopae-c-archive.a [ 32%] Built target opae-c-archive [ 32%] Linking CXX shared library ../../lib/libopae-cxx-core.so [ 32%] Built target opae-cxx-core [ 32%] Linking CXX shared module ../../lib/pyopaeuio.cpython-38-aarch64-linux-gnu.so [ 32%] Built target pyopaeuio [ 32%] Linking CXX shared module ../../lib/eth_group.cpython-38-aarch64-linux-gnu.so [ 32%] Built target eth_group make: *** [Makefile:156: all] Error 2
I was able to build https://github.com/OPAE
How to try the board with it on my aarch64 \\jetson board?
Thanks
-AV
does installing the thing below include installtion of the driver/ examples? Or it still require to install separately manually opae-sdk / & linux-dfl driver?
-
how to build this?
Hi,
You may follow the guide in https://opae.github.io/2.0.11/docs/install_guide/installation_guide.html.
I have got opae-sdk implemented already.
However, how to install linux-dfl? without the latter the prior won't work, will it?
how to install linux-dfl specifically on aarch64 nvidia jetson device ?
-BR
AV
once the dev package
got installed to Xeon computer [ x86_64]
is there a simple example to test the card to confirm it works?
any hello world example?
so fo x86_64
for xeon
afte rinstalling the stack dev package
it won't be able to run hello world example until after opae-sdk & linux-dfl got installed?
could you clarify, please?
to build these guys?
usr/src/opae/samples$ ls
hello_events.c hello_fpga.c
after installing the dev stack
after sourcing
. /home/$USER/inteldevstack/init_env.sh
sudo 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