At8902m software description – Kontron AT8902M User Manual

Page 86

Advertising
background image

AT8902M

Software Description

Page 4 - 21

AT8902M User Guide

This downloads the specified kernel package file via TFTP and writes the kernel image into the
kernel partition of the specified slot (B). The MD5 checksum of the kernel image is checked be-
fore writing it into flash. The same procedure can be done with initrd and application packages.
It is important not to overwrite the slots containing the currently active software, otherwise the
One Time Boot mechanism does not make sense.

After the software images have been downloaded into flash, the configuration slots for base
and fabric switch must be selected. In case that no appropriate configuration for base and/or
fabric switch are available, the factory default configuration for base and fabric switch should
be used for the startup configuration of the new software release. Alternatively, the running con-
figuration settings of base and fabric switch can be stored on flash using the following CLI com-
mand:

(Base Fabric) #copy system:running-config nvram:startup-config slot 3

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!

(Base Fabric) #

Instead of storing the configuration for ‘both’ base and fabric switch, ‘base-only’ or ‘ext-only’
might be given as parameters.

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:

(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 AT8902M software is possible.

To restart the board with the new startup configuration, the CLI command ‘reload’ is used:

(Base Fabric) (Config)#reload

If the new startup configuration is considered functional after the reboot, it must be activated
permanently, or else the one that is still active will be used again:

(Base Fabric) (Config)#startupslot 3 activate

Advertising