User`s guide

Table Of Contents
34 NovaScale 4020 User’s Guide
The Extensible Firmware Interface (EFI) Shell
The EFI shell application allows other EFI applications to be launched, EFI device drivers to be
loaded, and operating systems to be booted. The combination of the EFI firmware and the EFI
shell provides an environment that can be modified to easily adapt to many different hardware
configurations.
The EFI shell provides a set of basic commands used to manage files and EFI NVRAM shell
and boot variables. A list of these basic commands is shown in Table 5. Descriptions of the
EFI shell commands are also available when operating in the EFI Shell. To access the
descriptions, type help and press the <Enter> key.
Table 5. EFI Shell Commands
Command Description
<drive_name>:
Changes drives. For example, entering fs0: and
pressing the <Enter> key changes the drive
alias [-bdv] [sname] [value]
Sets or gets alias settings
attrib [-b] [+/- rhs] [file]
Views or sets file attributes
bcfg -?
Configures boot driver and load options in EFI NVRAM
botmaint
Launches Boot Maintenance Manager
break
Executes a breakpoint
cd [path]
Changes the current directory
cls [background color]
Clears the screen
comp file1 file2
Compares two files
connect [-r] [-c] Handle#
½DeviceHandle# DriverHandle#
Binds the EFI driver to a device and starts the driver
cp [-r] file [file] ... [dest]
Copies files and directories, [-r] = recursive
date [mm/dd/yyyy]
Gets or sets the date
dblk device [Lba] [Blocks]
Performs a hex dump of BlkIo Devices
devices [-b] [-1XXX]
Displays devices
devtree [-b] [-d]
Displays device tree
dh [-b] [-p prot_id] | [handle]
Dumps handle information
disconnect DeviceHandle#
[DriverHandle# [ChildHandle#]
Disconnects device from driver
dmem {address] [size] [;MMIO]
Displays the contents of memory
dmpstore
Dumps the variable store
drivers [-b] [-lXXX]
Displays drivers
drvcfg [-c] [-lXXX] [-f] [-v] [-
s]
Invokes the driver configuration protocol
drvdiag [-c] [-lXXX] [-s] [-e] [-
m]
Invokes the driver diagnostics protocol
echo [[-on | -off] | [text]
Echoes text to the standard output device or toggles
script echo
edit [filename]
Opens the text editor allowing you to create or edit a file
eficompress infile outfile
Compresses an EFI file
Efidecompress infile outfile
Decompresses an EFI file
endfor
Provides a delimiter for loop constructs (scripts only)
endif
Provides a delimiter for IF THEN constructs (scripts only)