i.MX8MP Linux 5.4.70 develop the PSTORE/RAMOOPS

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

i.MX8MP Linux 5.4.70 develop the PSTORE/RAMOOPS

331件の閲覧回数
zhuliushun
Contributor I

My board is i.MX8MP,and the Linux system version is 5.4.70.Now I want to develop the pstore to store the panic log,but there is something wrong which i couldn't understand.

I refer the article:Kdump + Crash in I.MX - NXP Community

my config as follows:

CONFIG_PSTORE_PMSG=y

CONFIG_PSTORE=y

CONFIG_PSTORE_RAM=y

CONFIG_PANIC_ON_OOPS=y

CONFIG_PSTORE_CONSOLE=y

CONFIG_PANIC_TIMEOUT=1

 

and my dts is configed as below:

 ramoops@0x91f00000 {

                      compatible = "ramoops";

                      reg = <0 0x91f00000 0 0x00100000>;

                      record-size     = <0x00020000>;

                       console-size    = <0x00020000>;

                       ftrace-size     = <0x00020000>;

                       pmsg-size       = <0x00020000>;

               };

then i make linux panic with the instruct  “echo 1 > /proc/sys/kernel/panic”

after the instruct "echo 1 > /proc/sys/kernel/panic". the linux panic ant wait some time,the system reboot.

later i check,there is nothing in the path /sys/fs/pstore. failed to capture the kernal panic,

is there somthings wrong?

please,thank you

0 件の賞賛
返信
1 返信

324件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

You can refer this knowledge base: 

Test pstore/ramoops based on Android 13 - NXP Community


Best Regards,
Zhiming

0 件の賞賛
返信