Cramfs root file system
flavio.pereira at za.flextronics.com
Fri Nov 22 18:25:09 EST 2002
Hi all / Dennis
>1) in kernel file init/main.c 's dev_name_struct, add entry for
> "mtdblock", 0x1f00
>if it's not there already.
>2) in ppcboot =>setenv bootargs init=/linuxrc root=/dev/mtdblockx
I added the mtdblock entry and, yes it seems to have helped. The kernel
however now returns...
mtdblock: read on "initrd" at 0x400, size 0x400
mtdblock: read on "initrd" at 0x0, size 0x1000
mtdblock: read on "initrd" at 0x1000, size 0x1000
mtdblock: read on "initrd" at 0x2000, size 0x1000
mtdblock: read on "initrd" at 0x3000, size 0x1000
VFS: Mounted root (jffs filesystem) readonly.
Ive looked at the kernel code, and it looks like it doesn't support a
cramfs system only jffs (ROM systems anyway). Can anyone confirm whether
Linux 2.4.4 supports cramfs for root file systems?
From: Dennis Khoo [mailto:dkhoo at atmxdsl.com]
Sent: Thursday, November 21, 2002 9:18 PM
To: Flavio Pereira; LinuxPPC
Subject: Re: Cramfs root file system
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 02:00
> Now, is it possible to do what Im trying to do, if so are there any
> suggestions as to what I'm doing wrong?
I saw the same error when I was trying to mount jffs2 as root. Maybe
problem is similar to mine.
1) in kernel file init/main.c 's dev_name_struct, add entry for
if it's not there already.
2) in ppcboot =>setenv bootargs init=/linuxrc root=/dev/mtdblockx
Hope this helps.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded