linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* ubi question
@ 2010-06-02  9:22 Matthieu CASTET
  2010-06-02 11:10 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Matthieu CASTET @ 2010-06-02  9:22 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi,

I have some question about ubi implementation.
I have read most of the "drivers/mtd/ubi/ubi-media.h" documentation.

The doc is not very clear about the case when data_size is set for
dynamic volume. From my understanding it is set in case copy_flag is set 
and the value is the logical eraseblock size.

When a block with copy_flag set, when we append data (and make the crc 
invalid), do we make sure that all previous version of this logical 
eraseblock are removed from flash ?

Why layout volume isn't a static volume with one eraseblock and update 
done with atomic leb update (copy flag) ?
This would have :
- make the crc ckeck done by generic code (static volume one)
- make the handling of update by generic code
- avoid to having to handle dynamic volume in minimalist implementation 
(bootloader)
Do I miss something ?


Matthieu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-02 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02  9:22 ubi question Matthieu CASTET
2010-06-02 11:10 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).