The hikey960 HDMI can not use, can not display android p desktop


#1

I download android p and kernel, build all and download the binary to hiky960, but HDMI can not use. Besides, adb can be used.
01-01 00:23:38.730 3184 3184 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:23:38.730 3184 3184 F DEBUG : Build fingerprint: ‘Android/hikey960/hikey960:9/PPR1.180610.009/hayden12241535:userdebug/test-keys’
01-01 00:23:38.730 3184 3184 F DEBUG : Revision: ‘0’
01-01 00:23:38.730 3184 3184 F DEBUG : ABI: ‘arm64’
01-01 00:23:38.730 3184 3184 F DEBUG : pid: 3127, tid: 3127, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-01 00:23:38.730 3184 3184 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-01 00:23:38.730 3184 3184 F DEBUG : Cause: null pointer dereference
01-01 00:23:38.730 3184 3184 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 0000007142448c10
01-01 00:23:38.730 3184 3184 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000001 x7 0000000000000030
01-01 00:23:38.730 3184 3184 F DEBUG : x8 0101010101010101 x9 05bf3ede46c6d1ea x10 000000005f647079 x11 0000000000000000
01-01 00:23:38.730 3184 3184 F DEBUG : x12 000000714240d838 x13 0000000000000018 x14 0000000000000005 x15 ffffffffffffffff
01-01 00:23:38.730 3184 3184 F DEBUG : x16 00000071c31fce58 x17 00000071c49df2d0 x18 0000007fc97258ca x19 0000007142448c10
01-01 00:23:38.730 3184 3184 F DEBUG : x20 0000000000000000 x21 0000000000000000 x22 00000071c50785e0 x23 0000000000000000
01-01 00:23:38.730 3184 3184 F DEBUG : x24 0000000000000001 x25 0000007fc9726b10 x26 00000000000f4240 x27 0000000000000000
01-01 00:23:38.730 3184 3184 F DEBUG : x28 0000007fc9726aa0 x29 0000007fc9726900
01-01 00:23:38.730 3184 3184 F DEBUG : sp 0000007fc97268e0 lr 00000071c31da048 pc 00000071c49df2e0
01-01 00:23:38.736 3184 3184 F DEBUG :
01-01 00:23:38.736 3184 3184 F DEBUG : backtrace:
01-01 00:23:38.736 3184 3184 F DEBUG : #00 pc 000000000001e2e0 /system/lib64/libc.so (strlen+16)
01-01 00:23:38.736 3184 3184 F DEBUG : #01 pc 000000000000d044 /system/lib64/libutils.so (android::String8::setTo(char const*)+28)
01-01 00:23:38.736 3184 3184 F DEBUG : #02 pc 000000000009c764 /system/lib64/libsurfaceflinger.so (android::GLExtensions::initWithEGLStrings(char const*, char const*)+44)
01-01 00:23:38.736 3184 3184 F DEBUG : #03 pc 000000000009f48c /system/lib64/libsurfaceflinger.so (android::RE::impl::RenderEngine::create(int, unsigned int)+132)
01-01 00:23:38.736 3184 3184 F DEBUG : #04 pc 00000000000a4658 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+816)
01-01 00:23:38.736 3184 3184 F DEBUG : #05 pc 0000000000002f48 /system/bin/surfaceflinger (main+320)
01-01 00:23:38.736 3184 3184 F DEBUG : #06 pc 00000000000ae6e8 /system/lib64/libc.so (__libc_init+88)


#2

Not sure if you have encountered UEFI fastboot broken issue: https://bugs.96boards.org/show_bug.cgi?id=803

Could you confirm you have used latest UEFI images [1] so can ensure the Android images can be flashed successfully?

[1] https://android.googlesource.com/device/linaro/hikey/+/master/installer/hikey960/