From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from motgate4.mot.com (motgate4.mot.com [144.189.100.102]) by ozlabs.org (Postfix) with ESMTP id 0E8862BDA0 for ; Thu, 14 Oct 2004 13:14:01 +1000 (EST) In-Reply-To: <13F5C6B8-1D5B-11D9-88FA-003065F9B7DC@embeddededge.com> References: <13F5C6B8-1D5B-11D9-88FA-003065F9B7DC@embeddededge.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <010190ED-1D8F-11D9-92E7-000393DBC2E8@freescale.com> From: Kumar Gala Date: Wed, 13 Oct 2004 22:13:21 -0500 To: Laurent Lagrange Cc: "" Subject: Re: MPC8560 problem to launch user application like /sbin/init List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Have you turned on emulation of FP in the kernel? - kumar On Oct 13, 2004, at 4:01 PM, Dan Malek wrote: > > > On Oct 13, 2004, at 1:07 PM, Laurent Lagrange wrote: > > > The console is mapped on SCC1 port. > > CCSRBAR is mapped at 0xF8000000 and immr at 0xF8080000. > > I would suggest using the standard memory map the rest of > us use for 8560.=A0 It makes the porting lots easier. > > > I open 2 TLBs on memory and a big TLB for all IOs included CSSRBAR. > > Due to IO TLB, I don't io_remap cpm2_immr. > > How do you to this?=A0 The linux ppc kernel already manages all > of this mapping for you. > > > All things run fine until I launch the /sbin/init file from a nfs > > networK. > > Seems like a memory mapping problem.=A0 If you are using an 8260 > file system, have you also enabled the math emulation in the kernel? > > > I don't know if uboot sets other things than TLBs to access IOs > > and if my own boot is incomplete. > > I don't know if cpm must be io_remapped instead of using TLBs. > > The u-boot will configure all of the LAWs, and like your boot rom > will also configure some of the TLBs for main memory mapping. > The Linux kernel will change all of the TLBs using the boot rom > TLB maps as a hint. > > > Any ideas would be welcome. > > Download linuxppc-2.4 from BitKeeper, use one of the existing > 85xx ports as a guide for your board.=A0 Keep things consistent > with the other board ports.=A0 Take a look at one of the board > ports for u-boot to see how it configures the LAWs and TLBs. > > > > =A0=A0=A0=A0=A0=A0=A0 -- Dan > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded