Re: Pass -EUCLEN to userspace?

Boris Brezillon
2016-04-22T18:39:47Z

On Fri, 22 Apr 2016 20:20:20 +0200
Richard Weinberger <richard@nod.at> wrote:

> Am 22.04.2016 um 18:11 schrieb Boris Brezillon:
> >> Sasha, what exactly is your use case and why is the UBI approach not sufficient for you?
> >> On Linux MTD access should only happen through UBI and UBOOT/SPL partitions stay untouched.
> >
> > Fair enough. So all we'll need is a way to retrieve the maximum number
> > of bitflips for a given block, so that the userspace deamon can
> > periodically read the SPL and bootloader blocks and decide to scrub
> > those blocks if the number of bitflips exceed the threshold.
>
> How can we scrub non-UBI blocks in a power cut safe way?
> Unless we have a backup SPL/booloader.

Of course this assumes you have backup partitions.

--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering