EFI Instructions
Using EFI Basic Instructions for Using the Extensible Firmware Interface (EFI)
Revision 2.0
4
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.efi then
fs1:
echo Found Update Packages on fs1:
goto FOUNDIMAGE
endif
if exist fs2:\ipmi.efi then
fs2:
echo Found Update Packages on fs2:
goto FOUNDIMAGE
endif
echo "Unable to find Update Packages".
echo "Please mount the drive with the update package".
echo ""
goto END
:FOUNDIMAGE
echo
=============================================================
echo "This utility will allow you to update the BIOS and
firmware."
echo "If you want to do all these functions, press Enter. If not,
hit 'q'."
echo "if you want to update single components like BMC/BIOS
separately,"
echo "please go to the EFIscripts folder and execute the
specified scripts"
echo "separately."
echo "Do NOT reboot during this process until you see Updates
completed."