Creating a panic_write() for the common flash interface driver

Rick Ramstetter rick.ramstetter at gmail.com
Thu Apr 7 21:29:30 EDT 2011


Hi all,

I'm still wondering about the following questions.

Thank you,
--Rick

On Wed, Apr 6, 2011 at 11:21 AM, Rick Ramstetter
<rick.ramstetter at gmail.com> wrote:
> 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