2 image swap using ipmitool, 2 updating firmware, Updating firmware – Kontron AM4204 User Manual

Page 70

Advertising
background image

55

AM4204

www.kontron.com

5.3.1.2

Image swap using ipmitool

Image swap can also be achieved using the ipmitool from the Linux shell of the board. The following
command syntax must be used (IMAGE: 0 or 1):

~ #

ipmitool raw 0x3e 0x20 0x00 <IMAGE>

It is possible to invoke the ipmitool with the same parameters from the AMC carrier that holds the AM4204 or
even from external server provided that the ipmitool installed supports the Kontron OEM extensions.
However, the command must be invoked with appropriate bridging parameters set. E.g. on an AT8404 carrier
with the AM4204 inside Bay 4, the syntax would be:

#

ipmitool -b 7 -t 0x80 kontron boot set 0 0

5.3.2

Updating Firmware

Updating firmware includes updating bootloader, system software (Linux kernel and root FS) and MMC
firmware. It is recommended to always update firmware of the active image. In case of a failure, it is possible
to restore the board using the still unchanged redundant image. After the updated firmware is running
properly, the redundant image can be updated to the same version, only if it is required.

Under WindRiver BSP, there are several ways to update the different parts of the board firmware. Update can
be done with the predefined bootloader update commands as well as using the kex-flashimage tool from the
Linux shell. For a Cavium Linux BSP, only updating from the bootloader CLI is possible.

Please refer to the following chapters for information and procedures on how to update the different parts of
the System:

See “Bootloader Update” on page 51. for the bootloader update

See “Updating MMC Firmware” on page 45. for the MMC firmware update

See “Updating Cavium Linux BSP” on page 57. for Cavium Linux update

See “Updating WindRiver Linux BSP” on page 60. for WindRiver Linux

Note:

In case that no ipmitool is available on a carrier or host server and image 0 has been corrupted, the
board will perform an image swap automatically triggered by the system watchdog. Image swap is
performed every 2nd power cycle by the MMC if no watchdog is triggered.

Advertising