MTD nand driver help
Tushar Kapse
tusharkapse at gmail.com
Thu Aug 23 10:21:55 EDT 2007
Thanx....
we have verified the jffs2 image in the nand with the bootloader
utility and it is correct.
how to verify that this NAND device is located on /dev/mtdblk0 ?
since we do not have any partion in the nand, is it necessary to have
the partition in the nand?
Regards,
Tushar
On 8/23/07, hinko.kocevar at cetrtapot.si <hinko.kocevar at cetrtapot.si> wrote:
> 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