Re: imx27 - hanging at freeing init memory -- getting some junk characters here after on console ..

Vadivelan M <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <OF29677297.CAA27B00-ON65257671.002E6F4B-65257671.002E6F5C__28724.0976155319$1258446685$gmane$org@tcs.com>
Hi ,

Did you measure the junk characters or the 'working' serial output. The
question is whether the baud rate really changes.
-- Yes. we have measured the baud rate when the junk characters starts coming.

Please send in patches of your modifications so people here can have a
look to what you did.
-- Please find the patches [please find the attachment . ]

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.
-- Our boot loader is customized by vendor. So no option to change the command line options.

Thanks and regards,

Vadivelan M

-----Daniel Mack wrote: -----

To: Vadivelan M <[email protected]>
From: Daniel Mack <[email protected]>
Date: 11/17/2009 12:48PM
cc: [email protected], [email protected]
Subject: Re: imx27 - hanging at freeing init memory -- getting some junk characters here after on console ..

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 <[email protected]>
> From: Daniel Mack <[email protected]>
> Date: 11/10/2009 12:19PM
> cc: [email protected], [email protected]
> 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

=====-----=====-----=====
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

_______________________________________________
linux-arm mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm
patch_mx27ads.zip (application/zip, 21.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.