The uEFI Shell
CP6004-SA/-RA/-RC/CP6004X-SA
Page 68
ID 1053-6161, Rev. 3.0
D R A F T — F O R I N T E R N A L U S E O N L Y
6.3.3.5
Handling the Startup Script in the Flash Bank
In case there is no mass storage device attached, the startup script can be generated in a RAM
disk and stored in the flash bank using the following instructions:
4. Press <ESC> during power-up to log into the uEFI Shell.
5. Create a RAM disk and set the proper working directory as shown below:
6. Enter the sample start-up script mentioned above in this section using the
edit
uEFI Shell
command.
7. Save the start-up script to the uEFI flash bank using the
kbootnsh
uEFI Shell command.
8. Reset the board to execute the newly installed script using the
reset
uEFI Shell com-
mand.
9. If a script is already installed, it can be edited using the following
kbootnsh
uEFI Shell
commands.
Shell> kmkramdisk -s 3 myramdisk
Shell> myramdisk:
myramdisk:\> edit boot.nsh
myramdisk:\> kbootnsh -p boot.nsh
myramdisk:\> reset
myramdisk:\> kbootnsh -g boot.nsh
myramdisk:\> edit boot.nsh