EdgeRouter - How to Update Bootloader


Overview


This article explains how to update the bootloader for all EdgeRouter models.

NOTES & REQUIREMENTS:
This article applies to EdgeOS firmware 1.10.7 and greater.  
 
Devices used in this article:

Table of Contents


  1. Introduction
  2. How to Update Bootloader
  3. Related Articles

Introduction


Back to Top

EdgeRouter has a bootloader which controls functions such as how the LEDs light up on boot, how the router boots and loads the configuration, loads drivers, and more. In firmware version 1.10.7 and greater we have added the option to update the bootloader using CLI commands. This guide will give details on how to update the bootloader.


 

Steps: How to Update Bootloader


Back to Top

ATTENTION: Firmware version 1.10.7 or later must be installed for these commands to be utilized. 

These commands will be entered in operational mode of the CLI

Step 1: Verify current bootloader version using command:

show system boot-image 

Example when new bootloader version is available:

The system currently has the following boot image installed:
Current boot version: UNKNOWN
Current boot md5sum : 6010759776febe62b1dac8f392acf764

New uboot version is available: boot_e300_001_3f6cf.tar.gz
New boot md5sum : 8c042ab18af687fbd69ee773d293bf6f
Run "add system boot-image" to upgrade boot image.

If the EdgeRouter is running the latest firmware and the command above does not show a new uboot version is available, no action is needed.

 

Step 2: Install new bootloader version using command:

add system boot-image

Example:

Uboot version [UNKNOWN] is about to be replaced 
Warning: Don't turn off the power or reboot during the upgrade!
Are you sure you want to replace old version? (Yes/No) [Yes]: yes
Preparing to upgrade...Done
Copying upgrade boot image...Done
Checking boot version: Current is UNKNOWN; new is e300_001_3f6cf ...Done
Checking upgrade image...Done
Writing image...Done
Upgrade boot completed
NOTE: After entering the command above, the process may take some time ( about 1-2 minutes) while "writing image...". Please wait and do not power off the device during this state.

Step 3: Reboot using command:

reboot 
ATTENTION: A reboot is required for the changes in the new bootloader to go into effect. LED Statuses have changed using the latest bootloader, these changes are documented here.

Related Articles


Back to Top

EdgeRouter - Beginners Guide to EdgeRouter

EdgeRouter - Upgrading EdgeOS Firmware

EdgeMAX - Device LED Statuses

We're sorry to hear that!