Manual:RouterBOOT: Difference between revisions
Created page with "RouterBOOT is responsible for starting RouterOS in RouterBOARD devices. == Main and Backup loaders == By default, the main loader is used, but RouterBOARD devices also have a ..." |
|||
Line 11: | Line 11: | ||
== Configuration == | == Configuration == | ||
For RouterBOARD devices that feature a serial console connector, it is possible to access the RouterBOOT loader configuration menu. The required cable is described in the [[Serial_Console|Serial console]] manual. RouterBOARD serial port is configured to 115200bit/s, 8 data bits, 1 stop bit, no parity. We suggest to disable the hardware flow control. | For RouterBOARD devices that feature a serial console connector, it is possible to access the RouterBOOT loader configuration menu. The required cable is described in the [[Serial_Console|Serial console]] manual. RouterBOARD serial port is configured to 115200bit/s, 8 data bits, 1 stop bit, no parity. We suggest to disable the hardware flow control. | ||
This example shows the menu which is available in RouterBOOT 3.19: | |||
<code> | |||
RouterBOOT booter 3.19 | |||
CCR1009-8G-1S-1S+ | |||
CPU frequency: 1200 MHz | |||
Memory size: 2048 MiB | |||
NAND size: 128 MiB | |||
NAND partitions: 2 | |||
Press any key within 2 seconds to enter setup | |||
RouterBOOT-3.19 | |||
What do you want to configure? | |||
d - boot delay | |||
k - boot key | |||
s - serial console | |||
n - silent boot | |||
o - boot device | |||
f - cpu frequency | |||
r - reset booter configuration | |||
e - format nand | |||
w - repartition nand | |||
y - active partition | |||
g - upgrade firmware | |||
i - board info | |||
p - boot protocol | |||
b - booter options | |||
t - do memory testing | |||
</code> | |||
The options are self explainatory. Hitting the appropriate keyboard letter will give you a list of further options, they are shown below: | |||
<code> | |||
# d - boot delay: | |||
Select boot delay: | |||
1 - 1s | |||
* 2 - 2s | |||
3 - 3s | |||
4 - 4s | |||
5 - 5s | |||
6 - 6s | |||
7 - 7s | |||
8 - 8s | |||
9 - 9s | |||
# k - boot key: | |||
Select key which will enter setup on boot: | |||
* 1 - any key | |||
2 - <Delete> key only | |||
# s - serial console: | |||
Select baud rate for serial console: | |||
* 1 - 115200 | |||
2 - 57600 | |||
3 - 38400 | |||
4 - 19200 | |||
5 - 9600 | |||
6 - 4800 | |||
7 - 2400 | |||
8 - 1200 | |||
9 - off | |||
# n - silent boot: | |||
Silent boot: | |||
0 - off | |||
* 1 - on | |||
# o - boot device: | |||
Select boot device: | |||
e - boot over Ethernet | |||
* n - boot from NAND, if fail then Ethernet | |||
1 - boot Ethernet once, then NAND | |||
o - boot from NAND only | |||
b - boot chosen device | |||
f - boot Flash Configure Mode | |||
3 - boot Flash Configure Mode once, then NAND | |||
# f - cpu frequency: | |||
Select CPU frequency: | |||
a - 200MHz | |||
b - 400MHz | |||
c - 600MHz | |||
d - 800MHz | |||
e - 1000MHz | |||
* f - 1200MHz | |||
# r - reset booter configuration: | |||
# e - format nand: | |||
Do you realy want to format your storage device? | |||
that would result in losing all your data | |||
type "yes" to confirm: | |||
# w - repartition nand: | |||
Select parititon count: | |||
1 - partition | |||
* 2 - partitions | |||
3 - partitions | |||
4 - partitions | |||
# y - active partition: | |||
Select active partiton: | |||
* 0 - partition | |||
1 - partition | |||
# g - upgrade firmware: | |||
Upgrade firmware options: | |||
e - upgrade firmware over ethernet | |||
s - upgrade firmware over serial port | |||
# i - board info: | |||
Board Info: | |||
Board type: CCR1009-8G-1S-1S+ | |||
Serial number: 48FF01DDE6FD | |||
Firmware version: 3.19 | |||
CPU frequency: 1200 MHz | |||
Memory size: 2048 MiB | |||
NAND size: 128 MiB | |||
Build time: 2014-09-23 15:02:34 | |||
eth1 MAC address: 00:0C:42:00:BE:4A | |||
eth2 MAC address: 00:0C:42:00:BE:4B | |||
eth3 MAC address: 00:0C:42:00:BE:4C | |||
eth4 MAC address: 00:0C:42:00:BE:4D | |||
eth5 MAC address: 00:0C:42:00:BE:4E | |||
eth6 MAC address: 00:0C:42:00:BE:4F | |||
eth7 MAC address: 00:0C:42:00:BE:50 | |||
eth8 MAC address: 00:0C:42:00:BE:51 | |||
eth9 MAC address: 00:0C:42:00:BE:52 | |||
eth10 MAC address: 00:0C:42:00:BE:53 | |||
# p - boot protocol: | |||
Choose which boot protocol to use: | |||
* 1 - bootp protocol | |||
2 - dhcp protocol | |||
# b - booter options: | |||
Select which booter you want to load: | |||
* 1 - load regular booter | |||
2 - force backup-booter loading | |||
#t - do memory testing: | |||
launches built in memory test! | |||
# x - exit setup: | |||
Exit bios configuration menu and continues with system startup. | |||
</code> | |||
== RouterBOARD reset button == | == RouterBOARD reset button == |
Revision as of 14:01, 30 October 2014
RouterBOOT is responsible for starting RouterOS in RouterBOARD devices.
Main and Backup loaders
By default, the main loader is used, but RouterBOARD devices also have a secondary (backup) bootloader, which can be used in case the main doesn't work. It is possible to call the backup loader with a configuration setting in RouterOS:
system routerboard settings set force-backup-booter=yes
it is also possible to use the backup booter by turning on the device, with the RESET button pushed. Sometimes the RouterBOOT receives firmware upgrades. It is only possible to upgrade the main RouterBOOT, so in case of failure, you can use the backup booter to start the device and downgrade the main loader. For upgrade instructions, follow the separate instructions in Manual:Bootloader upgrade
Configuration
For RouterBOARD devices that feature a serial console connector, it is possible to access the RouterBOOT loader configuration menu. The required cable is described in the Serial console manual. RouterBOARD serial port is configured to 115200bit/s, 8 data bits, 1 stop bit, no parity. We suggest to disable the hardware flow control.
This example shows the menu which is available in RouterBOOT 3.19:
RouterBOOT booter 3.19
CCR1009-8G-1S-1S+
CPU frequency: 1200 MHz
Memory size: 2048 MiB
NAND size: 128 MiB
NAND partitions: 2
Press any key within 2 seconds to enter setup
RouterBOOT-3.19
What do you want to configure?
d - boot delay
k - boot key
s - serial console
n - silent boot
o - boot device
f - cpu frequency
r - reset booter configuration
e - format nand
w - repartition nand
y - active partition
g - upgrade firmware
i - board info
p - boot protocol
b - booter options
t - do memory testing
The options are self explainatory. Hitting the appropriate keyboard letter will give you a list of further options, they are shown below:
- d - boot delay:
Select boot delay:
1 - 1s
* 2 - 2s
3 - 3s
4 - 4s
5 - 5s
6 - 6s
7 - 7s
8 - 8s
9 - 9s
- k - boot key:
Select key which will enter setup on boot:
* 1 - any key
2 - <Delete> key only
- s - serial console:
Select baud rate for serial console:
* 1 - 115200
2 - 57600
3 - 38400
4 - 19200
5 - 9600
6 - 4800
7 - 2400
8 - 1200
9 - off
- n - silent boot:
Silent boot:
0 - off
* 1 - on
- o - boot device:
Select boot device:
e - boot over Ethernet
* n - boot from NAND, if fail then Ethernet
1 - boot Ethernet once, then NAND
o - boot from NAND only
b - boot chosen device
f - boot Flash Configure Mode
3 - boot Flash Configure Mode once, then NAND
- f - cpu frequency:
Select CPU frequency:
a - 200MHz
b - 400MHz
c - 600MHz
d - 800MHz
e - 1000MHz
* f - 1200MHz
- r - reset booter configuration:
- e - format nand:
Do you realy want to format your storage device?
that would result in losing all your data
type "yes" to confirm:
- w - repartition nand:
Select parititon count:
1 - partition
* 2 - partitions
3 - partitions
4 - partitions
- y - active partition:
Select active partiton:
* 0 - partition
1 - partition
- g - upgrade firmware:
Upgrade firmware options:
e - upgrade firmware over ethernet
s - upgrade firmware over serial port
- i - board info:
Board Info:
Board type: CCR1009-8G-1S-1S+
Serial number: 48FF01DDE6FD
Firmware version: 3.19
CPU frequency: 1200 MHz
Memory size: 2048 MiB
NAND size: 128 MiB
Build time: 2014-09-23 15:02:34
eth1 MAC address: 00:0C:42:00:BE:4A
eth2 MAC address: 00:0C:42:00:BE:4B
eth3 MAC address: 00:0C:42:00:BE:4C
eth4 MAC address: 00:0C:42:00:BE:4D
eth5 MAC address: 00:0C:42:00:BE:4E
eth6 MAC address: 00:0C:42:00:BE:4F
eth7 MAC address: 00:0C:42:00:BE:50
eth8 MAC address: 00:0C:42:00:BE:51
eth9 MAC address: 00:0C:42:00:BE:52
eth10 MAC address: 00:0C:42:00:BE:53
- p - boot protocol:
Choose which boot protocol to use:
* 1 - bootp protocol
2 - dhcp protocol
- b - booter options:
Select which booter you want to load:
* 1 - load regular booter
2 - force backup-booter loading
- t - do memory testing:
launches built in memory test!
- x - exit setup:
Exit bios configuration menu and continues with system startup.
RouterBOARD reset button
RouterBOOT reset button has three functions:
- Hold this button during boot time until LED light starts flashing, release the button to reset RouterOS configuration (total 5 seconds)
- Keep holding for 5 more seconds, LED turns solid, release now to turn on CAPs mode (total 10 seconds)
- Or Keep holding the button for 5 more seconds until until LED turns off, then release it to make the RouterBOARD look for Netinstall servers (total 15 seconds)
Note: If you hold the button before applying power, backup RouterBOOT will be used in addition to all the above actions. To do the above actions without loading the backup loader, push the button right after applying power to the device.