Basic Instructions for Using the Extensible Firmware Interface (EFI) for Server Configuration on Intel® Server Boards and Intel® Server Systems Revision 2.
Revision History Basic Instructions for Using the Extensible Firmware Interface (EFI) Revision History Date January 2008 June 2008 Revision Number 1.0 2.0 Modifications Initial release. Content revised. Disclaimers Information in this document is provided in connection with Intel® products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document.
Basic Instructions for Using the Extensible Firmware Interface (EFI) Table of Contents Table of Contents 1. Using EFI............................................................................................................................... 1 1.1 Preparing removable media and making its format readable under EFI.................. 1 1.2 Booting to the EFI Shell ........................................................................................... 1 1.3 Basic EFI Commands ....................
Table of Contents Basic Instructions for Using the Extensible Firmware Interface (EFI) < This page intentionally left blank. > iv Revision 2.
Basic Instructions for Using the Extensible Firmware Interface (EFI) 1. Using EFI Using EFI 1.1 Preparing removable media and making its format readable under EFI You must format the media (USB key, CD, and hard drives) as FAT (16 or 32) in order for them to be readable from EFI. For a USB disk on key or hard drives, you can use Disk Management (available under the Computer Management option of Windows), DOS format, or any other third party software to format it to FAT or FAT32 format.
Using EFI Basic Instructions for Using the Extensible Firmware Interface (EFI) 4. Arrow down to the EFI Shell option and press . 5. Press F10 to save this configuration and reset. Upon booting to the EFI shell, the embedded OS always looks for a file named startup.nsh (by searching through the defined “path”). Startup.nsh is the equivalent of autoexec.bat in the DOS/Windows environment. After running this startup script (if found), the following command line prompt appears: Shell> 1.
Basic Instructions for Using the Extensible Firmware Interface (EFI) 1.4 Using EFI Running the EFI script under the EFI Shell Change from the EFI shell to the USB device folder: The first USB device found shows up in the mapping as fs0 (File system 0); the next device shows up as fs1, etc. If you add a new media after the initial mapping or if you change it at any time while in the EFI shell, type the command: map –r (This command refreshes the mounting and mapping).
Using EFI Basic Instructions for Using the Extensible Firmware Interface (EFI) if... ... endif for... ... endfor 1.5.1 Example of startup.nsh under System Firmware Update Package @echo -off mode 80 25 ;foundimage section is simply to locate the correct drive cls if exist .\ipmi.efi then goto FOUNDIMAGE endif if exist fs0:\ipmi.efi then fs0: echo Found Update Packages on fs0: goto FOUNDIMAGE endif if exist fs1:\ipmi.
Basic Instructions for Using the Extensible Firmware Interface (EFI) Using EFI echo "Pre release updates may take significant time with a 20 minute HSC update." echo ============================================================= pause echo "" echo "" echo Update S5400SF BMC flash using FWPIAUPD utility echo "" fwpiaupd -u -o -b -pia -nopc -ni -p SFBMC07.hex echo "" echo " " echo Updating the FRU and Sensor Data Records frusdr -cfg MASTER.CFG echo " " echo "" echo Updating SR1500 BP HSC FW to version 2.
Using EFI 1.6 Basic Instructions for Using the Extensible Firmware Interface (EFI) EFI environmental path EFI, like DOS and Linux, can run programs that are listed in the environmental path from the root. You can add or remove directories from the path using the “set” command. Example to set SYSCFG_PATH: set SYSCFG_PATH fs0:\syscfg where syscfg is the directory holding the utility in the root of your first USB drive.
Basic Instructions for Using the Extensible Firmware Interface (EFI) Appendix A: EFI Commands Appendix A: EFI Commands This appendix lists the EFI commands. A document covering full syntax, variables, wildcards, redirection, error handling, etc., is available at http://www.intel.com/software/products/college/efishell/images/efi_shell_cmnd_1_1.pdf.
Appendix A: EFI Commands Basic Instructions for Using the Extensible Firmware Interface (EFI) Command Description -b – Displays one page at a time -r – Displays recursively -a – Displays files of the attributes map [-r|-v|-d] Displays, resets, or deletes mappings with verbose option memmap Displays the memory map mkdir dirname Creates a directory at current location mm Displays or modifies MEM/IO/PCI mode [row col] Displays or changes console output mount BlkDevice [sname] Mounts a file syste