summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2023-10-15 21:05:34 +0530
committerAmit Pundir <amit.pundir@linaro.org>2023-10-15 16:30:17 +0000
commit0088f6de32134bda5989635032397c2d2cecff5b (patch)
treef7dd3f3d895a954d1ded429fbcfd1e14d1952786
parentd309e4be2d36d15fe7871f1abde9c1002356509b (diff)
downloadhikey-0088f6de32134bda5989635032397c2d2cecff5b.tar.gz
hikey/hikey960: Add ro.hardware.egl=mali
A recent AOSP/main change has put a hard dependency on ro.hardware.egl or equivalent property being set, otherwise it fails to boot successfully: F DEBUG : Cmdline: /system/bin/surfaceflinger F DEBUG : pid: 672, tid: 677, name: surfaceflinger >>> /system/bin/surfaceflinger <<< F DEBUG : uid: 1000 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE) F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- F DEBUG : Abort message: 'couldn't find an OpenGL ES implementation, make sure one of persist.graphics.egl, ro.hardware.egl and ro.board.platform is set' Change-Id: Ifa82dd3ea480f88b3c2646c6ca40a99d9ef52849 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--hikey.mk4
-rw-r--r--hikey960.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/hikey.mk b/hikey.mk
index a5ff4aab..31631afb 100644
--- a/hikey.mk
+++ b/hikey.mk
@@ -3,7 +3,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, device/linaro/hikey/hikey-common.mk)
$(call inherit-product-if-exists, vendor/linaro/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/hikey.mk)
-PRODUCT_PROPERTY_OVERRIDES += ro.opengles.version=131072
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.opengles.version=131072 \
+ ro.hardware.egl=mali
PRODUCT_NAME := hikey
PRODUCT_DEVICE := hikey
diff --git a/hikey960.mk b/hikey960.mk
index 342fa047..dd7082b9 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -52,7 +52,9 @@ $(call inherit-product, device/linaro/hikey/hikey960/device-hikey960.mk)
$(call inherit-product, device/linaro/hikey/device-common.mk)
$(call inherit-product-if-exists, vendor/linaro/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/hikey960.mk)
-PRODUCT_PROPERTY_OVERRIDES += ro.opengles.version=196608
+PRODUCT_PROPERTY_OVERRIDES += \
+ ro.opengles.version=196608 \
+ ro.hardware.egl=mali
#
# Overrides