diff options
author | Damjan Marion <damarion@cisco.com> | 2018-11-06 19:34:07 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-11-06 23:24:08 +0000 |
commit | 8d3397425b3fe0f58b621854eb95d225fcbb415f (patch) | |
tree | 3744396b7baaa4a0e23596344c79d2624c7a0f8b /src/plugins/marvell/README.md | |
parent | dd04bb9538292140a4068a34aa7dccbcf5026355 (diff) |
marvell: bump musdk version to 18.09.3
Change-Id: Ifb841312d4a382547153b24903230b407f649e73
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/marvell/README.md')
-rw-r--r-- | src/plugins/marvell/README.md | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/plugins/marvell/README.md b/src/plugins/marvell/README.md index 300d5833b9e..012677aa652 100644 --- a/src/plugins/marvell/README.md +++ b/src/plugins/marvell/README.md @@ -6,22 +6,32 @@ Code is developed and tested on [MACCHIATObin][2] board. ##Prerequisites Plugins depends on installed MUSDK and Marvell provided linux [kernel][3] with MUSDK provided kernel patches (see `patches/linux` in musdk repo and relevant documentation. -Kernel version used: **4.4.52 armada-17.10.1** -MUSDK version used: **armada-17.10.3** -MUSDK must be compiled with `--enable-bpool-dma=64` parameter. +Kernel version used: **4.14.22 armada-18.09.3** +MUSDK version used: **armada-18.09.3** Following kernel modules from MUSDK must be loaded for plugin to work: -* `musdk_uio.ko` +* `musdk_cma.ko` * `mv_pp_uio.ko` +##Musdk 18.09.3 compilation steps + +``` +./bootstrap +./configure --prefix=/opt/vpp/external/aarch64/ CFLAGS="-Wno-error=unused-result -g -fPIC" --enable-shared=no +sed -i -e 's/marvell,mv-pp-uio/generic-uio/' modules/pp2/mv_pp_uio.c +sed -i -e 's/O_CREAT/O_CREAT, S_IRUSR | S_IWUSR/' src/lib/file_utils.c +make +sudo make install +``` + ## Usage ### Interface Cration Interfaces are dynamically created with following CLI: ``` create interface marvell pp2 name eth0 -set interface state mv-ppio0/0 up +set interface state mv-ppio-0/0 up ``` -Where `eth0` is linux interface name and `mv-ppioX/Y` is VPP interface name where X is PP2 device ID and Y is PPIO ID +Where `eth0` is linux interface name and `mv-ppio-X/Y` is VPP interface name where X is PP2 device ID and Y is PPIO ID Interface needs to be assigned to MUSDK in FDT configuration and linux interface state must be up. ### Interface Deletion |