Skip to content

CM4 detected via USB but OS flashing does not start 🥺 #71

@19shwang

Description

@19shwang

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.

Image

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.

Steps to Reproduce
Image

  1. Set up cmprovision on a Raspberry Pi 4 server for USB provisioning.
  2. Run the cmprovision script.
  3. Connect a Compute Module 4 to the server via USB in rpiboot mode (jumper enabled).
  4. Observe the server logs, which show the device is detected successfully.
  5. Expected behavior: The OS image should be written to the CM4's eMMC.
  6. Actual behavior: The process stalls after detection, and no flashing occurs.

Previous Troubleshooting

Following are the log and screenshots.
250701_cmprovision_USB file server log.txt

Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions