Aosp编译后烧写启动失败,卡在SurfaceFlinger

下载和编译了aosp的master,按照方法刷进去,启动到SurfaceFlinger就启动不起来了。
刷你们发布的固件又可以起来的。
看打印,感觉像你们有些什么hal代码没有发布出来,人家hikey960都会在编译前下载一些hal的代码
log如下
--------- beginning of crash
01-01 00:00:21.592 436 436 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 436 (surfaceflinger), pid 436 (surfaceflinger)
01-01 00:00:21.834 485 485 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:00:21.834 485 485 F DEBUG : Build fingerprint: ‘Android/yukawa/sei610:Tiramisu/AOSP.MASTER/eng.yuguox.20210908.155414:userdebug/test-keys’
01-01 00:00:21.834 485 485 F DEBUG : Revision: ‘0’
01-01 00:00:21.834 485 485 F DEBUG : ABI: ‘arm64’
01-01 00:00:21.834 485 485 F DEBUG : Timestamp: 1970-01-01 00:00:21.643680925+0000
01-01 00:00:21.834 485 485 F DEBUG : Process uptime: 1s
01-01 00:00:21.834 485 485 F DEBUG : Cmdline: /system/bin/surfaceflinger
01-01 00:00:21.834 485 485 F DEBUG : pid: 436, tid: 436, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-01 00:00:21.834 485 485 F DEBUG : uid: 1000
01-01 00:00:21.834 485 485 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-01 00:00:21.834 485 485 F DEBUG : Abort message: ‘eglQueryStringImplementationANDROID(EGL_VERSION) failed’
01-01 00:00:21.834 485 485 F DEBUG : x0 0000000000000000 x1 00000000000001b4 x2 0000000000000006 x3 0000ffffdafc8bf0
01-01 00:00:21.834 485 485 F DEBUG : x4 51434d406d6e6873 x5 51434d406d6e6873 x6 51434d406d6e6873 x7 7f7f7f7f7f7f7f7f
01-01 00:00:21.834 485 485 F DEBUG : x8 00000000000000f0 x9 0000e3e491d1a6a0 x10 0000000000000001 x11 0000e3e491dc32c8
01-01 00:00:21.834 485 485 F DEBUG : x12 0000ffffdafc8bc0 x13 0000000000000038 x14 0000ffffdafc8d90 x15 0000000000000040
01-01 00:00:21.834 485 485 F DEBUG : x16 0000e3e491dc5d28 x17 0000e3e491da0780 x18 0000000000000000 x19 00000000000000ac
01-01 00:00:21.834 485 485 F DEBUG : x20 00000000000001b4 x21 00000000000000b2 x22 00000000000001b4 x23 00000000ffffffff
01-01 00:00:21.834 485 485 F DEBUG : x24 0000e3e498162000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
01-01 00:00:21.834 485 485 F DEBUG : x28 0000000000000000 x29 0000ffffdafc8c70
01-01 00:00:21.834 485 485 F DEBUG : lr 0000e3e491d4a794 sp 0000ffffdafc8bd0 pc 0000e3e491d4a7c4 pst 0000000000000000
01-01 00:00:21.835 485 485 F DEBUG : backtrace:
01-01 00:00:21.835 485 485 F DEBUG : #00 pc 00000000000517c4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)
01-01 00:00:21.835 485 485 F DEBUG : #01 pc 00000000000063ac /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:21.835 485 485 F DEBUG : #02 pc 0000000000006ec4 /system/lib64/liblog.so (__android_log_assert+308) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:21.835 485 485 F DEBUG : #03 pc 000000000018bfa4 /system/lib64/libsurfaceflinger.so (android::renderengine::gl::GLESRenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+4740) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:21.835 485 485 F DEBUG : #04 pc 000000000018ab88 /system/lib64/libsurfaceflinger.so (android::renderengine::RenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+168) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:21.835 485 485 F DEBUG : #05 pc 00000000000f0ca8 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+184) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:21.835 485 485 F DEBUG : #06 pc 00000000000021c0 /system/bin/surfaceflinger (main+352) (BuildId: 6ca197ff74680518ebc9e118f71ce748)
01-01 00:00:21.835 485 485 F DEBUG : #07 pc 000000000004a050 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)
01-01 00:00:25.894 570 570 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 570 (surfaceflinger), pid 570 (surfaceflinger)
01-01 00:00:26.048 589 589 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:00:26.048 589 589 F DEBUG : Build fingerprint: ‘Android/yukawa/sei610:Tiramisu/AOSP.MASTER/eng.yuguox.20210908.155414:userdebug/test-keys’
01-01 00:00:26.048 589 589 F DEBUG : Revision: ‘0’
01-01 00:00:26.048 589 589 F DEBUG : ABI: ‘arm64’
01-01 00:00:26.048 589 589 F DEBUG : Timestamp: 1970-01-01 00:00:25.919853594+0000
01-01 00:00:26.048 589 589 F DEBUG : Process uptime: 0s
01-01 00:00:26.048 589 589 F DEBUG : Cmdline: /system/bin/surfaceflinger
01-01 00:00:26.048 589 589 F DEBUG : pid: 570, tid: 570, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-01 00:00:26.048 589 589 F DEBUG : uid: 1000
01-01 00:00:26.048 589 589 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-01 00:00:26.048 589 589 F DEBUG : Abort message: ‘eglQueryStringImplementationANDROID(EGL_VERSION) failed’
01-01 00:00:26.048 589 589 F DEBUG : x0 0000000000000000 x1 000000000000023a x2 0000000000000006 x3 0000fffffaec3950
01-01 00:00:26.048 589 589 F DEBUG : x4 51434d406d6e6873 x5 51434d406d6e6873 x6 51434d406d6e6873 x7 7f7f7f7f7f7f7f7f
01-01 00:00:26.048 589 589 F DEBUG : x8 00000000000000f0 x9 0000e0d8bb49d6a0 x10 0000000000000001 x11 0000e0d8bb5462c8
01-01 00:00:26.048 589 589 F DEBUG : x12 0000fffffaec3920 x13 0000000000000038 x14 0000fffffaec3af0 x15 0000000000000040
01-01 00:00:26.048 589 589 F DEBUG : x16 0000e0d8bb548d28 x17 0000e0d8bb523780 x18 0000000000000000 x19 00000000000000ac
01-01 00:00:26.048 589 589 F DEBUG : x20 000000000000023a x21 00000000000000b2 x22 000000000000023a x23 00000000ffffffff
01-01 00:00:26.048 589 589 F DEBUG : x24 0000e0d8c7ae7000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
01-01 00:00:26.048 589 589 F DEBUG : x28 0000000000000000 x29 0000fffffaec39d0
01-01 00:00:26.048 589 589 F DEBUG : lr 0000e0d8bb4cd794 sp 0000fffffaec3930 pc 0000e0d8bb4cd7c4 pst 0000000000000000
01-01 00:00:26.048 589 589 F DEBUG : backtrace:
01-01 00:00:26.048 589 589 F DEBUG : #00 pc 00000000000517c4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)
01-01 00:00:26.048 589 589 F DEBUG : #01 pc 00000000000063ac /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:26.048 589 589 F DEBUG : #02 pc 0000000000006ec4 /system/lib64/liblog.so (__android_log_assert+308) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:26.048 589 589 F DEBUG : #03 pc 000000000018bfa4 /system/lib64/libsurfaceflinger.so (android::renderengine::gl::GLESRenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+4740) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:26.048 589 589 F DEBUG : #04 pc 000000000018ab88 /system/lib64/libsurfaceflinger.so (android::renderengine::RenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+168) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:26.048 589 589 F DEBUG : #05 pc 00000000000f0ca8 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+184) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:26.048 589 589 F DEBUG : #06 pc 00000000000021c0 /system/bin/surfaceflinger (main+352) (BuildId: 6ca197ff74680518ebc9e118f71ce748)
01-01 00:00:26.048 589 589 F DEBUG : #07 pc 000000000004a050 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)
01-01 00:00:30.950 650 650 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 650 (surfaceflinger), pid 650 (surfaceflinger)
01-01 00:00:31.083 672 672 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:00:31.083 672 672 F DEBUG : Build fingerprint: ‘Android/yukawa/sei610:Tiramisu/AOSP.MASTER/eng.yuguox.20210908.155414:userdebug/test-keys’
01-01 00:00:31.083 672 672 F DEBUG : Revision: ‘0’
01-01 00:00:31.083 672 672 F DEBUG : ABI: ‘arm64’
01-01 00:00:31.083 672 672 F DEBUG : Timestamp: 1970-01-01 00:00:30.984185305+0000
01-01 00:00:31.083 672 672 F DEBUG : Process uptime: 0s
01-01 00:00:31.083 672 672 F DEBUG : Cmdline: /system/bin/surfaceflinger
01-01 00:00:31.083 672 672 F DEBUG : pid: 650, tid: 650, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
01-01 00:00:31.083 672 672 F DEBUG : uid: 1000
01-01 00:00:31.083 672 672 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
01-01 00:00:31.083 672 672 F DEBUG : Abort message: ‘eglQueryStringImplementationANDROID(EGL_VERSION) failed’
01-01 00:00:31.084 672 672 F DEBUG : x0 0000000000000000 x1 000000000000028a x2 0000000000000006 x3 0000ffffd3606970
01-01 00:00:31.084 672 672 F DEBUG : x4 51434d406d6e6873 x5 51434d406d6e6873 x6 51434d406d6e6873 x7 7f7f7f7f7f7f7f7f
01-01 00:00:31.084 672 672 F DEBUG : x8 00000000000000f0 x9 0000ecf3a03596a0 x10 0000000000000001 x11 0000ecf3a04022c8
01-01 00:00:31.084 672 672 F DEBUG : x12 0000ffffd3606940 x13 0000000000000038 x14 0000ffffd3606b10 x15 0000000000000040
01-01 00:00:31.084 672 672 F DEBUG : x16 0000ecf3a0404d28 x17 0000ecf3a03df780 x18 0000000000000000 x19 00000000000000ac
01-01 00:00:31.084 672 672 F DEBUG : x20 000000000000028a x21 00000000000000b2 x22 000000000000028a x23 00000000ffffffff
01-01 00:00:31.084 672 672 F DEBUG : x24 0000ecf3ad2df000 x25 0000000000000000 x26 0000000000000000 x27 0000000000000000
01-01 00:00:31.084 672 672 F DEBUG : x28 0000000000000000 x29 0000ffffd36069f0
01-01 00:00:31.084 672 672 F DEBUG : lr 0000ecf3a0389794 sp 0000ffffd3606950 pc 0000ecf3a03897c4 pst 0000000000000000
01-01 00:00:31.084 672 672 F DEBUG : backtrace:
01-01 00:00:31.084 672 672 F DEBUG : #00 pc 00000000000517c4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)
01-01 00:00:31.084 672 672 F DEBUG : #01 pc 00000000000063ac /system/lib64/liblog.so (__android_log_default_aborter+12) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:31.084 672 672 F DEBUG : #02 pc 0000000000006ec4 /system/lib64/liblog.so (__android_log_assert+308) (BuildId: 4cabb9e6e44890b24f044e7fe7b89351)
01-01 00:00:31.084 672 672 F DEBUG : #03 pc 000000000018bfa4 /system/lib64/libsurfaceflinger.so (android::renderengine::gl::GLESRenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+4740) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:31.084 672 672 F DEBUG : #04 pc 000000000018ab88 /system/lib64/libsurfaceflinger.so (android::renderengine::RenderEngine::create(android::renderengine::RenderEngineCreationArgs const&)+168) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:31.084 672 672 F DEBUG : #05 pc 00000000000f0ca8 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+184) (BuildId: 9548a8a3d49901024426b01695ad1f0b)
01-01 00:00:31.084 672 672 F DEBUG : #06 pc 00000000000021c0 /system/bin/surfaceflinger (main+352) (BuildId: 6ca197ff74680518ebc9e118f71ce748)
01-01 00:00:31.084 672 672 F DEBUG : #07 pc 000000000004a050 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: 9eab4e2bac16c222e6e304250cb10bad)

每个平台都有差别。VIM3/3L AOSP所有代码都在Google那边托管的,能开源的都在那边,不存在有什么hal代码没开源的问题,不要感觉,要自己去了解下~

这个问题在其他帖子已经解决了,先关闭。