Slow Boot Time on CM4

Post Reply
Finn2708
Posts: 2
Joined: Thu Mar 05, 2026 6:56 pm

Slow Boot Time on CM4

Post by Finn2708 »

Hi,

I am currently using a CM4 (with eMMC) on the official IO board and a Waveshare HMDI screen (1600x600).
Overall, it takes about 45s from a cold boot to music playing through Android Auto, which I find a bit underwhelming.
The CM4 spends 15s just in the boot loader which from my Google search is not unusual. With a bit of optimization in systemd I got the actual OS to load in ~7s (2.5s kernel + 4.5s userspace). Hudiy loads for another ~10 seconds (I could probably start this while the OS is still loading) and once Hudiy is up, it takes another ~10 seconds until Android Auto is connected and playing music.

Compared to the video linked here (viewtopic.php?p=128#p128), the time spend in the bootloader (before the screen turns on) seems to be similar, but the OS and Hudiy itself seems to be a lot faster than in my setup. Before I just bite the bullet and treat myself to a CM5, is there any optimization I may have overlooked?

High-level overview of my "optimizations":
- Disabled a bunch of unused systemd services (including networkd-wait-online)
- Static IP instead of DHCP
- Disabled camera and display auto-detection (Waveshare displays don't seem to offer EDID information)
hudiy
Site Admin
Posts: 514
Joined: Mon Jul 14, 2025 7:42 pm

Re: Slow Boot Time on CM4

Post by hudiy »

According to official data, the Pi 5 is up to 30% faster than the Pi 4. However, the main difference here is the speed of the NVMe drive - all system libraries, assets, and other things required for Hudiy to run will load significantly faster on Pi5 with NVMe.

For now, you can try updating to the latest version. In the version for Raspberry Pi Zero 2, 3B, and 3B+, we've added a lot of optimizations that shorten Hudiy's startup time.

https://github.com/wiboma/hudiy/blob/ma ... d#updating

Please note that the updater performs an incremental update (version by version) to avoid the OS corruption during the update process. If you are using an older version of Hudiy, you may need to run the updater multiple times. You can check your current version in Menu -> Hudiy -> Settings -> About.
Hudiy Team
Finn2708
Posts: 2
Joined: Thu Mar 05, 2026 6:56 pm

Re: Slow Boot Time on CM4

Post by Finn2708 »

I updated from 2.8 to 2.10 with minor improvements.

I'd like to try the Pi 3 version with my board if possible. I would actually prefer an OS without full desktop environment, which seems to be the default for older generations. How would I install that?
hudiy
Site Admin
Posts: 514
Joined: Mon Jul 14, 2025 7:42 pm

Re: Slow Boot Time on CM4

Post by hudiy »

If you installed version 2.8 on a fresh system, you can simply switch from Desktop to Console mode in raspi-config. Console mode works on all Raspberry Pis (including Pi5 and Pi4).

However, based on our observations, there is no noticeable difference in boot times between desktop and console modes.

https://github.com/wiboma/hudiy/blob/ma ... berry-pi-5
Hudiy Team
Post Reply