Skip to contentSkip to conversation

Newbie needs help with RAMDISK

U-Boot-Users Luke Fimmerzane 2 participants 2 messages Mar 10, 2004

lore
Share & tools
lore
#0 lore raw

Hi,
I'm new to u-boot and would like to mount my rootfile system on a RAM disk. Its an arm 9 target.
I'm using a book from KARIM YAGHMOUR called Building Embedded Linux systems as a reference guide to help with creating the RAM disk and understand the features of u-boot. (There's a really good section on u-boot in this book). I've managed to create the ramdisk, download it to my target but when I boot I get this message (only relevant sections included):

Kernel command line: root=/dev/ram
......
......
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
......
.....
cramfs: wrong magic
FAT: bogus logical sector size 65535

Kernel panic: VFS: Unable to mount root fs on 01:00

AAgh!!! Where could I have gone wrong!!
I know this is a voluntary site but if someone could give me some give me a few hints then thanks.

Luke F

_________________________________________________________________
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo

#1 lore raw

Dear Luke,

Quoted 5 lines · in message <[email protected]> you wrote:

I've managed to create the ramdisk, download it to my target but when I boot I get this message (only relevant sections included):

Kernel command line: root=/dev/ram

Actually this is a Linux problem. Strictly speaking, this is off topic on the U-Boot list.

Quoted 9 lines

......
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
......
.....
cramfs: wrong magic
FAT: bogus logical sector size 65535

Kernel panic: VFS: Unable to mount root fs on 01:00

AAgh!!! Where could I have gone wrong!!

One of your mistakes is not providing enough information. It would have been VERY useful to see the COMPLETE log of the boot messages. So we can only speculate. Do you have ext2 support enabled in your kernel configuration?

Quoted 2 lines

I know this is a voluntary site but if someone could give me some give me a few hints then thanks.

This is what these lists are for.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"They that can give up essential liberty to obtain a little temporary
saftey deserve neither liberty not saftey." - Benjamin Franklin, 1759