bootchooser: avoid write environment

Stefano Manni stefano.manni at gmail.com
Wed Jul 31 07:35:57 PDT 2024


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




More information about the barebox mailing list