[LEDE-DEV] [PATCH v2] base-files: ensure reset only works if an overlay exists
Karl Palsson
karlp at tweak.net.au
Thu Oct 20 07:12:40 PDT 2016
Rafał Miłecki <zajec5 at gmail.com> wrote:
> On 20 October 2016 at 08:11, Chris Blake
> <chrisrblake93 at gmail.com> wrote:
> > I agree that would work in terms of functionality, but the issue with
> > that logic is if you hold the button over 5 seconds, the system LED
> > will start flashing (as expected) but then no action is taken on the
> > board. The reason for my logic change was just to ensure the board
> > would reboot in that case.
>
> That would just as confusing for the user. If jffs2reset is
> unsupported on a device, make sure we also don't start
> blinking.
>
> It will be more clear that way: user keeps RESET pressed for 5+
> seconds, LED doesn't start blinking, device doesn't reboot. It
> somehow indicated factory reset wasn't started.
Should this actually be fixed by having the button handler just
call "firstboot" (and fixing it there if necessary) rather than
explicitly within the button handler?
Sincerely,
Karl P
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP Digital Signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20161020/a1d2c21a/attachment.sig>
More information about the Lede-dev
mailing list