================================================================================================= OPNFV Build instruction for the Brahmaputra release of OPNFV when using Fuel as a deployment tool ================================================================================================= License ======= This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 .. (c) Jonas Bjurel (Ericsson AB) and others Abstract ======== This document describes how to build the Fuel deployment tool for the Brahmaputra release of OPNFV build system, dependencies and required system resources. Introduction ============ This document describes the build system used to build the Fuel deployment tool for the Brahmaputra release of OPNFV, required dependencies and minimum requirements on the host to be used for the build system. The Fuel build system is designed around Docker containers such that dependencies outside of the build system can be kept to a minimum. It also shields the host from any potential dangerous operations performed by the build system. The audience of this document is assumed to have good knowledge in network and Unix/Linux administration. Requirements ============ Minimum Hardware Requirements ----------------------------- - ~30 GB available disc - 4 GB RAM Minimum Software Requirements ----------------------------- The build host should run Ubuntu 14.04 operating system. On the host, the following packages must be installed: - An x86_64 host (Bare-metal or VM) with Ubuntu 14.04 LTS installed - A kernel equal- or later than 3.19 (Vivid) (simply available through sudo apt-get install linux-generic-lts-vivid) - **Note:** Builds on Wily (Ubuntu 15.x) are currently not supported - docker - see https://docs.docker.com/installation/ubuntulinux/ for installation notes for Ubuntu 14.04. Note: use the latest version from Docker (docker-engine) and not the one in Ubuntu 14.04. - git (simply available through $ sudo apt-get install git) - make (simply available through $ sudo apt-get install make) - curl (simply available through $ sudo apt-get install curl) - p7zip-full (simply available through $ sudo apt-get install p7zip-full) Preparations ============ Setting up the Docker build container ------------------------------------- After having installed Docker, add yourself to the docker group: $ sudo usermod -a -G docker [userid] Also make sure to define relevant DNS servers part of the global DNS chain in your configuration file. Uncomment, and modify the values appropriately. For example: Then restart docker: .. code-block:: console $ sudo service docker restart Setting up OPNFV Gerrit in order to being able to clone the code ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Start setting up OPNFV gerrit by creating a SSH key (unless you don't already have one), create one with ssh-keygen - Add your generated public key in OPNFV Gerrit (this requires a Linux foundation account, create one if you do not already have one) - Select "SSH Public Keys" to the left and then "Add Key" and paste your public key in. Clone the OPNFV code Git repository with your SSH key ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now it is time to clone the code repository: .. code-block:: bash $ git clone ssh://@gerrit.opnfv.org:29418/fuel Now you should have the OPNFV fuel repository with the Fuel directories stored locally on your build host. Check out the Brahmaputra release: .. code-block:: bash $ cd fuel $ git checkout brahmaputra.1.0 Clone the OPNFV code Git repository without a SSH key ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can also opt to clone the code repository without a SSH key: .. code-block:: bash $ git clone https://gerrit.opnfv.org/gerrit/fuel Make sure to checkout the release tag as described above. Support for building behind a http/https/rsync proxy ---------------------------------------------------- The build system is able to make use of a web proxy setup if the http_proxy, https_proxy, no_proxy (if needed) and RSYNC_PROXY or RSYNC_CONNECT_PROG environment variables have been set before invoking make. The proxy setup must permit port 80 (http), 443 (https) and 873 (rsync). Important note abo
/*
 * CNS3xxx common devices
 *
 * Copyright 2008 Cavium Networks
 *		  Scott Shu
 * Copyright 2010 MontaVista Software, LLC.
 *		  Anton Vorontsov <avorontsov@mvista.com>
 *
 * This file is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, Version 2, as
 * published by the Free Software Foundation.
 */

#ifndef __CNS3XXX_DEVICES_H_
#define __CNS3XXX_DEVICES_H_

void __init cns3xxx_ahci_init(void);