Manual:RouterBOOT
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 (see Changelog). 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
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.
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.
letter | description | explanation | |
---|---|---|---|
d | boot delay | Delays starting of RouterOS to allow an interface to initialize | |
k | boot key | The button that will open the configuration menu | |
s | serial console | Sets baud rate of the serial port | |
n | silent boot | Supresses all output on the serial port, in case some device is connected to it (like a GPS device or a temperature monitor) | |
o | boot device | Allows to enable Netinstall booting | |
f | cpu frequency | Allows to adjust CPU/memory frequencies | |
r | reset booter configuration | Resets the settings in this menu. Warning, no confirmation! | |
e | format nand | Destroys all data on the NAND, including RouterOS configuration and license | |
w | repartition nand | Refer to the Manual:Partitions document for more info | |
y | active partition | Choose active partition from which to try to load RouterOS | |
g | upgrade firmware | Allows upgrading RouterBOOT version through the network, or the XModem protocol | |
i | board info | ||
p | boot protocol | ||
b | booter options | Select which bootloader to use by default | |
t | do memory testing | Very basic memory testing tool |
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.
Simple Upgrade
RouterBOOT can be upgraded from RouterOS by:
- Run command /system routerboard upgrade
- Reboot your router to apply the upgrade (/system reboot)]
Note: If you need to install a different version than included in your "routerboard.npk - Upload the latest RouterBOOT firmware to your router's FTP, the latest firmware is available on routerboard.com and then follow above steps.
Checking RouterBOOT version
This command shows the current RouterBOOT version of your device, and available upgrade which is either included in routerboard.npk package, or if you uploaded a FWF file corresponding to device model:
[admin@MikroTik] > system routerboard print routerboard: yes model: "750" serial-number: "1FC201DD513B" current-firmware: "2.18" upgrade-firmware: "2.20" [admin@MikroTik] >
In this case you see, that there is a newer version of the Bootloader firmware available already inside your current RouterOS version.
Note: Downgrade is also possible by uploading *.FWF file with older version
Xmodem Method
If there is no IP connectivity with your RouterBOARD, you can also use the Serial Console XMODEM transfer to send the FWF file to the router, while connected via Serial Console. From the Bootloader menu it's possible to upgrade the firmware with this method. This method is the last resort, and should be used only if the first two methods are not available.
[ Top | Back to Content ]