12 kwdt uefi shell command – Kontron CP3003-V uEFI BIOS User Manual

Page 65

Advertising
background image

CP3003-SA/CP3003-V uEFI BIOS

The uEFI Shell

ID 1053-4014, Rev. 2.0

Page 59

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.12

kwdt uEFI Shell Command

kwdt

FUNCTION:

Configure the Kontron onboard Watchdog

SYNTAX:

kwdt [-?] [-t <timeindex>]

where:

-?

Show help

Call kwdt -? to obtain a list of time index values and
related times

-t <timeindex>

Configure the Watchdog with the time related to time-
index 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 EXAMPLE:

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 EXAMPLE (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
This manual is related to the following products: