question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Raspberry Pi Imager + rpiboot takes 40 mins to flash 8GB memory

See original GitHub issue

Using:

  • Raspberry Pi Imager v1.7.1 and
  • RPIBOOT: build-date Jan 26 2022 version 20220111~130126

And it takes 40 mins to flash a 8GB CM4 eMMC device (with rpiboot jumper set).

Flashing 12 units takes me a whole day. Is there anyway to speed it up?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
timg236commented, Mar 11, 2022

N.B. Raspberry Pi Imager (embedded - https://github.com/raspberrypi/rpi-imager ) can also be loaded via RPIBOOT. This is also quite fast because the network download happens on the CM4. However, it doesn’t export the disks via MSD so it depends on what you what to do.

The boot.img can be downloaded from here https://downloads.raspberrypi.org/net_install/

At some point I’ll write a shell script to usbboot to downloaded the latest boot.img and launch rpiboot to add the embedded imager as an official “rpiboot program”

1reaction
timg236commented, Mar 11, 2022

@mangelozzi The first release of the Linux initrd imager that I mentioned is now available. For me it flashed the normal Raspberry Pi OS in about 5 mins Instructions here https://github.com/raspberrypi/usbboot/issues/119#issuecomment-1064093364

cmprovision will give the best performance because it’s downloading the data over 1Gbit Ethernet, however, it’s a bit more complicated to setup.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Raspberry Pi Compute Module 4 8GB Flashing Issue!
I have been trying to flash my new Compute Module 4 8GB. ... but i bought a CM4 with 4GB RAM and 8GB...
Read more >
How to flash Raspberry Pi OS onto the Compute Module 4 ...
The next step is to download the Raspberry Pi usbboot repository, install a required USB library on your computer, and build the rpiboot...
Read more >
How to Boot Raspberry Pi 4 / 400 From an SSD or Flash Drive
The Raspberry Pi Imager now has a much simpler means to prepare a Raspberry Pi 4 ... The process should take around ten...
Read more >
The New Method to Setup Raspberry Pi (2022 Update)
Learn the new way to setup your Raspberry Pi device using Raspberry Pi Imager. This video will step you through the exact process...
Read more >
How to flash the eMMC on a Raspberry Pi Compute Module 4
How do you flash a new OS onto the eMMC built into a Compute Module 4?It's simple! In this video, I'll show you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found