LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <kumar.gala@freescale.com>
To: Laurent Lagrange <lagrange@fr.oleane.com>
Cc: "<linuxppc-embedded@ozlabs.org>" <linuxppc-embedded@ozlabs.org>
Subject: Re: MPC8560 problem to launch user application like /sbin/init
Date: Wed, 13 Oct 2004 22:13:21 -0500	[thread overview]
Message-ID: <010190ED-1D8F-11D9-92E7-000393DBC2E8@freescale.com> (raw)
In-Reply-To: <13F5C6B8-1D5B-11D9-88FA-003065F9B7DC@embeddededge.com>

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

  reply	other threads:[~2004-10-14  3:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 17:07 MPC8560 problem to launch user application like /sbin/init Laurent Lagrange
2004-10-13 21:01 ` Dan Malek
2004-10-14  3:13   ` Kumar Gala [this message]
2004-10-14  9:49     ` Laurent Lagrange
2004-10-14 15:39       ` Jon Loeliger
2004-10-14 15:28     ` Jon Loeliger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=010190ED-1D8F-11D9-92E7-000393DBC2E8@freescale.com \
    --to=kumar.gala@freescale.com \
    --cc=lagrange@fr.oleane.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox