nandwrite problem

Josh Boyer jwboyer at gmail.com
Mon Jul 17 11:04:51 EDT 2006


On 7/17/06, Davide CASCONE <davide.cascone at st.com> wrote:
>
> I have a NAND device related to MTD block 5. The NAND device is correctly probing during the kernel boot phase.
> If I run the following commands
>
> #mkdir /dev/mtdblock/5 b 31 5
> #mount -t jffs2 /dev/mtdblock/5 /nand/
>
> the JFFS2 file system is correctly mounting on the /nand/ directory.
> But, if I run the following command
>
> #./nandwrite -j /dev/mtdblock/5 filesys.jffs2_nand

nandwrite needs a character device, not a block device.  Use /dev/mtd5 instead.

josh




More information about the linux-mtd mailing list