>안녕하십니까.
>
>다름이 아니라 S5PV210 보드에서 리눅스 커널로 부팅하면 재부팅할 때마다 RTC가 초기화되어서 날짜가 맞지 않게 나옵니다.
>
>s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
>
>rtc에서 위와 같은 kernel 에러메시지가 출력됩니다.
>
>해결방법은 무엇인가?
마이크로비젼 기술지원팀입니다.
다음 명령어를 이용하여 현재 시간을 입력하고 저장하시면 됩니다.
/ # 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
/ #
|