[PATCH 0/5] Add flight recorder to MTDRAM

Dirk Behme dirk.behme at de.bosch.com
Wed Dec 6 00:50:34 PST 2017


From: Manfred Spraul <manfred at colorfullife.com>

Hi,

The series adds a flight recorder to MTDRAM.
This allows very efficient power fail testing:
>From the flight recorder output, it is possible to recreate every image
that might have existed between the start of the recording and the end.

Obviously, a user space tool is required, it is attached as the last
mail in the series.

Patches:

0001-mtdram-expose-write-size-and-writebuf-size-as-module:
	An initial cleanup: write_size and writebuf_size are
	hardcoded in the source code.
	Convert that to module parameters.

0002-mtdram-Add-flight-recorder.patch:
	Initial flight recorder

0003-mtdram-Allow-to-enable-disable-flight-recorder-mode-.patch:
	For the preparation step, or for evaluating dumps, the
	flight recorder doesn't make sense. Thus allow
	to disable it at runtime by writing to debugfs/mtdram

0004-mtdram-Convert-the-flight-recorder-to-a-ring-buffer.patch:
	The initial flight recorder is very simple, cleanup 1:
	Convert the kernel buffer to a proper ringbuffer.

0005-mtdram-flight-recorder-Add-checksums.patch:
	When using tool to simulate something, there is always the
	risk that the issue is in the tool and not in the production
	code. Thus add checksums, to detect tool issues.

--
	Manfred



More information about the linux-mtd mailing list