[U-Boot-Users] Ramdisk with u-boot
Gupta, Kshitij
kshitij at ti.com
Wed Sep 24 08:15:22 CEST 2003
hi,
I am trying to boot the linux kernel with ramdisk support.
The details of the ramdisk image are
Image Name: RAm Disk
Created: Wed Sep 24 11:55:02 2003
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3038830 Bytes = 2967.61 kB = 2.90 MB
Load Address: 0x10800000
Entry Point: 0x10800000
The kernel is
Image Name: Linux Kernel Image
Created: Wed Sep 24 11:56:19 2003
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 686909 Bytes = 670.81 kB = 0.66 MB
Load Address: 0x10C08000
Entry Point: 0x10C08000
The bootargs :
setenv bootargs console=ttyS0,115200n8 initrd=0x10800000,8M root=/dev/ram
ip=off
The kernel is compiled with ramdisk support. I store my kernel in the flash
at location 0x100000 and I download the ramdisk in the ram at location
0x10000000 ( this is starting of my RAM). Now when I boot the kernel with
the
$ bootm 0x100000 0x10000000
I get the following error
RAMDISK: Couldn'find valid RAM disk image starting at 0.
Freeing initrd memory: 8192K
cramfs: wrong magic
Kernel panic: Unable to mount root fs on 01:00
Am I missing some thing in my steps ?? Any comments will be greatly
appreciated.
regards
-kshitij
More information about the U-Boot
mailing list