From a03f1d9d0eb838da13c9b808a1bb36f4354d38c5 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Sat, 14 Aug 2021 18:09:58 +0530 Subject: [PATCH] universal7885: Set androidboot.init_fatal_reboot_target=recovery * Don't crash to bootloader, users can access pstore in recovery in order to debug the issue. Change-Id: I33e91fa31477785ba9c14a56d1c7ee9110fcc0c9 Signed-off-by: roynatech2544 --- universal7885-common/BoardConfigCommon.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/universal7885-common/BoardConfigCommon.mk b/universal7885-common/BoardConfigCommon.mk index f5f80b9..75fdf90 100644 --- a/universal7885-common/BoardConfigCommon.mk +++ b/universal7885-common/BoardConfigCommon.mk @@ -58,6 +58,7 @@ TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885 BOARD_KERNEL_IMAGE_NAME := Image BOARD_KERNEL_BASE := 0x10000000 BOARD_KERNEL_PAGESIZE := 2048 +BOARD_KERNEL_CMDLINE := androidboot.init_fatal_reboot_target=recovery BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 TARGET_KERNEL_SOURCE := kernel/samsung/exynos7885 TARGET_KERNEL_CLANG_COMPILE := true