DELL S6000-ON: Update INSTALL instructions

This patch updates the INSTALL instructions for the DELL S6000-ON platform.

===============================================================================
Installing ONIE on DELL S6000 Series w/ Intel Atom Centerton (S1220) CPU Module
================================================================================

Cross-Compiling ONIE
====================

To compile ONIE first change directories to ``build-config`` and then
type ``"make -j12 MACHINEROOT=../machine/dell MACHINE=dell_s6000_s1220 all"``.

  For example::

  $ cd build-config
  $ make -j12 MACHINEROOT=../machine/dell MACHINE=dell_s6000_s1220 all

When complete, the ONIE binaries are located in
``build/images``::

  -rw-r--r-- 10487413 Mar 27 11:01 onie-updater-x86_64-dell_s6000_s1220-r0
  -rw-r--r-- 24620032 Mar 27 11:01 onie-recovery-x86_64-dell_s6000_s1220-r0.efi64.pxe
  -rw-r--r-- 22020096 Mar 27 11:01 onie-recovery-x86_64-dell_s6000_s1220-r0.iso

It builds image for update via ONIE,image for boot via pxe and image for booting via USB.

Complete installation details, refer to machine/dell/dell_s6000_s1220/INSTALL.
Add support for Intel Avoton to i801 SMBus driver

Add support to the i801 SMBus driver for the Intel Avoton CPU family.
Make serial port and console flag be able to customize

Accton AS5712_54X uses COM2 as serial port. And it needs to turn
on the flag of console to make syslinux boot menu be visible.

This patch provides additional variables to configure the settings.

Reference:
1. http://www.syslinux.org/wiki/index.php/SYSLINUX#CONSOLE_flag_val
2. http://www.syslinux.org/wiki/index.php/SYSLINUX#SERIAL_port_.5Bbaudrate_.5Bflowcontrol.5D.5D

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
QuantaMesh 1000 Series T1048-LB9

================================================================================
 - 1G/10G Datacenter & Enterprise-Class Ethernet switch
 - 48 10Base-T/100Base-TX/1000Base-T ports
 - 4 1GbE/10GbE dual speed SFP+ slots
 - 1 RJ-45 out-of-band management port (10/100/1000M)
 - 1 RJ-45 console port

  How to compile ONIE
================================================================================
  $ cd onie/machine/quanta/quanta_lb9
  $ ./build.sh all

  How to compile demo installer
================================================================================
  $ cd onie/machine/quanta/quanta_lb9
  $ ./build.sh demo

  How to compile documents
================================================================================
  $ cd onie/machine/quanta/quanta_lb9
  $ ./build.sh docs

For further information, please take a look at ``machine/quanta/quanta_lb9/INSTALL``

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add optional vendor version string to final ONIE version string

This patch enables each machine to define an optional "version string"
that is appended to the final ONIE version string.

This allows hardware vendors to append a machine specific string to
the end of the version string.

An example of how to use this feature is in the kvm_x86_64 virtual
machine's machine.make file:

  machine/kvm_x86_64/machine.make

The contents of the optional $(VENDOR_VERSION) variable are appended
to the final ONIE version string.

See the comments in build-config/Makefile for a discussion of how the
ONIE_RELEASE_TAG (internal ONIE version string) and LSB_RELEASE_TAG
(external, final version string) are constructed.
Add Accton AS4600_54T to support ONIE

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add PLATFORM_STRING definition for u-boot to check platform name

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Allow to customize u-boot identity string for machine vendor

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Issue: Device nodes in sysroot image may be broken down

The device nodes are created during packing sysroot in fakeroot
environment. However, the device nodes will become normal files after
packing if the created 'device files' in build/<machine>/sysroot/dev
directory are read-only.

To make sure the device nodes always available in sysroot image.
We force to remove the dev directory and recreate an empty one
before packing sysroot.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add demo OS installer to customize console configurations

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add polling loop to get ONIE boot device

ONIE boot device may be not ready immediately after kernel booting.
The polling loop will check if the ONIE boot device is ready or not
every 0.1 sec. It is a total of 7 seconds in the worst case.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton AS5712_54X: Add to support ONIE

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton AS5712_54X: Add to init USB hub device

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Add to support Celestica Redstone-XP
trivial: export LSB_RELEASE_TAG Makefile variable

Export the LSB_RELEASE_TAG variable, making it available to various
sub-processes.

The one place this was showing up is in the version information from
the tool chain.  The toolchain config files have this definition:

  CT_TOOLCHAIN_PKGVERSION="ONIE-${LSB_RELEASE_TAG}"

Before this patch the reported version looked like:

build-04:~/onie/build-config$ ../build/x-tools/powerpc-softfloat/install/powerpc-onie-linux-uclibc/bin/powerpc-softfloat-gcc -v
[snip]
gcc version 4.7.3 (crosstool-NG 1.19.0 - ONIE-)

After the patch:

build-04:~/onie/build-config$ ../build/x-tools/powerpc-softfloat/install/powerpc-onie-linux-uclibc/bin/powerpc-softfloat-gcc -v
[snip]
gcc version 4.7.3 (crosstool-NG 1.19.0 - ONIE-master-201407100815)
Adding CT_NG_COMPONENTS prefetching, using sha1 checksums

crosstool-ng config files are generated by:
./ct-ng menuconfig
at:
<BUILDDIR>/crosstool-ng/crosstool-ng-1.19.0

gpg keys are verified using keys.gnupg.net keyserver

CT_NG_COMPONENTS are cached at:
https://dev.cumulusnetworks.com/~curt/mirror/onie/crosstool-NG/

Downloaded files checksums (non sha1) verification origin:
strace-4.6.tar.xz
  http://sourceforge.net/projects/strace/files/strace/4.6/strace-4.6.tar.xz.asc
ppl: Parma Polyhedra Library (Release 0.11.2)
  ftp://ftp.cs.unipr.it/pub/ppl/releases/0.11.2/ppl-0.11.2.tar.lzma.sign
upstream/mpfr-2.4.2.tar.bz2.sha1
  https://ftp.gnu.org/gnu/mpfr/mpfr-2.4.2.tar.bz2.sig
upstream/mpc-1.0.1.tar.gz.sha1
  https://ftp.gnu.org/gnu/mpc/mpc-1.0.1.tar.gz.sig
upstream/make-3.81.tar.bz2.sha1
  https://ftp.gnu.org/gnu/make/make-3.81.tar.bz2.sig
upstream/m4-1.4.13.tar.xz.sha1
  https://ftp.gnu.org/gnu/m4/m4-1.4.13.tar.xz.sig
upstream/ltrace_0.5.3.orig.tar.gz.sha1
  http://ftp.de.debian.org/debian/pool/main/l/ltrace/ltrace_0.5.3-2.1.dsc
upstream/libtool-2.2.6b.tar.lzma.sha1
  https://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.lzma.sig
upstream/libelf-0.8.13.tar.gz.sha1
  http://www.mr511.de/software/  has no md5sums.
  Md5sum verified with:
    http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2009-November/176537.html
    https://dev.openwrt.org/browser/packages/libs/libelf/Makefile?rev=20985
  We are downloading from:
    http://dev.cumulusnetworks.com/~curt/mirror/onie/crosstool-NG/libelf/libelf-0.8.13.tar.gz
  http://packages.ubuntu.com/trusty/libelfg0 has a different checksum
upstream/gmp-4.3.2.tar.bz2.sha1
  https://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2.sig
upstream/gdb-7.4.1.tar.bz2.sha1
  https://ftp.gnu.org/gnu/gdb/gdb-7.4.1.tar.bz2.sig
upstream/gcc-4.7.3.tar.bz2.sha1
  https://ftp.gnu.org/gnu/gcc/gcc-4.7.3/gcc-4.7.3.tar.bz2.sig
upstream/duma_2_5_15.tar.gz.sha1
  http://sourceforge.net/projects/duma/files/duma/2.5.15/
  sha1: f1f90620c5eff4e76316594fa3e7e5a6833b8d0d
upstream/cloog-ppl-0.15.10.tar.gz.sha1
  could not find former versions in: http://www.cloog.org/
  md5sum verified by:
    https://dev.openwrt.org/browser/trunk/tools/cloog/Makefile?rev=29293
    https://mailman.archlinux.org/pipermail/arch-commits/2010-December/113420.html
  We are downloading from:
    http://dev.cumulusnetworks.com/~curt/mirror/onie/crosstool-NG/cloog-ppl-0.15.10.tar.gz
upstream/binutils-2.22.tar.bz2.sha1
  https://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.bz2.sig
upstream/automake-1.11.1.tar.bz2.sha1
  https://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.bz2.sig
upstream/autoconf-2.65.tar.xz.sha1
  https://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.xz.sig

Tests:

1. Verify git status is clean with no untracked files
2. make BUILDDIR=<new x86 build folder> all -j8
3. make BUILDDIR=<new ppc build folder> all MACHINE=fsl_p2020rdbpca -j8

Signed-off-by: Doron Tsur <doront@mellanox.com>
Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton AS6701_32X: Add to support ONIE

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Revise printk level of BCM54616 PHY driver to KERN_INFO

Accton AS6701_32X uses gianfar ethernet driver to control the PHY.
The PHY driver shall not always display the "Auto-neg error,
defaulting to 1000/HD" message after booting.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Fix DOWNLOAD_CLEAN target in some packages

Some packages incorrectly used the non-existent CLEAN_DOWNLOAD
variable instead of the intended DOWNLOAD_CLEAN variable.

This patch updates the package Makefiles to use the correct variable.
Documentation: minor clean up

Replace an old place holder reference with the actual section links.