boot issue (no mtdpart3)

wakoond
Hi!

I have a problem with booting linux on my mini2440 board. It's unable to
mount rootfs:

---------------------------------------------------------------------
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available
partitions:
1f00             256 mtdblock0 (driver?)
1f01             128 mtdblock1 (driver?)
1f02            5120 mtdblock2 (driver?)
1f03          256640 mtdblock3 (driver?)
1f04          262144 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,3)
---------------------------------------------------------------------

Previously:


---------------------------------------------------------------------
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V
8-bit)
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "supervivi"
uncorrectable error : 
0x000000040000-0x000000060000 : "param"
0x000000060000-0x000000560000 : "Kernel"
0x000000560000-0x000040560000 : "root"
mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V
8-bit" -- size truncated to 0xfaa0000
ftl_cs: FTL header not found.
0x000000000000-0x000040000000 : "nand"
mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V
8-bit" -- size truncated to 0x10000000
---------------------------------------------------------------------

I'm using the following componets:
 * Toolchain: CodeSourcery:
arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu
 * Kernel: 2.6.32.2-mini2440-20100609 from
http://www.friendlyarm.net/downloads
 * Bootloader: Supervivi: 20100818 from
http://www.friendlyarm.net/downloads
 * Rootfs type: yaffs2. Make yaffs2 image from
http://www.friendlyarm.net/downloads

I'm using the default mini2440_defconfig, but added the yaffs2 support at
Filesystems section.
I flashed the device via serial terminal and the s3c2410_boot_usb tool.

I created the rootfs image with mkyaffsimage /my/rootfs/root/dir
/path/to/image/file command.

1) Using NOR state of switch
2) x for formatting
3) v to downloading supervivi-128M image
4) k to download zImage
5) y to download rootfs image (yaffs2)
6) s and s to update linux command line parameters to: noinitrd
root=/dev/mtdblock3 rootfstype=yaffs2 console=ttySAC0,115200
7) b to boot from flash

Could anybody help to me? What do I wrong? Thanks!


Wakoond

srikanth
hi Wakoond,
           I think u moght hav corrpted ur nand flash so try this link  


http://friendlyarm.net/dl.php?file=download.pdf


regards,
sri

themadmax
Look if you kernel support yaffsimage.