[U-Boot] AT91RM9200 U-Boot can not load initrd from flash

Wolfgang Denk wd at denx.de
Wed Feb 18 11:46:46 CET 2009


Dear Dmitry,

In message <846497610.1234947971.54288136.73867 at 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.


More information about the U-Boot mailing list