Changes between Version 3 and Version 4 of Software/eAM/qNetwork


Ignore:
Timestamp:
Apr 4, 2013, 5:29:30 PM (11 years ago)
Author:
nkiran
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eAM/qNetwork

    v3 v4  
    6060\&dpid=0x001010162001\&bootmode=nfs\&nfsip=10.19.0.10\&roothpath='\/config'\&bootfile=uInitrd2m
    6161}}}
     62
     63
     64== Pronto 3290 Management ==
     65
     66
     67
     68SB9 switch u-boot config:
     69
     70{{{
     71#older flash drive boot for Indigo
     72flash_bootcmd=setenv bootargs root=/dev/ram console=ttyS0,$br DEV_ADDR=$ip ETH0_IP=$ip GATEWAY=$gip  dpid=$dpid CONTROLLER=$ofip CTRL_PORT=$ofp rw; bootm ffd00000 ff000000 ffee0000
     73
     74#older flash drive boot for Pica8
     75cfcard_bootcmd=setenv bootargs root=/dev/ram console=ttyS0,$br; ext2load ide 0:1 0x1000000 /uImage;ext2load ide 0:1 0x2000000 /uInitrd2m;ext2load ide 0:1 0x400000 /LB9A.dtb;bootm 1000000 2000000 400000
     76
     77#NFS boot of OF image from flash drive
     78nfs_bootcmd=nfs ff000000 $nfsip:$rootpath/$bootfile; setenv bootargs root=/dev/ram console=ttyS0,$br DEV_ADDR=$ip ETH0_IP=$ip GATEWAY=$gip  dpid=$dpid CONTROLLER=$ofip CTRL_PORT=$ofp rw; bootm ffd00000 ff000000 ffee0000
     79
     80#Current Pica8 boot from CF card
     81cfcard_bootcmd2=setenv bootargs root=/dev/hda1 rw noinitrd console=ttyS0,$baudrate;ext2load ide 0:1 0x1000000 boot/uImage;ext2load ide 0:1 0x400000 boot/LB9A.dtb;bootm 1000000 - 400000
     82
     83#Current Indigo boot from CF card
     84bootargs_hda1_of=setenv bootargs root=/dev/hda1 rw console=ttyS0,${br} DEV_ADDR=${ip} ETH0_IP=${ip} GATEWAY=${gip} dpid=${dpid} CONTROLLER=${ofip} CTRL_PORT=${ofp} controller_ip=${ofip} controller_port=${ofp}
     85cfcard_bootcmd3=run bootargs_hda1_of;ext2load ide 0:1 0x1000000 /boot/uImage;ext2load ide 0:1 0x2000000 /boot/uInitrd2m;ext2load ide 0:1 0x400000 /boot/LB9A.dtb;bootm 1000000 2000000 400000
     86}}}
     87
     88Command Prompts:
     89
     90Indigo:
     91{{{
     92indigo-unknown#
     93}}}
     94
     95Pica8:
     96{{{
     97    Please choose which to start: Pica8 XorPlus, OpenFlow, or System shell:
     98        (Will choose default entry if no input in 10 seconds.)
     99        [1]  Pica8 XorPlus   * default
     100        [2]  Open vSwitch
     101        [3]  System shell
     102        [4]  Boot menu editor
     103Enter your choice (1,2,3,4):
     104
     105
     106sw.sb9.orbit-lab.org>
     107
     108}}}
     109
     110=== TODO to fix web service (and OF setup) for SB9 data switch ===
     111
     112 1. Web service (Network AM) should recognize the command prompts for Pica8 and Indigo (OF) modes
     113 1. In Indigo mode, there is a race condition between the ofprotocol service starting and the find-env script that runs to pull/set boot parameters, including the OF controller params. The current fix is to run a script that copies a different ofprotocol start script over original, and rely on the runsv service to restart the ofprotocol service after it detects this change. The alternate start script essentially pulls now stable env params (incl. all passed boot params) to correct configure the path to OF controller. The implication is that either we fix the race condition, or we instruct the web service to execute the workaround.
     114 1. Establish repository for FTP based loading of OF image, and set up corresponding u-boot configuration.
     115