Updating The Uefi Bios; Updating Procedure; Uefi Bios Recovery; Determining The Active Flash - Kontron CP3005-SA User Manual

Table of Contents

Advertisement

5.
Reset the board to execute the newly installed script using the reset uEFI Shell command.
myramdisk:\> reset
6.
If a script is already installed, it can be edited using the following kbootscript uEFI Shell commands.
myramdisk:\> kbootscript -g boot.nsh
myramdisk:\> edit boot.nsh

13.5. Updating the uEFI BIOS

The CP3005-SA has two SPI boot flashes programmed with the uEFI BIOS, a standard SPI boot flash and a recovery
SPI boot flash. The basic idea behind that is to always have at least one working uEFI BIOS flash available regardless if
there have been any flashing errors or not.

13.5.1. Updating Procedure

The standard SPI boot flash can be updated with the latest uEFI BIOS from the ZIP archive using the kupdate -u or the
kflash -p uEFI Shell command. When using the kupdate command, the directory structure of ZIP archive must not be
altered. The update status is indicated in the log file located in the directory where the firmware images are stored.

13.5.2. uEFI BIOS Recovery

In case of the standard SPI boot flash being corrupted and therefore the board not starting up, the board can be
booted from the recovery SPI boot flash if the DIP switch SW1, switch 2 is set to ON. For further information, refer to
the section 3.1 DIP Switch Configuration.
The uEFI BIOS code and settings are stored in the SPI boot flashes. Changes made to the uEFI
BIOS settings are available only in the currently selected SPI boot flash. Thus, switching over
to the other SPI boot flash may result in operation with different uEFI BIOS code and
settings.
To make the standard SPI boot flash bootable again, invoke the kflash -c uEFI Shell
Command. Hence, the content of the recovery SPI boot flash is copied to the standard SPI
boot flash.

13.5.3. Determining the Active Flash

Sometimes it may be necessary to check which flash is active. On the AMI Aptio-based uEFI BIOS, the information is
available using the kboardinfo uEFI Shell command.
www.kontron.com
CP3005-SA – Rev. 0.6 Preliminary
// 100

Advertisement

Table of Contents
loading

Table of Contents