ubiformat error

Manoj manoj23 at gmail.com
Thu May 28 22:08:43 EDT 2009


I am trying to flash an UBI image to NAND flash. But I get an error
about "No such file or directory".

# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00020000 "NAND-block1"
mtd1: 01e00000 00020000 "jffs2"
mtd2: 0d200000 00020000 "NAND-block2"
# ubiformat /dev/mtd1
ubiformat: error!: cannot get information about "/dev/mtd1"
           error 2 (No such file or directory)
# ls -l /dev/mtd1
crw-rw-r--    1 root     root      90,   2 Dec 31 16:00 /dev/mtd1

I am able to do ubiattach with mtd1, create an empty volume and mount
the volume as ubifs.

Thanks.



More information about the linux-mtd mailing list