Product guide

44 Configuration Software and Utilities
45MAXDATA PLATINUM 90004R Server System
The Extensible Firmware Interface (EFI) Shell
The EFI Shell is an EFI application that allows other EFI applications to be launched, EFI device drivers
to be loaded, and operating systems to be booted. The combination of the EFI rmware and the
EFI Shell provides an environment that can be modied to easily adapt to many different hardware
congurations.
The EFI shell also provides a set of basic commands used to manage les and EFI NVRAM shell
and boot variables. A list of these basic commands is shown in Table 8. A more detailed description
of the commands is available on the EFI website. To obtain the document, navigate to the http:
//developer.intel.com/technology/e URL and click on the Tools hyperlink. Next, click on “EFI Sample
Implementation 1.10.14.60” to download the les to your hard drive. After downloading the sample,
locate the Microsoft
®
Word le named “EFI1.1ShellCommands.doc. Descriptions of the EFI shell
commands are also available when operating in the EFI Shell by typing “help” and hitting the <Enter>
key.
In addition to the standard shell commands available in the EFI Shell, the EFI environment allows you
to create your own shell commands and EFI applications. For detailed information about the EFI Shell,
its commands, and the ability to develop within the environment, refer to the EFI Developers Guide.
To obtain the document, navigate to the http://developer.intel.com/technology/e URL and click on
the Tools hyperlink. Next, click on “EFI Sample Implementation Version 1.02” to download the les to
your hard drive. After downloading the sample, locate the Microsoft
®
Word le named “E_dg.doc”.
To develop your own shell commands, download the EFI Application Toolkit from the Tools hyperlink
on the following website:
http://developer.intel.com/technology/e
Table 8. EFI Shell Commands
Command Description
<drive_name>: Changes drives. For example, entering fs0: and pressing the
<Enter> key changes the drive to the LS-240 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
continued