MPC8560 problem to launch user application like /sbin/init

Kumar Gala kumar.gala at freescale.com
Thu Oct 14 13:13:21 EST 2004


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.  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?  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.  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.  Keep things consistent
>  with the other board ports.  Take a look at one of the board
>  ports for u-boot to see how it configures the LAWs and TLBs.
>
>
>
>         -- Dan
>
> _______________________________________________
> Linuxppc-embedded mailing list
>  Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list