From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Michael Neuling To: Santosh Kumar Subject: Re: powerpc 476, Little-endian, pte fault In-reply-to: References: Date: Mon, 31 Oct 2011 16:51:16 +1100 Message-ID: <12144.1320040276@neuling.org> Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 to little endian Changes" mean? > 1) bitops header file. > 2) while reading the device tree. > 3) the PTE read/computed in head_32.S > 4) added E bit in the TLB entries. > > with all the above changes the kernel_init is done but and inited is > mounted. Can you post your patch? Are you trying to boot the kernel in little endian or just run userspace in little endian? > But while spawning init process the kernel continuously hits pte > faults at address 0x100000fc and never comes out. Please let me know > where i should be looking into. Is this the very first userspace instruction? Mikey