Messages in this thread | | | Subject | Re: UBI fastmap updates | From | Artem Bityutskiy <> | Date | Sat, 30 Jun 2012 13:43:18 +0300 |
| |
On Fri, 2012-06-29 at 17:14 +0200, Richard Weinberger wrote: > This is the next round of UBI fastmap updates. > > Fastmap is now disabled by default. > If you attach an image it will not automatically convert it > to the fastmap format. > UBI has a new module parameter "fm_auto". > If set to 1 UBI will create a fastmap automatically on your > flash device. > Please see commit "Add a module parameter to enable fastmap" > for more details.
One thing I've noticed is that you use vmalloc for some of the buffers you do I/O on (fm_raw). This is a problem for many ARM platforms because they cannot do DMA on such buffers. The drivers have to implement various workarouns for this: either fall back to memcopies or do an extra copy to a DMA-able buffers.
UBI and UBIFS already to I/O on vmalloc'ed buffers, an I am planning to fix this, which is not easy. Would be great to not add more of these.
-- Best Regards, Artem Bityutskiy [unhandled content-type:application/pgp-signature] | |