| 62 | |
| 63 | |
| 64 | == Pronto 3290 Management == |
| 65 | |
| 66 | |
| 67 | |
| 68 | SB9 switch u-boot config: |
| 69 | |
| 70 | {{{ |
| 71 | #older flash drive boot for Indigo |
| 72 | flash_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 |
| 75 | cfcard_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 |
| 78 | nfs_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 |
| 81 | cfcard_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 |
| 84 | bootargs_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} |
| 85 | cfcard_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 | |
| 88 | Command Prompts: |
| 89 | |
| 90 | Indigo: |
| 91 | {{{ |
| 92 | indigo-unknown# |
| 93 | }}} |
| 94 | |
| 95 | Pica8: |
| 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 |
| 103 | Enter your choice (1,2,3,4): |
| 104 | |
| 105 | |
| 106 | sw.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 | |