diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2022-11-24 16:36:41 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2022-11-24 20:36:59 +0530 |
commit | d1f1f837c2f1e4cc886117700dd45ed37a4b5b0f (patch) | |
tree | 72730bae55a7d47871669f7054a2029ce2a87e9c | |
parent | 53c128710369668f406f57682d36fa70e8dcdbc5 (diff) |
dragonboards: Set verifiedbootstate property
ABL has VERIFIED_BOOT* variables disabled during build,
so it never get around to set "ro.boot.verifiedbootstate"
property on dragonboards.
But recent system/core changes depend on
ro.boot.verifiedbootstate property checks and that broke
adb remount on dragonboards:
$ adb remount
Device must be bootloader unlocked
So we are setting that property explicitly now.
Change-Id: I58b06af41bf6957b31891f62559226c028865585
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | db845c/BoardConfig.mk | 2 | ||||
-rw-r--r-- | rb5/BoardConfig.mk | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/db845c/BoardConfig.mk b/db845c/BoardConfig.mk index 887bb30..644f9a8 100644 --- a/db845c/BoardConfig.mk +++ b/db845c/BoardConfig.mk @@ -22,9 +22,11 @@ BOARD_INCLUDE_DTB_IN_BOOTIMG := true ifeq ($(TARGET_USES_BOOT_HDR_V3), true) BOARD_BOOT_HEADER_VERSION := 3 BOARD_KERNEL_CMDLINE += androidboot.hardware=db845c androidboot.boot_devices=soc@0/1d84000.ufshc + BOARD_KERNEL_CMDLINE += androidboot.verifiedbootstate=orange else BOARD_BOOT_HEADER_VERSION := 4 BOARD_BOOTCONFIG += androidboot.hardware=db845c androidboot.boot_devices=soc@0/1d84000.ufshc + BOARD_BOOTCONFIG += androidboot.verifiedbootstate=orange endif BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOT_HEADER_VERSION) BOARD_KERNEL_BASE := 0x80000000 diff --git a/rb5/BoardConfig.mk b/rb5/BoardConfig.mk index e9503ac..92f536b 100644 --- a/rb5/BoardConfig.mk +++ b/rb5/BoardConfig.mk @@ -32,6 +32,7 @@ BOARD_KERNEL_CMDLINE += deferred_probe_timeout=30 BOARD_KERNEL_CMDLINE += qcom_geni_serial.con_enabled=1 BOARD_KERNEL_CMDLINE += console=ttyMSM0 BOARD_BOOTCONFIG += androidboot.hardware=rb5 androidboot.boot_devices=soc@0/1d84000.ufshc +BOARD_BOOTCONFIG += androidboot.verifiedbootstate=orange # Image Configuration BOARD_BOOTIMAGE_PARTITION_SIZE := 103079215104 #96M |