From de43918bb5e223332ca45df64c90bc16516a7c4a Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 13 Jun 2022 22:08:35 +0800 Subject: [PATCH] config about blackbox in linux_5.10 Signed-off-by: liuwei --- .../arch/arm/configs/hi3516dv300_small_defconfig | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/linux-5.10/arch/arm/configs/hi3516dv300_small_defconfig b/linux-5.10/arch/arm/configs/hi3516dv300_small_defconfig index 9d17b4b..e550f16 100755 --- a/linux-5.10/arch/arm/configs/hi3516dv300_small_defconfig +++ b/linux-5.10/arch/arm/configs/hi3516dv300_small_defconfig @@ -3046,7 +3046,11 @@ CONFIG_CRAMFS_BLOCKDEV=y # CONFIG_QNX4FS_FS is not set # CONFIG_QNX6FS_FS is not set # CONFIG_ROMFS_FS is not set -# CONFIG_PSTORE is not set +CONFIG_PSTORE=y +CONFIG_PSTORE_CONSOLE=y +CONFIG_PSTORE_BLACKBOX=y +CONFIG_PSTORE_RAM=y +CONFIG_BLACKBOX_STORAGE_BY_PSTORE_RAM=y # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set # CONFIG_EROFS_FS is not set @@ -3456,7 +3460,7 @@ CONFIG_SECTION_MISMATCH_WARN_ONLY=y # # Generic Kernel Debugging Instruments # -# CONFIG_MAGIC_SYSRQ is not set +CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_FS=y CONFIG_DEBUG_FS_ALLOW_ALL=y # CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set @@ -3647,3 +3651,11 @@ CONFIG_RUNTIME_TESTING_MENU=y # CONFIG_MEMTEST is not set # end of Kernel Testing and Coverage # end of Kernel hacking +# +# BlackBox CONFIG +# +CONFIG_BLACKBOX=y +CONFIG_BLACKBOX_LOG_ROOT_PATH="/storage/data/log/bbox" +CONFIG_BLACKBOX_LOG_PART_REPRESENTATIVE="/lost+found" +CONFIG_BLACKBOX_HI3516DV300=y + -- Gitee