From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 16/16] doc: add mrvl net pmd documentation Date: Thu, 12 Oct 2017 04:01:38 +0200 Message-ID: <2185393.f0aifqixdF@xps> References: <1507031500-11473-1-git-send-email-tdu@semihalf.com> <1507561244-20115-17-git-send-email-tdu@semihalf.com> <2223559.KerB5CclYn@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, mw@semihalf.com, dima@marvell.com, nsamsono@marvell.com, Jianbo.liu@linaro.org, Jacek Siuda To: Tomasz Duszynski Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 2370125B3 for ; Thu, 12 Oct 2017 04:01:40 +0200 (CEST) In-Reply-To: <2223559.KerB5CclYn@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 11/10/2017 16:27, Thomas Monjalon: > 09/10/2017 17:00, Tomasz Duszynski: > > +- MUSDK (Marvell User-Space SDK) sources available > > + `here `__. > > + > > + 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 `_. 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=/bin/aarch64-linux-gnu- > export CROSS_COMPILE=/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?