[OE-core] [RFC] Factory reset
Aníbal Limón
anibal.limon at linux.intel.com
Thu Apr 16 21:46:00 UTC 2015
Hi,
Factory reset is a mechanism that is target to do a restore of rootfs
image, the target is to provide
reference software that helps embedded system vendors to do it easily
and to be file system independent.
Here is a design proposal to implement Factory reset, next describe the
components,
Partitioning: Need to create partition layout with an area for rootfs
read-only and another with
rootfs rw (day to day OS) also it need another area for Linux Recovery
OS (minimal).
Bootloader: Need to detect when a factory reset is needed and boots the
Linux Recovery OS.
Linux Recovery OS: A minimal Linux OS to perform restore fron rootfs ro
area to rootfs rw area.
Linux OS: A Linux OS that need to have an application to set the factory
reset mode and
next reboots, the application will be simple and should have a plugin
system for add support of who generate
the event IP, Serial, HW button, etc.
All of the settings should be specified at level of user configuration.
I attached a simple flow of how it works, any feedback will be appreciated?
Cheers,
alimon
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=1593
-------------- next part --------------
A non-text attachment was scrubbed...
Name: factory_reset.jpeg
Type: image/jpeg
Size: 34106 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150416/a767249e/attachment-0002.jpeg>
More information about the Openembedded-core
mailing list