[PATCH] UBI: Do not try to autoresize in readonly mode

Artem Bityutskiy dedekind1 at gmail.com
Fri Aug 24 12:09:16 EDT 2012


On Fri, 2012-08-24 at 17:59 +0200, Pali Rohár wrote:
> > Why do you need to use block2mtd? If you have an image for NOR
> > flash, use mtdram, if it is for NAND - use nandsim. What
> > prevents you from using mtdram or nandsim?
> 
> I do not know why, but copying 256 MB image to nandsim takes more 
> time than losetup & block2mtd & mount...

May be, how much more? Is that a show-stopper for you? If you copy with
'dd', try 'bs=2048' if you are simulating a device with a 2048 bytes
NAND page size.

But I guess you can patch block2mtd, I do not have objections (although
it'll report about itself as NOR flash?), but I never used it and I am
not sure how many bugs there are.

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120824/ee91ae90/attachment.sig>


More information about the linux-mtd mailing list