1 kbiosrevision uefi shell command, Kbiosrevision uefi shell command, Am4022 uefi bios the uefi shell – Kontron AM4022 uEFI BIOS User Manual

Page 47

Advertising
background image

AM4022 uEFI BIOS

The uEFI Shell

ID 1052-1333, Rev. 1.0

Page 41

6.2.1

kbiosrevision uEFI Shell Command

kbiosrevision

FUNCTION:

Get BIOS revision

SYNTAX:

kbiosrevision [-?|-lt|-eq|-gt] <number>

where:

-?

Show help

-lt

Check if current BIOS revision is less than <number>

eq

Check if current BIOS revision is equal to <number>

gt

Check if current BIOS revision is greater than
<number>

<number>

(BIOS) revision number

DESCRIPTION:

The kbiosrevision command is used to display the current BIOS
revision.

In scripting environments it can be used to perform checks against a
BIOS revision number provided in the script.

USAGE:

Display current BIOS revision:

COMMAND / RESPONSE:

Shell> kbiosrevision

BIOS revision: 12

Check if current BIOS revision is equal to R12:
(used within EFI shell script)

kbiosrevsion -eq 12

if not %lasterror% == 0 then

echo "NOT R12, need to update"

goto _update

else

"EFI R12 found"

endif

....

....

Advertising