Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21597 ディスカッション

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

AVolo2
初心者
7,867件の閲覧回数

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-product-brief.pdf

 

It is listed in lspci outputs as 

 

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

 

0 件の賞賛
54 返答(返信)
JohnT_Intel
従業員
3,404件の閲覧回数

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
初心者
3,396件の閲覧回数

Hi @JohnT_Intel 

Thank you for following up

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

JohnT_Intel
従業員
3,389件の閲覧回数

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
初心者
3,382件の閲覧回数

@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

AVolo2
初心者
3,381件の閲覧回数

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
初心者
3,322件の閲覧回数

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

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

Thanks

-AV

AVolo2
初心者
3,282件の閲覧回数

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
初心者
3,337件の閲覧回数

-

AVolo2
初心者
3,319件の閲覧回数
JohnT_Intel
従業員
3,301件の閲覧回数
AVolo2
初心者
3,298件の閲覧回数

@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
初心者
3,284件の閲覧回数
AVolo2
初心者
3,282件の閲覧回数

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
初心者
3,279件の閲覧回数

to build these guys?

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

AVolo2
初心者
3,278件の閲覧回数
AVolo2
初心者
3,263件の閲覧回数

@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
初心者
3,263件の閲覧回数

om dmesg outputs 

[   31.135966] dfl-fme-bridge dfl-fme-bridge.1.auto: fpga bridge [DFL FPGA FME Bridge] registered
AVolo2
初心者
3,263件の閲覧回数
lspci | grep 09c4
07:00.0 Processing accelerators: Intel Corporation Device 09c4 (rev ff)
JohnT_Intel
従業員
3,262件の閲覧回数

Hi,


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



返信