cancel
Showing results for 
Search instead for 
Did you mean: 

How can i reduce stm32MP1 bootup time further? im expecting to it shoulf boot within 16 sec ?

Ganesh.T
Associate II

systemd-analyze blame:    

 6.297s dev-mmcblk1p3.device

     3.711s user@0.service

     3.668s systemd-udev-trigger.service

      729ms console-kit-log-system-start.service

      663ms weston.service

      598ms systemd-logind.service

      516ms pxl-init-script.service

      489ms lighttpd.service

      373ms systemd-journal-flush.service

      365ms systemd-tmpfiles-setup.service

      348ms sys-kernel-debug.mount

      343ms systemd-journald.service

      339ms dev-mqueue.mount

      312ms systemd-modules-load.service

      308ms tmp.mount

      274ms systemd-update-utmp.service

      238ms systemd-tmpfiles-setup-dev.service

      236ms systemd-remount-fs.service

      236ms kmod-static-nodes.service

      203ms systemd-update-utmp-runlevel.service

      198ms systemd-user-sessions.service

      175ms var-volatile.mount

      175ms sys-kernel-config.mount

      175ms systemd-udevd.service

      152ms sys-fs-fuse-connections.mount

      147ms systemd-sysctl.service

      134ms systemd-random-seed.service

      91ms user-runtime-dir@0.service

      71ms systemd-tmpfiles-clean.service

systemd-analyze :

Startup finished in 3.366s (kernel) + 22.654s (userspace) = 26.021s

multi-user.target reached after 22.049s in userspace

HW info : 

eMMc size if 14.6 GB

rootfs size : 750 MB

Observation :

[13.690249 0.039999] [ OK ] Started Load/Save Random Seed.

[13.866103 0.175854] [ OK ] Started Create Volatile Files and Directories.

[13.923033 0.056930]     Starting Update UTMP about System Boot/Shutdown...

[14.125903 0.202870] [ OK ] Started Update UTMP about System Boot/Shutdown.

[15.832772 1.706869] [  8.767790] galcore: loading out-of-tree module taints kernel.

[15.928784 0.096012] [  8.880145] Galcore version 6.2.4.190076

[16.177606 0.248821] [ OK ] Started udev Coldplug all Devices.

[30.919234 14.741628] [ OK ] Reached target System Initialization.

[30.966229 0.046995] [ OK ] Listening on D-Bus System Message Bus Socket.

[31.051154 0.084926] [ OK ] Listening on dropbear.socket.

[31.067145 0.015990] [ OK ] Reached target Sockets.

[31.099157 0.032012] [ OK ] Reached target Basic System.

[31.147171 0.048014]     Starting Weston Wayland Compositor...

[31.179102 0.031931]     Starting Login Service...

[31.220103 0.041001] [ OK ] Started System Logging Service.

The Bolded line places its taking more time ..

Please help to optimize these time ...

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
PatrickF
ST Employee

Hi, I think you could find some information in https://wiki.st.com/stm32mpu/wiki/How_to_optimize_the_boot_time

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Tip of the day: Try Sidekick STM32 AI agent, see here