hello everyone,
I am trying to running VPP+DPDK on my embedded development board whose 
architecture is aarch64 with system ubuntu16.4.
Finally the vpp runs, but it turns out that it doesn't include DPDK plugin so I 
can't continue my development.

My first question is, IS THERE ANY DOCUMENT FOR CROSS-COMPILATION?

and here are my steps of cross compiling:
according to https://blog.csdn.net/guoqixin2008/article/details/122415704

1. git clone vpp codes and checkout stable/2101 branch
2. make install-dep ; make install-ext-dep
(in step 2, log showed that missing Libbpf dependency)

3.download aarch64-linux-gnu-gcc ,download openssl and libuuid , config them 
with aarch64-linux-gnu-gcc (compiler and lib prefix, therefore the .so and .a 
will  be located at lib of aarch64-linux-gnu-gcc) and then make openssl and 
libuuid.
4.set vpp/src/Cmakelists.txt by adding my config of cross compilation.

5. make build
(in step 5, only openssl and libuuid is loaded, other libs like RDMA ipsec 
which were installed at step2 not. *so I wonder that whether step 2 actually 
doesn't work for cross compilation since the runtime lib should be compiled for 
aarch* *64, that's my second question* )

6. scp build-root/install-vpp_debug-native/vpp to embedded development board, 
export LD_LIBRARY_PATH and run ./vpp ./vppctl ……

Finally, though the fido vpp logo shows in the shell when running vppctl , it 
doesn't have DPDK plugin.

*what can I do?*

Sincerely Regards.
A student relying on VPP to graduate
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21092): https://lists.fd.io/g/vpp-dev/message/21092
Mute This Topic: https://lists.fd.io/mt/89948293/21656
Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to