Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19102 Discussions

can arria-10-gx run on aarch64 nvidia jetson?

AVolo2
Novice
686 Views

we got this card

can it work on jetson board?

Thanks

https://www.intel.com/content/dam/www/central-libraries/us/en/documents/intel-pac-with-arria-10-gx-p...

 

It is listed in lspci outputs as 

 

0005:01:00.0 Processing accelerators: Intel Corporation Device 09c4
  

 

0 Kudos
54 Replies
JohnT_Intel
Employee
370 Views

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.


AVolo2
Novice
362 Views

Hi @JohnT_Intel 

Thank you for following up

So how can I try to work with the unit from the unix shell?

JohnT_Intel
Employee
355 Views

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.


AVolo2
Novice
348 Views

@JohnT_Intel 

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

JohnT_Intel
Employee
348 Views
AVolo2
Novice
347 Views

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

 

AVolo2
Novice
288 Views

I was able to build https://github.com/OPAE

How to try the board with it on my aarch64 \\jetson board?

Thanks

-AV

AVolo2
Novice
248 Views

does installing the thing below include installtion of the driver/ examples? Or it still require to install separately manually opae-sdk / & linux-dfl driver?

. Installing the Intel Acceleration Stack

 

AVolo2
Novice
303 Views

-

AVolo2
Novice
285 Views
JohnT_Intel
Employee
267 Views
AVolo2
Novice
264 Views

@JohnT_Intel 

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

AVolo2
Novice
250 Views

once the dev package

https://www.intel.com/content/www/us/en/collections/products/fpga/software/downloads.html?s=Newest&f...

got installed to Xeon computer [ x86_64]

is there a simple example to test the card to confirm it works? 

any hello world example?

AVolo2
Novice
248 Views

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?

AVolo2
Novice
245 Views

to build these guys?

usr/src/opae/samples$ ls
hello_events.c hello_fpga.c

AVolo2
Novice
244 Views
AVolo2
Novice
229 Views

@JohnT_Intel 

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
AVolo2
Novice
229 Views

om dmesg outputs 

[   31.135966] dfl-fme-bridge dfl-fme-bridge.1.auto: fpga bridge [DFL FPGA FME Bridge] registered
AVolo2
Novice
229 Views
lspci | grep 09c4
07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff)
JohnT_Intel
Employee
228 Views

Hi,


Can you try " lspci -s 07:00.0 -vv" where it will show if the driver is bind or not?



Reply