7 kflash uefi shell command, Kflash uefi shell command, Am4022 uefi bios the uefi shell – Kontron AM4022 uEFI BIOS User Manual

Page 59

Advertising
background image

AM4022 uEFI BIOS

The uEFI Shell

ID 1052-1333, Rev. 1.0

Page 53

6.2.7

kflash uEFI Shell Command

kflash

FUNCTION:

Manage uEFI BIOS update

SYNTAX:

kflash

[-p [<file>]|-i|-v|-s|-c|-h|-?] [-q] [-f] [-r]

[<file>]

where:

-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

-f

Force write

-q

Silent mode, no user interaction required
(for use of this command in shell scripts)

-r

Raw image mode (.bin, .rom)
(expert function, not recommended for standard
usage)

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

regardless of the DIP switch setting for boot flash selection.

Advertising