public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Unable to mount Root File System , initramdisk or initramfs
Date: Wed, 09 Jun 2010 14:08:10 +0200	[thread overview]
Message-ID: <m239wwwgr9.fsf@ohwell.denx.de> (raw)
In-Reply-To: <5858DE952C53A441BDA3408A0524130104CCE0D8@mkegmal01> (Gurumurthy G. M.'s message of "Fri, 4 Jun 2010 02:12:42 +0900")

Hi Gurumurthy,

> I am using MIPS32 AU1350 processor board with 2MB of NOR Flash, I have
> programmed u-boot and Linux kernel in NOR Flash. U-boot is working
> able to boot linux kernel but not able to mount root filesystem from
> SDRAM.
>
> I tried both initramdisk and initramfs. please let me know more info
> about this.
>
> I have created uRamdisk and also passed boot arguments.
>
> Below is the error log. let me know whether I am missing something.

Well you really need to debug the Linux kernel and especially the
parameter passing from U-Boot to Linux on the MIPS architecture to find
out why the kernel does not find the ramdisk (i.e. check
do_bootm_linux() in arch/mips/lib/bootm.c).

On PowerPC we used to have registers r4 and r5 specifying the address
and length of the ramdisk which was set on calling Linux.  Maybe MIPS
needs something similar.  Becuase in recent U-Boot versions, the boot
code was completely rewritten, you should trace all activity of the
"bootm" U-Boot command before it calls the linux kernel in
do_bootm_linux() and ensure that the expectations of the Linux kernel
are met.

Cheers
  Detlev

-- 
Multiple exclamation marks, the sure sign of an insane mind.
                        -- Terry Pratchett
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

      reply	other threads:[~2010-06-09 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-03 17:12 [U-Boot] Unable to mount Root File System , initramdisk or initramfs  Gurumurthy G M
2010-06-09 12:08 ` Detlev Zundel [this message]

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=m239wwwgr9.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /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