summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
diff options
context:
space:
mode:
authorRichard Purdie2007-05-29 14:31:42 +0200
committerDavid Woodhouse2007-06-28 21:18:02 +0200
commit4b23aff083649eafa141ed69ad0ff59ba639edf8 (patch)
tree92baaa2c23706f8a6b118ce17b99ee378863a9d0 /drivers/mtd/nand/nand_base.c
parent[MTD] [NAND] at91_nand rdy_pin fix (diff)
downloadkernel-qcow2-linux-4b23aff083649eafa141ed69ad0ff59ba639edf8.tar.gz
kernel-qcow2-linux-4b23aff083649eafa141ed69ad0ff59ba639edf8.tar.xz
kernel-qcow2-linux-4b23aff083649eafa141ed69ad0ff59ba639edf8.zip
[MTD] oops and panic message logging to MTD device
Kernel oops and panic messages are invaluable when debugging crashes. These messages often don't make it to flash based logging methods (say a syslog on jffs2) due to the overheads involved in writing to flash. This patch allows you to turn an MTD partition into a circular log buffer where kernel oops and panic messages are written to. The messages are obtained by registering a console driver and checking oops_in_progress. Erases are performed in advance to maximise the chances of a saving messages. To activate it, add console=ttyMTDx to the kernel commandline (where x is the mtd device number to use). Signed-off-by: Richard Purdie <rpurdie@openedhand.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions