CP6004-SA/-RA/-RC/CP6004X-SA
The uEFI Shell
ID 1053-6161, Rev. 3.0
Page 65
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
-t <timeindex>
Configure the Watchdog with the time related to timei-
ndex and activate it with reset routing
Call kwdt -h to obtain a list of time index values and
related times
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
USAGE:
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.
Display Watchdog configuration:
COMMAND / RESPONSE EXAMPLE:
Shell> kwdt
Kontron Board Watchdog Configuration:
Watchdog Configuration Register (0x28C): 0x00