Creating a panic_write() for the common flash interface driver
Rick Ramstetter
rick.ramstetter at gmail.com
Wed Apr 6 14:21:14 EDT 2011
Hi all,
I would like to use the mtdoops module to record kernel panics.
Unfortunately, the common flash interface driver doesn't define a
panic_write() function in struct mtd_info. Thus, the mtdoops driver is
unable to write to flash from kernel panic context.
Has anyone attempted to (or successfully) implemented such a
panic_write() function for AMD compatible (cfi_cmdset_0002.c) CFI
chips before? Care to share any relevant pointers or potential
pitfalls?
If there is a more appropriate mailing list to ask this question on,
please share relevant information about.
Thank you,
--Rick.
More information about the linux-mtd
mailing list