HP Intelligent Provisioning User Manual

Page 21

Advertising
background image

REM This section performs the System ROM Flash. Online Flash components

REM are kept in a directory called Roms

REM ----

Roms\cp004648.exe /INSTPATH:S:\ROMScratcharea

REM ----

REM Check the error code returned to determine Success or Failure

REM ----

if errorlevel 3 goto HWNOTFOUND

if errorlevel 2 goto REBOOTREQUIRED

if errorlevel 1 goto NEXT2

goto end

NEXT1:

REM Try next system type

System\ifhw hpdiscovery.xml System\allboards.xml HWQ:SystemName eq "ProLiant DL380 G3"

if errorlevel 1 goto NEXT2

REM ----

REM This section performs the System ROM Flash. Online Flash components

REM are kept in a directory called Roms

REM ----

Roms\cp005041.exe /INSTPATH:S:\ROMScratcharea

REM ----

REM Check the error code returned to determine Success or Failure

REM ----

if errorlevel 3 goto HWNOTFOUND

if errorlevel 2 goto REBOOTREQUIRED

if errorlevel 1 goto NEXT2

goto end

NEXT2:

REM ----

REM Example of Option Rom Flash for a SmartArray 5i Controller

REM ----

System\ifhw hpdiscovery.xml System\allboards.xml PCI:"Smart Array 5i Controller"

if errorlevel 1 goto NEXT3

REM ----

REM This section performs the Option ROM Flash. Online Flash components

REM are kept in a directory called Roms

REM ----

Roms\cp002238.exe /INSTPATH:S:\ROMScratcharea

REM ----

REM Check the error code returned to determine Success or Failure

REM ----

if errorlevel 3 goto HWNOTFOUND

if errorlevel 2 goto REBOOTREQUIRED

if errorlevel 1 goto NEXT3

goto end

NEXT3:

REM ----

REM DONE

Flashing the ROM in a Windows PE environment

21

Advertising