Re: Pass -EUCLEN to userspace?

Richard Weinberger
2016-04-22T18:20:46Z

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.

Thanks,
//richard