Messages in this thread | | | Date | Sun, 05 Apr 2015 22:34:02 +0200 | From | Richard Weinberger <> | Subject | Re: [PATCH V2] UBI: power cut emulation for testing |
| |
Am 05.04.2015 um 22:25 schrieb Pavel Machek: > I guess so. So maybe warning in the documentation somewhere that real > hardware is nastier than designed-to-be-nasty emulation would be > nice..?
Yeah, that's a good idea. David, can you please create a patch against mtd-www.git? Please also cover the existing powercut emulation of UBIFS.
The reason why David added emulation for UBI was to stress-test UBI fastmap. The crucial operation of UBI changing the mapping between LEB and PEBs. This is why this emulation intercepts writes to the UBI VID header. For the sake of completeness interception of EC writes is also possible.
Thanks, //richard
| |