Hello,
I am working on a project using the Raspberry Pi Zero 2W. I am using rpi-image-gen to create a custom image. I run with the default setup of rpi-image-gen, except I used to enable legacy camera support. I also used dtoverlay gpio_poweroff, sdio (for reading 2nd SD card) and dwc2. I was able to create the image, and my software runs smoothly.
However, I have encountered a problem. In my project, the Pi will not run continuously; it will wake up, perform some tasks, and then turn off. A timer will switch the power supply on and off. After several hundred random cycles, the Pi did not turn on properly and returned to regular operation during the next cycle.
I do not know the reason; it appeared random. I observed that the Pi may hang before the system service starts (I monitored the Pi's power consumption and the system log, which showed no entries). I also checked that the Pi was shut down completely before turning it off.
I previously tried using Raspberry Pi OS Bullseye, and it ran without any problems for about 2000 cycles.
Does anyone have similar experiences?
I am grateful for your help.
I am working on a project using the Raspberry Pi Zero 2W. I am using rpi-image-gen to create a custom image. I run with the default setup of rpi-image-gen, except I used
Code:
raspi-config nonint do_legacy 0However, I have encountered a problem. In my project, the Pi will not run continuously; it will wake up, perform some tasks, and then turn off. A timer will switch the power supply on and off. After several hundred random cycles, the Pi did not turn on properly and returned to regular operation during the next cycle.
I do not know the reason; it appeared random. I observed that the Pi may hang before the system service starts (I monitored the Pi's power consumption and the system log, which showed no entries). I also checked that the Pi was shut down completely before turning it off.
I previously tried using Raspberry Pi OS Bullseye, and it ran without any problems for about 2000 cycles.
Does anyone have similar experiences?
I am grateful for your help.
Statistics: Posted by the_pi_addict — Sun May 11, 2025 3:54 pm — Replies 0 — Views 48