public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* UBI partitioning in embedded device?
@ 2011-04-18  6:44 Ricard Wanderlof
  2011-04-18  7:09 ` Artem Bityutskiy
  2011-04-18 11:45 ` Atlant Schmidt
  0 siblings, 2 replies; 7+ messages in thread
From: Ricard Wanderlof @ 2011-04-18  6:44 UTC (permalink / raw)
  To: Linux mtd


Are there any opinions here on the partitioning of a flash memory in an 
embedded device when using UBI?

Principially, one could let UBI manage the whole flash as one mtd 
partition, except possibly some boot area due to restriction in the boot 
ROM of the system in question. But is it wise to do so, assuming for 
instance there is data in part of the flash that you really want to avoid 
loosing, such as calibration data? Of course, theoretically, once the 
kernel has access to one part of the flash it could clobber anything, 
still, the mtd code has been proven for years whereas UBI is relatively 
young, so one idea would be to partition that flash into several mtd 
partitions (e.g. boot, running system, and calibration data), and let UBI 
handle these separately. That could minimize the risk of UBI clobbering 
the calibration data when operating on the running system, for instance.

Any thoughts?

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

end of thread, other threads:[~2011-04-18 13:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18  6:44 UBI partitioning in embedded device? Ricard Wanderlof
2011-04-18  7:09 ` Artem Bityutskiy
2011-04-18 11:45 ` Atlant Schmidt
2011-04-18 12:53   ` Ricard Wanderlof
2011-04-18 13:01     ` Artem Bityutskiy
2011-04-18 13:33       ` Ricard Wanderlof
2011-04-18 13:35         ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox