Accton x86_64: Disable onie-syseeprom in i2ctools

The x86_64 platforms are including:
- AS5712_54X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton Platforms: Enable busybox onie-syseeprom command

The platforms are including:
- AS4600_54T
- AS5600_52X
- AS5610_52X
- AS5710_54X
- AS5712_54X
- AS6700_32X
- AS6701_32X
- AS6710_32X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton x86_64: Add patches for onie-syseeprom in busybox

The patches are to enlarge the delay of i2c writing 2bytes to
sys_eeprom.  The patches were for i2ctools and are migrated to
busybox now.

The x86_64 platforms are including:
- AS5712_54X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton x86_64: Remove patches for onie-syseeprom from i2ctools

The x86_64 platforms are including:
- AS5712_54X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton x86_64: Remove script of updating sys_eeprom from installer.conf

The ONIE updater is able to refresh 'platform' and 'ver' in sys_eeprom
so that the script is removed from now on.

The x86_64 platforms are including:
- AS5712_54X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton Platforms: Support kernel module

The platforms are including:
- AS4600_54T
- AS6700_32X
- AS6701_32X
- AS6710_32X
- AS6712_32X

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Accton AS4600_54t: Disable BCM54616 PHY interrupt in kernel driver

This patch is backward compatible with old machines.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
PACKAGES_INSTALL_STAMPS pre-assignment support

Using "+=" rather than "=" to allow earlier assignment to
PACKAGES_INSTALL_STAMPS.

Used by Mellanox x86 platform in a subsequent commit

Signed-off-by: Doron Tsur <doront@mellanox.com>
Pointing recovery init-rd to images for PXE

Test:
make -j 4 BUILDDIR=*** MACHINEROOT=../machine/mellanox
MACHINE=mlnx_x86 ONIE_MIRROR="*** http://mirror.opencompute.org/onie"
all recovery-initrd demo

Signed-off-by: Doron Tsur <doront@mellanox.com>
Extending EXTRA_CMDLINE_LINUX support to demo OS installer

EXTRA_CMDLINE_LINUX allows additional machine specific kernel
command line parameters

Test:
Compiling with
  export EXTRA_CMDLINE_LINUX := acpi_enforce_resources=no nmi_watchdog=0
  $(EXTRA_CMDLINE_LINUX)
Verifying "cat /proc/cmdline" after:
  onie-self-update -e .../onie-updater-x86_64-mlnx_x86-r0
  install_url .../demo-installer-x86_64-mlnx_x86-r0.bin

Signed-off-by: Doron Tsur <doront@mellanox.com>
Adding Mellanox x86 support:

- Adding machine/mellanox/mlnx_x86
- New kernel 3.10.0-54.0.1.el7.x86_64
- mellanox-net-boot-label target for pxe label update script
- Using "export EXTRA_CMDLINE_LINUX :=" at mlnx_x86/machine.make

Test:
make -j4 BUILDDIR=<your builddir> MACHINEROOT=../machine/mellanox
MACHINE=mlnx_x86 ONIE_MIRROR="*** http://mirror.opencompute.org/onie"
all recovery-initrd demo mellanox-net-boot-label

ONIE_MIRROR parameter used for initial build using local mirror
before linux-3.10.0-54.0.1.el7.x86_64.tar.xz is added to onie formal mirror

Signed-off-by: Doron Tsur <doront@mellanox.com>
busybox.make: Move machine's config to separate directory

For Issue #61

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
busybox.make: Move machine's patches to separate directory

For Issue #61

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
i2ctools.make: Use cp-machine-patches to copy patches

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
busybox: have the configuration depend on optional machine configuration

Since the extra machine specific busybox config is optional it should
be added to the dependencies for $(BUSYBOX_DIR)/.config.

This will help the case during development when you update your
machine's busybox config and you want to do an incremental build.
Otherwise $(BUSYBOX_DIR)/.config will not be out of date.

Testing:

Rebuilt the Accton AS6701-32X machine which does use the extra busybox
config option.  No trouble found.

Then I touched the AS6701-32X extra busybox config, making it out of
date.  An incremental rebuild went through successfully.

Also rebuilt the fsl_p2020rdbpca machine which does *not* use the
extra busybox config option.  No trouble found.
dell_s6000_s1220: add new line to end of i2ctools/series file

Commit a8408a4 introduced the use of cp-machine-patches to assemble
the patches for i2ctools.  cp-machine-patches has a problem if the
series files does not end with a newline.

This patch simply adds a new-line to the end of
machine/dell/dell_s6000_s1220/i2ctools/series.
docs: Add USB install method to user guide

Update the ONIE user guide to include a section on how to install a
NOS using a USB thumb drive.
docs: Document ONIE CLI commands

Add a section to the documentation describing the handful of ONIE CLI
commands.

- onie-discovery-start
- onie-discovery-stop
- onie-nos-install
- onie-self-update
- onie-support
- onie-sysinfo

Mark these older commands as deprecated:

- install_url
- update_url
- support
docs: clarify machine name consistency

Made it clear that the ONIE machine name remains the same irrespective
of what ONIE mode you are in.
docs: details for developers contributing patches

Added a few more guidelines for developers when submitting patches to
the project.