Pass -EUCLEN to userspace?

Boris Brezillon boris.brezillon at free-electrons.com
Fri Apr 22 11:39:12 PDT 2016


On Fri, 22 Apr 2016 20:20:20 +0200
Richard Weinberger <richard at 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
http://free-electrons.com



More information about the linux-mtd mailing list