why the boot_progress_perload_stat display twice?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why the boot_progress_perload_stat display twice?

798 Views
yhm2046
Contributor II

I using android automotive 10 in mek_8q, running :logcat -d -b events | grep "boot"

and notice 

boot_progress_preload_start
boot_progress_preload_end  

show twice, it was meaning Zygote start twice,the all log is below, someone can tell me why thanks

0 Kudos
3 Replies

782 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

There are two kinds of zygote in AOSP init.zygote32_64.rc.The first is for 32 bit application and the another is for 64 bit application.The system will boot 32 bit zygote and 64 bit zygote.

service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
    class main
    priority -20
    user root
    group root readproc reserved_disk
    socket zygote stream 660 root system
    onrestart write /sys/android_power/request_state     wake
    onrestart write /sys/power/state on
    onrestart restart audioserver
    onrestart restart cameraserver
    onrestart restart media
    onrestart restart netd
    onrestart restart wificond
    writepid /dev/cpuset/foreground/tasks

service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote     --socket-name=zygote_secondary
    class main
    priority -20
    user root
    group root readproc reserved_disk
    socket zygote_secondary stream 660 root system
    onrestart restart zygote
    writepid /dev/cpuset/foreground/tasks

 

0 Kudos

774 Views
yhm2046
Contributor II

thanks for your replay. But I want to know whether can delete 32 bit zygote to less boot time?

0 Kudos

756 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

No, you can't do like this.

0 Kudos