linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: srinivas.surabhi@wipro.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Mounta Vista Linux prompt on serial console
Date: Tue, 15 Feb 2005 12:53:57 +0100	[thread overview]
Message-ID: <20050215115402.86E49C1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 15 Feb 2005 16:02:48 +0530." <EF9B29C78F41FA488927FCBC7750AF0E011DA5C5@hyd-mdp-msg.wipro.com>

In message <EF9B29C78F41FA488927FCBC7750AF0E011DA5C5@hyd-mdp-msg.wipro.com> you wrote:
> 
> Today somehow after removing many options I build the kernel and able to
> succeed till the VFS: "Mounted root (cramfs filesystem) readonly." But
> then I am seeming "kernel panic". Actually what option has to be given
> for init. We have given init=/bin/sh but no luck.

You have to provide a working root filesystem in the first place.

> One more observation is that the U-boot bootargs are overwriting the
> Kernel boot arguments given at the time of build. Even though using

This is normal. If you use U-boot  there  is  no  need  to  have  any
pre-compiled  boot arguments; more: there is no need to use the whole
bootstrap loader which supplied these precompiled bootargs.

> setenv I removed the bootargs but still the kernel arguments given at
> the time of build using devrocket are not still active.

Just define the required bootargs in U-Boot.

> VFS: Mounted root (cramfs filesystem) readonly.
> Mounted devfs on /dev
> Freeing unused kernel memory: 60k init
> Warning: unable to open an initial console.
> Error -3 while decompressing!

Do not ignore this error. How big is your cramfs iage? How  much  RAM
do you have?

> 0015fd20(1928974736)->00141000(4096)

Is there any chance that you built your cramfs image on a x08 (or any
other little-endian) system and forgot  to  give  the  "-r"  (reverse
endian-ness of filesystem) option to mkcramfs??

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 22 - 24,  Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
In the strict scientific sense we all feed on death -- even
vegetarians.
	-- Spock, "Wolf in the Fold", stardate 3615.4

  reply	other threads:[~2005-02-15 11:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-15 10:32 Mounta Vista Linux prompt on serial console srinivas.surabhi
2005-02-15 11:53 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-18  8:17 srinivas.surabhi
2005-02-17 14:28 srinivas.surabhi
2005-02-17  5:20 srinivas.surabhi
2005-02-17 11:42 ` Wolfgang Denk
2005-02-16  3:18 srinivas.surabhi
2005-02-16 20:00 ` Wolfgang Denk
2005-02-15 13:34 srinivas.surabhi
2005-02-15 19:59 ` Wolfgang Denk
2005-02-14 14:25 srinivas.surabhi
2005-02-14 21:49 ` Wolfgang Denk

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=20050215115402.86E49C1430@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=srinivas.surabhi@wipro.com \
    /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).