Uefi Shell Scripting; Startup Scripting; Create A Startup Script - Kontron CP6005-SA User Manual

6u compactpci processor board
Table of Contents

Advertisement

Table 61: Kontron-Specific uEFI Shell Commands
COMMAND
kPassword
Controls uEFI Setup and Shell passwords
This command is used to determine the status of both passwords (set or not set) and to set or
clear the uEFI Shell and Setup passwords. Both user and superuser (Supervisor) passwords can
be controlled with this command.
Call without options to get current password status.
Enter ing an empty password clears the password.
kRamdisk
Creates and manages RAMdisks
This command is used to perform f ile operations when no real f ilesystem is connected to the
system.
kReset
Controls the board's reset behavior
This command controls if the board shall react on a CompactPCI backplane reset if it is used in a
peripheral slot. It has no ef fect if the board is installed in the CompactPCI system slot. The
parameter of this command is volatile and set to of f at the next start.
kUpdate
Controls the Kontron common update tool
When using the kUpdate command, the structure of the ZIP archive must not be altered. kUp-
date automatically starts the update procedure via kUpdate -u. If a certain image is intended
to be used, enter kUpdate -s to select the respective image.
kWatchdog
Conf igures the Kontron onboard Watchdog
This command is used to enable the Kontron onboard Watchdog with reset target before OS
boot. This can be used to detect if the OS fails to boot and react by reset.
The uEFI Shell commands are not case-sensitive. Each uEFI Shell command is provided with a detailed
online help that can be invoked by entering "<cmd> <space> <-?>" in the command line. To display the
uEFI Shell command list, enter <help> or <?> in the command line.
9 . 4 u E F I S h e l l S c r ip t i n g
9.4.1 Star tup Scr ipting
If the ESC key is not pressed and the timeout is run out, the uEFI Shell tries to execute some startup
scripts automatically. It searches for scripts and executes them in the following order:
1.
Kontron flash-stored startup script
2.
If there is no Kontron flash-stored startup script present, the uEFI-specified startup.nsh
script is used. This script must be located on the root of any of the attached FAT formatted
disk drive.
3.
If none of the startup scripts is present or the startup script terminates, the default boot or-
der is continued.
9.4.2 Create a Star tup Scr ipt
Startup scripts can be created using the uEFI Shell built-in editor edit or under any OS with a plain text
editor of your choice. To create a startup shell script, simply save the script on the root of any FAT-for-
www.kontron.com
DESCRIPTION
User Guide
CP6005(X)-SA
76

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp6005x-sa

Table of Contents