summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2022-06-22 22:26:03 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2022-06-22 22:51:02 +0800
commit51a2bd40e61f7f8e9258d34c4fb2140e6257cb63 (patch)
treef63e0460c3e39dd343b178d610ab3822d4f29227
parenta6b96db0e789de620d20b70f1a11dbe7150cd906 (diff)
downloadhikey-51a2bd40e61f7f8e9258d34c4fb2140e6257cb63.tar.gz
hikey960: Switch to bootcontrol 1.2
Refered to the change for cuttlefish[1]. Fixed the dist build error reported like the following: 23:45:48 ERROR: files are incompatible: android.hardware.boot@1.1::IBootControl/default is deprecated; requires at least 1.2 23:45:48 android.hardware.boot@1.1::IBootControl/default is deprecated; requires at least 1.2 23:45:48 android.hardware.boot@1.1::IBootControl/default is deprecated; requires at least 1.2: Success 23:45:48 INCOMPATIBLE Test: dist and droid build finished successfully, boot to homescreen console:/ # getprop init.svc.vendor.boot-hal-1-2 running console:/ # VtsHalBootV1_0TargetTest VtsHalBootV1_1TargetTest VtsHalBootV1_2TargetTest boot with the system image from build#8737717[2] [1]: https://android-review.googlesource.com/c/device/google/cuttlefish/+/1514958 [2]: https://ci.android.com/builds/submitted/8737717/aosp_arm64-userdebug/latest Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Iffdeb8510c52764423166b5dc7168c7438260257
-rw-r--r--hikey960/device-hikey960.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/hikey960/device-hikey960.mk b/hikey960/device-hikey960.mk
index 1f307a0b..b4d43b3f 100644
--- a/hikey960/device-hikey960.mk
+++ b/hikey960/device-hikey960.mk
@@ -26,9 +26,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
# BootControl HAL
PRODUCT_PACKAGES += \
- android.hardware.boot@1.1-impl \
- android.hardware.boot@1.1-impl.recovery \
- android.hardware.boot@1.1-service
+ android.hardware.boot@1.2-impl \
+ android.hardware.boot@1.2-impl.recovery \
+ android.hardware.boot@1.2-service
PRODUCT_COPY_FILES += $(TARGET_PREBUILT_KERNEL):kernel \
$(TARGET_PREBUILT_DTB):hi3660-hikey960.dtb