beautypg.com

Bsp operations – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual

Page 102

background image

BSP Operations

COMX-P4080 COM Express Module Installation and Use (6806800L20C)

102

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

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

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]