We have a device with an iMX6 processor running Android 7.1.2 (Nougat) and Linux kernel 4.9.17. We would like to use the ramoops/pstore feature to obtain useful logs related to kernel panics, but it is not working.
We have the following kernel config flags enabled:
We can then induce a kernel panic with the following instructions entered from an adb shell:
echo 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger
But after the device reboots, the folder /sys/fs/pstore is empty
Is there something else we need to do to enable the feature, or some other reason why it doesn't work?