Re: Re: RTC driver

[email protected] (Arthur Othieno)
Newsgroups gmane.linux.ports.game-cube.devel
Message-ID <20040426230746.GA1966@mars>
On Mon, Apr 26, 2004 at 11:41:12PM +0200, JockyW wrote:
> I'm now building 2.6.5 and noticed that gamecubefb.c and fbmem.c need a
> #define __powerpc__ in order to build the kernel. W/o these there is a
> missing reference to fb_writel_real()
 
Sounds like your setup (probably toolchain) might be up to some
funkiness - I can't seem to reproduce that here.

Taken from 2.6.5, wrapped for legibility:

include/linux/fb.h:554:#elif defined(__i386__) || defined(__alpha__) || \
			defined(__x86_64__) || defined(__hppa__) || \
			defined(__sh__) || defined(__powerpc__)

> Everything works as usual (also the RTC, thanks Torben!), except that the
> screen is very green and not very clear. It seems to me that the __powerpc__
> definitions that I added also have a negative impact :(

Sounds like you're crashing before the framebuffer console kicks in. You
could either enable the debug console to see the call trace (if any), or
start with the default config (`make gamecube_defconfig') and play the
fun game of elimination.

	Arthur


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.