Manual:RouterBOOT: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Line 50: Line 50:
<table border="1">
<table border="1">
<tr><th>letter</th><th>description</th><th>explanation</th><td></td></tr>
<tr><th>letter</th><th>description</th><th>explanation</th><td></td></tr>
<tr><td>d</td><td>boot delay </td><td><td></td></tr>
<tr><td>d</td><td>boot delay </td><td>Delays starting of RouterOS to allow an interface to initialize</td></tr>
<tr><td>k</td><td>boot key</td><td><td></td></tr>
<tr><td>k</td><td>boot key</td><td>The button that will open the configuration menu</td></tr>
<tr><td>s</td><td>serial console</td><td><td></td></tr>
<tr><td>s</td><td>serial console</td><td>Sets baud rate of the serial port</td></tr>
<tr><td>n</td><td>silent boot</td><td><td></td></tr>
<tr><td>n</td><td>silent boot</td><td>Supresses all output on the serial port, in case some device is connected to it (like a GPS device or a temperature monitor)</td></tr>
<tr><td>o</td><td>boot device</td><td><td></td></tr>
<tr><td>o</td><td>boot device</td><td>Allows to enable Netinstall booting</td></tr>
<tr><td>f</td><td>cpu frequency</td><td><td></td></tr>
<tr><td>f</td><td>cpu frequency</td><td></td></tr>
<tr><td>r</td><td>reset booter configuration</td><td><td></td></tr>
<tr><td>r</td><td>reset booter configuration</td><td>Resets the settings in this menu. <b>Warning, no confirmation!</b></td></tr>
<tr><td>e</td><td>format nand</td><td><td></td></tr>
<tr><td>e</td><td>format nand</td><td>Destroys all data on the NAND, including RouterOS configuration</td></tr>
<tr><td>w</td><td>repartition nand</td><td><td></td></tr>
<tr><td>w</td><td>repartition nand</td><td>Refer to the [[Manual:Partition]] document for more info</td></tr>
<tr><td>y</td><td>active partition</td><td><td></td></tr>
<tr><td>y</td><td>active partition</td><td></td></tr>
<tr><td>g</td><td>upgrade firmware</td><td><td></td></tr>
<tr><td>g</td><td>upgrade firmware</td><td>Allows upgrading RouterBOOT version through the network, or the XModem protocol</td></tr>
<tr><td>i</td><td>board info</td><td><td></td></tr>
<tr><td>i</td><td>board info</td><td></td></tr>
<tr><td>p</td><td>boot protocol</td><td><td></td></tr>
<tr><td>p</td><td>boot protocol</td><td></td></tr>
<tr><td>b</td><td>booter options</td><td><td></td></tr>
<tr><td>b</td><td>booter options</td><td></td></tr>
<tr><td>t</td><td>do memory testing</td><td><td></td></tr>
<tr><td>t</td><td>do memory testing</td><td></td></tr>
</table>
</table>



Revision as of 12:12, 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.

letterdescriptionexplanation
dboot delay Delays starting of RouterOS to allow an interface to initialize
kboot keyThe button that will open the configuration menu
sserial consoleSets baud rate of the serial port
nsilent bootSupresses all output on the serial port, in case some device is connected to it (like a GPS device or a temperature monitor)
oboot deviceAllows to enable Netinstall booting
fcpu frequency
rreset booter configurationResets the settings in this menu. Warning, no confirmation!
eformat nandDestroys all data on the NAND, including RouterOS configuration
wrepartition nandRefer to the Manual:Partition document for more info
yactive partition
gupgrade firmwareAllows upgrading RouterBOOT version through the network, or the XModem protocol
iboard info
pboot protocol
bbooter options
tdo memory testing

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)
Icon-note.png

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.