Panic write on imx6 NAND driver

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Panic write on imx6 NAND driver

699件の閲覧回数
wolnet
Contributor III

Hi All,

I use the imx6dl controller with BSP Kernel 3.10.53 and looking for a _panic_write methode,because I have to write as fast as possible when the power get lost.

Are there any patches available that implement this feature ?

Kind regards

Wolfgang

ラベル(3)
タグ(1)
0 件の賞賛
2 返答(返信)

543件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Wolfgang

I am not aware of patches, seems one can write custom driver

catching power loss, use for example signal on Sabre board spf-27392 p.18

MAX8903C  DOC output (DC UndervoltageThreshold) connected to i.MX6 EIM_CS1 or pmic :

Power fail interrupts 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

543件の閲覧回数
wolnet
Contributor III

Hi Igor,

thank you for the link,

but the information in there is only a description how to get the information that a powerfail occured.

This is what my target already does.

In this case I disable the display backlight and other things.

One of this things is to save some data to the nand flash with the function mtd_panic_write()

I implemented this function in Kernel 3.0.43 on my own, but this changes doesn't work on Kernel 3.10.53.

Is it possible that the Kernel configuration changes this behavior ?

So what I am looking for is a implementation of _panic_write() function in gpmi_nand.c for the imx6dl controller.

Or is there any reason why this is implemented for imx23 and imx28, ... but not for imx6 ?

0 件の賞賛