MTD nand driver help
hinko.kocevar at cetrtapot.si
hinko.kocevar at cetrtapot.si
Thu Aug 23 08:03:42 EDT 2007
Tushar Kapse wrote:
> thanx for your valuable suggestion..
> Here are the steps followed to create JFFS2 and dumped into the NAND
> using Boot Loader utility for NAND:
> 1) On the Host(x86) we have created a directory "Target" and copied
> the minumum required file system into that directory.
> 2)Then we have created a jffs2 image using the following command:
> "#./mkfs.jffs2 --pad=0xa00000 --eraseblock=0x20000 --pagesize=2048 -l
> -n --root=Target --output Target.jffs2"
> Note: Here we want to create 10Mb image.
> 3)Then we have copied Target.jffs2 into NAND device using Boot Loader
> NAND utility which reside in the NOR.
> Note:
> 1)We have copied Target.jffs2 from 0th Block, 0th Page onwards...
> 2)We dont have any partitions on NAND device. NAND formated using
> utility of Bootloader.
Can you check that the jffs2 image was indeed written on the NAND (by
using some bootloader commands)?
By dumping and HEX comparing, lets say, first few bytes, kbytes...
>
> If we have missed any steps kindly tell us,
> waiting for your reply
> Best regards
> tushar
>
> Once we have followed above steps,and when i Boot the Linux we found
> the error as follows:
> "Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(31,0)"
Are you sure that this NAND device (partition) is located on
/dev/mtdblk0 (as the error suggests)? If you have NOR flash also present
on your this might not be the case...
Regards,
Hinko
--
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si
More information about the linux-mtd
mailing list