linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: imx27 - hanging at freeing init memory -- getting some junk characters here after on console ..
Date: Tue, 17 Nov 2009 08:17:44 +0100	[thread overview]
Message-ID: <20091117071744.GM14091@buzzloop.caiaq.de> (raw)
In-Reply-To: <OF409EDC40.B7ED8C90-ON65257671.001667E7-65257671.001667F5@tcs.com>

On Tue, Nov 17, 2009 at 09:34:44AM +0530, Vadivelan M wrote:
>    As you have suggested we tried on main line kernel also. It is hanging at
>    the same point...
> 
>    Freeing init memory..
>    After this some junk characters.
> 
>    We have measured the baud rate through CRO. It shows 8.6 us (115200) which
>    is correct.

Did you measure the junk characters or the 'working' serial output. The
question is whether the baud rate really changes.

>    Platform dependent changes
>                 Platform : IMX27ads board
>                                 clock changes & memory changes
>
>    will there be any platform dependency with UART driver?
>                 We did not do any modification here. It seems both the lower
>    version kernel and higher version kernel is same.

Please send in patches of your modifications so people here can have a
look to what you did.

>    Already working lower version kernel is not taking the command line
>    arguments [ passed from the CONFIG ]
>                 its taking the boot loader arguments only. so we just did a
>    hack so that it will take our CONFIG command line arguments.
>                 [commented strlcpy() @ arch/arm/kernel/setup.c - fn :
>    parse_tag_cmdline ]
>                 we are getting error : kernel panic - not syncing VFS: unagle
>    to mount roof fs on unknown-block(1,0)

You seem to have omitted the root= parameter. But frankly, I don't
understand why you're doing all that. Why don't let the bootloader pass
the options? The hard-coded config is only a fallback for bootloaders
that don't provide a cmdline tag.

Daniel



>    -----Daniel Mack wrote: -----
> 
>      To: Vadivelan M <vadivelan.m@tcs.com>
>      From: Daniel Mack <daniel@caiaq.de>
>      Date: 11/10/2009 12:19PM
>      cc: linux-arm-kernel at lists.infradead.org, linux-arm at lists.infradead.org
>      Subject: Re: imx27 - hanging at freeing init memory -- getting some junk
>      characters here after on console ..
> 
>  On Fri, Nov 06, 2009 at 11:12:03AM +0530, Vadivelan M wrote:
>  >    I have checked the inittab. the baud rate is correct.
>  >
>  >    When i am passing command line arguments "init=bin/sh
>  >    consloe=ttymxc0,115200 root=/dev/ram rw ip=off"
>  >
>  >    same status. i can see the print Freeing init memory and some uart
>  >    function prints...
>  >
>  >    After that only junk characters are coming.
>  >
>  >    we have checked serial drivers . almost no changes between 2.6.19(working
>  >    kernel) and 2.6.27
>  >
>  >    Please help us to go forward.....
> 
>  Sorry, I don't know then. I was sure you're facing a baud rate issue,
>  which also is a common pitfall.
> 
>  Can you try using a current mainline git kernel and see if the problem
>  persists? Your machine type (MX27ADS) should be supported.
> 
>  Daniel
> 
>  =====-----=====-----=====
>  Notice: The information contained in this e-mail
>  message and/or attachments to it may contain
>  confidential or privileged information. If you are
>  not the intended recipient, any dissemination, use,
>  review, distribution, printing or copying of the
>  information contained in this e-mail message
>  and/or attachments to it are strictly prohibited. If
>  you have received this communication in error,
>  please notify us by reply e-mail or telephone and
>  immediately and permanently delete the message
>  and any attachments. Thank you

  reply	other threads:[~2009-11-17  7:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04  7:39 imx27 - hanging at freeing init memory -- getting some junk characters here after on console Vadivelan M
2009-11-04 13:15 ` Daniel Mack
2009-11-06  5:42   ` Vadivelan M
2009-11-10  6:49     ` Daniel Mack
2009-11-10  9:14       ` Andy Green
2009-11-17  4:04       ` Vadivelan M
2009-11-17  7:17         ` Daniel Mack [this message]
2009-11-17  8:27           ` Vadivelan M
2009-11-17  9:17             ` Daniel Mack
2009-11-17 11:59               ` Vadivelan M
2009-11-17 12:39                 ` Daniel Mack
2009-11-23 17:07                   ` Martin Fuzzey
2009-11-23 20:02                     ` Eric Bénard
     [not found] ` <OFEF3C8131.8C4BB129-ON65257665.003C2B08-65257665.003C2B0A@tcs.com>
2009-11-05 11:07   ` Daniel Mack
2009-12-05 15:15 ` Subramani Venkatesh

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=20091117071744.GM14091@buzzloop.caiaq.de \
    --to=daniel@caiaq.de \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).