Skip to content

Conversation

@audihsu-qci
Copy link
Contributor

  • 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

================================================================================
 - 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
@cbrune
Copy link
Contributor

cbrune commented Jul 2, 2014

This all looks really good. Thanks for reaching out.

Since you have introduced your "build.sh" mechanism you should document that in the INSTALL file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instructions are out of date. Either fix them up to include the MACHINEROOT=../machine/quanta or update them with your ./build.sh instructions.

@audihsu-qci
Copy link
Contributor Author

Thanks, I will have another pull request to do this.

@audihsu-qci audihsu-qci closed this Jul 3, 2014
acc-jenny-chang pushed a commit to acc-jenny-chang/onie that referenced this pull request Dec 24, 2015
Some platforms use i354 port 2 & 3 to connect to switch ASIC.  port 2
and port 3 do not need the workaround or it will cause kernel panic at
kernel booting.

    GRUB loading.

                   ONIE: Embedding ONIE ...
    BUG: unable to handle kernel NULL pointer dereference at
    (null)
    IP: [<          (null)>]           (null)
    PGD 0 Date: 2015-11-04T17:59+0800
    Oops: 0010 [opencomputeproject#1] SMP
    CPU 2
    Modules linked in:

    Pid: 1, comm: swapper/0 Not tainted 3.2.69-onie+ opencomputeproject#1 Accton
    AS7712-32X_1/To be filled by O.E.M.
    RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
    RSP: 0000:ffff88046d837bd8  EFLAGS: 00010202
    RAX: ffffc900000c0000 RBX: ffff880467182b88 RCX: ffffc900000c0000
    RDX: ffff88046d837bec RSI: 000000000000000a RDI: ffff880467182b88
    RBP: ffff88046d837c20 R08: ffffc900000c0000 R09: 000000000000000f
    R10: 000000000000000e R11: 0000000000000001 R12: 000000000217008c
    R13: ffff880467182b01 R14: ffff88046d949000 R15: 000000000214009c
    FS:  0000000000000000(0000) GS:ffff88047fd00000(0000)
    knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    CR2: 0000000000000000 CR3: 0000000001805000 CR4: 00000000001006a0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process swapper/0 (pid: 1, threadinfo ffff88046d836000, task
    ffff88046d848000)
    Stack:
    ffffffff802d796a ffff88046d837c3e 0000000167182b88 0000000000000020
    ffff880467182b88 0000000000000020 ffff880467182b88 ffff88046d949000
    ffff880467182000 ffff88046d837c50 ffffffff802d91ca 0000000000000000
    Call Trace:
    [<ffffffff802d796a>] ? igb_setup_serdes_link_82575+0x13c/0x196
    [<ffffffff802d91ca>] igb_setup_link+0x3b/0x10b
    [<ffffffff802d7639>] igb_init_hw_82575+0x9d/0x269
    [<ffffffff802cf671>] igb_reset+0x1a5/0x362
    [<ffffffff80447b6f>] igb_probe+0x999/0xe88
    [<ffffffff8045a4bb>] ? _raw_spin_lock+0x9/0xd
    [<ffffffff801f27d6>] pci_device_probe+0x55/0x83
    [<ffffffff8025270d>] ? driver_sysfs_add+0x6b/0x90
    [<ffffffff80252a2b>] ? driver_probe_device+0x12e/0x12e
    [<ffffffff8025298e>] driver_probe_device+0x91/0x12e
    [<ffffffff80252a84>] __driver_attach+0x59/0x7c
    [<ffffffff8025199c>] bus_for_each_dev+0x4e/0x8a
    [<ffffffff802526a0>] driver_attach+0x19/0x1b
    [<ffffffff80252333>] bus_add_driver+0xf0/0x22d
    [<ffffffff80252f1b>] driver_register+0x96/0x111
    [<ffffffff801f2987>] __pci_register_driver+0x51/0xbc
    [<ffffffff8089b513>] ? e1000_init_module+0x3e/0x3e
    [<ffffffff8089b55d>] igb_init_module+0x4a/0x4c
    [<ffffffff8000020a>] do_one_initcall+0x7a/0x134
    [<ffffffff80875b6a>] kernel_init+0xa4/0x123
    [<ffffffff8045cf74>] kernel_thread_helper+0x4/0x10
    [<ffffffff80875ac6>] ? start_kernel+0x31c/0x31c
    [<ffffffff8045cf70>] ? gs_change+0x13/0x13
    Code:  Bad RIP value.
    RIP  [<          (null)>]           (null)
    RSP <ffff88046d837bd8>
    CR2: 0000000000000000
    ---[ end trace b1990d337f021af4 ]---
    Kernel panic - not syncing: Attempted to kill init!

The patch has been tested in Accton AS7712_32X.
david56 added a commit to david56/onie that referenced this pull request Jan 27, 2016
The patch has been tested in Accton AS7716_32X with the following
features:

- demo Diag
- demo OS

The demo OS's GRUB menu looks like:

                         GNU GRUB  version 2.02~beta2+e4a1fe391

     +----------------------------------------------------------------------------+
     |*Demo OS opencomputeproject#1                                                                 |
     | Demo OS opencomputeproject#2                                                                 |
     | ONIE                                                                       |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     |                                                                            |
     +----------------------------------------------------------------------------+

          Use the ^ and v keys to select which entry is highlighted.
          Press enter to boot the selected OS, `e' to edit the commands
          before booting or `c' for a command-line.

The demo OS's linux shell looks like:

    Welcome to the accton_as7716_32x DEMO OS platform opencomputeproject#2.

    Please press Enter to activate this console.
    Welcome to the accton_as7716_32x DEMO OS platform opencomputeproject#2.
    ACCTON_AS7716_32X-OS-2:/ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants