당사에서 MVV210-LCD Linux에서 RTC를 확인하였습니다. 아래 방법을 참고하여 보드에 적용을 진행해 보시길 바랍니다.
메일로 첨부한 파일을 커널에
적용하여 아래와 같이 명령어를 입력하여 확인해 보시길 바랍니다.
/
# date -help
date:
invalid option -- h
BusyBox
v1.16.1 (2010-05-31 18:13:21 KST) multi-call binary.
Usage:
date [OPTIONS] [+FMT] [TIME]
Display
time (using +FMT), or set time
Options:
[-s,--set] TIME Set time to TIME
-u,--utc Work in UTC (don't convert
to local time)
-R,--rfc-2822 Output RFC-2822 compliant date string
-I[SPEC] Output ISO-8601 compliant
date string
SPEC='date' (default) for date only,
'hours', 'minutes', or 'seconds' for date and
time to the indicated precision
-r,--reference FILE Display last modification
time of FILE
-d,--date TIME Display TIME, not 'now'
-D FMT Use FMT for -d
TIME conversion
Recognized
TIME formats:
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
/
# date "2011-06-20 17:57"
Mon
Jun 20 17:57:00 UTC 2011
/
# hwclock -w
/
# date
Mon
Jun 20 17:57:52 UTC 2011
/
#