Re: powerpc 476, Little-endian, pte fault

2011-11-01 Thread Peter Bergner
On Tue, 2011-11-01 at 22:44 +0530, Santosh Kumar wrote: > I had a problem configuring the GCC for 476 in little endian mode, What type of problem? I assume the binutils you are building against has 476 support too, correct? You'll need that. > So is this PTE fault related to the compiler optio

Re: powerpc 476, Little-endian, pte fault

2011-11-01 Thread Santosh Kumar
> The relevant options are -mcpu=476 (no FP unit) and -mcpu=476fp> (with FP > unit).  Basically, -mcpu=476 is equivalent to> -mcpu=476fp -msoft-float. Yes what you have mentioned is right. I had a problem configuring the GCC for 476 in little endian mode, therefore I am using 440 compiler. As thi

Re: powerpc 476, Little-endian, pte fault

2011-11-01 Thread Peter Bergner
On Tue, 2011-11-01 at 08:32 +0530, Santosh Kumar wrote: > I am using the same compiler as 476 & 440 instruction is almost the same. Well the 476 implements ISA 2.05, which I think has added a fair amount over the 440. Not to mention the 476 core that has been released has a FP unit. I'll note th

Re: powerpc 476, Little-endian, pte fault

2011-10-31 Thread Santosh Kumar
This is not the first user-space instruction. While executing this process kernel has added two TLB entries with TID(process id) 1. while trying to map 0x10fc it is raising pte faults . Santosh Kumar .A Vision without Action is a daydream... Action without Vision is a nightmare... On 31 Oc

Re: powerpc 476, Little-endian, pte fault

2011-10-31 Thread Benjamin Herrenschmidt
On Mon, 2011-10-31 at 20:49 +1100, Michael Neuling wrote: > > I have built a cross compiler for ppc440 in little endian mode and > > using it to build the kernel. > > > > Yes i am running Linux in Little-Endian. This is the first user space > > process. I wrote the below program and running it as

Re: powerpc 476, Little-endian, pte fault

2011-10-31 Thread Michael Neuling
> I have built a cross compiler for ppc440 in little endian mode and > using it to build the kernel. > > Yes i am running Linux in Little-Endian. This is the first user space > process. I wrote the below program and running it as init from > /sbin/init. I have also set the permissions with chmod +

Re: powerpc 476, Little-endian, pte fault

2011-10-30 Thread Michael Neuling
Adding linuxppc-dev list to the CC > KERNEL: linux 2.6.39.4 > POWERPC: 476, little endian. > > I am trying to get linux 2.6.39.4 up on PPC 476 i have done done > Big-endian to little endian Changes in: Can you explain what you are trying to do in more detail? What does "i have done Big-endian t