LX2160 platform pstore issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LX2160 platform pstore issue

1,223 Views
jackho
Contributor IV

Hi,

I try to add pstore feature to debug kernel

Enable below kernel config:

CONFIG_PSTORE=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_PMSG=y
CONFIG_PSTORE_RAM=y

Add below in fsl-lx2160a.dtsi

reserved-memory {
##address-cells = <2>
#size-cells = <2>;
ranges;

ramoops@84000000 {
compatible = "ramoops";
reg = <0x00000000 0x84000000 0x0 0x00200000>; // 2MB
record-size = <0x00040000>; // 256KB
console-size = <0x00080000>; // 512KB
pmsg-size = <0x00040000>; // 256KB
ftrace-size = <0x00040000>; // 256KB
no-map;
};
};

 

But after I use below command

echo c > /proc/sysrq-trigger

system reboot but /sys/fs/pstore/ still empty

Do you have any idea about this issue?

 

BR,

Jack Ho

Labels (1)
0 Kudos
Reply
3 Replies

1,209 Views
yipingwang
NXP TechSupport
NXP TechSupport

Layerscape cannot enable ramoops due to hw limitation, please try to use kdump/kexec instead.

Please refer to section "7.3 kdump/kexec User Manual" in LSDK 21.08 user manual.

0 Kudos
Reply

1,200 Views
jackho
Contributor IV

Hi @yipingwang 

Since BSP we are using LLDP 5.15.71 version, does the SOP is same as LSDK21.08?

BR,

Jack Ho

0 Kudos
Reply

1,160 Views
yipingwang
NXP TechSupport
NXP TechSupport

Yes, you could follow the same steps in LSDK 21.08 user manual.

0 Kudos
Reply