Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-11 Thread Charles Lepple
On Apr 11, 2005 4:55 AM, Francois <[EMAIL PROTECTED]> wrote: > Hi all, > > On Sun, 2005-04-10 at 06:57, Charles Lepple wrote: > > On Apr 10, 2005 5:07 PM, Michael <[EMAIL PROTECTED]> wrote: > > > Just sticking in my two cents on this one. When you say Xcode and > > > Darwin on your G5 I am assumi

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-11 Thread Francois
Hi all, On Sun, 2005-04-10 at 06:57, Charles Lepple wrote: > On Apr 10, 2005 5:07 PM, Michael <[EMAIL PROTECTED]> wrote: > > Just sticking in my two cents on this one. When you say Xcode and > > Darwin on your G5 I am assuming you mean Pather (OS 10.3) and in my > > experience I have also found t

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-09 Thread Charles Lepple
On Apr 10, 2005 5:07 PM, Michael <[EMAIL PROTECTED]> wrote: > Just sticking in my two cents on this one. When you say Xcode and > Darwin on your G5 I am assuming you mean Pather (OS 10.3) and in my > experience I have also found that The Mac OS X's (more so in Jaguar than > Panther), are incomplet

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-09 Thread Michael
Benjamin Herrenschmidt wrote: On Fri, 2005-04-08 at 11:02 +0100, Francois wrote: Do a 64 bits kernel, I don't support 32 bits kernels on ppc64 machines anymore; Thanks for the tip. What is the simplest way to make a 64 bit kernel? I have two options: cross compiling on my G4, or compiling

Re: Re : Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-09 Thread F. Heitkamp
On Fri, 8 Apr 2005, grave wrote: Le 08.04.2005 12:02:52, Francois a écrit : > Do a 64 bits kernel, I don't support 32 bits kernels on ppc64 machines Building a cross compiler looks complicated, and my compiling attempts Use crosstool, http://www.kegel.com/crosstool/crosstool-0.31.tar.gz. I've buil

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-08 Thread Benjamin Herrenschmidt
On Fri, 2005-04-08 at 11:02 +0100, Francois wrote: > > Do a 64 bits kernel, I don't support 32 bits kernels on ppc64 machines > > anymore; > > Thanks for the tip. What is the simplest way to make a 64 bit kernel? I > have two options: cross compiling on my G4, or compiling under Darwin on > my G5.

Re: Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-08 Thread Francois
I can send you a tarball with a cross compiler for linux under G4. > size : 58MB > or you can download it : > http://ipnnarval.in2p3.fr/~xavier/ppc64.tgz > This is a gcc 3.4.2 version compiled a few months ago... That's great, thanks. I'm compiling a kernel with it right now, and it seems to work.

Re : Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-08 Thread grave
Le 08.04.2005 12:02:52, Francois a écrit : > Do a 64 bits kernel, I don't support 32 bits kernels on ppc64 machines > anymore; Thanks for the tip. What is the simplest way to make a 64 bit kernel? I have two options: cross compiling on my G4, or compiling under Darwin on my G5. Building a cross com

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-08 Thread Francois
> Do a 64 bits kernel, I don't support 32 bits kernels on ppc64 machines > anymore; Thanks for the tip. What is the simplest way to make a 64 bit kernel? I have two options: cross compiling on my G4, or compiling under Darwin on my G5. Building a cross compiler looks complicated, and my compiling

Re: Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-06 Thread Benjamin Herrenschmidt
> I guess this is because I'm compiling linux-2.6.12-rc1 with > CONFIG_PMAC_SMU enabled. SMU replaces the PMU (Power Management Unit) in > newer single-CPU PMacs G5 (and iMac G5 BTW), so I guess I need it (or > have you been able to do without it?). The corresponding patch was > written by BenH. I

Problem compiling SMU driver [was: Cross compiling linux-2.6.12-rc1 G4 -> G5]

2005-04-05 Thread Francois
Hello Xavier, in the /usr/src/linux-2.6.xx/ directory > do : > cp arch/ppc64/configs/g5_defconfig .config > after this : > make oldconfig > and then a make xconfig > or make gconfig > check if you have all your usual options in the config and after this : > make-kpkg kernel_image > should do it...

Re : Re : Cross compiling linux-2.6.12-rc1 G4 -> G5

2005-04-05 Thread grave
I've got a Powermac G5, so I'm definitely interested in the source you've used. I'll go for a ppc32 kernel first. Getting Debian on my G5 will already be a huge achievement! go to kernel.org and get the latest kernel (it seems to be 2.6.11.6 now) you can also patch it if you want 2.6.12, it's up

Re: Re: Cross compiling linux-2.6.12-rc1 G4 -> G5

2005-04-05 Thread Francois
On Tue, 2005-04-05 at 12:20, grave wrote: > > I'm trying to build a bootable kernel for my new mono-processor G5. I > > need the latest version because of the new hardware used in the G5. > > > > Has anybody already done this? > Yep... Great! > You have two options : running a ppc32 or ppc64 ker

Re : Cross compiling linux-2.6.12-rc1 G4 -> G5

2005-04-05 Thread grave
I'm trying to build a bootable kernel for my new mono-processor G5. I need the latest version because of the new hardware used in the G5. Has anybody already done this? Yep... Any advice welcome! You have two options : running a ppc32 or ppc64 kernel. In both case, the g5_config in the configs dir

Cross compiling linux-2.6.12-rc1 G4 -> G5

2005-04-05 Thread Francois
Hi all, I'm trying to build a bootable kernel for my new mono-processor G5. I need the latest version because of the new hardware used in the G5. Has anybody already done this? So far I've tried to compile a plain ppc32 kernel on a G4 I have (running sarge). But I get the following errors (with