Owner's manual

Software Description
86 AT8404 User Guide
www.kontron.com
4.4.1 Updating the Firmware
The update package comes as a group of packages, located in the \release\data\update folder (example
release: GA-2.04):
t5307-GA-2.04.pkg T5307 SYSTEM update (bootloader and system FW)
t5307-ipmi-GA-2.04.hpm T5307 IPMI HPM update
t5307-pld-update-GA-2.04.pkg T5307 PLD update
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
either system 1 or system 2. The independant systems are stored in flash partitions mtd3 and mtd7. This
allows switching to the redundant system in case that update fails due to power loss or similar errors.
Redundant bootloader environment sectors: When the system is updated, the bootloader environment
must be changed to be able to start the updated version. The bootloader environment sector is stored
twice in flash, one active version and one backup version. In case the active version is deleted during
update the redundant environment is still valid and allows the bootloader to start the updated system.
A software release for the AT8404 consists of one software package file, t5307-<release>.pkg. The package
contains an image of bootloader, kernel and root filesystem as well as a MD5 checksum file for consistency
check.
When performing a firmware update, the software package is loaded from a remote TFTP server. A software
update of the AT8404 Carrier Board is done by performing the following steps:
1. Prepare network access of the board
2. log in to the privileged exec mode of the CLI of the board
3. Download initrd image into the appropriate system (1 or 2) of the flash memory. Ensure that the cur-
rently active images are not overwritten
(Ethernet Fabric) #copy tftp://192.168.50.5/<image-name>.pkg image1
This downloads the specified initrd package file via TFTP and writes the image into the partition of the
specified system (1). The CRC32 checksum of the image is checked while writing it into flash. It is rec-
ommended not to use the currently active image.
4. Note: New SW will always use a default configuration
5. Select a system for next boot
(Ethernet Fabric) #boot system image1
This command enables the system 1 for the next system restart. In the case that the board hangs due to
a corrupted software image, this will be detected and the board is automatically rebooted with the sec-
ond image (2). This way, a fail-safe upgrade of the AT8404 software is possible.
6. Check availability of valid boot image in image1 using the command
(Ethernet Fabric) #show bootvar
Image Descriptions
image1 : Product ID : 5307
Product Variant : 0
U-Boot Release : GA 2.04
Manufacturer ID : 15000
Build-Date : 20080131185554