Hi,
I managed to boot TS kernel 2.6.21 on my ts7400 board. The problem
I'm facing now is that the RTC is not working. I load the following
modules :
insmod rtc-core.ko
insmod rtc-dev.ko
insmod rtc-m48t86.ko
In the syslog it shows :
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1
rtc-m48t86 rtc-m48t86: battery exhausted
If i try to get the hardware clock :
:root# ln -s /dev/rtc0 /dev/rtc
:root# hwclock --hctosys --debug
hwclock from util-linux-2.12p
Using /dev/rtc interface to clock.
Last drift adjustment done at 1224680576 seconds after 1969
Last calibration done at 1224680576 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 1970/01/01 00:14:28
Hw clock time : 1970/01/01 00:14:28 = 868 seconds since 1969
Calling settimeofday:
tv.tv_sec = 868, tv.tv_usec = 0
tz.tz_minuteswest = 180
:root# date
Wed Dec 31 21:14:59 BRT 1969
What is the problem. I found something posted in the forum before but
I couldn't get the patch or the .config :
Re: One Of Our Dinosaurs^WMTD's Is Missing
Hi,
Richard Sharpe <> [20080304 20:29:57 -0000]:
>
> OK, seems I was wrong. On our device the RTC is on TWSI. I can
provide
> the address in a while. It seems unlikely that TS changed that part
of
> the design, but perhaps they did.
>
Found it! :)
====
rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0
rtc-m48t86 rtc-m48t86: battery exhausted
rtc-m48t86 rtc-m48t86: hctosys: invalid date/time
====
As I thought I was looking at the wrong address for it.
I have updated my kernel patch (for those interested) and my .config
file.
USB support does seem to kick in too. I have also slapped on the
serial
console output for those interested in my progress.
http://www.digriz.org.uk/files/ts7800/
Best,
Fabio Vaz.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|