Skip to content

Commit

Permalink
doc: update documentation for ubuntu 24.04
Browse files Browse the repository at this point in the history
Update documentation to include steps for Ubuntu 24.04 and DPDK 24.11.

Signed-off-by: Nagendra T P <ntp@marvell.com>
Signed-off-by: Harman Kalra <hkalra@marvell.com>
Change-Id: Iaf29c04305d8e2daadb23340193447db6d1fbeca
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpu-offload/+/145309
Tested-by: sa_ip-toolkits-Jenkins <sa_ip-toolkits-jenkins@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
  • Loading branch information
Nagendra T P authored and jerinjacobk committed Feb 12, 2025
1 parent 1ceacaf commit 581b8e4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 17 deletions.
31 changes: 17 additions & 14 deletions doc/guides/gsg/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distributions
Following are supported operating systems which can run with ease on
Marvell's Octeon platform.

1. Ubuntu 22.04
1. Ubuntu 24.04
2. RHEL

Packages available for different distributions
Expand All @@ -22,11 +22,11 @@ Packages available for different distributions
+-------------------------+-----------------------+-----------------------+
| Available Packages | Ubuntu | RHEL |
+=========================+=======================+=======================+
| DAO 24.05 | Yes | Planned |
| DAO 25.01 | Yes | Planned |
+-------------------------+-----------------------+-----------------------+
| DPDK 23.11 | Yes | Planned |
| DPDK 24.11 | Yes | Planned |
+-------------------------+-----------------------+-----------------------+
| OVS 3.3 | Yes | Planned |
| OVS 3.4.1 | Yes | Planned |
+-------------------------+-----------------------+-----------------------+
| VPP | Yes | Planned |
+-------------------------+-----------------------+-----------------------+
Expand All @@ -37,8 +37,8 @@ Packages available for different distributions
| OpenSSL 1.1.1q | Yes | Planned |
+-------------------------+-----------------------+-----------------------+

Ubuntu 22.04
============
Ubuntu
======

To get started with the DAO package on Ubuntu, first set up the root
file system for octeon platform, then follow the step-by-step instructions
Expand All @@ -52,12 +52,15 @@ To access the Ubuntu root file system from the Octeon platform, prepare
the file system first and then enable Network File Sharing (NFS), thereby
facilitating seamless cross-platform file access and management.

Ubuntu 24.04
^^^^^^^^^^^^

.. code-block:: console
# mkdir ubuntu_base
# cd ubuntu_base
# wget https://cdimage.ubuntu.com/ubuntu-base/releases/22.04/release/ubuntu-base-22.04-base-arm64.tar.gz
# sudo tar xvfp ubuntu-base-22.04-base-arm64.tar.gz
# wget https://cdimage.ubuntu.com/ubuntu-base/releases/noble/release/ubuntu-base-24.04.1-base-arm64.tar.gz
# sudo tar xvfp ubuntu-base-24.04.1-base-arm64.tar.gz
Setting up the ubuntu environment
---------------------------------
Expand Down Expand Up @@ -123,8 +126,8 @@ PPA for stable version:

.. code-block:: console
# curl -fsSL https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2204/release/dao.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/dao.gpg
# curl -SsL -o /etc/apt/sources.list.d/dao.list https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2204/release/dao.list
# curl -fsSL https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2404/release/dao.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/dao.gpg
# curl -SsL -o /etc/apt/sources.list.d/dao.list https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2404/release/dao.list
# sudo chmod 644 /etc/apt/sources.list.d/dao.list
# sudo chmod 644 /etc/apt/keyrings/dao.gpg
# apt-get update
Expand All @@ -135,8 +138,8 @@ PPA for development version:

.. code-block:: console
# curl -fsSL https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2204/devel/dao.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/dao.gpg
# curl -SsL -o /etc/apt/sources.list.d/dao.list https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2204/devel/dao.list
# curl -fsSL https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2404/devel/dao.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/dao.gpg
# curl -SsL -o /etc/apt/sources.list.d/dao.list https://www.marvell.com/public/repo/octeon/dao/cn10k/ubuntu/v2404/devel/dao.list
# sudo chmod 644 /etc/apt/sources.list.d/dao.list
# sudo chmod 644 /etc/apt/keyrings/dao.gpg
# apt-get update
Expand Down Expand Up @@ -220,7 +223,7 @@ Removing old packages
# apt-get remove dao-cn10k-devel -y
Remove dpdk package and its dependents
# apt-get remove dpdk-23.11-cn10k -y
# apt-get remove dpdk-24.11-cn10k -y
.. _clear_repo_cache:

Expand All @@ -229,7 +232,7 @@ Removing old packages
.. code-block:: console
# rm /var/cache/apt/archives/dao-cn10k*
# rm /var/cache/apt/archives/dpdk-23.11-cn10k_*
# rm /var/cache/apt/archives/dpdk-24.11-cn10k_*
Installation demo
-----------------
Expand Down
18 changes: 15 additions & 3 deletions doc/guides/howtoguides/ovs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,31 @@ Installing OVS from the distribution repository

.. code-block:: console
# apt-get install ovs-3.3.0-cn10k
# apt-get install ovs-3.4.1-cn10k
To install OVS devel package:

.. code-block:: console
# apt-get install ovs-3.4.1-cn10k-devel
To remove the installed package:

.. code-block:: console
# apt-get remove ovs-3.3.0-cn10k
# apt-get remove ovs-3.4.1-cn10k
Remove the devel package:

.. code-block:: console
# apt-get remove ovs-3.4.1-cn10k-devel
Clear cache:

.. code-block:: console
# rm /var/cache/apt/archives/ovs-3.3*
# rm /var/cache/apt/archives/ovs-3.4*
Building OVS from source
------------------------
Expand Down

0 comments on commit 581b8e4

Please sign in to comment.