summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2023-10-17 12:27:36 +0530
committerAmit Pundir <amit.pundir@linaro.org>2023-10-17 12:35:56 +0530
commitfa66979a87e53d92dc717fd524f7958af20eb9f3 (patch)
tree6176b1d308e1f4f2fd03d45773450cc9ba3e3c17
parentd309e4be2d36d15fe7871f1abde9c1002356509b (diff)
downloadhikey-fa66979a87e53d92dc717fd524f7958af20eb9f3.tar.gz
hikey/hikey960: Set verifiedbootstate property
adb remount depends on ro.boot.verifiedbootstate property, otherwise we run into following error: $ adb remount Device must be bootloader unlocked Change-Id: I6b5bef7fb908c74cf5f5559e8d705cfcf164de7e Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--hikey/BoardConfig.mk1
-rw-r--r--hikey960/BoardConfig.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/hikey/BoardConfig.mk b/hikey/BoardConfig.mk
index 7c31ac76..5f03ddb2 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -9,6 +9,7 @@ TARGET_2ND_CPU_VARIANT := cortex-a53
BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey firmware_class.path=/vendor/firmware efi=noruntime init=/init
BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/f723d000.dwmmc0
BOARD_KERNEL_CMDLINE += console=ttyAMA3,115200 androidboot.console=ttyAMA3
+BOARD_KERNEL_CMDLINE += androidboot.verifiedbootstate=orange
ifneq ($(TARGET_SENSOR_MEZZANINE),)
BOARD_KERNEL_CMDLINE += overlay_mgr.overlay_dt_entry=hardware_cfg_$(TARGET_SENSOR_MEZZANINE)
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index 71a6273f..32f2992a 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -11,6 +11,7 @@ TARGET_NO_DTIMAGE := false
BOARD_KERNEL_CMDLINE := androidboot.hardware=hikey960 firmware_class.path=/vendor/firmware efi=noruntime init=/init
BOARD_KERNEL_CMDLINE += androidboot.boot_devices=soc/ff3b0000.ufs
BOARD_KERNEL_CMDLINE += loglevel=15 androidboot.slot_suffix=_a
+BOARD_KERNEL_CMDLINE += androidboot.verifiedbootstate=orange
ifeq ($(HIKEY960_ENABLE_AVF), true)
# The GKI kernel set protected mode by default via gki_defconfig,