beautypg.com

Artesyn COMX-P40x0 ENP2 Installation and Use (August 2014) User Manual

Page 104

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95B)

104

U-Boot provides "date" commands to operate the RTC features. These include get/set/reset
date and time.

The following are usage samples for "date" on the COMX-P40x0.

date
Date: 2010-12-01 (Wednesday) Time: 17:57:37

date reset
Reset RTC
Date: 2010-18-01 (Sunday) Time: 0:00:00

date 120117592010.00
Date: 2010-12-01 (Wednesday) Time: 17:59:00

U-Boot provides "wdt" commands to operate on the WDT features.

The following are usage examples of "wdt" for the COMX-P40x0.

wdt status
WDT: disabled.

wdt enable 5
WDT: enabled with timeout 5 seconds.

date [MMDDhhmm[[CC]YY][.ss]]

date reset

without arguments:

Prints date and time

with numeric argument:

Sets the system date and time

with ’reset’ argument:

Resets the RTC

wdt reset

-

Resets WDT

wdt status

-

Checks the current status of WDT

wdt disable

-

Disables WDT

wdt enable

-

Enables WDT with timeout seconds.
range [1...124]