<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Andrey Volkov wrote:
<blockquote cite="mid43A29A21.8080102@varma-el.com" type="cite">
<pre wrap="">Hello Frank,
bennett78 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi:
How / when does "ppc_md.set_rtc_time" get filled
in for Lite5200?
Config for support /dev/rtc enables CONFIG_PPC_RTC
which enable driver/char/rtc.c which mentions CMOS_WRITE
panics the kernel!
I trying to use driver/char/genrtc.c. I can set date
but not hwclock.
</pre>
<blockquote type="cite">
<pre wrap="">hwclock --set --date="9/22/96 16:45:05"
</pre>
</blockquote>
<pre wrap="">gen_set_rtc_irq_bit:exit
gen_rtc_ioctl RTC_SET_TIME 00000060
RTC_SET_TIME: Invalid argument
ioctl() to /dev/rtc to set the time failed.
bash-2.05b# cat /proc/driver/rtc
rtc_time : 00:50339648:36914
rtc_date : -1072186980-497--1073718072
rtc_epoch : 1900
alarm : 00:00:00
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : no
update_IRQ : no <----- how can I hook one?
periodic_IRQ : no
periodic_freq : 0
batt_status : okay
thanks,
*/Frank Bennett
/*
</pre>
</blockquote>
<pre wrap=""><!---->For 2.6 kernel, check arch/ppc/syslib/lite5200.c, especially
platform_init() (at the end of file).
</pre>
</blockquote>
Andrey:<br>
Thanks, sorry I forgot to mention I'm on DENX linuxppc_2_4_devel.<br>
Where is the linuxppc 2.6.x distribution?<br>
Is anyone maintaining a checklist of working features for imbedded 2.6?<br>
Is this mail list searchable? (other than a month at a time?)<br>
<br>
Merry Christmas<br>
Frank Bennett<br>
<blockquote cite="mid43A29A21.8080102@varma-el.com" type="cite">
<pre wrap="">--
Regards
Andrey Volkov
_______________________________________________
Linuxppc-embedded mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a>
<a class="moz-txt-link-freetext" href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">
<pre wrap="">
</pre>
</div>
</body>
</html>