but then again I get same errors while mounting /dev/mtdblock0. I have created nand.img is created with qemu-img command and formatted with ext2 after mounting with loopback.
I didn't find much information in documentation on how to use mtdblock device with QEMU. Can someone please guide me how can I mount qemu simulated mtdblock device in linux.