mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mustang4@free.fr
To: Willy Tarreau <willy@w.ods.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux Kernel Hang or stop after uncompressing MPC8245
Date: Mon, 15 Aug 2005 18:56:42 +0200	[thread overview]
Message-ID: <1124125002.4300c94a31810@imp5-q.free.fr> (raw)
In-Reply-To: <20050815155505.GF20363@alpha.home.local>

Hi,

> Hello,
>
> On Mon, Aug 15, 2005 at 06:10:13PM +0200, mustang4@free.fr wrote:
> >
> > Hello,
> >
> > I try to boot my linux kernel (with 2.4 or 2.6 it's the same problem) on an
> > embeded board (EM04N MenMicro) base on a MPC8245 cpu...
> >
> > When i boot i 've;
> >
> > > Detected PPCBOOT header
> > >     Verifying image CRC...ok
> > >     Uncompressing Multi-File Image ... ok
> > >     Moving initrd...ok
> > >     Passing Kernel parameters: root=ramfs console=ttyS0,9600
> > >     Starting Linux Kernel.
> > >
> > and stop here... i must hard reset the board...
> >
> > Anyone boot a linux kernel on this board ?
> > I heard about UART serial port problem with MPC8245 cpu, but i don't find a
> > working solution for patching kernel or setting up correctly...
>
> Although I don't know this board, here are a few questions :
>   - are you sure that you enabled the correct serial driver and that it is
>     linked to the zImage and not build as a module ?

I enable and build my kernel with driver (staticly):

Multi-IO cards (parallel and serial) (in Device Drivers-> Parallel port support 
)

This is what my board say (in console mode) about serial address:
0x08 COM1             DUART8245    0xfc004500 0x07a12000 0x00000001 0x01effc70
0x09 COM2             DUART8245    0xfc004600 0x07a12000 0x00000001 0x01e107d0


>   - are you sure that you enabled "console on serial port" in the config ?
Yes, i enable " Support for console on virtual terminal" but i enable
"Non-standard serial port support" option too...
So i recompile without the last one... and i recompile "with Serial drivers
--->" "[*]   Console on 8250/16550 and compatible serial port" perhaps it's
that... And i came back to you.
But, perhaps i've allready tested... i ll check.. it's not a default option ?

>   - how can you be certain that the serial will appear on ttyS0 and not ttyS1
>     or another one (the kernel might detect another serial port which it
>     assigns ttyS0)
I pass parameter directly to the kernel;

Another option i set :
 Default bootloader kernel arguments  x x  x x(console=ttyS0,9600 console=tty0


Thanks

Yann.

>   - is it possible that you have trouble with the endianness of the image ?
>     example: little endian image loaded on big endian CPU ?

My image seems to be ok...

>
> Regards,
> Willy
>
> > Anyone can help me ?
> >
> > I use :
> > ELDK kit cross compilation for PPC8245
> > uBoot
> > and official last kernel source...
> >
> > Thanks
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
>



  reply	other threads:[~2005-08-15 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 16:10 mustang4
2005-08-15 15:55 ` Willy Tarreau
2005-08-15 16:56   ` mustang4 [this message]
2005-08-15 16:51     ` Willy Tarreau
2005-08-15 20:08       ` mustang4
2005-08-15 20:54         ` Willy TARREAU
2005-08-16 13:34           ` mustang4

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=1124125002.4300c94a31810@imp5-q.free.fr \
    --to=mustang4@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=willy@w.ods.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

all inboxes | Powered by JetHome®