Kontron AT8402 User Manual page 83

Advancedtca
Table of Contents

Advertisement

AT8402
A software release for the AT8402 consists of one software package, initrd. The package is a
tar archive containing an image of the software and a MD5 checksum file for consistency check.
The name of the package file is arbitrary but the file names in the archive must not be altered.
When performing a firmware update, the software packages are loaded from a remote TFTP
server in the first step. To load a software package via TFTP into a specified slot, the CLI com-
mand 'download' is used:
(AT8402 Base Fabric) #download initrd tftp://192.168.50.5/kernel.pkg B
Downloading image, this may take a while...
Successfully transferred initrd image tftp://192.168.50.5/initrd.pkg to slot 2
You may mark it active now and reboot to use the new initrd image.
(AT8402 Base Fabric) #
This downloads the specified initrd package file via TFTP and writes the image into the partition
of the specified slot (B). The CRC32 checksum of the image is checked while writing it into
flash. It is important not to overwrite the slots containing the currently active software, other-
wise the One Time Boot mechanism does not make sense. In case of an error the partition will
be deleted and the old image will be used to reboot the system
After the software image has been downloaded into flash, the configuration slot for the base
switch must be selected. In case that no appropriate configuration for the base switch is avail-
able, the factory default configuration should be used for the startup configuration of the new
software release. Alternatively, the running configuration settings of base switch can be stored
on flash using the following CLI command:
(AT8402 Base Fabric) #copy system:running-config nvram:startup-config
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Configuration Saved!
(AT8402 Base Fabric) #
Finally, a startup configuration containing the slots of the new software release and the config-
uration slots must be selected or a new startup configuration must be created as described
above. After this step has been completed, the startup configuration is activated only for the
next boot and the board is rebooted. This is done with the 'startupslot' CLI command in the con-
figure mode:
(AT8402 Base Fabric) (Config)#startupslot 3 activate once
This command enables the startup configuration 3 only 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 previous known good startup configuration. This way, a failsafe
upgrade of the AT8402 software is possible.
Software Description
Page 4 - 19
AT8402 User Guide

Advertisement

Table of Contents
loading

Table of Contents