Other Parts Discussed in Thread: TVP5158, TPD12S015
工具/软件:Linux
您好,
我使用 Android O 在 J6板上工作、 操作系统来自 omappedia.org、我按照用户指南操作、器件可以运行到 Android 初始化文件系统、但由于 SGX 问题、Surfaceflinger 无法成功启动、我们应该从二进制文件加载"gralloc.jacinto6.SO"、 但它不成功、因此会 导致 zygote 重复重新开始。 如果我们删除 了"gralloc.jacinto6.SO",则只使用了默认库"gralloc.default.so",zygote 可以正常工作,但 surfacflinger 无法成功启动,因此您可以帮助检查 SGX 问题。 我还附加了日志。
LOAT 日志:
01-01 00:08:09.128 8172 8172 I wiicond:wiicond 正在启动...
------ 碰撞开始
01-01 00:08:12.672 8229 8229 F debug : R8 be9c99e8 R9 a9e98840 SL 00000000 FP 23ab980d
01-01 00:08:12.672 8229 8229 F debug : ip 00000000 sp be9c93a0 lr aa1663c7 pc aa196a9c CPSR 200f0010
01-01 00:08:12.717 8229 8229 F 调试 :
01-01 00:08:12.717 8229 8229 F 调试 :回溯:
01-01 00:08:12.717 8229 8229 F debug : #00 PC 0004aa9c /system/lib/libc.so (tgkill+12)
01-01 00:08:12.717 8229 8229 F debug : #01 PC 0001a3c3 /system/lib/libc.so (ABORT+54)
01-01 00:08:12.717 8229 8229 F debug : #02 PC 0000663f /system/lib/liblog.so (_android_log_assert+154)
01-01 00:08:12.717 8229 8229 F debug : #03 PC 00004267 /vendor/lib/hw/android.hardware.graphics.allocator@2.0-impl.so (_ZN7android8 hardware8graphics9allocator4V2_014implementation17Gralloc0AllocatorC1EPK11hw_module_t+70)
01-01 00:08:12.717 8229 8229 F debug : #04 PC 0000413d /vendor/lib/hw/android.hardware.graphics.allocator@2.0-impl.so (HIDL_Fetch _IAllocator+100)
01-01 00:08:12.717 8229 8229 F debug : #05 PC 0001d4bd /system/lib/libhidltransport.so (_ZN7android8hardware25PassthroughServiceManager3getERKNS0_11hidl_stringES4_+1372)
01-01 00:08:12.717 8229 8229 F debug : #06 PC 0000ea87 /system/lib/android.hardware.graphics.allocator@2.0.SO (_ZN7android8硬件8图形9分配器4V2_010IAllocator10getServiceERKNST3__112basical_allocI5_11char_stringitsIcEENS5_9EEIc926+EEIc)
01-01 00:08:12.718 8229 8229 F 调试 : #07 PC 00000CAB /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:12.718 8229 8229 F debug : #08 PC 00000c55 /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:12.718 8229 8229 F debug : #09 PC 00000bfb /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:12.718 8229 8229 F debug : #10 PC 00017d45 /system/lib/libc.so (_libc_init+48)
01-01 00:08:12.718 8229 8229 F 调试 : #11 PC 00000ac0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务 (_START+100)
01-01 00:08:14.134 8256 8256 I wiicond:wiicond 正在启动...
01-01 00:08:17.518 8299 8299 F libc :致命信号6 (SIGABRT),tid 8299中的代码-6 (Android.hardwar)
01-0100:08:17.69583098309 F 调试 :****** ********************* ********************* ***
01-01 00:08:17.695 8309 8309 F debug :build fingerprint:'TI/full_jacinto6evm/jacinto6evm:8.0.0/OPR6.170623.023/fyh02081349:userdebug/test-keys'
01-01 00:08:17.695 8309 8309 F 调试 :修订版:'0'
01-01 00:08:17.695 8309 8309 F 调试 :ABI:'arm'
01-01 00:08:17.695 8309 8309 F debug :pid:8299、tid:8299、name:android.hardwar >> /vendor/bin/hw/android.hardware.graphics.allocator@2.0-service <<<
01-01 00:08:17.695 8309 8309 F 调试 :信号6 (SIGABRT),代码-6 (SI_TKILL),故障地址---
01-01 00:08:17.698 8309 8309 F debug :Abort message:'Failed to open gralloc0 device:not a typer'(中止消息:打开 gralloc0设备失败:不是打字机)
01-01 00:08:17.698 8309 8309 F debug : r0 00000000 R1 0000206b R2 00000006 R3 00000008
01-01 00:08:17.698 8309 8309 F 调试 : R4 0000206b R5 0000206b R6 bea853b0 r7 0000010c
01-01 00:08:17.698 8309 8309 F 调试 : R8 bea859e8 R9 aa518840 SL 00000000 FP 0ffaf2bd
01-01 00:08:17.698 8309 8309 F debug : ip 00000000 sp bea853a0 LR aab363c7 PC aab66a9c CPSR 200f0010
01-01 00:08:17.726 8309 8309 F 调试 :
01-01 00:08:17.726 8309 8309 F 调试 :回溯:
01-01 00:08:17.726 8309 8309 F 调试 : #00 PC 0004aa9c /system/lib/libc.so (tgkill+12)
01-01 00:08:17.726 8309 8309 F 调试 : #01 PC 0001a3c3 /system/lib/libc.so (ABORT+54)
01-01 00:08:17.726 8309 8309 F 调试 : #02 PC 0000663f /system/lib/liblog.so (_android_log_assert+154)
01-01 00:08:17.727 8309 8309 F debug : #03 PC 00004267 /vendor/lib/hw/android.hardware.graphics.allocator@2.0-impl.so (_ZN7android8 hardware8graphics9allocator4V2_014implementation17Gralloc0AllocatorC1EPK11hw_module_t+70)
01-01 00:08:17.727 8309 8309 F debug : #04 PC 0000413d /vendor/lib/hw/android.hardware.graphics.allocator@2.0-impl.so (HIDL_Fetch _IAllocator+100)
01-01 00:08:17.727 8309 8309 F debug : #05 PC 0001d4bd /system/lib/libhidltransport.so (_ZN7android8hardware25PassthroughServiceManager3getERKNS0_11hidl_stringES4_+1372)
01-01 00:08:17.727 8309 8309 F debug : #06 PC 0000ea87 /system/lib/android.hardware.graphics.allocator@2.0.SO (_ZN7android8硬件8图形9分配器4V2_010IAllocator10getServiceERKNST3__112basical_allocI5_11char_stringitsIcEENS5_9EEIc926+EEIc)
01-01 00:08:17.727 8309 8309 F 调试 : #07 PC 00000CAB /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:17.727 8309 8309 F debug : #08 PC 00000c55 /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:17.727 8309 8309 F debug : #09 PC 00000bfb /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务
01-01 00:08:17.727 8309 8309 F debug : #10 PC 00017d45 /system/lib/libc.so (_libc_init+48)
01-01 00:08:17.727 8309 8309 F debug : #11 PC 00000ac0 /vendor/bin/hw/android.hardware.graphics.allocator@2.0服务 (_START+100)
电路板中的库:
jacinto6evm:/# ls -lha /vendor/lib/hw/gralloc.
-rw-r--r-- 1 root root 21K 2018-02-0809:21 /vendor/lib/hw/gralloc.default.so
-rw-r--r-- 1 root root 43K 2018-02-0809:21 /vendor/lib/hw/gralloc.jacinto6.so
jacinto6evm:/#
板中的螺纹:
jacinto6evm:/# ps -ef
UID PID PPID C STIME TTY Time CMD
Logd 146 1 00:00:05? 00:00:09 logd
系统 147 1 0 00:00:05? 00:00:00服务管理器
系统 148 1 0 00:00:05? 00:00:02 hwservicemanager
系统 149 1 0 00:00:05? 00:00:00 vndserviceemanager /dev/vndbinder
系统 151 0 00:00:05? 00:00:00 android.hardware.keymaster@3.0-se虎钳
根 155 2 0 00:00:05? 00:00:00 [kauditd]
根 156 1 0 00:00:05? 00:00:00 vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted_s0
系统 173 1 0 00:00:05? 00:00:00 android.hidl.allocator@1.0-se虎钳
cameraserver 178 1 0 00:00:06? 00:00:00 android.hardware.camera.provider@2.4-service
系统 180 1 0 00:00:06? 00:00:00 android.hardware.configstore@1.0-se虎钳
系统 184 1 0 00:00:06? 00:00:00 android.hardware.usb@1.0-service
WiFi 186 1 0 00:00:06? 00:00:00 android.hardware.wifi@1.0-se虎钳
根 189 1 0 00:00:06? 00:00:00健康
根 191 1 0 00:00:06? 00:00:00 lmkd
根 212 2 0 00:00:06? 00:00:00 [PVR_TIMER]
根 213 2 0 00:00:06? 00:00:00 [PVR Linux Fence]
根 214 2 0 00:00:06? 00:00:00 [PVR_SYNC_workq]
根 218 2 0 00:00:06? 00:00:00 [PVR_workqueue]
root 221 2 0 00:00:06? 00:00:00 [f_MTP]
Shell 223 1 0 00:00:06 ttyS0 00:00:00短接
root 224 2 0 00:00:06? 00:00:00 [IRQ/477-4806a00]
Shell 225 1 0 00:00:06? 00:00:00 adbd --root_sectionlabel=u:r:su:s0
系统 228 1 0 00:00:06? 00:00:00 lad_dra7xx -g
DRM 231 1 0 00:00:06? 00:00:00 drmserver
根 232 1 0 00:00:06? 00:00:00 installd
密钥库 233 1 0 00:00:06? 00:00:00密钥库/data/misc/keystore
介质 234 1 0 00:00:06? 00:00:00媒体服务器
mediaex 235 1 0 00:00:06? 00:00:00介质提取器
Media 236 1 0 00:00:06? 00:00:00介质。度量参数
root 238 1 0 00:00:06? 00:00:00存储
介质240 1 0 00:00:06? 00:00:00 media.codec android.hardware.media.omx@1.0-service
系统 241 1 0 00:00:06? 00:00:00 gateeperd /data/misc/gatekeeper
已标记 253 1 0 00:00:07? 00:00:00已标记
根 702 223 0 00:00:33 ttyS0 00:00:00短接
根 5201 2 0 00:05:07? 00:00:01 [kworker/0:0]
根 8317 2 0 00:08:16? 00:00:00 [kworker/U4:1]
根 8592 2 0 00:08:32? 00:00:00 [kworker/1:0]
root 10269 2 0 00:10:11? 00:00:00 [kworker/0:2]
根 13761 2 0 00:13:37? 00:00:00 [kworker/1:2]
语音服务器 14727 1 4 00:14:33? 00:00:00语音服务器
cameraserver 14728 1 4 00:14:33? 00:00:00 cameraserver
介质 14729 1 4 00:14:33? 00:00:00 MediaServer
WiFi 14735 1 1 00:14:33? 00:00:00 wiicond
语音服务器 14737 1 3 00:14:33? 00:00:00 android.hardware.audio@2.0-service
根 14763 702 4 00:14:35 ttyS0 00:00:00 ps -ef
根 14764 1 3 00:14:36? 00:00:00 NETD
根 14765 14764 1 00:14:36? 00:00:00 iptabls-restore --noflush -w -v
根 14766 14764 1 00:14:36? 00:00:00 ip6tabls-restore --noflush -w -v
谢谢
Jackie