Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5157

Compute Module • Re: Flashing CM4 eMMC via I/O board slow. Advice?

$
0
0
Regarding ethernet setup, yes that is all correct. And as I mentioned, using a stock image that is compressed from the RPi website works ok, so I think the setup is OK.
Yes, you may be right about that.

A theory I have is that your image does not work, because it has lots of white space in it, that compresses very well.
If it takes a long time to write several gigabytes of zeroes to eMMC, during which the download from server is stalled (as it already downloaded the tiny compressed bit that covers all those gigabytes, and will wait before it downloads the rest), the server may close the connection after the default timeout of 1 minute.

Try if it work better if you raise that to 10 minutes, by editing /etc/nginx/sites-available/cmprovision and tossing in the "server {" section:

Code:

   send_timeout 600s;
"sudo systemctl restart nginx" afterwards.


I have a handful of CM4s now were the CM4 Provisioning tool has failed, and so I am stuck using usbboot + rpiboot + dd on an Ubuntu machine to flash those.
The cmprovision server runs rpiboot by default too...
Just connect USB cable to that, and set the right jumper on the CMIO board.

Make sure you connect Ethernet as well.
As it will boot by USB, and provision the device over Ethernet afterwards as usual.

Statistics: Posted by incognitum — Mon Jul 29, 2024 8:56 pm



Viewing all articles
Browse latest Browse all 5157

Trending Articles