Difference between revisions of "EFI Commands"

From jasonhoss.com
Jump to: navigation, search
(Created page with "Found in all Menus info boot Boot from specified path help <command> Display help for specified command or menu reset Reset the server (to allow reconfiguration of co...")
 
 
Line 1: Line 1:
 
Found in all Menus
 
Found in all Menus
  
info boot Boot from specified path
+
info boot Boot from specified path
help <command> Display help for specified command or menu
+
help <command> Display help for specified command or menu
reset         Reset the server (to allow reconfiguration of complex
+
reset         Reset the server (to allow reconfiguration of complex
exit         Return to the main menu
+
exit         Return to the main menu
  
 
Boot Commands
 
Boot Commands
  
autoboot Display or set the auto start flag
+
autoboot Display or set the auto start flag
bcfg         Search for boot devices
+
bcfg         Search for boot devices
[[boottest|boottest]] Set/view BootTest bits.
+
[[boottest|boottest]] Set/view BootTest bits.
dbprofile Display/modify direct boot profiles for use by lanboot'.
+
dbprofile Display/modify direct boot profiles for use by lanboot'.
lanboot Boot over the LAN.
+
lanboot Boot over the LAN.
reconfigreset Reset the system (nPartition) for reconfiguration; the nPartition remains inactive, in the shutdown for reconfig state.
+
reconfigreset Reset the system (nPartition) for reconfiguration; the nPartition remains inactive, in the shutdown for reconfig state.
reset         Reset the system (nPartition).
+
reset         Reset the system (nPartition).
search         Connect drivers for bootables devices.
+
search         Connect drivers for bootables devices.
  
 
Configuration Commands
 
Configuration Commands
  
acpiconfig Set/view ACPI configuration mode.
+
acpiconfig Set/view ACPI configuration mode.
cellconfig Deconfigure/reconfigure cells. (Set cell use-on-next-boot values.)
+
cellconfig Deconfigure/reconfigure cells. (Set cell use-on-next-boot values.)
cpuconfig Deconfigure/reconfigure processors and processor cores..
+
cpuconfig Deconfigure/reconfigure processors and processor cores..
date    Display the current date or set the date of the system (nPartition).
+
date    Display the current date or set the date of the system (nPartition).
dimmconfig Deconfigure/reconfigure memory (DIMMs).
+
dimmconfig Deconfigure/reconfigure memory (DIMMs).
err    Display/change the error level.
+
err    Display/change the error level.
errdump View/clear logs.
+
errdump View/clear logs.
fru         View FRU data.
+
fru         View FRU data.
info         Display hardware information.
+
info         Display hardware information.
monarch Set/view a monarch processor.
+
monarch Set/view a monarch processor.
palproc Make a PAL call.
+
palproc Make a PAL call.
romdrivers Enable/disable PCI expansion ROM drivers.
+
romdrivers Enable/disable PCI expansion ROM drivers.
rootcell Set/view preferred root cells. (Set nPartition core cell choices.)
+
rootcell Set/view preferred root cells. (Set nPartition core cell choices.)
salproc Make a SAL call.
+
salproc Make a SAL call.
tftp         Performs TFTP operation to a bootp/DHCP enabled Unix boot server.
+
tftp         Performs TFTP operation to a bootp/DHCP enabled Unix boot server.
time         Display the current time or set the time of the system (nPartition). EFI time is set and presented in GMT (Greenwich mean time).
+
time         Display the current time or set the time of the system (nPartition). EFI time is set and presented in GMT (Greenwich mean time).
variable Save/restore specific EFI variables.
+
variable Save/restore specific EFI variables.
ver         Display the version information.
+
ver         Display the version information.
  
 
Filesystem Commands
 
Filesystem Commands
  
baud    View serial port com settings.
+
baud    View serial port com settings.
connect Bind a driver to a device.
+
connect Bind a driver to a device.
dblk         Hex dump of BlkIo devices.
+
dblk         Hex dump of BlkIo devices.
devices Display devices managed by EFI drivers.
+
devices Display devices managed by EFI drivers.
devtree Display tree of devices.
+
devtree Display tree of devices.
dh         Dump handle info.
+
dh         Dump handle info.
disconnect Disconnect driver(s) from device(s).
+
disconnect Disconnect driver(s) from device(s).
drivers Display list of drivers.
+
drivers Display list of drivers.
drvcfg         Invoke the Driver Config Protocol.
+
drvcfg         Invoke the Driver Config Protocol.
drvdiag Invoke the Driver Diagnostics Protocol.
+
drvdiag Invoke the Driver Diagnostics Protocol.
guid         Dump known GUID IDs.
+
guid         Dump known GUID IDs.
lanaddress Display MAC address.
+
lanaddress Display MAC address.
load         Load EFI drivers.
+
load         Load EFI drivers.
map         Map shortname to device path.
+
map         Map shortname to device path.
openinfo Display the open protocols for given handle.
+
openinfo Display the open protocols for given handle.
pci         Display PCI devices or PCI function configuration space.
+
pci         Display PCI devices or PCI function configuration space.
reconnect Reconnect driver(s) from a device.
+
reconnect Reconnect driver(s) from a device.
unload         Unload a protocol image.
+
unload         Unload a protocol image.
  
 
Filesystem Commands
 
Filesystem Commands
  
attrib  Display/change the attributes of files/directories.
+
attrib  Display/change the attributes of files/directories.
cd      Update/view the current directory.
+
cd      Update/view the current directory.
comp    Compare the contents of two files.
+
comp    Compare the contents of two files.
cp      Copy one or more files/directories to another location.
+
cp      Copy one or more files/directories to another location.
edit    Edit an ASCII or UNICODE file in full screen.
+
edit    Edit an ASCII or UNICODE file in full screen.
eficompress Compress infile and write to outfile.
+
eficompress Compress infile and write to outfile.
efidecompress Decompress infile and write to outfile.
+
efidecompress Decompress infile and write to outfile.
hexedit Edit a file, block device, or memory region using hex.
+
hexedit Edit a file, block device, or memory region using hex.
ls         Display a list of files and subdirectories in a directory.
+
ls         Display a list of files and subdirectories in a directory.
mkdir         Create one or more directories.
+
mkdir         Create one or more directories.
mount         Mount a filesystem on a block device.
+
mount         Mount a filesystem on a block device.
rm         Delete one or more files/directories.
+
rm         Delete one or more files/directories.
setsize Set the size of a file.
+
setsize Set the size of a file.
touch  Update time of file/directory with current time.
+
touch  Update time of file/directory with current time.
type    Display the contents of a file.
+
type    Display the contents of a file.
vol    Display volume information of the file system.
+
vol    Display volume information of the file system.
  
 
Memory Commands
 
Memory Commands
  
default Set the default NVRAM values.
+
default Set the default NVRAM values.
dmem    Dump memory or memory mapped IO.
+
dmem    Dump memory or memory mapped IO.
dmpstore Display all EFI variables.
+
dmpstore Display all EFI variables.
memmap  Display the memory map.
+
memmap  Display the memory map.
mm      Display/modify MEM/IO/PCI.
+
mm      Display/modify MEM/IO/PCI.
pdt    View/clear nPartition or cell memory page deallocation table (PDT).
+
pdt    View/clear nPartition or cell memory page deallocation table (PDT).
 
+
  
 
Shell Navigation and Other Commands
 
Shell Navigation and Other Commands
  
alias  Set/get alias settings.
+
alias  Set/get alias settings.
cls    Clear the standard output with an optional background color.
+
cls    Clear the standard output with an optional background color.
exit    Exit EFI Shell environment.
+
exit    Exit EFI Shell environment.
getmtc  Display current monotonic counter value.
+
getmtc  Display current monotonic counter value.
help or ? Display help.
+
help or ? Display help.
mode    Display the mode of the console output device.
+
mode    Display the mode of the console output device.
set    Set/Get environment variable.
+
set    Set/Get environment variable.
xchar    Turn on/off extended character features.
+
xchar    Turn on/off extended character features.
  
 
Shell Script Commands | Programming Constructs
 
Shell Script Commands | Programming Constructs
  
echo    Echo message to stdout or toggle script echo.
+
echo    Echo message to stdout or toggle script echo.
else    Script-only: Use with IF THEN.
+
else    Script-only: Use with IF THEN.
endfor  Script-only: Delimiter for FOR loop construct.
+
endfor  Script-only: Delimiter for FOR loop construct.
endif  Script-only: Delimiter for IF THEN construct.
+
endif  Script-only: Delimiter for IF THEN construct.
for    Script-only: Loop construct.
+
for    Script-only: Loop construct.
goto    Script-only: Jump to label location in script.
+
goto    Script-only: Jump to label location in script.
if      Script-only: IF THEN construct.
+
if      Script-only: IF THEN construct.
input  Take user input and place in EFI variable.
+
input  Take user input and place in EFI variable.
pause  Script-only: Prompt to quit or continue.
+
pause  Script-only: Prompt to quit or continue.
stall  Stall the processor for some microseconds.
+
stall  Stall the processor for some microseconds.

Latest revision as of 14:21, 15 February 2011

Found in all Menus

info boot 	Boot from specified path
help <command>	Display help for specified command or menu
reset 	        Reset the server (to allow reconfiguration of complex
exit 	        Return to the main menu

Boot Commands

autoboot 	Display or set the auto start flag
bcfg 	        Search for boot devices
boottest 	Set/view BootTest bits.
dbprofile 	Display/modify direct boot profiles for use by lanboot'.
lanboot 	Boot over the LAN.
reconfigreset 	Reset the system (nPartition) for reconfiguration; the nPartition remains inactive, in the shutdown for reconfig state.
reset 	        Reset the system (nPartition).
search	        Connect drivers for bootables devices.

Configuration Commands

acpiconfig 	Set/view ACPI configuration mode.
cellconfig 	Deconfigure/reconfigure cells. (Set cell use-on-next-boot values.)
cpuconfig 	Deconfigure/reconfigure processors and processor cores..
date    	Display the current date or set the date of the system (nPartition).
dimmconfig 	Deconfigure/reconfigure memory (DIMMs).
err     	Display/change the error level.
errdump 	View/clear logs.
fru 	        View FRU data.
info 	        Display hardware information.
monarch 	Set/view a monarch processor.
palproc 	Make a PAL call.
romdrivers 	Enable/disable PCI expansion ROM drivers.
rootcell 	Set/view preferred root cells. (Set nPartition core cell choices.)
salproc 	Make a SAL call.
tftp 	        Performs TFTP operation to a bootp/DHCP enabled Unix boot server.
time 	        Display the current time or set the time of the system (nPartition). EFI time is set and presented in GMT (Greenwich mean time).
variable 	Save/restore specific EFI variables.
ver 	        Display the version information.

Filesystem Commands

baud    	View serial port com settings.
connect 	Bind a driver to a device.
dblk 	        Hex dump of BlkIo devices.
devices 	Display devices managed by EFI drivers.
devtree 	Display tree of devices.
dh 	        Dump handle info.
disconnect 	Disconnect driver(s) from device(s).
drivers 	Display list of drivers.
drvcfg         Invoke the Driver Config Protocol.
drvdiag 	Invoke the Driver Diagnostics Protocol.
guid 	        Dump known GUID IDs.
lanaddress 	Display MAC address.
load 	        Load EFI drivers.
map 	        Map shortname to device path.
openinfo 	Display the open protocols for given handle.
pci 	        Display PCI devices or PCI function configuration space.
reconnect 	Reconnect driver(s) from a device.
unload         Unload a protocol image.

Filesystem Commands

attrib  	Display/change the attributes of files/directories.
cd      	Update/view the current directory.
comp    	Compare the contents of two files.
cp      	Copy one or more files/directories to another location.
edit     	Edit an ASCII or UNICODE file in full screen.
eficompress 	Compress infile and write to outfile.
efidecompress 	Decompress infile and write to outfile.
hexedit 	Edit a file, block device, or memory region using hex.
ls 	        Display a list of files and subdirectories in a directory.
mkdir 	        Create one or more directories.
mount 	        Mount a filesystem on a block device.
rm 	        Delete one or more files/directories.
setsize 	Set the size of a file.
touch   	Update time of file/directory with current time.
type    	Display the contents of a file.
vol     	Display volume information of the file system.

Memory Commands

default 	Set the default NVRAM values.
dmem    	Dump memory or memory mapped IO.
dmpstore 	Display all EFI variables.
memmap  	Display the memory map.
mm      	Display/modify MEM/IO/PCI.
pdt     	View/clear nPartition or cell memory page deallocation table (PDT).  

Shell Navigation and Other Commands

alias   	Set/get alias settings.
cls     	Clear the standard output with an optional background color.
exit    	Exit EFI Shell environment.
getmtc  	Display current monotonic counter value.
help or ? 	Display help.
mode    	Display the mode of the console output device.
set     	Set/Get environment variable.
xchar    	Turn on/off extended character features.

Shell Script Commands | Programming Constructs

echo    	Echo message to stdout or toggle script echo.
else    	Script-only: Use with IF THEN.
endfor  	Script-only: Delimiter for FOR loop construct.
endif   	Script-only: Delimiter for IF THEN construct.
for     	Script-only: Loop construct.
goto    	Script-only: Jump to label location in script.
if      	Script-only: IF THEN construct.
input   	Take user input and place in EFI variable.
pause   	Script-only: Prompt to quit or continue.
stall   	Stall the processor for some microseconds.