RES2404-PTP-PoE User Guide. Rev. 1.0
www.kontron.com
// 31
4.6.
Firmware administration
4.6.1.
Firmware description
The RES2404-PTP-PoE firmware includes an initial bootcode, the bootloader, Linux kernel and rootfs and the
FASTPATH switching application. All firmware is preinstalled on the system and can only be updated by a dedicated
failsave update procedure.
The system supports two permanent storage devices for the firmware:
An on-board integrated eMMC (2 GB), which contains the bootloader as well as the operating system, the
switching application and configuration data.
An on-board write protected 4 MB NOR flash which keeps the initial bootcode, bootloader environment and a
failsave image of the bootloader.
4.6.2.
Failsave update
The system provides two image locations in the eMMC flash for two independent instances of the firmware. This
allows recovery from the redundant system in case the update fails due to power loss or other reasons.
Firmware files are protected with checksums to allow detection of corrupted images. In case checksum failures are
detected while booting e.g. image1, the system will reset and boot image2. In case image2 is corrupted too, the
system will load the failsave bootloader from NOR flash.
4.6.3.
Update procedure
The firmware will be updated using the CLI. The CLI commands described below are executed in the privileged mode
of the CLI command tree. Please refer to the “ESC-RES-PTP CLI Reference Manual“ for more information about the CLI
commands and how to use them.
Firmware update is only possible for the currently not used image, leaving the currently used image untouched during
firmware update. This keeps always one known working image available.
There is only one update package “system.pkg” that includes all necessary parts of the firmware, images of
bootloader, kernel, root filesystem including switch management application and MD5 checksum file for consistency
check.
When performing a firmware update, the firmware package will be loaded from a remote TFTP server.
In the update description below, instructions use a TFTP server with example IP address 192.168.70.2.
To update the RES2404-PTP-PoE, follow the steps below:
1.
Log in to the privileged exec mode of the CLI of the system
2.
Prepare network access of the system, the update package “system.pkg” has to be available on the
corresponding TFTP directory
3.
Check, which image is currently used
(Ethernet Fabric) #
show bootvar
image1 : System Firmware (PTP + PoE)
image2 : System Firmware (PTP + PoE)
-------------------------- -------------------------- -------------- -----------
image1 image2 current-active next-active
-------------------------- -------------------------- -------------- -----------
GA-5.00-20170322194904 BETA-9.99-20170216153906 image1 image1
4.
Copy system package into the currently not used image location, in this example image2
(Ethernet Fabric) #copy tftp://192.168.170.2/system.pkg image2
Mode........................................... TFTP
Set Server IP.................................. 192.168.170.2
Path........................................... ESC-PTP_GA5.01/