7 kflash uefi shell command, Kflash uefi shell command, Cp6003-sa/ra/rc uefi bios the uefi shell – Kontron CP6003-RC uEFI BIOS User Manual
Page 51

CP6003-SA/RA/RC uEFI BIOS
The uEFI Shell
ID 1045-9149, Rev. 2.0
Page 51
P R E L I M I N A R Y
6.2.7
kflash uEFI Shell Command
kflash
FUNCTION:
Manage uEFI BIOS update
SYNTAX:
kflash [-p|-i|-v|-s|-c|-h|-?] [-f] [-r] [file]
Operation mode:
-p
Program flash
-i
Show information string and check CRC
-v
Verify flashed image
-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)
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:
Shell> kflash -?
Get help:
COMMAND / RESPONSE:
Shell> kflash -h
Program the uEFI BIOS into the standard SPI boot flash:
COMMAND / RESPONSE:
Shell> kflash -p BIOS_file.kfl
Note: This function will select and update the standard SPI boot flash
regardeless of the DIP switch setting (CP6003-SA/RA) /
configuration resistor setting (CP6003-RC) for boot selection.
Copy the currently running uEFI BIOS into the inactive SPI boot flash:
COMMAND / RESPONSE:
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.