Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-05-17 Thread Frank Svendsbøe
On Sun, May 6, 2012 at 4:37 PM, Robert Berger wrote: > On 04/02/2012 09:28 AM, Tony Breeds wrote: >> On Mon, Apr 02, 2012 at 12:01:55PM +1000, Benjamin Herrenschmidt wrote: >> >>> Ok, I've asked Tony to have a look at splitting the build decision >>> in arch/powerpc/boot along the same lines as th

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-05-06 Thread Robert Berger
On 04/02/2012 09:28 AM, Tony Breeds wrote: > On Mon, Apr 02, 2012 at 12:01:55PM +1000, Benjamin Herrenschmidt wrote: > >> Ok, I've asked Tony to have a look at splitting the build decision >> in arch/powerpc/boot along the same lines as the CPU families... ie only >> wrappers for platforms potenti

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-05 Thread Wolfgang Denk
Dear Stephen Rothwell, In message <20120405100228.9ca940aa4739e81540bb2...@canb.auug.org.au> you wrote: > > > ELDK 4.2 is based on gcc version 4.2.2 / binutils version 2.17.50.0.12 > > 20070128. This is obviously to old for this code. I do not see an > > actual problem with that - nobody can exp

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-04 Thread Stephen Rothwell
On Wed, 04 Apr 2012 21:21:01 +0200 Wolfgang Denk wrote: > > The kernel README says nothing about binutils requirements, the only > tool related statement is "Make sure you have at least gcc 3.2 > available." Actually I doubt if gcc 3.2 wouldbuild a working kernel > image. > > ELDK 4.2 is based o

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-04 Thread Wolfgang Denk
Dear Josh, In message you wrote: > > > The kernel shouldn't have tried to build that instruction on 8xx, though > > I suppose if it's in arch/powerpc/boot, we are a bit too eager at > > building everything including what's not relevant, we might to be a bit > > more careful at excluding 4xx stuf

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-02 Thread Josh Boyer
On Mon, Apr 2, 2012 at 5:08 PM, Benjamin Herrenschmidt wrote: > On Mon, 2012-04-02 at 08:10 -0400, Josh Boyer wrote: >> On Fri, Mar 30, 2012 at 8:03 PM, Benjamin Herrenschmidt >> wrote: >> > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: >> > >> >> Hi Josh Boyer, >> >> >> >> just wante

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-02 Thread Benjamin Herrenschmidt
On Mon, 2012-04-02 at 08:10 -0400, Josh Boyer wrote: > On Fri, Mar 30, 2012 at 8:03 PM, Benjamin Herrenschmidt > wrote: > > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > > > >> Hi Josh Boyer, > >> > >> just wanted to add that I'm experiencing the same problem that Robert > >> reporte

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-02 Thread Josh Boyer
On Fri, Mar 30, 2012 at 8:03 PM, Benjamin Herrenschmidt wrote: > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > >> Hi Josh Boyer, >> >> just wanted to add that I'm experiencing the same problem that Robert >> reported, but on 8xx instead of 4xx. The mpc8xx does not support the >> mfdc

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-02 Thread Frank E . Svendsbøe
On Mon, Apr 02, 2012 at 04:28:29PM +1000, Tony Breeds wrote: > On Mon, Apr 02, 2012 at 12:01:55PM +1000, Benjamin Herrenschmidt wrote: > > > Ok, I've asked Tony to have a look at splitting the build decision > > in arch/powerpc/boot along the same lines as the CPU families... ie only > > wrappers

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-01 Thread Tony Breeds
On Mon, Apr 02, 2012 at 12:01:55PM +1000, Benjamin Herrenschmidt wrote: > Ok, I've asked Tony to have a look at splitting the build decision > in arch/powerpc/boot along the same lines as the CPU families... ie only > wrappers for platforms potentially supported by the built kernel. That > should

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-01 Thread Benjamin Herrenschmidt
On Mon, 2012-04-02 at 00:14 +0200, Frank E. Svendsbøe wrote: > On Sat, Mar 31, 2012 at 11:03:04AM +1100, Benjamin Herrenschmidt wrote: > > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > > > > > Hi Josh Boyer, > > > > > > just wanted to add that I'm experiencing the same problem that

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-04-01 Thread Frank E . Svendsbøe
On Sat, Mar 31, 2012 at 11:03:04AM +1100, Benjamin Herrenschmidt wrote: > On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > > > Hi Josh Boyer, > > > > just wanted to add that I'm experiencing the same problem that Robert > > reported, but on 8xx instead of 4xx. The mpc8xx does not suppo

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-30 Thread Benjamin Herrenschmidt
On Sat, 2012-03-31 at 00:53 +0200, Frank Svendsbøe wrote: > Hi Josh Boyer, > > just wanted to add that I'm experiencing the same problem that Robert > reported, but on 8xx instead of 4xx. The mpc8xx does not support the > mfdcrx instruction, so maybe it's more to it than just a binutils bug? The

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-30 Thread Frank Svendsbøe
On Mon, Mar 26, 2012 at 3:36 PM, Josh Boyer wrote: > On Sat, Mar 24, 2012 at 7:53 PM, Benjamin Herrenschmidt > wrote: >> On Wed, 2012-03-21 at 17:25 +0100, Wolfgang Denk wrote: >>> > > The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes >>> with the >>> > > ELDK 4.2) this assembly inst

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-26 Thread Josh Boyer
On Sat, Mar 24, 2012 at 7:53 PM, Benjamin Herrenschmidt wrote: > On Wed, 2012-03-21 at 17:25 +0100, Wolfgang Denk wrote: >> > > The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes >> with the >> > > ELDK 4.2) this assembly instruction is not known and the build >> breaks. >> > >> > Sigh

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-24 Thread Benjamin Herrenschmidt
On Wed, 2012-03-21 at 17:25 +0100, Wolfgang Denk wrote: > > > The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes > with the > > > ELDK 4.2) this assembly instruction is not known and the build > breaks. > > > > Sigh. GCC 4.2 is pretty old at this point. > > But still rock-solid ...

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-21 Thread Wolfgang Denk
Dear Tony, In message <20120321221402.ga18...@thor.bakeyournoodle.com> you wrote: > > > What puzzles me is that also stuff for boards is being compiled which is > > not really needed like treeboot-currituck.c even when I configure the > > kernel for a kilauea board. > > Can you either propvide t

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-21 Thread Tony Breeds
On Wed, Mar 21, 2012 at 02:10:59PM +0200, Robert Berger wrote: > Hi, > > Up to 3.2.x I was able to compile a mainline kernel for the kilauea > board, but... > > http://git.denx.de/?p=linux-denx.git;a=commitdiff;h=075bcf5879225d0c2a119c23d8046b890e051e81 > > shows, that mfdcrx was introduced in t

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-21 Thread Wolfgang Denk
Dear Josh, In message you wrote: > > > The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes with the > > ELDK 4.2) this assembly instruction is not known and the build breaks. > > Sigh. GCC 4.2 is pretty old at this point. But still rock-solid ... We use it a lot, especially as ref

Re: kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-21 Thread Josh Boyer
On Wed, Mar 21, 2012 at 8:10 AM, Robert Berger wrote: > Hi, > > Up to 3.2.x I was able to compile a mainline kernel for the kilauea > board, but... > > http://git.denx.de/?p=linux-denx.git;a=commitdiff;h=075bcf5879225d0c2a119c23d8046b890e051e81 > > shows, that mfdcrx was introduced in the v3.3 ker

kilauea compilation breaks with v3.3 kernel and ELDK 4.2

2012-03-21 Thread Robert Berger
Hi, Up to 3.2.x I was able to compile a mainline kernel for the kilauea board, but... http://git.denx.de/?p=linux-denx.git;a=commitdiff;h=075bcf5879225d0c2a119c23d8046b890e051e81 shows, that mfdcrx was introduced in the v3.3 kernel. The problem is that for ppc-linux-gcc (GCC) 4.2.2 (which comes