Hi,
We need to use RAMOOPS mechanism to debug the kernel panic issues.
In the hikey960 default kernel config file, below flags are already enabled.
CONFIG_PSTORE=y
CONFIG_PSTORE_RAM=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PANIC_TIMEOUT=1
CONFIG_PANIC_ON_OOPS=y
But on inducing kernel panic, the logs are not getting collected under /sys/fs/pstore.
→ echo c > /proc/sysrq-trigger
Can you please let us know, why the logs are not getting collected on reboot.
Is there any RAMOOPS_ARGS need to be passed, if so please give the command args.
Thanks