public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] AT91RM9200 U-Boot can not load initrd from flash
Date: Wed, 18 Feb 2009 11:46:46 +0100	[thread overview]
Message-ID: <20090218104646.7DD02832E43F@gemini.denx.de> (raw)
In-Reply-To: <846497610.1234947971.54288136.73867@mcgi74.rambler.ru>

Dear Dmitry,

In message <846497610.1234947971.54288136.73867@mcgi74.rambler.ru> you wrote:
> 
> I've a board quite similar to AT91RM9200DK. I've compiled U-Boot 1.1.2
> and 1.3.4 for it and both work fine with images loaded via tftp. When I
> try to boot same images from flash I got kernel running fine until this:
> ...
> No filesystem could mount root, tried:  ext2 cramfs vfat romfs
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(1,0)

Yes, that's a know limitation (or call it feature, or bug, as you
like) of the ARM kernel.

> Seems like initrd is not copied to RAM by U-Boot.

No, of course it is not copied. Why should we copy the compressed
image to ram? That's just a waste of CPU cycles. The kernel can read
it from flash as well.

Patches for this problem were submitted a few times since kenrel
version 2.4.17 or so, and posted and re-posted again and again here
on the ML. Search the archives for details.

> What am I missing?

You're running on ARM...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
1st Old Man:  Gee, its windy today.
2nd Old Man:  No it's not... it's Thursday.
3rd Old Man:  Yeh, me too.  Let's go for a beer.

  reply	other threads:[~2009-02-18 10:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-18  9:06 [U-Boot] AT91RM9200 U-Boot can not load initrd from flash Dmitry K
2009-02-18 10:46 ` Wolfgang Denk [this message]
2009-02-18 14:46   ` Dmitry Koroban
2009-02-18 14:54     ` Wolfgang Denk
2009-03-03 10:19       ` Dmitry Koroban
2009-02-18 14:50   ` Dmitry K
  -- strict thread matches above, loose matches on Subject: below --
2009-03-03 10:49 Dmitry K

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=20090218104646.7DD02832E43F@gemini.denx.de \
    --to=wd@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