immortalwrt/package
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
..
base-files base-file: remove password aging feature form /etc/shadow 2022-02-24 18:10:30 +01:00
boot x86: grub2: search for the "kernel" filesystem on all disks 2022-02-24 20:45:12 +01:00
devel strace: Update to version 5.16 2022-02-01 21:25:02 +01:00
firmware wireless-regdb: update to version 2022.02.18 2022-02-20 13:47:57 +09:00
kernel kernel: package ramoops pstore-ram crash log storage 2022-02-24 20:45:12 +01:00
libs wolfssl: fix API breakage of SSL_get_verify_result 2022-02-22 20:27:15 +01:00
network hostapd: SAE - Enable hunting-and-pecking and H2E 2022-02-24 18:04:05 +01:00
system procd: update to git HEAD 2022-02-19 00:11:55 +00:00
utils ucode: update to latest Git HEAD 2022-02-12 20:51:22 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00