public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] AT91RM9200 U-Boot can not load initrd from flash
@ 2009-02-18  9:06 Dmitry K
  2009-02-18 10:46 ` Wolfgang Denk
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry K @ 2009-02-18  9:06 UTC (permalink / raw)
  To: u-boot

Hello

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)

Seems like initrd is not copied to RAM by U-Boot.
The u-boot environment is:
setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.10
setenv bootargs 'root=/dev/ram rw initrd=20a00000,500000
ramdisk_size=8192 console=ttyS0,115200 mem=32M
mtdparts=phys_mapped_flash:64K(boot),64K(uboot),2944K(kernel),4608K(initrd),256K(settings),-(unused)'
setenv bootcmd "bootm 10020000 10300000"

The images are:
U-Boot> imls
Legacy Image at 10020000:
  Image Name:   K_2009-01-12_13:47:42
  Image Type:   ARM Linux Kernel Image (uncompressed)
  Data Size:    2443456 Bytes =  2.3 MB
  Load Address: 20008000
  Entry Point:  20008000
  Verifying Checksum ... OK
Legacy Image at 10300000:
  Image Name:   FS_2009-01-12_14:13:24
  Image Type:   ARM Linux RAMDisk Image (gzip compressed)
  Data Size:    3446369 Bytes =  3.3 MB
  Load Address: 20a00000
  Entry Point:  20a00000
  Verifying Checksum ... OK

What am I missing?

--
Dmitry K.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [U-Boot] AT91RM9200 U-Boot can not load initrd from flash
@ 2009-03-03 10:49 Dmitry K
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry K @ 2009-03-03 10:49 UTC (permalink / raw)
  To: u-boot


> To be more precise: Patches to the Linux kernel have been submitted...
>

I've searched archive using gmane but found only links to cvs whis is no 
longer used. This question seems to be asked frequently, so why don't 
you add it to FAQ along with link to patches to prevent further 
questions?

Thank you

--
Dmitry K.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-03-03 10:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox