[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.21-ben2 issues: RTC, Thermal and RTAS



On Wed, Dec 17, 2003 at 11:13:58AM +0100, Geert Uytterhoeven wrote:
> On Wed, 17 Dec 2003, Sven Luther wrote:
> > On Wed, Dec 17, 2003 at 10:57:07AM +0100, Geert Uytterhoeven wrote:
> > > On Wed, 17 Dec 2003, Sven Luther wrote:
> > > > On Wed, Dec 17, 2003 at 10:43:24AM +0100, Geert Uytterhoeven wrote:
> > > > > On Wed, 17 Dec 2003, Sven Luther wrote:
> > > > > > On Sun, Aug 24, 2003 at 03:18:46AM +1000, J. Javier Maestro wrote:
> > > > > > > I just recompiled the 2.4.21-ben2 kernel several times, trying to get it
> > > > > > > running. I finally fixed the FB problem I was having at compilation, and
> > > > > > > when booting, the kernel froze in the middle of the boot, when trying to
> > > > > > > set the System time. I can track this to the RTC support, since the
> > > > > > > kernel booted nicely when I unset CONFIG_RTC.
> > > > > >
> > > > > > Strange, i am experiencing exactly the opposite behavior, but then i
> > > > > > have a Pegasos, which is of CHRP lineage, and uses a via southbridge.
> > > > >
> > > > > And the VIA SouthBridge has a builtin PC-style RTC, right?
> > > >
> > > > Yep, it does. What about your longtrail, what does it use for RTC ?
> > >
> > > | callisto$ grep rtc .config
> > > | CONFIG_GEN_RTC=m
> > > | CONFIG_RTC=y
> > > | callisto$
> > >
> > > It uses the PC-style RTC driver (genrtc.o is not loaded).
> >
> > Mmm, what was your box again ? a chrp no ?
> 
> Yep, CHRP LongTrail. It has a Winbond/Symphony Labs W83C553 SouthBridge.
> 
> > So, for your hardware, also the CONFIG_RTC is needed, but this will
> > break on powerpc.
> >
> > So, either we separate again the CONFIGs, load everything as module
> > (should be possible, i wonder if the clock is set before the modules get
> > loaded though. I have noticed it is set two times in the boot process,
> > or at least the delays in not having CONFIG_RTC is), or fix the source
> > so it things will not break on pmac.
> 
> Most probably it will work with genrtc, too, but then /dev/rtc will have less
> features.

PC-style RTCs do work with genrtc, even on LongTrail (I used ppc_rtc
last time I booted my longtrail).  And it would be really nice if
someone would add the missing features (I _think_ alarm is the only
important one, aside from /proc bits maybe) to genrtc. :)

-- 
Tom Rini
http://gate.crashing.org/~trini/



Reply to: