User:Faveoled2/ramoops for Samsung downstream
Appearance
How to check whether you need the info on this page: go to fs/pstore/ram.c kernel source file and check for "memory-region" occurrences. If present, go ahead.
This is what a working ramoops setup looked like for such a kernel (Galaxy A30 downstream):
reserved-memory {
#address-cells = <2>;
#size-cells = <1>;
ranges;
ramoops_mem: ramoops@91400000 {
compatible = "shared-dma-pool";
reg = <0x00000000 0x91400000 0x100000>;
no-map;
};
};
ramoops {
compatible = "ramoops";
memory-region = <&ramoops_mem>;
record-size = <0x0 0x1000>;
console-size = <0x0 0x1000>;
pmsg-size = <0x0 0x1000>;
};
Note that address-cells and size-cells define layout of 0x values and these values may be different for your device.