HA OS on RPi 5 with NVMe hangs, cold boot only solves it

I have migrated my setup to an RPi 5 with an NVMe. I did not perform anything specific for that setup. I just used the “move data files” to use the SSD rather than the SD card. I think there is still an action to do to have a better performance, but I presume it is not the issue here.

I already had 2 or 3 times that the system hangs (some automations still work, data is not collected, UI doesn’t respond). The only way I got the system to work again is to cold boot it. I therefore believe there is some low level issue.

That led me to think about the RPi firmware. Is this something I should take care of, or is the OS dealing with that?

I still need to try to run the command in RPi4 EEPROM version information in HA - #19 by eikowagenknecht.

Related: Updating Raspberry Pi Firmware - #2 by martymarty004.

That looks old indeed:

➜  ~ docker container exec homeassistant /usr/bin/vcgencmd bootloader_version
2024/02/16 15:28:41
version 4c845bd37c8a7c7ff79173cdc50dd3facf63996f (release)
timestamp 1708097321
update-time 0
capabilities 0x0000007f

Now I need to figure out how to update it.

Following the instructions in https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#bootloader_update_stable, I could indeed update all that:

~ docker container exec homeassistant /usr/bin/vcgencmd bootloader_version
2025/03/10 17:10:37
version 2bb2ae640058a2f3aa8dcbdc2da33302e509668d (release)
timestamp 1741626637
update-time 1743000617
capabilities 0x0000007f