Revise times of checking mgmt port link status to 100

The polling loop of checking link status is a total 5 seconds in the
worst case. It may be timeout eventually if the link partner has
capibility of 1000FD.

I added a debug message to show total times of checking the link status
of mgmt port.

    [ -r $operstate ] && while [ $i -lt 100 ] ; do
        if [ "$(cat $operstate)" = "up" ] ; then
            _log_info_msg "up. (waited $i times)\n"
            return 0
        fi
        sleep 0.1
        i=$(( $i + 1 ))
    done

If both mgmt port and its link partner have 1000FD capability with
auto-negotiation enabled, they will spend more time to accomplish the
negotiation.

We did hundreds of testing on Accton AS5710_54x. The test result are:

- 40 times (55%)
- 50 times (45%)
- 69 times (8%)
- 79 times (2%)

It indicates most of time mgmt port is link-up in 5 seconds (40 times
and 50 times). It has 10% of probability over 5 seconds (69 times and
79 times). So that we decided to enlarge the total seconds to 10 i.e.,
100 times.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Merge branch 'master' of https://github.com/opencomputeproject/onie
QuantaMesh 3000 Series T3048-LY2

================================================================================
- A powerful Top-of-Rack Switch for Cloud Datacenters
- 48 1/10GbE SFP+ and 4 40GbE QSFP+ ports
- 1 RJ-45 out-of-band management port (10/100/1000M)
- 1 RJ-45 console port

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

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

How to compile html and pdf documents.
================================================================================
$ cd machine/quanta/quanta_ly2
$ ./build.sh docs

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

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Merge branch 'master' of https://github.com/opencomputeproject/onie
Accton AS5710_54X: Support kernel module

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
x86_64 demo: export GRUB_SERIAL_COMMAND and GRUB_CMDLINE_LINUX

After the commit f0901d4, demo installer does not export
'GRUB_SERIAL_COMMAND' and 'GRUB_CMDLINE_LINUX' before calling
'50_onie_grub'. It always writes default serial configs into
grub.cfg in onie-boot. ONIE's serial console will be out of
control after installing the demo os.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Alpha_Networks SNX6070_486f: Add machine directory and the patches for SNX6070-486F.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
i2ctools: Add gitignore patch

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
u-boot: Add to support building PBL image

To enable the feature, insert "UBOOT_PBL_ENABLE = yes" into
$(MACHINEDIR)/machine.make.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Updater can't extract correct 'ver' and 'onie_bootcmd' from u-boot.pbl

The Freescale PBL image has special format that different from
u-boot.bin.  ONIE updater cannot extract 'ver' and 'onie_bootcmd'
from the PBL image easily.

The patch will pack u-boot.bin and u-boot.pbl into the ONIE updater
if 'UBOOT_PBL_ENABLE' is turned on.  The updater will write u-boot.pbl
to MTD device and parse u-boot.bin to get 'ver' and 'onie_bootcmd'.

Signed-off-by: Curt Brune <curt@cumulusnetworks.com>
Merge branch 'master' of https://github.com/opencomputeproject/onie