Hello,
Release: android_p11.0.0_2.6.0
Board: i.MX8MQ based custom board
Linux kernel software modification:
- Closing pcie1 & pcie2 in Linux device tree
The main differences between our customized imx8mq and the hardware of the development board are as follows:
1. CSI, camera interface, not used, grounded in design,
2. Sdio1, the hinge type microSD peripheral is deleted, and only EMMC flash is connected,
3. The audio codec chip connected to sai2 is different,
4. PCIe, the first PCIe is connected to WiFi / BT module, the module cannot be purchased temporarily, and the WiFi / BT module is suspended.
5. PCIe. The second PCIe is not used and is suspended.
6. All four UART serial ports are used, and uart4 of the development board is used as GPIO;
7. More peripherals connected to I2C;
8. SPI interface is connected to MCU; The development board is used as GPIO;
9. USB type-C CC chip replacement;
10. GPIO of CPU is used as the control signal of peripheral circuit
Partial log:
[ 76.568750][ T367] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400000 fc=4000000 cc=32 chg=a
[ 77.438135][ T366] cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[ 77.473417][ T366] cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[ 77.511485][ T366] cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
[ 77.525500][ T223] type=1107 audit(84.895:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.display.state pid=366 uid=1000 gid=1003 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0'
[ 78.027522][ T501] read descriptors
[ 78.031776][ T501] read strings
[ 78.285273][ T35] usb 1-1: new high-speed USB device number 2 using dummy_hcd
[ 78.297485][ T140] android_work: sent uevent USB_STATE=CONNECTED
[ 78.545683][ T35] usb 1-1: Dual-Role OTG device on HNP port
[ 78.561264][ T35] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee7, bcdDevice= 4.40
[ 78.570460][ T35] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 78.578496][ T35] usb 1-1: Product: EVK_8MQ
[ 78.583033][ T35] usb 1-1: Manufacturer: nxp
[ 78.587692][ T35] usb 1-1: SerialNumber: 0c2119d6f6c99ecb
[ 78.601754][ T140] android_work: sent uevent USB_STATE=CONFIGURED
[ 78.605154][ T1] init: starting service 'bootanim'...
[ 78.617138][ T1] init: Control message: Processed ctl.start for 'bootanim' from pid: 382 (/system/bin/surfaceflinger)
[ 84.676401][ T223] type=1400 audit(92.047:6): avc: denied { read } for comm="Binder:231_2" name="wakeup6" dev="sysfs" ino=32038 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 85.504301][ T334] AidlLazyServiceRegistrar: Process has 1 (of 1 available) client(s) in use after notification android.apex.IApexService has clients: 1
[ 115.305036][ T1] init: Untracked pid 600 exited with status 0
[ 115.311353][ T1] init: Untracked pid 602 exited with status 0
[ 115.455317][ T1] init: Untracked pid 607 exited with status 0
[ 115.461746][ T1] init: Untracked pid 609 exited with status 0
[ 115.557242][ T1] init: Untracked pid 613 exited with status 0
[ 115.563505][ T1] init: Untracked pid 615 exited with status 0
[ 115.648026][ T1] init: Untracked pid 619 exited with status 0
[ 115.654351][ T1] init: Untracked pid 621 exited with status 0
[ 115.779646][ T1] init: Untracked pid 625 exited with status 0
[ 115.785939][ T1] init: Untracked pid 627 exited with status 0
[ 136.570468][ T367] healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400000 fc=4000000 cc=32 chg=a
[ 149.855622][ T1] init: Untracked pid 699 exited with status 0
[ 149.861916][ T1] init: Untracked pid 701 exited with status 0
[ 149.990122][ T1] init: Untracked pid 705 exited with status 0
[ 149.996379][ T1] init: Untracked pid 707 exited with status 0
[ 150.082135][ T1] init: Untracked pid 711 exited with status 0
[ 150.088406][ T1] init: Untracked pid 713 exited with status 0
[ 150.186779][ T1] init: Untracked pid 716 exited with status 0
[ 150.194170][ T1] init: Untracked pid 718 exited with status 0
[ 150.323796][ T1] init: Untracked pid 722 exited with status 0
[ 150.331215][ T1] init: Untracked pid 724 exited with status 0
[ 157.823705][ T577] sysrq: Show Blocked State
[ 157.832432][ T577] sysrq: Show backtrace of all active CPUs
[ 157.838611][ C1] sysrq: CPU1:
[ 157.841872][ C1] Call trace:
[ 157.845156][ C1] dump_backtrace+0x0/0x1d0
[ 157.849570][ C1] show_stack+0x1c/0x2c
[ 157.853646][ C1] showacpu+0x7c/0x8c
[ 157.857547][ C1] flush_smp_call_function_queue+0x174/0x250
[ 157.863404][ C1] generic_smp_call_function_single_interrupt+0x18/0x28
[ 157.870247][ C1] ipi_handler+0x8c/0x114
[ 157.874476][ C1] handle_percpu_devid_fasteoi_ipi+0x7c/0x19c
[ 157.880415][ C1] __handle_domain_irq+0x80/0xd0
[ 157.885366][ C1] gic_handle_irq+0x6c/0x124
[ 157.889869][ C1] el1_irq+0xe4/0x1c0
[ 157.893754][ C1] cpuidle_enter_state+0x1c4/0x52c
[ 157.898735][ C1] cpuidle_enter+0x3c/0x58
[ 157.903046][ C1] do_idle+0x1e0/0x298
[ 157.906984][ C1] cpu_startup_entry+0x28/0x2c
[ 157.911629][ C1] secondary_start_kernel+0x1ac/0x1e4
[ 157.916998][ C3] sysrq: CPU3:
[ 157.920368][ C3] Call trace:
[ 157.923565][ C3] dump_backtrace+0x0/0x1d0
[ 157.927939][ C3] show_stack+0x1c/0x2c
[ 157.931974][ C3] showacpu+0x7c/0x8c
[ 157.935844][ C3] flush_smp_call_function_queue+0x174/0x250
[ 157.941691][ C3] generic_smp_call_function_single_interrupt+0x18/0x28
[ 157.948500][ C3] ipi_handler+0x8c/0x114
[ 157.952706][ C3] handle_percpu_devid_fasteoi_ipi+0x7c/0x19c
[ 157.958639][ C3] __handle_domain_irq+0x80/0xd0
[ 157.963454][ C3] gic_handle_irq+0x6c/0x124
[ 157.967913][ C3] el1_irq+0xe4/0x1c0
[ 157.971772][ C3] cpuidle_enter_state+0x1c4/0x52c
[ 157.976752][ C3] cpuidle_enter+0x3c/0x58
[ 157.981042][ C3] do_idle+0x1e0/0x298
[ 157.984977][ C3] cpu_startup_entry+0x28/0x2c
[ 157.989614][ C3] secondary_start_kernel+0x1ac/0x1e4
[ 158.332845][ T35] binder: release 535:574 transaction 3300 out, still active
[ 158.340863][ T35] binder: undelivered TRANSACTION_COMPLETE
[ 158.552975][ T1] init: Service 'zygote' (pid 352) received signal 9
[ 158.560111][ T1] init: Sending signal 9 to service 'zygote' (pid 352) process group...
[ 158.572058][ T1] libprocessgroup: Successfully killed process cgroup uid 0 pid 352 in 1ms
[ 158.585921][ T1] init: starting service 'exec 15 (/system/bin/vdc volume abort_fuse)'...
[ 158.622236][ T1] init: Command 'write /sys/power/state on' action=onrestart (<Service 'zygote' onrestart>:2) took 7ms and failed: Unable to write to file '/sys/power/state': Unable to write file contents: Invalid argument
[ 158.643690][ T1] init: Sending signal 9 to service 'audioserver' (pid 376) process group...
[ 158.720464][ T1] libprocessgroup: Successfully killed process cgroup uid 1041 pid 376 in 66ms
[ 158.735541][ T1] init: Command 'restart audioserver' action=onrestart (<Service 'zygote' onrestart>:3) took 92ms and succeeded
[ 158.747616][ T1] init: Sending signal 9 to service 'cameraserver' (pid 438) process group...
[ 158.799542][ T1] libprocessgroup: Successfully killed process cgroup uid 1047 pid 438 in 41ms
[ 160.503942][ T334] AidlLazyServiceRegistrar: Process has 0 (of 1 available) client(s) in use after notification android.apex.IApexService has clients: 0
[ 160.518527][ T334] AidlLazyServiceRegistrar: Shutdown prevented by forcePersist override flag.
[ 164.556167][ T223] type=1400 audit(171.926:7): avc: denied { read } for comm="Binder:231_1" name="wakeup6" dev="sysfs" ino=32038 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ 165.504797][ T334] AidlLazyServiceRegistrar: Process has 1 (of 1 available) client(s) in use after notification android.apex.IApexService has clients: 1
[ 170.504728][ T334] AidlLazyServiceRegistrar: Process has 0 (of 1 available) client(s) in use after notification android.apex.IApexService has clients: 0
[ 170.518577][ T334] AidlLazyServiceRegistrar: Shutdown prevented by forcePersist override flag.
Current problems
- The Linux kernel starts normally and has entered the file system normally, but cannot enter the Android system
- According to the startup log ,Why does the zygote process always restart regularly
I have attached the startup log of the custom imx8mq board and the log of imx8mq-evk board
Thandks!
Look forward to your reply!
Solved!Go to Solution.