Hp Unified Extensible Firmware Interface User Manual

Browse online or download User Manual for Software Hp Unified Extensible Firmware Interface. HP Unified Extensible Firmware Interface User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 79
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
HP UEFI Shell User Guide for HP ProLiant
DL580 Gen8 Servers
Abstract
This document details how to access and use the Unified Extensible Firmware Interface (UEFI) Shell that is embedded in the
system ROM of all UEFI-based HP ProLiant DL580 Gen8 servers. It is for the person who installs, administers, and troubleshoots
servers and storage systems.
HP Part Number: 744994-002
Published: May 2014
Edition: 1
Page view 0
1 2 3 4 5 6 ... 78 79

Summary of Contents

Page 1 - DL580 Gen8 Servers

HP UEFI Shell User Guide for HP ProLiantDL580 Gen8 ServersAbstractThis document details how to access and use the Unified Extensible Firmware Interfac

Page 2

Figure 5 Boot Options — UEFI Boot Order screenBooting to the UEFI ShellYou can select the UEFI Shell for a one-time boot override whenever necessary.

Page 3 - Contents

Figure 6 One-Time Boot menu screenFigure 7 UEFI Shell Prompt screenAccessing the UEFI Shell from a serial console connectionNOTE: When accessing the S

Page 4 - 4 Contents

Procedure 11. Boot the server as explained in “Booting to the UEFI Shell” (page 10).2. Open a connection in an SSH client application using the server

Page 5 - 1 Introduction

2 UEFI Shell command referenceCommand line syntaxTable 1 (page 13) lists examples of how to interpret command syntax.Table 1 Syntax examplesUsageSynta

Page 6

Controlling command outputMany UEFI Shell commands support optional parameters for controlling how the output displayson the screen. The following sec

Page 7 - Selecting the UEFI Mode

Example 2 Using -b to display output one screen at a time Shell> devtree -bCtrl[03] Fv(6522280D-28F9-4131-ADC4-F40EBFA45864) Ctrl[04] Fv(770BF9B6-8

Page 8 - Configuring the UEFI Shell

Example 4 Using -v to display detailed outputShell> dh -v -b01: LoadedImage02: Decompress03: UnknownDevice DevicePath Fv(6522280D-28F9-4131-ADC4-F4

Page 9 - Changing the UEFI boot order

Example 6 Using -q to suppress the confirmation prompt fs0:\> rm -q test\temp*removing fs0:\test\temp1\temp1.txt - [ok]removing fs0:\test\temp1\boo

Page 10 - Booting to the UEFI Shell

Example 8 Displaying help for the ls commandShell> help ls -bLists a directory's contents or file information.LS [-r] [-a[attrib]][-sfo][file]

Page 11 - Accessing the UEFI Shell 11

Example 9 Displaying help for commands beginning with aShell> help a*Displays, creates, or deletes UEFI Shell aliases.ALIAS [-d|-v] [alias-name] [c

Page 12 - 12 Introduction

© Copyright 2014 Hewlett-Packard Development Company, L.P.NoticesConfidential computer software. Valid license from HP required for possession, use or

Page 13 - Getting started

directory: fs0:\> attrib * * To add the system attribute to all files with extension '.efi': fs0:\> attrib +s *.efi * To r

Page 14 - Controlling command output

Syntaxalias [ -d | -v ] [alias-name] [command-name]Options-d Deletes an alias. The command-name option should not be present.-v Makes the alias volati

Page 15 - Displaying detailed output

[ +s | -s ] Sets or clears the system attribute.[ +h | -h ] Sets or clears the hidden attribute.[ +r | -r ] Sets or clears the read-only attribute.fil

Page 16 - Displaying summary output

DescriptionThis command changes the current working directory that is used by the UEFI Shell environment.If a file system mapping is specified, then t

Page 17 - Displaying command help

0—Black1—Blue2—Green3—Cyan4—Red5—Magenta6—Yellow7—Light grayDescriptionThis command clears the standard output device with an optional background colo

Page 18

fs0:\> comp bios.inf bios2.infCompare fs0:\bios.inf to fs0:\bios2.inf Difference #1:File1: fs0:\bios.inf 00000000: 5F *_* File2: fs0:\bios2.inf

Page 19

06/13/01 10:00a 32,838 IsaSerial.efi 06/18/01 08:04p 29 temp.txt 06/18/01 08:05p <DIR> 512 test 3 File(s) 61,606

Page 20 - UEFI Shell commands

DescriptionThis command displays or sets the current date for the system. If no parameters are used, it showsthe current date. If a valid month, day,

Page 21 - Shell> alias

fs0:\> dblk fs0 2To display 0x5 blocks of fs0, beginning from block 0x12:fs0:\> dblk fs0 12 5devicesDisplays a list of devices managed by UEFI d

Page 22 - Examples

Table 5 Output details—devices command (continued)Displays the...ColumnConfiguration Protocol support status:CFG• Y—Yes• N—NoDiagnostics Protocol supp

Page 23

Contents1 Introduction...5Commands and capabilities...

Page 24

Ctrl[19F] PciRoot(0x0)/Pci(0x4,0x0) Ctrl[1A0] PciRoot(0x0)/Pci(0x4,0x1) Ctrl[1A1] PciRoot(0x0)/Pci(0x4,0x2) Ctrl[1A2] PciRoot(0x0)/Pci(0x4,0x

Page 25

ROM Location..: 00000000 ISA Resource List : IO : 000003F8-000003FF Attr : 00000000 INT : 00000004-00000000 Attr : 00000000 dpath

Page 26

Options-b Displays one screen at a time.address Displays memory contents from a specific starting address (in hexadecimal format).size Displays memory

Page 27

49 00000010 ? - - - - ISA Serial Driver IsaSerial4C 00000010 B - - 1 1 PCI Bus Driver PciBus55 000000

Page 28 - from block 0x12:

ExamplesTo display a message string of Hello World:fs0:\> echo Hello WorldHello WorldTo turn command echoing on:fs0:\> echo -onTo execute HelloW

Page 29

fs0:\> eficompress uncompressed compressedefidecompressDecompresses a file using the EFI Decompression Algorithm.Syntaxefidecompress infile outfile

Page 30

DescriptionThis command updates the system BIOS firmware. Optionally, specify an NVRAM reset, a rebootafter the flash, or both. If no options are spec

Page 31 - Output details

command-name is the name of the shell command. The files follow a subset of the MAN pageformat, as described below.If no option is specified, then onl

Page 32 - Shell> dmem 1af3088 16

DescriptionThis command lists directory contents or file information. If no file name or directory name isspecified, then the current working director

Page 33

1 File(s) 29 bytes 0 Dir(s)To display files with an attribute of s:fs0:\> ls -as isabus.efi Directory of: fs0:\ 06/18/01 10:59p

Page 34

memmap...41mkdir...

Page 35 - UEFI Shell commands 35

Table 9 Output details—ls command (file information) (continued)Displays the...ColumnTime when the file was modified, in the format: hh:mm:ssFile Modi

Page 36

The -r option resets all the default mappings in a system. It is useful if the system configurationhas changed since the last boot.The –u option adds

Page 37 - Shell> help p*

Type Start End # Pages Attributes available 0000000000750000-0000000001841FFF 00000000000010F2 0000000000000009LoaderCode

Page 38

Table 11 Output details—memmap command (continued)Displays the...ColumnAvailable memory in bytesavailableTotal memory size in bytesTotal MemorymkdirCr

Page 39 - directory recursively:

DescriptionThis command is used to change the display mode for the console output device. When usedwithout any parameters, it shows the list of modes

Page 40

fs0:\> mv IsaBus.efi Bus.efimoving fs0:\IsaBus.efi -> \Bus.efi - [ok]openinfoDisplays the protocols and agents associated with a handle.Syntaxop

Page 41 - Shell> map -d devicename

Syntaxpause [-q]DescriptionThis command is available only in scripts. It prints a message to the display, and then suspendsscript file execution and w

Page 42

-Bus Bus numberDev Device numberFunc Function numberDescriptionThis command displays all the PCI devices in the system. It can also display the config

Page 43 - UEFI Shell commands 43

Options-q Deletes in quiet mode, without displaying a confirmation prompt.file Specifies the file name to be deleted. Wild cards are permitted.directo

Page 44

setDisplays, changes, or deletes a UEFI Shell environment variable.Syntaxset [-v] [sname [value]]set [-d sname]Options-v Sets a volatile variable that

Page 45 - UEFI Shell commands 45

1 IntroductionThe system BIOS in all HP ProLiant DL580 Gen8 servers includes an embedded UEFI Shell in theROM. Based on the UEFI Shell Specification t

Page 46

Shell> set * path : .;fs0:\efi\tools;fs0:\efi\boot;fs0:\To set a volatile variable that disappears at the next boot:Shell> set -v EFI_SOUR

Page 47 - Shell> reset

fs0:\> echo -off shift.nsh> shift.nsh welcome EFI world welcome EFI world EFI world smbiosviewDisplays SMBIOS information.Syntaxsmbiosview [-t S

Page 48

Options-i Shows information for the specified settings or all settings, including possiblevalues.settingname Specifies a setting name about which to d

Page 49

SerialConsoleBaudRate=115200EmsConsole=DisabledRomSelection=CurrentRomNmiDebugButton=EnabledVirtualInstallDisk=DisabledPciBusPadding=EnabledPowerOnLog

Page 50

Shell> sysconfig -s uefibootorder=11Change UEFI boot order successfully!sysconfig attributesFor more information, see HP UEFI System Utilities User

Page 51 - UEFI Shell commands 51

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NameEnablednlEmbedded UEFI ShellEmbeddedUefiShellDisabledEnablednlAdd Embedde

Page 52

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NameMaxSupported [Maximum SupportednlMaximum PCI Express SpeedMaxPcieSpeedPci

Page 53 - UEFI Shell commands 53

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NameHiddennlTPM VisibilityTpmVisibilityVisibleAutonlBIOS Serial Console PortS

Page 54 - Table 12 Sysconfig Settings

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NamenlIPv6ThenIPv4 [IPv6 then IPv4]Default [Default Power SupplyRequirements]

Page 55

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NameEnablednlProcessor X2Apic SupportProcessorX2ApicSupportDisabledEnablednlA

Page 56

Figure 1 HP ProLiant POST screen3. To navigate through and modify settings in the menu-driven interface, use the keys defined inthe following table.Ac

Page 57

Table 12 Sysconfig Settings (continued)Possible ValuesDescriptionSetting NamenlUtcP430 [UTC+04:30, Kabul]nlUtcP5 [UTC+05:00, Ekaterinburg,Islamabad, K

Page 58

NOTE:• Except for numeric characters and the : (colon) character, all other characters in the argumentare invalid. The Shell reports an error if the n

Page 59

Syntaxtouch [-r] file [file...]Options-r Makes the update recursive into subdirectories.file Specifies the name or pattern of the file or directory to

Page 60

Syntaxver [ -s | -t ]Options-s Displays only the UEFI Shell version.-t Displays summary (terse) content.DescriptionThis command displays the version i

Page 61

shell> vol fs0 –n help_testVolume HELP_TEST (rw) 1,457,664 bytes total disk space 1,149,440 bytes available on disk 512 bytes in each allocation un

Page 62

3 Running and editing UEFI Shell scriptsThe following information describes the scripting functions provided by the UEFI Shell.UEFI Shell script comma

Page 63 - UEFI Shell commands 63

clsset -v myfs 0if exist FS0:\* thenFS0:echo "FS0:\ Found!"goto FSFOUNDendifecho "FS0:\ not found in system"echo "Going to se

Page 64 - –n help_test

sysconfig -import sysconfig_backup.txtendif:ENDset -d myfsSample Shell scripts 67

Page 65 - @echo -off

4 Using the UEFI Programming ModelThe UEFI Shell provides a programming API. You can use it to write your own UEFI applicationsfor calling some of the

Page 66

Table 13 UEFI Application APIs (continued)DescriptionFunction NameFunction TypeGets the enable status of the page breakoutput mode.GetPageBreakEFI_SHE

Page 67 - Sample Shell scripts 67

ActionKeyPress during server POST or system reboot to display the SystemUtilities screen in the iLO 4 Remote Console.F9Press during server POST to boo

Page 68

Examplefs0:\> /** @file This is an example Shell Application. Note that there are other ways to add a command to the shell. This example demon

Page 69 - Sample Shell scripts

Print (L"ENVIRONMENT VARIABLES:\n"); Print (L"\n"); // // Sample to get and display all environment variables //

Page 70 - /** @file

5 UEFI Shell command status codesTable 14 (page 72) lists the possible status codes displayed by the UEFI Shell when you issue acommand. Codes vary de

Page 71 - Sample Shell scripts 71

6 Support and other resourcesContacting HPFor worldwide technical support information, see the HP Support Center:http://www.hp.com/go/hpscBefore conta

Page 72

Table 15 Document conventions (continued)ElementConventionWebsite addressesBlue, underlined text: http://www.hp.comBold text• Keys that are pressed• T

Page 73 - 6 Support and other resources

from you, an authorized HP Channel Partner can also view your IT environment remotely by usingHP Insight Online.For more information, see the followin

Page 74 - HP Insight Online

7 Documentation feedbackHP is committed to providing documentation that meets your needs. To help us improve thedocumentation, send any errors, sugges

Page 75

GlossaryACR Array Configuration Replication UtilityASR Automatic Server RecoveryBIOS Basic Input/Output SystemCLI Command Line InterfaceCNA Converged

Page 76 - 7 Documentation feedback

IndexAaccessing a file system, 20accessing the UEFI Shell, 5accessing the UEFI shell from a serial console connection,11application APIs, 68Bboot orde

Page 77 - Glossary

Status code meanings, 72UEFI Shell command status codesstatus codes, 72UEFI Shell commands, 20alias, 20attrib, 21cd, 22cls, 23comp, 24cp, 25date, 26db

Page 78 - 78 Index

Enabling the Embedded UEFI ShellYou can enable or disable the Embedded UEFI Shell. The UEFI Shell is a pre-boot command lineenvironment for scripting

Page 79

To add the Embedded UEFI Shell to the boot order list:1. From the System Utilities screen, select System Configuration→BIOS/Platform Configuration(RBS

Comments to this Manuals

No comments