[dpdk-dev] [PATCH v4 16/16] doc: add mrvl net pmd documentation

Thomas Monjalon thomas at monjalon.net
Thu Oct 12 04:01:38 CEST 2017


11/10/2017 16:27, Thomas Monjalon:
> 09/10/2017 17:00, Tomasz Duszynski:
> > +- MUSDK (Marvell User-Space SDK) sources available
> > +  `here <https://github.com/MarvellEmbeddedProcessors/musdk-marvell/tree/musdk-armada-17.08>`__.
> > +
> > +    MUSDK is a light-weight library that provides direct access to Marvell's
> > +    PPv2 (Packet Processor v2). Alternatively prebuilt MUSDK library can be
> > +    requested from `Marvell Extranet <https://extranet.marvell.com>`_. Once
> > +    approval has been granted, library can be found by typing ``musdk`` in
> > +    the search box.
> > +
> > +    MUSDK must be configured with the following features:
> > +
> > +    .. code-block:: console
> > +
> > +       --enable-bpool-dma=64
> 
> It is really too short.
> This is what I did:
> 
> export CROSS_COMPILE=<toolchain>/bin/aarch64-linux-gnu-
> export CROSS_COMPILE=<toolchain>/bin/arm-linux-gnueabi-
> export ARCH=arm64
> ./bootstrap
> ./configure --host=aarch64-linux-gnu --enable-bpool-dma=64
> make install
> 
> But if fails at link step:
> 
>   CCLD     libmusdk.la
> gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/7.1.1/../../../../aarch64-linux-gnu/bin/ld: lib/.libs/libmusdk_la-list.o: Relocations in generic ELF (EM: 62)
> lib/.libs/libmusdk_la-list.o: error adding symbols: File in wrong format
> 
> Please help

This failure was probably due to a previous wrong configuration.
After "make clean", it works.

When looking at your wiki, there are more options used:
https://github.com/MarvellEmbeddedProcessors/dpdk-marvell/wiki/Building-and-Running
   --enable-bpool-cookie=64 \
   --enable-bpool-dma=64 \
   --enable-dma-addr=64 \
   --enable-sam

Are they needed?


More information about the dev mailing list