|
need Kernal panic solutions
Hi all ...
I want to have stack traces when my kernel get panic and save that stack trace in flash for future refrence .
I m thinking of modifying kernel to achieve that:-
1) I can open a file in flash and write there <but m not sure whether filesystem will work at that time>
2) i can do raw read write in flash <using MTD driver>
I dnt know how to perform read or write using MTD drivers ,it ask for mtd_info which i dnt know how to fill .
Please provide comment about the same
thanks
|