Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f57252dd authored by david.oberhollenzer@sigma-star.at's avatar david.oberhollenzer@sigma-star.at Committed by Ian Maund
Browse files

UBI: power cut emulation for testing



Emulate random power cuts by switching device to ro after a number of
writes to allow simple power cut testing with nand-sim.

Maximum and minimum number of successful writes before power cut and
what kind of writes (EC header, VID header or none) to interrupt
configurable via debugfs.

Signed-off-by: default avatarDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Git-commit: 502690674281a047abd45f81e64c498bc23a8bb3
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent 7176f1d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment