Android crashes suddenly on custom made iMX8Mplus board.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android crashes suddenly on custom made iMX8Mplus board.

759 次查看
swapnilpendhare
Contributor III

Android is resetting suddenly and I am not getting any clue on what is causing the reset. I am using android 11.0.2.6.0 release on imx8mp board. 

please let me know procedure to identify or debug this reset problem.

Attaching the boot logs 

Last few lines of bootlog before system gets reset. 

 

[ 57.320525][ T1] init: Command 'class_start main' action=nonencrypted (/system/etc/init/hw/init.rc:942) took 516ms and succeeded
[ 57.320525][ T1] init: Command 'class_start main' action=nonencrypted (/system/etc/init/hw/init.rc:942) took 516ms and succeeded
[ 57.327965][ T224] type=1400 audit(69.632:12): avc: denied { read } for comm="audioserver" name="u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth_a2dp_offload_pr1
[ 57.327965][ T224] type=1400 audit(69.632:12): avc: denied { read } for comm="audioserver" name="u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth_a2dp_offload_pr1
[ 57.374847][ T1] init: starting service 'bootanim'...
[ 57.374847][ T1] init: starting service 'bootanim'...
[ 57.400266][ T224] type=1400 audit(69.696:13): avc: denied { open } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluet1
[ 57.400266][ T224] type=1400 audit(69.696:13): avc: denied { open } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluet1
[ 57.452759][ T224] type=1400 audit(69.708:14): avc: denied { getattr } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bl1
[ 57.452759][ T224] type=1400 audit(69.708:14): avc: denied { getattr } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:bl1
[ 57.495276][ T1] init: Control message: Processed ctl.start for 'bootanim' from pid: 435 (/system/bin/surfaceflinger)
[ 57.495276][ T1] init: Control message: Processed ctl.start for 'bootanim' from pid: 435 (/system/bin/surfaceflinger)
[ 57.511260][ T224] type=1400 audit(69.708:15): avc: denied { map } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:blueto1
[ 57.511260][ T224] type=1400 audit(69.708:15): avc: denied { map } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_a2dp_offload_prop:s0" dev="tmpfs" ino=75 scontext=u:r:audioserver:s0 tcontext=u:object_r:blueto1
[ 57.526085][ T1] init: Could not start service 'sensor_fusion' as part of class 'late_start': Cannot find '/vendor/bin/fsl_sensor_fusion': No such file or directory
[ 57.526085][ T1] init: Could not start service 'sensor_fusion' as part of class 'late_start': Cannot find '/vendor/bin/fsl_sensor_fusion': No such file or directory
[ 57.575511][ T224] type=1400 audit(69.708:16): avc: denied { read } for comm="audioserver" name="u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth_audio_hal_prop:s0 1
[ 57.575511][ T224] type=1400 audit(69.708:16): avc: denied { read } for comm="audioserver" name="u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth_audio_hal_prop:s0 1
[ 57.607136][ T1] init: starting service 'gatekeeperd'...
[ 57.607136][ T1] init: starting service 'gatekeeperd'...
[ 57.651142][ T224] type=1400 audit(69.708:17): avc: denied { open } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetoot1
[ 57.651142][ T224] type=1400 audit(69.708:17): avc: denied { open } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetoot1
[ 57.689998][ T1] init: starting service 'update_engine'...
[ 57.689998][ T1] init: starting service 'update_engine'...
[ 57.714962][ T224] type=1400 audit(69.708:18): avc: denied { getattr } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluet1
[ 57.714962][ T224] type=1400 audit(69.708:18): avc: denied { getattr } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluet1
[ 57.744732][ T1] init: starting service 'usbd'...
[ 57.744732][ T1] init: starting service 'usbd'...
[ 57.783349][ T224] type=1400 audit(69.708:19): avc: denied { map } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth1
[ 57.783349][ T224] type=1400 audit(69.708:19): avc: denied { map } for comm="audioserver" path="/dev/__properties__/u:object_r:bluetooth_audio_hal_prop:s0" dev="tmpfs" ino=76 scontext=u:r:audioserver:s0 tcontext=u:object_r:bluetooth1
[ 57.799517][ T1] init: Command 'class_start late_start' action=nonencrypted (/system/etc/init/hw/init.rc:943) took 273ms and succeeded
[ 57.799517][ T1] init: Command 'class_start late_start' action=nonencrypted (/system/etc/init/hw/init.rc:943) took 273ms and succeeded
[ 58.015298][ T1] init: Control message: Processed ctl.start for 'adbd' from pid: 512 (/system/bin/usbd)
[ 58.015298][ T1] init: Control message: Processed ctl.start for 'adbd' from pid: 512 (/system/bin/usbd)
[ 58.047086][ T1] init: Service 'usbd' (pid 512) exited with status 0 oneshot service took 0.252000 seconds in background
[ 58.047086][ T1] init: Service 'usbd' (pid 512) exited with status 0 oneshot service took 0.252000 seconds in background
[ 58.069745][ T1] init: Sending signal 9 to service 'usbd' (pid 512) process group...
[ 58.069745][ T1] init: Sending signal 9 to service 'usbd' (pid 512) process group...
[ 58.086921][ T1] libprocessgroup: Successfully killed process cgroup uid 0 pid 512 in 0ms
[ 58.086921][ T1] libprocessgroup: Successfully killed process cgroup uid 0 pid 512 in 0ms

compu_8mp:/ $
compu_8mp:/ $
compu_8mp:/ $
ompu_8mp:/ $ [ 68.666057][ T224] type=1400 audit(80.968:20): avc: denied { read } for comm="Binder:233_2" name="wakeup5" dev="sysfs" ino=42976 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 68.666057][ T224] type=1400 audit(80.968:20): avc: denied { read } for comm="Binder:233_2" name="wakeup5" dev="sysfs" ino=42976 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
[ 68.704970][ T224] type=1400 audit(80.972:21): avc: denied { open } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5" dev="sysfs1
[ 68.704970][ T224] type=1400 audit(80.972:21): avc: denied { open } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5" dev="sysfs1
[ 68.764566][ T224] type=1400 audit(80.972:22): avc: denied { read } for comm="Binder:233_2" name="event_count" dev="sysfs" ino=42983 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 68.764566][ T224] type=1400 audit(80.972:22): avc: denied { read } for comm="Binder:233_2" name="event_count" dev="sysfs" ino=42983 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[ 68.803731][ T224] type=1400 audit(80.972:23): avc: denied { open } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5/event_count1
[ 68.803731][ T224] type=1400 audit(80.972:23): avc: denied { open } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5/event_count1
[ 68.865530][ T224] type=1400 audit(80.972:24): avc: denied { getattr } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5/event_co1
[ 68.865530][ T224] type=1400 audit(80.972:24): avc: denied { getattr } for comm="Binder:233_2" path="/sys/devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-rtc-lp/rtc/rtc0/alarmtimer.0.auto/wakeup/wakeup5/event_co1
dat[ 69.738623][ T366] apexd: Can't open /system_ext/apex for reading : No such file or directory
[ 69.738623][ T366] apexd: Can't open /system_ext/apex for reading : No such file or directory
[ 69.756141][ T366] apexd: Can't open /product/apex for reading : No such file or directory
[ 69.756141][ T366] apexd: Can't open /product/apex for reading : No such file or directory
[ 69.773566][ T366] apexd: Can't open /vendor/apex for reading : No such file or directory
[ 69.773566][ T366] apexd: Can't open /vendor/apex for reading : No such file or directory

/system/bin/sh: dat: inaccessible or not found
127|compu_8mp:/ $
U-Boot SPL 2021.04-ucm-imx8m-plus-1.1-00090-g5b84a05735-dirty (Dec 04 2023 - 22:31:57 +0530)
pca9450@25 [ldo4][d] = 1v8
DDRINFO: EEPROM VALID DATA [ [ cafecafe ] = ff000010 4
DDRINFO(D): Micron 4096MB @ 3000 MHz
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
DDRINFO(M): mr5-8 [ 0xff000010 ]
DDRINFO(E): mr5-8 [ 0xff000010 ]
Normal Boot
WDT: Not starting
Trying to boot from BOOTROM
image offset 0x0, pagesize 0x200, ivt offset 0x0
Failed to find node!, err: -1!
Failed to find node!, err: -1!
NOTICE: BL31: v2.4(release):automotive-11.0.0_2.5.0-0-g61a1ad5e5
NOTICE: BL31: Built : 22:32:25, Dec 4 2023

0 项奖励
回复
2 回复数

546 次查看
swapnilpendhare
Contributor III

We have no data in tombstone logs 

0 项奖励
回复

714 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Try to capture tombstone log

0 项奖励
回复