All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>,
	Yocto <yocto@yoctoproject.org>
Subject: [RFC] Factory reset
Date: Thu, 16 Apr 2015 16:46:00 -0500	[thread overview]
Message-ID: <55302D98.4090302@linux.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

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

[-- Attachment #2: factory_reset.jpeg --]
[-- Type: image/jpeg, Size: 25849 bytes --]

                 reply	other threads:[~2015-04-16 21:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55302D98.4090302@linux.intel.com \
    --to=anibal.limon@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.