Handling the startup script in the flash bank, Am4022 uefi bios the uefi shell – Kontron AM4022 uEFI BIOS User Manual

Page 71

Advertising
background image

AM4022 uEFI BIOS

The uEFI Shell

ID 1052-1333, Rev. 1.0

Page 65

6.3.3.4

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:

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 uEFI flash bank using the kbootnsh uEFI Shell command.

5. Reset the board to execute the newly installed script using the reset uEFI Shell com-

mand.

6. 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

Advertising