COMe-cTL6 – User Guide Rev. 1.7
// 74
6.3.
UEFI Shell Scripting
6.3.1.
Startup Scripting
If the ESC key is not pressed and the timeout has run out then the UEFI Shell tries to execute some startup scripts
automatically. It searches for scripts and executes them in the following order:
1.
Initially searches for Kontron flash-stored startup script.
2.
If there is no Kontron flash-stored startup script present then 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 are present or the startup script terminates then the default boot order is
continued.
6.3.2.
Create a Startup Script
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-formatted drive attached to the
system. To copy the startup script to the flash, use the
kBootScript
UEFI Shell command.
In case there is no mass storage device attached, the startup script can be generated in a RAM disk and stored in the
SPI boot flash using the
kRamdisk
UEFI Shell command.
6.3.3.
Examples of Startup Scripts
6.3.3.1.
Execute Shell Script on other Harddrive
This example (
startup.nsh
) executes the shell script named
bootme.nsh
located in the root of the first detected disc
drive (
fs0
).
fs0:
bootme.nsh
6.4.
Setup Menus
The Setup utility features menus listed in the selection bar at the top of the screen are:
Main
Advanced
Chipset
Security
Boot
Save & Exit
The currently active menu and the currently active UEFI BIOS Setup item are highlighted in white. Use the left and
right arrow keys to navigate to the required Setup menu and select the Setup menu by pressing <RETURN>.
Each Setup menu provides two main frames. The left frame displays all available functions. Configurable functions
are displayed in blue. Functions displayed in grey provide information about the status or the operational
configuration. The right frame displays a Help window providing an explanation of the respective function.