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

Dmitry K dimka.rs at rambler.ru
Wed Feb 18 10:06:11 CET 2009


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.


More information about the U-Boot mailing list