-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello,
I am using cmprovision for bulk provisioning of Compute Module 4 devices. My provisioning server is a Raspberry Pi 4 running a fresh install of Raspberry Pi OS Lite (64-bit).
Initially, I attempted to provision the CM4 via Ethernet but was unsuccessful. Due to time constraints, I have switched to the rpiboot (USB file server) method.
Environment
- Tool: cmprovision
- Provisioning Server: Raspberry Pi 4
- Server OS: Raspberry Pi OS Lite (64-bit), fresh installation.
- Target Device: Compute Module 4
- Provisioning Method: USB (rpiboot)
Problem Description
I am attempting to use cmprovision to flash a Compute Module 4 via the USB method. After connecting the CM4 in rpiboot mode, the server correctly detects the device, and the cmprovision log indicates that a new device has been found.
However, despite the successful detection, the flashing process does not begin. The script appears to be waiting or stalled, and the OS image is not written to the CM4's eMMC.
- Set up cmprovision on a Raspberry Pi 4 server for USB provisioning.
- Run the cmprovision script.
- Connect a Compute Module 4 to the server via USB in rpiboot mode (jumper enabled).
- Observe the server logs, which show the device is detected successfully.
- Expected behavior: The OS image should be written to the CM4's eMMC.
- Actual behavior: The process stalls after detection, and no flashing occurs.
Previous Troubleshooting
- I have confirmed the USB cable and CM4 IO board are working.
- I have reviewed cmprovision issues Provision CM4 over USB only? #33 and how to provision CM4 only over usb in latest Raspberry Pi OS #58. The solutions suggested there did not resolve this problem.
Following are the log and screenshots.
250701_cmprovision_USB file server log.txt




