On Sat, 1 May 2010 12:34:21 +0200
"Dr. H. Nikolaus Schaller" <h...@computer.org> wrote:

> Am 01.05.2010 um 11:54 schrieb Ruben Viets:
[snip]
> > - For rtc you can disable the option to startup/reset the rtc  
> > everytime for boot in the kernel make xconfig.

I see this in your dmesg:

PCF8563 RTC installed !!!

long before I see this:

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

so I guess I'd like to see your rtc and clock driver config
settings.  I'm assuming that CONFIG_RTC_DRV_PCF8563 is set or you
wouldn't get the first part, but I think it also depends on whether
it's built against the old or new rtc clock code.  I haven't built
2.6.24 in a long time, so maybe the old code is still enabled?

I guess it depends on what code is actually there (in that version
of the kernel) but you could try disabling either the old char
device rtc stuff or the new rtc code and see if that helps...

Trying to move everything to a newer kernel (2.6.33_rc?) might also
help, since there seems to be more and more embedded support (eg,
OLPC hardware support is now there) in the newest mainstream kernel.

Regards, Steve

PS. In general, the rtc stuff seems to like being built directly
into the kernel rather than as modules.

PPS. Two other approaches to building this stuff would be:

1) Create a hardware config for bitbake (didn't someone else
mention that at one point?)

2) Use a Gentoo-embedded ARM stage3 and build everything inside an
image file using Qemu (or do the debian thing in Qemu).  The
advantage of using Gentoo is full customization and the latest
toolchain, kernel/headers and glibc/uclibc, etc.

If I can ever get the time I will try the Gentoo/Qemu thing...

In case anyone is interested, there are some updated ebuilds for
qemuctl and qemu-launcher in my local overlay:

http://www.gentoogeek.org/portage-overlay/app-emulation/

and some (non-JZ) custom kernel ebuilds here:

http://www.gentoogeek.org/portage-overlay/sys-kernel/

Any patches are in the files/ dir in the ebuild directory, or on the
Gentoo distfiles mirrors (or in http://www.gentoogeek.org/files/).


_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to