Handling the startup script in the flash bank, The uefi shell am4020 uefi bios – Kontron AM4020 uEFI BIOS User Manual
Page 62

The uEFI Shell
AM4020 uEFI BIOS
Page 56
ID 1036-5670, Rev. 3.0
P R E L I M I N A R 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
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