🛠 Flasher l'eMMC du CM1 avec rpiboot et le jumper J4

Raspberry Pi Compute Module 1 (CM1) · debutant · Schéma : IMG-cm1-debutant-1-flasher-emmc-rpiboot-j4.svg — Le Compute Module 1 relié au PC par USB, le jumper J4 positionné sur 1-2, la puce eMMC apparaissant comme disque USB de masse pour la commande dd

Objectives

Program the eMMC chip of a blank or reprogrammable Compute Module 1. The CM1 has no boot EEPROM: by placing jumper J4 on pins 1-2, the module presents itself to the PC as a USB mass storage device (rpiboot/OTP mode) and dd writes directly to the eMMC. J4 is then moved back to 2-3 for normal boot. Known pitfall: USB enumeration in programmer mode is finicky; a direct connection is required, without a hub.

Hardware

Complete code

# 1. J4 sur 1-2, alimenter, brancher l'USB direct (PAS de hub)
sudo rpiboot -d /usr/lib/rpiboot/usb   # attend puis énumère l'eMMC

# 2. Le module apparaît comme disque (ex. /dev/sdb) : vérifier !
lsblk

# 3. Écrire l'image (gros blocs = rapide)
sudo dd if=2023-05-03-raspios-bullseye-armhf.img of=/dev/sdb bs=4MiB status=progress oflag=sync
sync

# 4. J4 retour sur 2-3, débrancher, rebrancher : boot normal

Expected verification

After rpiboot, a new disk the size of the eMMC (typically 4 GB) appears in lsblk. The dd command completes without errors; with J4 moved back to 2-3, the green LED on the IO Board blinks and the serial boot log displays the kernel. On a completely blank CM1, this is the only method: there is no EEPROM to revive.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials