Changes between Version 6 and Version 7 of Internal/OpenFlow/QuantaSetup
- Timestamp:
- Jan 6, 2011, 10:04:17 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/QuantaSetup
v6 v7 35 35 4. modify boot parameters 36 36 37 The switch for SB9 will be images via nfs with console.sb9 as the server. This is to prevent users from bricking the switch by playing with u-boot. 38 37 39 === 2.2.1. change network settings === 38 40 The network settings are hard-wired into the switch via environment variables. The default settings statically set the switch's IP to a 192.168.X.X address block, which you might want to change depending on your network setup. This can be done using command `setenv`. While all environment variables can be viewed with `printenv`, the four variables of our interest are: … … 66 68 67 69 === 2.2.3. modifying boot parameters === 68 in addition, you want to modify `flash_bootcmd` so that it tells the linux kernel to mount the root filesystem read-write:70 In addition, you want to modify `flash_bootcmd` so that it tells the linux kernel to mount the root filesystem read-write: 69 71 {{{ 70 72 => setenv flash_bootcmd 'setenv bootargs root=/dev/ram console=ttyS0,$baudrate rw; bootm ffd00000 ff000000 ffee0000' 71 73 => saveenv 72 74 }}} 73 74 and reboot the switch. if all goes well, you should be at the Linux shell prompt once the switch starts up. 75 Also, make sure that the variable `bootcmd` is set to `run flash_bootcmd`. If not, reset with setenv and save this change as well: 76 {{{ 77 => setenv 'run flash_bootcmd' 78 => saveenv 79 }}} 80 and load the image by issuing the command `boot`. if all goes well, you should be at the Linux shell prompt once the switch starts up. 75 81 76 82 == 3. Configuration ==