Hi,
We have enabled the "pstore" mechanism in linux kernel side.
However, there are some memory stability and configuration issues that need to be addressed, which can affect this functionality, and serious issues such as out-of-bounds memory.
Questions:
1. The current system restart process, whether can support kernel open pstore mechanism: in the case of kernel crash, the second boot, the previously saved "console-ramoops-0, demsg-ramoops-0"information can stay in the memory will not be lost. In other words, if we want to support the "pstore" mechanism in current platform, please provide guidance and instructions for RAM related configurations.
2. we now reserve a 1M size memory for restoring panic information and the dts config as follow: Please help us to check this memory address is available or not ? or tell us how to find a available reserved memory for pstore.
&reserved_memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
ramoops@9c000000 {
compatible = "ramoops";
reg = <0 0x9c000000 0 0x100000>;
record-size = <0x40000>;
console-size = <0x40000>;
ftrace-size = <0x40000>;
pmsg-size = <0x20000>;
};
};