mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Stefano Manni <stefano.manni@gmail.com>
To: barebox@lists.infradead.org
Subject: bootchooser: avoid write environment
Date: Wed, 31 Jul 2024 16:35:57 +0200	[thread overview]
Message-ID: <7abdbc190f22b62372d0ae76a943d6e5a1467b05.camel@gmail.com> (raw)

Hi,

I'm using bootchooser to switch from a partition to another in case of
an update done in Linux userspace using the command bareboxenv.

But I see that at every boot the barebox decrements the number of
remaining attempts in the environment. 
I'd like to avoid continuing to write the env in order to preserve the
spinor flash memory.

Is there any already-ready mechanism to do it? 

Thanks all.
Best,
Stefano




             reply	other threads:[~2024-07-31 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 14:35 Stefano Manni [this message]
2024-07-31 17:51 ` Ahmad Fatoum
2024-08-05 13:36   ` Stefano Manni

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=7abdbc190f22b62372d0ae76a943d6e5a1467b05.camel@gmail.com \
    --to=stefano.manni@gmail.com \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox