configs: Enable pstore and ramoops as built-ins
authorPhil Elwell <phil@raspberrypi.com>
Tue, 21 Jun 2022 07:51:43 +0000 (08:51 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Tue, 21 Jun 2022 07:51:43 +0000 (08:51 +0100)
The pstore and ramoops modules together allow kernel crash logs to be
preserved across a reboot. They have beeb configued as built-ins
(rather than as modules) because the crash dump facility becomes
available much earlier in the boot sequence, and a lot of new-kernel
crashes happen early.

Note that if systemd-pstore is enabled then the dmesg captures will
be moved to /var/lib/systemd/pstore/ after the reboot.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/configs/bcm2709_defconfig
arch/arm/configs/bcm2711_defconfig
arch/arm/configs/bcmrpi_defconfig
arch/arm64/configs/bcm2711_defconfig
arch/arm64/configs/bcmrpi3_defconfig

index 40a9471..8ef7ad0 100644 (file)
@@ -1451,6 +1451,9 @@ CONFIG_SQUASHFS=m
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_CONSOLE=y
+CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
index fdad8d7..383c92b 100644 (file)
@@ -1474,6 +1474,9 @@ CONFIG_SQUASHFS=m
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_CONSOLE=y
+CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
index 4277307..280b278 100644 (file)
@@ -1443,6 +1443,9 @@ CONFIG_SQUASHFS=m
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_CONSOLE=y
+CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
index 4d463f9..64c57ee 100644 (file)
@@ -453,6 +453,7 @@ CONFIG_UEVENT_HELPER=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
+# CONFIG_EFI_VARS_PSTORE is not set
 CONFIG_MTD=m
 CONFIG_MTD_BLOCK=m
 CONFIG_MTD_BLOCK2MTD=m
@@ -1487,6 +1488,9 @@ CONFIG_SQUASHFS=m
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_CONSOLE=y
+CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y
index 7fffb6e..4cf932c 100644 (file)
@@ -443,6 +443,7 @@ CONFIG_UEVENT_HELPER=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
+# CONFIG_EFI_VARS_PSTORE is not set
 CONFIG_MTD=m
 CONFIG_MTD_BLOCK=m
 CONFIG_MTD_UBI=m
@@ -1390,6 +1391,9 @@ CONFIG_SQUASHFS=m
 CONFIG_SQUASHFS_XATTR=y
 CONFIG_SQUASHFS_LZO=y
 CONFIG_SQUASHFS_XZ=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_CONSOLE=y
+CONFIG_PSTORE_RAM=y
 CONFIG_NFS_FS=y
 CONFIG_NFS_V3_ACL=y
 CONFIG_NFS_V4=y