diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2023-10-19 22:07:32 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2023-10-19 14:21:09 +0000 |
commit | af56108c7e23cadc0943c87f34a3e5bad8b5235c (patch) | |
tree | 557a3237753b9eef9ff9aae949c32a3d27d9b9df | |
parent | c25c12f0ffb5b34c439c46fe4a1873104d37c855 (diff) | |
download | beagle-x15-af56108c7e23cadc0943c87f34a3e5bad8b5235c.tar.gz |
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: 964, tid: 967, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
F DEBUG : uid: 1000
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'
F DEBUG : r0 00000000 r1 000003c7 r2 00000006 r3 b217baf0
F DEBUG : r4 b217baf0 r5 b217bb00 r6 000003c4 r7 0000016b
F DEBUG : r8 00000000 r9 ffffffff r10 b217bae8 r11 b38ff918
F DEBUG : ip 000003c7 sp b217bad0 lr b2c3e3ff pc b2c3e412
which should be introduced by the following commit:
https://android.googlesource.com/platform/frameworks/native/+/9679a98e2845d9317672cec811a0c698e74fdf73%5E%21/
Refered to Amit's change here:
https://android-review.googlesource.com/c/device/linaro/hikey/+/2786187
Test: build and boot to homescreen
Change-Id: I9a1bec0950bc0d32a106feaca8bc0a12645111af
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | device.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ PRODUCT_COPY_FILES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.opengles.version=131072 \ + ro.hardware.egl=POWERVR_SGX544_116 \ ro.sf.lcd_density=160 \ # All VNDK libraries (HAL interfaces, VNDK, VNDK-SP, LL-NDK) |