Cavium: SDK Install and build Debian image

From Define Wiki
Jump to navigation Jump to search

Prerequisits

Host OS dependancies

Ensure you install the following:

yum groupinstall "Development Tools"
yum install patch screen

Obtain the SDK from Cavium

Obtain the following two RPM packages from the Cavium support site:

  • OCTEON-SDK-3.1.0-515.i386.rpm
  • OCTEON-LINUX-3.1.0-515.i386.rpm

Installation

Install the two RPM packages:

[root@mips-host ~]# rpm -i --prefix /opt/310 OCTEON-* 

The OCTEON-SDK package has been successfully installed under the
/opt/310 directory.

The installation requires the OCTEON_MODEL environment variable
to be set. To set this environment variable, cd to the
/opt/310/OCTEON-SDK directory, and invoke

	  source env-setup <OCTEON_MODEL>

script. Valid OCTEON_MODELs are listed in octeon-models.txt file
under OCTEON-SDK directory.

You may want to copy the OCTEON-SDK package to your home directory to allow
modification without root privileges.
 
For more information please refer to the online SDK documentation:
file:///opt/310/OCTEON-SDK/docs/html/index.html
 
 

The Linux Kernel has been successfully installed under the directory
/opt/310/OCTEON-SDK/linux

Please refer to file:///opt/310/OCTEON-SDK/docs/html/linux.html
on how to use Linux on the OCTEON.