1
0
Fork 0
forked from mirror/openwrt
openwrt/package/kernel
Hannu Nyman 97158fe10e kernel: package ramoops pstore-ram crash log storage
Package the ability to log kernel crashes to 'ramoops' pstore
files into RAM in /sys/fs/pstore

Reference to the ramoops admin guide in upstream Linux:
https://www.kernel.org/doc/html/v5.10/admin-guide/ramoops.html

The files in RAM survive a warm reboot, but not a cold reboot.

Note: kmod-ramoops selects kmod-pstore and kmod-reed-solomon.

The feature can be used by selecting the kmod-ramoops and
adding a ramoops reserved-memory definition to the device DTS.
Example from R7800:

       reserved-memory {
                rsvd@5fe00000 {
                        reg = <0x5fe00000 0x200000>;
                        reusable;
                };

                ramoops@42100000 {
                        compatible = "ramoops";
                        reg = <0x42100000 0x40000>;
                        record-size = <0x4000>;
                        console-size = <0x4000>;
                        ftrace-size = <0x4000>;
                        pmsg-size = <0x4000>;
                };
        };

If no definition has been made in DTS, no crash log is stored
for the device.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(added CONFIG_EFI_VARS_PSTORE disable)
2022-02-24 20:45:12 +01:00
..
acx-mac80211
ath10k-ct
bcm27xx-gpu-fw
bcm63xx-cfe
bpf-headers kernel: bpf-headers: fix build error when testing kernel is used 2022-02-06 12:43:57 +01:00
broadcom-wl
button-hotplug
cryptodev-linux
dtc/patches
gpio-button-hotplug
gpio-nct5104d
hwmon-gsc
ksmbd ksmbd: add out-of-tree module 2022-02-19 18:29:42 +01:00
lantiq ltq-vdsl-mei: Remove static linking 2022-01-21 23:09:24 +01:00
linux kernel: package ramoops pstore-ram crash log storage 2022-02-24 20:45:12 +01:00
mac80211 mac80211: add debug compile option for rtw88 devices 2022-02-20 14:26:40 +01:00
mt76 mt76: update to the latest version 2022-02-15 15:18:22 +01:00
mt7621-qtn-rgmii
mwlwifi
nat46
rtc-rv5c386a
rtl8812au-ct rtl8812au-ct: update driver to be ready for 5.15 2021-12-11 00:50:02 +01:00
trelay