[Yaffs] RootFS on Yaffs

Blair Barnett bbarnett at circumnavnetworks.com
Tue Mar 14 01:27:48 GMT 2006


On Mon, 2006-03-13 at 16:00, Marco Caamano wrote:


> Linux version 2.6.4-cadenux (mcaamano at warlock) (gcc version 3.2.3) #32
> Mon Mar 13 17:37:49 CST 2006
<snip>
> Kernel command line: root=/dev/mtdblock3 rootfstype=yaffs
<snip>
> Using static partition definition
> MTD snapshot-20060224 [http://linux-mtd.infradead.org]
> Creating 5 MTD partitions on "NAND 16MiB 3,3V 8-bit":
> 0x0001c000-0x0003c000 : "Bootloader"
> 0x0003c000-0x0004c000 : "Bootloader Parameters"
> 0x0004c000-0x0024c000 : "Kernel Image"
> 0x0024c000-0x00a4c000 : "Primary File System"
> 0x00a4c000-0x01000000 : "Secondary File System"
<snip>
> yaffs: Attempting MTD mount on 31.3
> VFS: Mounted root (yaffs filesystem) readonly.
> Freeing init memory: 60K
> Kernel panic: No init found.  Try passing init= option to kernel.

Hi Marco,

It appears that you should be rooting on mtdblock4, not mtdblock3, based
on your partition scheme.

-blair




More information about the yaffs mailing list