The uEFI Shell
CP6004-SA/-RA/-RC/CP6004X-SA
Page 58
ID 1053-6161, Rev. 3.0
D R A F T — F O R I N T E R N A L U S E O N L Y
6.2.7
kflash uEFI Shell Command
kflash
FUNCTION:
Manage uEFI BIOS update
SYNTAX:
kflash [-p|-i|-s|-c|-h|-?] [-f] [-r] [file]
Operation mode:
-p
Program flash
-i
Show information string and check CRC
-s
Save current ROM image to file
-c
Clone flash content to second flash
-h
Show this help
-?
Show online help
file
uEFI BIOS binary file
Options:
-f
Force write
Expert options: Not recommended for standard use
-r
Raw image mode (.bin, .rom)
-q
Silent mode
No user interaction needed.
DESCRIPTION:
The
kflash
command is used to program and verify the flash banks
holding the uEFI BIOS code. uEFI BIOS binary files must be available
from connected mass storage devices, such as USB flash drive or
harddisk.
USAGE:
Get help:
COMMAND / RESPONSE EXAMPLE:
Shell> kflash -?
Get help:
COMMAND / RESPONSE EXAMPLE:
Shell> kflash -h
Program the uEFI BIOS into the standard SPI boot flash:
COMMAND / RESPONSE EXAMPLE:
Shell> kflash -p BIOS_file.kfl
Note:
This function will select and update the standard SPI boot flash
regardeless of the DIP switch setting for boot selection.
Copy the currently running uEFI BIOS into the inactive SPI boot flash:
COMMAND / RESPONSE EXAMPLE:
Shell> kflash -c
Note:
Using this function will overwrite the inactive SPI boot flash.
Failures during the process will make the inactive SPI boot flash
invalid. In such cases, please execute the function again until the
process completes successfully.