Compact flash interface, Sd card interface, Real time clock (rtc) – Digi 9P 9360/9750 User Manual
Page 63: How to set the initial system date and time, Cc9p6360/9750

6 3
I n t e r f a c e s & D e v i c e s
Compact flash interface
CC9P6360/9750
A driver for the internal Compact Flash (CF) card interface is included and enabled in the
default kernel configuration.
A CF card can be mounted as follows
SD card interface
A SD card can be mounted as follows:
Real time clock (RTC)
A driver for the RTC, which is connected to the I2C interface, is included and enabled in
the default kernel configuration.
The system time and date is automatically set to the values of the RTC when the kernel
boots. This is done by calling /sbin/hwclock -s.
How to set the initial system date and time
Initially, the RTC doesn’t have a correct time/date value, so establish the correct time/date
on the Linux system using the date command. The parameters are given in the format
MMDDhhmmYYYY (month,day,hour,minutes,year). For example, if the date is June, 3
rd
2005, at 13:22 enter:
#
lxmount cf
#
ls -l /media/cf
#
lxmount sd
#
ls -l /media/sd
#
date 060313222005
Fri Jun 3 13:22:00 UTC 2005