13 kwdt uefi shell command, Cp6002 uefi bios the uefi shell – Kontron CP6002 uEFI BIOS User Manual

Page 71

Advertising
background image

CP6002 uEFI BIOS

The uEFI Shell

ID 1039-1612, Rev. 2.0

Page 65

7.2.13

kwdt uEFI Shell Command

kwdt

FUNCTION:

Configure the Kontron onboard Watchdog

SYNTAX:

kwdt

[-?|-t <timeindex>]

where:

-?

Show help

-t <timeindex>

Configure the Watchdog with the time related to
<timeindex> and activate it with reset routing

DESCRIPTION:

The kwdt command allows to enable the Kontron onboard Watchdog
with reset target before OS boot. This can be used to detect if the OS
fails to boot and react by reset. The OS Watchdog driver is required for
this functionality to operate.

USAGE:

Get help:

COMMAND / RESPONSE:

Shell> kwdt -?
-t [time] - set Timer
value 0

=

125ms

value 1

=

250ms

value 2

=

500ms

value 3

=

1s

value 4

=

2s

value 5

=

4s

value 6

=

8s

value 7

=

16s

value 8

=

32s

value 9

=

64s

value 10

=

128s

value 11

=

256s

value 12

=

512s

value 13

=

1024s

value 14

=

2048s

value 15

=

4096s

Set Watchdog to 16 seconds and activate it

COMMAND / RESPONSE (none):

Shell> kwdt -t 7

Note: Because there is no application which triggers the Watchdog, the

system will be reset after 16 seconds in this case. This command
should be invoked from a script, followed by an operating system
boot, and the OS then has to start triggering the Watchdog.

Advertising