D R A F T — F O R I N
T E R N A L U S E O N L Y
78
www.kontron.com
User Guide
CP3010-SA
9.4.3.3 Handling the Startup Script in the SPI Boot Flash
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 following instructions:
1.
Press <ESC> during power-up to log into the uEFI Shell.
2.
Create a RAM disk and set the proper working directory as shown below:
3.
Enter the sample start-up script mentioned above in this section using the
edit
uEFI Shell
command.
4.
Save the start-up script to the SPI boot flash using the
kBootScript
uEFI Shell command.
5.
Reset the board to execute the newly installed script using the
reset
uEFI Shell command.
6.
If a script is already installed, it can be edited using the following
kBootScript
uEFI Shell
commands:
Shell> kramdisk -s 3 -c -m myramdisk
Shell> myramdisk:
myramdisk:\> edit boot.nsh
myramdisk:\> kbootscript -p boot.nsh
myramdisk:\> reset
myramdisk:\> kbootscript -g boot.nsh
myramdisk:\> edit boot.nsh