MTD nand driver help
Ricard Wanderlof
ricard.wanderlof at axis.com
Thu Aug 23 10:49:58 EDT 2007
On Thu, 23 Aug 2007, Tushar Kapse wrote:
> 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?
Even if you haven't partitioned your nand flash, you will probably find
that for instance your nor flash is /dev/mtdblock0 and your nand flash
then may be /dev/mtdblock1, assuming don't have any partitions in the nor
flash. I.e. even without partitioning, each flash chip has its own
/dev/mtdblockn device. This is especially true when the devices are not
the same type (nor vs. nand). If you have several nor devices of the same
type, depending on your mtd configuration, they can be concatenated to one
single /dev/mtdblockn device.
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
More information about the linux-mtd
mailing list