[U-Boot-Users] Newbie needs help with RAMDISK

Luke Fimmerzane lukefimmerzane at hotmail.com
Fri Mar 12 14:49:31 CET 2004


Sorry for the wrong posting. Because I was slavely following the set-up in 
the book I referred to in my earlier email for configuring u-boot and 
running the root file system from RAM disk, I thought someone else might 
also have followed the same path and might have indicated whether it worked 
for them or not.

The info in the book suggested that as long as you did a
bootm <kernel address> <RAM disk address> it should work. I've also read 
this in the README but I think its only in the context of PPC.  I do have 
ext2 configured in my kernel but maybe I need other options also enabled. 
(What kind of message should I get if its not enabled)
Also what kernel command line should I use? Is root =/dev/ram correct? Do I 
have to set-up a u-boot envionment variable for a RAM disk?

I don't have access to the hardware for the next few days so can't send the 
full error message list you mentioned. But I want to prepare as much as 
possible.

Thanks again,
Luke

I know I am present at the alter of the gods of booting and linux and I 
apologise if my requests fall short...... :(






>From: Wolfgang Denk <wd at denx.de>
>To: "Luke Fimmerzane" <lukefimmerzane at hotmail.com>
>CC: u-boot-users at lists.sourceforge.net
>Subject: Re: [U-Boot-Users] Newbie needs help with RAMDISK Date: Wed, 10 
>Mar 2004 19:02:42 +0100
>
>Dear Luke,
>
>in message <BAY10-F113QOTQWKySS0001f3e9 at hotmail.com> 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.
>
> > ......
> > 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?
>
> > 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
>
>--
>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

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! 
http://www.msn.co.uk/messenger





More information about the U-Boot mailing list