raspberrypi / documentation

The official documentation for Raspberry Pi computers and microcontrollers
https://raspberrypi.com/documentation
Creative Commons Attribution Share Alike 4.0 International
5.16k stars 1.99k forks source link

Can't flash eMMC of CM4 using another Pi 4 #3635

Open ll-O-ll opened 2 months ago

ll-O-ll commented 2 months ago

So I've been trying to flash the eMMC of my CM 4 using another Raspberry Pi 4. I've used the steps outlined at https://www.raspberrypi.com/documentation/computers/compute-module.html#steps-to-flash-the-emmc

Here's what I did:

Connect jumper cable on J2 to disable eMMC boot on the CM 4. Connect J11 USB slave to Pi 4 Power Pi 4 Power CM 4

Here's a picture of my setup:

flash cm4 using pi 4 setup

I expect the CM 4 to appear as a device on the Pi 4 but I see nothing :(

Any steps I'm missing here??

lurch commented 2 months ago

Have you built and run rpiboot ? https://www.raspberrypi.com/documentation/computers/compute-module.html#building-rpiboot-on-your-host-system

ll-O-ll commented 2 months ago

Yes I did this... Rpiboot stuck on Waiting for BCM2835/6/7/2711

dp111 commented 2 months ago

Have you tried a different USB cable?

On Thu, 16 May 2024, 19:53 Ahmed Nissal, @.***> wrote:

Yes I did this... Rpiboot stuck on Waiting for BCM2835/6/7/2711

— Reply to this email directly, view it on GitHub https://github.com/raspberrypi/documentation/issues/3635#issuecomment-2115972258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVVFIVIC6RO7AWVGBYL2UDZCT6DLAVCNFSM6AAAAABHWVXPCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVHE3TEMRVHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ll-O-ll commented 1 month ago

Tried a different cable it works now. New problem though. It freezes my Pi 4 machine and all peripherals don't work (mouse keyboard). I rebooted both pis and the same thing happened. Here's a snapshot of where i'm at: rpiboot output

The CM4's green light turns on as well... seems to me it exits boot mode

ll-O-ll commented 1 month ago

So I tried the secure boot method... it got me further but I still can't see the disk mount when I run sudo lsblk