Updating Firmware - Kontron CP6930 User Manual

Table of Contents

Advertisement

Note...
The board does support OS images up to 25,5 MB size.
Note...
Note that only flash partition mtd4 is using the JFFS2 file system for storage.
All other flash partitions are not formatted and accessible from linux only as raw
devices.
Note...
The u-boot boot loader uses one flash sector for storing its environment vari-
ables. These can be saved and manipulated from the u-boot CLI and using linux
tools. To enable atomic updates of the environment variables, u-boot uses
redundant environment sectors; in case of a failure in completely writing the
current sector (e.g. due to loss of power or reset during writes), it will automat-
ically use the redundant environment. Therefore each boot monitor uses two
flash sectors (partition mtd2) for storing its environment and redundant copy.
A complete software release for the CP6930 consists of three files:
• cp6930-update-<release>.pkg
• cp6930-ipmi-<release>.hpm
• cp6930-8727-firmware.<release>.tar
In the following, the CLI commands to setup and copy FW images and the CLI commands necessary to per-
form firmware upgrades are described.
The CLI commands described below are executed in the privileged mode of the CLI hierarchy, which is
entered by executing the 'enable' command. Please refer to the "CP6930 CLI Reference Manual" for more
information regarding the CLI commands and the way to use them.

4.5.1 Updating Firmware

The firmware - including bootloader - image is updated using the CLI. The following precautions are met to
ensure a reliable and failsafe update procedure:
• Two independent system partitions, containing system 1 and system 2 firmware. The active system is
always system 1. System 1 is stored in flash mtd partitions mtd0-4, system 2 is a verbatim copy of sys-
tem 1 and is stored in flash partition mtd5 as a whole. This allows flash recovery from the redundant
system in case that update fails due to power loss or similar errors.
The system update package(cp6930-update-<release>.pkg) contains an image of bootloader, kernel, root
filesystem and config partition as well as a MD5 checksum file for consistency check.
64
Software Description
CP6930 User Guide
www.kontron.com

Advertisement

Table of Contents
loading

Table of Contents