How to flash the eMMC on a Raspberry Pi Compute Module 4

  Переглядів 102,450

Jeff Geerling

Jeff Geerling

День тому

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 how. And for those who don't like watching videos, here's a blog post that goes along with the video: www.jeffgeerling.com/blog/202...
Here's the usbboot download link: github.com/raspberrypi/usbboot
Here's the Raspberry Pi Foundation's official documentation for Flashing the Compute Module eMMC: www.raspberrypi.org/documenta...
Support me on Patreon: / geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
#RaspberryPi #ComputeModule
Contents:
00:00 - CM4 with eMMC vs CM4 Lite
00:15 - Set J2 jumper for eMMC MSD
01:10 - Download usbboot
01:25 - Windows setup
01:49 - Mac / Linux setup
02:39 - Flashing Pi OS to eMMC
02:50 - Other tricks like EEPROM

КОМЕНТАРІ: 162
@Hansengineering
@Hansengineering 3 роки тому
So basically: 1: mount the CM4 and eval board as a drive. 2: flash the drive as you normally would. Thanks for the multi-OS instructions!
@deechvogt1589
@deechvogt1589 3 роки тому
Thank for another great tutorial Jeff.
@scottwilliams895
@scottwilliams895 2 роки тому
Thanks Jeff! Very helpful while I'm getting my CM4 / PiCam up and running 😀
@dl8cy
@dl8cy 3 роки тому
Short but very helpful !
@drewsipher
@drewsipher 3 роки тому
Great video. One amendment is that a brand new compute module 4 has unformatted eMMC, and will not show up as a drive. You will need to use something like gParted to format the eMMC and upload the raspberry pi image via balena Etcher, or Raspberry Pi Imager.
@falkoschmidt7119
@falkoschmidt7119 3 роки тому
awesome =) Good starting point for my compute module which arrived today :D
@OnnieKoski
@OnnieKoski 3 роки тому
Awesome! ...wish I had any idea when mine was arriving.
@Superteastain
@Superteastain Рік тому
Your posts are awesome.
@henriqueleal8636
@henriqueleal8636 3 роки тому
Excellent tutorial!
@HopWorksET
@HopWorksET 2 місяці тому
Thanks for the video Jeff! You are definitely my go-to guy for this sort of thing. I am revisiting this video because my last CM4 board was bad. I returned it to PiShop, they verified it was bad, and sent me a brand new CM4 AND CM4 IO board (just in case). This was the first time I ever had a Pi device that was bad out of dozens of picos, RPi 1-5's, zeros, etc. Kudos to PiShop for taking care of it for me!! I hope this go around is a lot easier than my last try. The bad CM4 was intermittent (bad eMMC maybe) so it worked, then didn't, did, then didn't again. Anyway just sharing. Thank you!
@JeffGeerling
@JeffGeerling 2 місяці тому
Glad Pi Shop got it sorted for you! That is stellar service!
@marcvwest
@marcvwest 2 роки тому
Hi Jeff your videos are great. Question for you when I disable the MMC and connect to the slave USB, run RPI boot and look at the display output of the RPI CM4 it says their a USB Hx error and doesn’t recognize the MMC drive, however if I boot via a USB SD it sees it, and will boot from a USB SD card, but can’t flash the MMC even though it’s sees the MMC partitions any ideas why I can’t use the slave USB to flash and setup the MMC?
@mjkirk12
@mjkirk12 Рік тому
In terms of time, it takes just as long as flashing a micro SD card with Etcher? Or does the onboard eMMC write faster than a micro SD card? Is there a better way to format and write the eMMC for factory production (assuming we can get Pi CM4 in the future)?
@MegaAnuj12
@MegaAnuj12 2 роки тому
Hi Jeff, Its very nice video. Which OS is good in performance as I am looking for development of IoT gateway. I saw there are multiple OS available in raspbian OS. If any good OS which you have test the performance then its helpful for me.
@YanFaLi
@YanFaLi 6 місяців тому
So useful. Thanks so much
@jeffreywolfanger938
@jeffreywolfanger938 Рік тому
Hey Jeff, Jeff here got a Turing 2 on order will you be able to flash with that? Just curious if that will be possible. Thank You have a great week
@daedalus5483
@daedalus5483 Рік тому
Thanks Jeff, do you have a tutorial on how to do a full backup / restore of the CM4 eMMC (official IO board)?
@westhyphy
@westhyphy 3 роки тому
Thanks bro!
@mangelozzi
@mangelozzi 2 роки тому
At 1:45, when you say "plugged in and powered up", is that with the nPIBOOT jumper still in place, or removed?
@nandulalkrishna923
@nandulalkrishna923 3 роки тому
Jeff , you're the best
@JeffGeerling
@JeffGeerling 3 роки тому
No _you're_ the best!
@nandulalkrishna923
@nandulalkrishna923 3 роки тому
@@JeffGeerling yes I'm , cause I watch your channel
@linuxastro
@linuxastro Рік тому
Ah! Fixed it. I put the CM4 module on a different kind of I/O board and was able to get a USB connection and flash the OS once again😁.
@brauhaus
@brauhaus 2 роки тому
Any chance you can demo using the Seeedstudio dual Ethernet board for flashing the eMMC?
@johncaipa
@johncaipa 26 днів тому
Hi, can i use the waveshare mini base board for fash the eMMC? were find info abour it? thanks for the video
@DiyintheGhetto
@DiyintheGhetto 2 роки тому
Hey Jeff my question is I have the the one with the Emmc 16gb on it. But I would love to boot from a flash drive instead how can we do that?
@ninline2000
@ninline2000 3 роки тому
You made that sound pretty easy.
@JeffGeerling
@JeffGeerling 3 роки тому
It gets easier the 50th time you do it :D
@mobluse
@mobluse 3 роки тому
Could the same program be used to update an SD-card in a Raspberry Pi Zero?
@lajyo
@lajyo Рік тому
Hey. Thanks.
@ProDigit80
@ProDigit80 3 роки тому
I wonder if it's not easier to use a live boot USB drive, and simply install it to the EMMC?
@VGMinds
@VGMinds 2 роки тому
Jeff, you just saved my f###ing day :D now I'll be able to have fun with my tofu board + pikvm + sim card....
@Mbro-dq2do
@Mbro-dq2do 2 місяці тому
Fuck Yeah Jeff!! Worked perfectly. Thanks homie
@paula.jackson5463
@paula.jackson5463 3 місяці тому
Hey Jeff, have a DeskPi Mini Cube for Raspberry Pi Compute Module 4 (CM4), is it possible to use it to Flash the eMMC with the OS? Or do i need the IO Board from Raspberry Pi, or some other item?
@ardiantonugroho8681
@ardiantonugroho8681 2 роки тому
Hi Jeff, thanks for this video i can flash my CM4 smoothly two months ago, but then I tried again today and somehow the driver installer for RPIBoot BMC2711 from github doesn't work like before. weird
@jasvindersingh318
@jasvindersingh318 Місяць тому
i cloned the sd card which has image of rpi 4 and and create a shrink image from it , will it work on cm4 if i flashed it into emmc the same way u told?
@nerochu-luntai6205
@nerochu-luntai6205 2 місяці тому
life saver!
@RajivDeo
@RajivDeo 3 роки тому
Jeff, I have flashed the emmc on CM4 as suggested in the video, I have ran into a no hdmi audio situation on HDMI0. No audio devices are getting configured. I tried pairing a logitech bluetooth speaker but it failed to connect. NO SOUND :(
@mm64
@mm64 3 роки тому
Only if you can only buy one > newark: More stock available to supplier lead times which is approximately 6/7/21
@anneallison6402
@anneallison6402 3 роки тому
Do you live in mexico?
@asulliv1954
@asulliv1954 2 роки тому
Jeff how do you enter any commands when your usb is off by default you say to mount the boot volume or refresh the eMMC storage,just run sudo ./rpiboot but how my mouse & keyboard are off by default????
@bedeliorodriguezch8369
@bedeliorodriguezch8369 Рік тому
Hi 😊 first time Noob with Linux & with pi zw can you turn the emmc in to swap mamory? If so what's the limit ?ps is it faster than sd mamory? 😊Ok thanks for your time have a good one
@Alex13mod
@Alex13mod 2 роки тому
Will this work with the custom Saturn mini PCB with cm4?
@R4C3R
@R4C3R 3 роки тому
Just a quick question: Did you have to make a change to /boot/config.txt to get the USB 2.0 port on the CM4IO board to work? Or does it work out of the box? Thx for making the videos!
@JeffGeerling
@JeffGeerling 3 роки тому
I have a blog post just for you! www.jeffgeerling.com/blog/2020/usb-20-ports-not-working-on-compute-module-4-check-your-overlays
@R4C3R
@R4C3R 3 роки тому
@@JeffGeerling Excellent!!! Thx you 🙂
@KiR_3d
@KiR_3d Рік тому
@@JeffGeerling Hi, man! Thanx for all your videos and so simple instructions! I'm lame at all this RPi stuff yet, so I'll ask few silly questions: If my CM4 has a built-in eMMC then does it means that using an SD card is useless inside CM4IO + CM4 eMMC setup? Will I be able to make a dual-boot on eMMC? I have the max. of 32 Gb eMMC. It seems that was a right choice. P.S. I've blamed myself few times that I've didn't bought a simple Raspberry Pi 4B+ instead of this combo! :)) Firstly I've got a very stiff sockets combination between them so I've got few silver hairs when finding a way to install this CM4 into CM4IO. And now I understand that I've ordered this combo because "wow, eMMC and SD Card and full size HDMI ports for practically the same price as Rpi 4B+!" :D Now I think that the only good reason to have it is that it has a big board and probably this will make it less hot. I've bought Waveshare's USB3.1 Hub and I guess now that I will have only USB 2.0 speeds out of it. Another silly question: what if eMMC will become corrupted? Is it basically the same memory as in SD Card or much more "long-life"?
@corkis84
@corkis84 3 роки тому
Is it possible to develop a carrier board that could handle power, data and video through one usb c port?
@MartinPHellwig
@MartinPHellwig 3 роки тому
"Till next time, I am Jeff Gerling" Can't wait to find out who you are going to be in the next video! ;-p
@JeffGeerling
@JeffGeerling 3 роки тому
I can't wait either!
@pimpstick2
@pimpstick2 3 роки тому
Please test a modern sound card on the cm4. We know we can do the same with a usb dac, but we wanna see overkill ;)
@blackwersus
@blackwersus 2 роки тому
Did you DIY the jumper thingy yourself?
@sucotronic
@sucotronic 3 роки тому
Nice video! Also, you don't need to specify the version of libusb library to install, there's a wrapper with an easier to remember name "libusb-dev" ;)
@JeffGeerling
@JeffGeerling 3 роки тому
Good point... I think I must've just run through it at a point where that was the recommended version, and I've never updated my notes since!
@tomf3150
@tomf3150 3 роки тому
If only we could simply plug a sd card and use a neat little program to flash the emmc from the sdcard.
@richardstrange8127
@richardstrange8127 7 місяців тому
I think I have broken my cm4 I have ha yellow, I followed your guide a couple of times before as my ha won’t factor reset but this time I tried and I can’t do the same magic would it possible for any help please
@gkmq6411
@gkmq6411 Рік тому
Hi mate, is it possible to do the same thing with the dell wyse thin client 3030 N06D with 4gb of eMMC Flash storage? I will like to use it in the place of a Raspberry pi to run klipper, but not enough storage for Debian install.
@johnfrancis9668
@johnfrancis9668 4 місяці тому
What minimum eMMC and Ram size of CM4 do you recomment for the "usual" project? This is so I can price out a project. Thx
@JeffGeerling
@JeffGeerling 4 місяці тому
I like 4GB RAM and 16 GB eMMC as a sweet spot. Only get more if you know you'll need it.
@jeffbankston8806
@jeffbankston8806 3 роки тому
mine stops at the black screen 2 pcs both the same weird early 4 gig got a lite 4gb with no eemc runs great on wave share board 8 gig with emmc for my automotive application if it ever gets here ! will try the NVMe on this just a decent little PC
@stevefxp
@stevefxp 3 роки тому
Hey Jeff can you attached one or more compute modules to a RPi4, and aggregate the CPU power? I am thinking of making a low cost network mgmt device, based on Zabbix.
@JeffGeerling
@JeffGeerling 3 роки тому
No, unfortunately they don't quite work that way (though it would be pretty awesome!).
@GoleTeef
@GoleTeef 3 роки тому
I would love to see a video on how to update the EEPROM, I can't find a definitive simple guide anywhere.
@lavtoshlyager
@lavtoshlyager 2 роки тому
Same here. Is there a way to update EEPROM just from CM4 itself, like on usual RP board, or does it involve rpiboot and flashing again? Confusing...
@blazehenot2536
@blazehenot2536 2 роки тому
This would be super helpful =
@johnzhang8127
@johnzhang8127 2 роки тому
hello,can you give us a vedio about how to update the eeprom on cm4! Because on the cm4 "rpi-eeprom-update is not enabled by default on CM4. Run with -h for more information.",I do not know how to update it!
@kriss21488
@kriss21488 2 роки тому
getting error "Waiting for BCM2835/6/7/2711"
@grumpycat5991
@grumpycat5991 4 місяці тому
I just tried this on Mint xfce 21.2 and had to install libc6 dev 1st with apt-install otherwise it would fail when I typed "make"
@kacperbardecki3671
@kacperbardecki3671 Рік тому
Hi, do I need to remove the jumper at 0:31 once I'm done flashing the board?
@kacperbardecki3671
@kacperbardecki3671 Рік тому
Ok ChatGPT says yes. This makes perfect sense, I just wanted to be sure.
@danmacdonald5166
@danmacdonald5166 Рік тому
I had problems. Cm4 wasn't seated properly and my micro usb cord was actually broken. After plugging in a new cord to the USB 3 (blue) flash was successful.
@blackbarry45
@blackbarry45 2 роки тому
can I boot from usb even If I dont have emmc ? (this model: CM4108000 )
@michiel.niesen
@michiel.niesen 3 роки тому
Can the cm4 boot with nvme? And if so. How?
@harinisrinivas2889
@harinisrinivas2889 3 роки тому
Jeff, looking for IO board where I can use nvme and multiple compute modules to build a powerful desktop. I am amazed with Mac m1 chip. If I closely look, the compute module is close to m1 chip architecture. So if can stack 4 compute modules with io board where it can acts a multiple core os, where I get 32 gb of ram and 16 core processor which may also compute with Mac book. First is it possible the way I think? If so how the io board should be built where it has come storage. The way I think, using master and slave or master and nodes Architechure the way liver eyes work, can we build something where my primary module has raspberry os with UI while other nodes has only core os and each application is running on nodes and master render the ui while execution happens on the nodes.
@JeffGeerling
@JeffGeerling 3 роки тому
Unfortunately that's now how the clustering of multiple Pis work-you can run a workload across Pis if it can be split up, but adding Pis to each other doesn't combine all their CPU, RAM, and GPU together so it can be used like one big unit.
@mick_b
@mick_b 3 роки тому
Thank you. How Can i enable the USB ports for a keyboard ?
@mick_b
@mick_b 3 роки тому
Oops, in fact i have forgot to unplug the micro usb connector. It's fine now !
@Riverwang
@Riverwang 2 роки тому
I knew you know the answer
@dlbower1956
@dlbower1956 Рік тому
FYI, you also need brew install pkg-config
@harinisrinivas2889
@harinisrinivas2889 3 роки тому
Do you have any other providers which are providing compute io board other than raspberry pi foundation?
@JeffGeerling
@JeffGeerling 3 роки тому
Suppliers are supposed to be getting them in stock, but from the ones I know, they said they are starting to see Compute Modules in stock, but no IO boards currently :(
@KuntalGhosh
@KuntalGhosh 3 роки тому
I am looking forward to make a custom pcb for an old atom netbook (samsung n150) , i have only designed basic pcbs for power supplies & other simple things .. this is going to be a hard thing for me but the compute module 4 should give a new life to an aging atom cpu that can't even run chrome .
@jyvben1520
@jyvben1520 3 роки тому
as in you rip out the old motherboard and replace it with a custom pcb ? maybe look for the the design files for the cm4 dev-board and remove any hardware you would not need.
@KuntalGhosh
@KuntalGhosh 3 роки тому
@@jyvben1520 yup i am looking at all the pin outs and chips i need for lcd , keyboard , trackpad , battery and usb ports .. + i will keep the pci 1x slot in form of m.2 so i can just remove the ram hatch and connect a m.2 to pcie board and use the 1x slot for experiments . i will reuse the existing cpu cooler and battery & it will take a lot of prototyping . i will first get the laptop keyboard , trackpad , lcd and battery working before implementing rpi compute module .
@Sabotage_Labs
@Sabotage_Labs Рік тому
You're a good egg, Jeff. Final got a 4gb ram 16gb ermc CM4 and popped it in the Raspi IO board. Hoping to convert my Open Media Vault on a Raspi 4B over to the CM4. Got a cheap SSD PCI-E board on the way. Cheap one to experiment with. Sure would like to find an at least dual SSD port to use. Now, I don't really need the speed increase of the CM4 and PCI-E compared to the Raspi 4B and USB (getting about 113\mbs xfer on home network)...I'm not dealing with video like you or anything like that. I just wanna see it work...lol. you know how it is... obviously. So..if you or anyone else can recommend a SSD dual port card or better... A PCI-E expansion riser would be cool...right. I'd appreciate it. Im checked out your website and the list of cards you got working but can't find any actual available...bummer. Anyway...thanks man. Dig the way you make easy buttons for us geek tweakers. Cheers!
@JeffGeerling
@JeffGeerling Рік тому
I think the best option could be like an IO Crest board like amzn.to/43gAZFE with two ports - that is, if you want SATA. For dual NVMe, it's a little harder. There are a few boards that split a single PCIe lane into two or four, but those kind of boards can get a bit pricey.
@Sabotage_Labs
@Sabotage_Labs Рік тому
@@JeffGeerling Thanks Jeff. Yea, that really is the rub eh.. splitting the lane...I suppose. And...I'm doing this with no particular need. Not even making the "check out what I just got working" videos like you...lol. which...we all enjoy and appreciate. I've got OMV installed on the new CM4 on the Raspi IO board. Kinda cool seeing how fast the thing boots to Bullseye or OMVs Debian. Seems even faster than an SSD to USB 3 on the Raspi 4B. Guess that makes sense. I can always run two OMV servers. I have like 50+ devices on the network with all the Home Assistant IoT stuff...what another server lol. Use a 2TB SSD on the new OMV and have like 4TB slower access storage on my existing OMV. PEOPLE...if you need SSDs or have a future project in mind...it's a buyers market! Seems they are the one thing manufacturers have an overstock of and they are super cheap! Like 2TB Western Digital for under $120. Can find slower cheaper 2TB for under $85 on Amazon. Crazy! Thanks Jeff!
@jasonsachinger3276
@jasonsachinger3276 3 роки тому
How did you get your zsh shell to show the apple logo? Is that a theme in ommyzsh?
@JeffGeerling
@JeffGeerling 3 роки тому
It's a special character in my PS1: github.com/geerlingguy/dotfiles/blob/master/.zshrc#L16  (Shift + Option + K on a Mac).
@linuxastro
@linuxastro Рік тому
I have done this successfully a few times. Your video was a great help. However, this last time I had a power failure during the img flash and now rpiboot just hangs waiting for the connection. If I take the jumper off, it tries to boot, but hangs (incomplete img) It does seem to get part-way through a normal boot but not far enough for any intervention. Any ideas? All the online help starts with "Jumper and connect with rpiboot..." Alas, despite trying all the methods I could find (even reading the instructions), rpiboot will wait to the end of time (or the end of my patience, at least).
@KiR_3d
@KiR_3d Рік тому
Hi! Was this problem caused by a power failure fixed? Sorry if I'm touching a painful topic!
@Ziggurat1
@Ziggurat1 3 роки тому
Is it not possible to do this from a booted SD card?
@rafaldudka8841
@rafaldudka8841 2 роки тому
Flashing Raspberry PI CM 4 board bricked my Dell Laptop. Any ideas why it happened?
@oliverosbourne6776
@oliverosbourne6776 3 місяці тому
trying to do this but usb boot isnt working on my windows 11 machine nothing is dettected just get RPiBoot driver install returned 0 on Windows 11/10
@leonardodepinto7912
@leonardodepinto7912 3 роки тому
You are the best (First)
@raushonmunni2633
@raushonmunni2633 3 роки тому
wut
@stranche01
@stranche01 3 роки тому
It's nice having such tutorial videos, but where the h**k can we get a rpi4 compute module and its board ? No availability anywhere.
@JeffGeerling
@JeffGeerling 3 роки тому
I'm still doing all these videos with pre-production units... I ordered two more on launch day, and am still waiting for them (no ship date yet on my order at the Pi Hut).
@veeraloganathanvvs5495
@veeraloganathanvvs5495 6 місяців тому
help me brother, i unfortunately formatted the drive. that pop up which u entered cancel. what to do bro.
@KiR_3d
@KiR_3d Рік тому
My rpiboot.exe is stuck in "waiting for BCM2835/6/7/2711..." state. Should I try to re-install CM4 physically? I've tried two different cables, all applications were run in the Administrator mode. I've tried two releases of USBBoot - the latest and v2021.07.01 (it's marked as Verified). With a little difference in the messages but it ends with the same "waiting..." state. BCM2711 Boot device is detected. It works only with some old USB2.0 external hub or through USB3.1 port on the PC. Otherwise - no connection at all. I'm on Win7. The system is pretty stable but I've had an issue with non-detecting my Behringer Neutron synthesizer for STM32 online firmware update procedure (they don't provide .hex unfortunatelly). Maybe these issues aren't connected though.
@kb5zuy
@kb5zuy 3 роки тому
Can a USB eMMC adapter be used instead of the CM board?
@RedMageGaming
@RedMageGaming 3 роки тому
Unfortunately no, as the eemc on the pi compute module is non removable.
@megaproxy
@megaproxy 2 роки тому
Late to the party here.. and wondering if you may have an idea for the problem I have. I have the dfrobot board, and a cm4. The df board doesn't seem to power on at all using any usb-c cables I have. Is there something I need to do before it will power on? Or have I got a dead board here..
@grumpycat5991
@grumpycat5991 4 місяці тому
If its a "pitray" make sure the "boot emmc" switch is in the ON position if booting from a microSD card or eMMC and the OFF position if trying to flash the onboard eMMC... It makes no sense but its the opposite of what you would think it would be.
@benmac6862
@benmac6862 Місяць тому
When do I remove the jumper
@vittorioantoniolli2204
@vittorioantoniolli2204 2 роки тому
what append if i accidentally formatted the drive D:?
@elisusadaugmen912
@elisusadaugmen912 3 роки тому
Wouldn't it be easier to just have a sd card image that boots and installs the system on the emmc storage?
@R4C3R
@R4C3R 3 роки тому
You can't use the micro SD slot and eMMC at the same time. The micro SD slot is only intended for use with the CM4 lite versions. However, starting from a USB drive should work, and flashing the eMMC maybe also.
@elisusadaugmen912
@elisusadaugmen912 3 роки тому
@@R4C3R I wasn't aware of that limitation, sorry. But for USB to work the emmc needs to be clean otherwise it will boot. In theory one could create a boot image for usb that after installing the OS automatically changes the boot order so that later installs work. But that's probably more work than what it saves.
@clownhands
@clownhands 10 місяців тому
Mac Users: If you get the error "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun", when building usbboot, you need to install Xcode command line with "xcode-select --install"
@insylem
@insylem 2 роки тому
You lost me at 2:17. I'm very new to all this and am tryin to install from a Raspberry Pi 400. HOW do I make sure that I'm in the correc directory?
@meghakulkarni8471
@meghakulkarni8471 3 роки тому
i am unable to download rpiboot.exe as mentioned. File is unable to run.
@deckoc
@deckoc 3 роки тому
Hi Jeff. I'm stuck. I was able to flash the Raspberry Emmc on Pi Compute Module 4 but its not detecting a keyboard. I am aware that you must add a line to the config.txt file to power the USB hub. This is where I become stuck. On rpiboot I can see a config.txt file which I have edited and included the txt to enable power to the USB hub. However, I think that it might be the wrong config.txt file as it's not working. I think I need to access the config.txt file in the boot folder but I am unable to access or view same from within windows 10. I've loaded other Raspberry OS systems and the keyboard lights up but an error is showing on the screen that it doesn't detect the keyboard. Thanks in advance.
@JeffGeerling
@JeffGeerling 3 роки тому
You'll need to do this: www.jeffgeerling.com/blog/2020/usb-20-ports-not-working-on-compute-module-4-check-your-overlays And it has to be in the boot/config.txt file when you mount the eMMC onto another computer like your Windows 10 computer.
@deckoc
@deckoc 3 роки тому
@@JeffGeerling Hi Jeff. I am not seeing the boot/config.text file on my Windows computer when I mount the eMMC. Sorry for all of this. I am a newbie to Raspberry Pi. There is no boot folder on the mounted eMMC disk
@geauxracerx
@geauxracerx 2 роки тому
Is there a way to flash multiple compute modules at once?
@JeffGeerling
@JeffGeerling 2 роки тому
Heh, multiple a computers and multiple io boards! I think there was some volume flashing utility or setup mentioned in the Pi forums once, though.
@geauxracerx
@geauxracerx 2 роки тому
@@JeffGeerling so a fleet of flashed compute modules running PI OS or Windows 11 it is I guess
@geauxracerx
@geauxracerx 2 роки тому
@@JeffGeerling figured it out. There’s two pins ( on the carrier board ) that if jumped tells the computer it’s just an sd card. Then you can use balena etcher to flash them all at once. Now to remix the open source carrier board so I can daisy chain them with the usb c; basically make a usb c hub/ carrier board.
@dr.benjaminbird7631
@dr.benjaminbird7631 3 роки тому
2 cameras on the cm4?
@JeffGeerling
@JeffGeerling 3 роки тому
There are two camera connectors exposed on the CM4IO board.
@dr.benjaminbird7631
@dr.benjaminbird7631 3 роки тому
@@JeffGeerling Yeah, i know. I’m just dropping a hint, that setting it up should be your next vid ;)
@meetankush
@meetankush 3 роки тому
0:22 Now say that 5 times, fast.
@AlecTraubBigAL
@AlecTraubBigAL 3 роки тому
Hi Jeff, not the most relevant video to ask this question but nonetheless. Are you familiar with the block chain technology at all and what would you say your interest in it is? I have a project I'm working on although distribution of the ledger is the primary bottle neck right now as I am thinking of trying to experiment on a network of PI 4. Just interested to hear from you.
@Ollital
@Ollital Рік тому
My biggest problem: Where do I get a jumper from?
@SnowmansApartment
@SnowmansApartment Рік тому
it's really weird that there are so many extra steps to doing this, especially installing brew..
@llima3000
@llima3000 3 роки тому
Great tutorial, but I think this process should be enhanced on next version... it is really awful 😣
@JeffGeerling
@JeffGeerling 3 роки тому
It would be really nice if it were just a little GUI app that worked like the Pi Imager. Open it up, plug in the CM, click 'mount' or whatever.
@DiomedesDominguez
@DiomedesDominguez 3 роки тому
No bloopers? No recommendation.
@JeffGeerling
@JeffGeerling 3 роки тому
Ha! They'll return. I only had one little gaffe in this one, surprisingly, but I don't feel like a 3 minute video does the bloopers justice.
@SnowmansApartment
@SnowmansApartment Рік тому
this doesn‘t worm for me on a M1 macbook.
@SnowmansApartment
@SnowmansApartment Рік тому
also not working on a regular MacBook. `make` results in an error
@hornbaker
@hornbaker 3 роки тому
Too bad the product doesn’t actually exist, because it seems pretty sweet. I ordered mine within days of the announcement and Newark won’t ship it for 7 months - and they’re RPF’s main US partner. That’s not production backlog; that’s a product that shouldn’t have been announced yet.
@cheif10thumbs
@cheif10thumbs 3 роки тому
The only reason for disliking this is when you find that you can't get the Wireless 8gb RAM/32gbEMMC RPI4 CM or it's host board Anywhere until after the new year. I'm NOT interested in buying 200 of them either. Other than that? Great information.
@johnm2012
@johnm2012 3 роки тому
It's useful advice regardless of whether you can get the modules. Pretty much all recently released tech items are difficult to get, whether they be Pi Compute Modules, graphics cards, CPUs or games consoles. None of that is Jeff's fault!
@Hansengineering
@Hansengineering 3 роки тому
Right? There were like 3 module configs that were gonna be the bulk of the orders. They could have prioritized production of those first.
@JeffGeerling
@JeffGeerling 3 роки тому
I'm trying to put out a bunch of content so that when people finally do get theirs (I'm still doing all this with a preproduction copy... waiting for my order from The Pi Hut still!), they'll be able to get up and running quickly and learn from my mistakes.
@cheif10thumbs
@cheif10thumbs 3 роки тому
@@johnm2012 Not blaming Jeff. Blaming the Hype Machine. Jeff consistently produces excellent content. It's just frustrating when I go to burn plastic and find that I am thwarted by Covidiocy and supply chain throttling.
@cheif10thumbs
@cheif10thumbs 3 роки тому
@@JeffGeerling Calm thyself Kimosabe. Your work is not in question. I too suffer from slow delivery from Pishop, PiHut, Canakit, Sparkfun and Amazon. Frustration #Over9000 !
@chetana9802
@chetana9802 3 роки тому
who disliked 😒😡?
@fahrimertdincer8421
@fahrimertdincer8421 3 роки тому
no one
@JeffGeerling
@JeffGeerling 3 роки тому
I generally let Red Shirt Jeff take care of the dislikes.
@fahrimertdincer8421
@fahrimertdincer8421 3 роки тому
@@JeffGeerling oh no ı realize why his shirt is red X]
@TechyGuy17
@TechyGuy17 3 роки тому
Sorry, i just have to, FIRST
@TechyGuy17
@TechyGuy17 3 роки тому
I already feel bad for it xD
@jyvben1520
@jyvben1520 3 роки тому
@@TechyGuy17 enraged red Jeff is already en route to your place ;-)
@TechyGuy17
@TechyGuy17 3 роки тому
@@jyvben1520 Oh god no, my role model is on the way to kill me :(
@jyvben1520
@jyvben1520 3 роки тому
@@TechyGuy17 maybe not, might just split your tv ... free double vision ... ;-)
@TechyGuy17
@TechyGuy17 3 роки тому
@@jyvben1520 That would be cool tho, hope he signs one of the halves xD
@Dygear
@Dygear 2 роки тому
Weird problem. After installing with Homebrew (On an M1 Mac mini running Big Sur (11.6)) even after a reboot I can't seem to find the libusb-1.0 header file. I get the following error ... cc -Wall -Wextra -g -o rpiboot main.c -lusb-1.0 main.c:1:10: fatal error: 'libusb-1.0/libusb.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [rpiboot] Error 1
@antoinelever1158
@antoinelever1158 Рік тому
Did you ever fix this problem? I've got the same issue
@richardstrange8127
@richardstrange8127 11 місяців тому
Hi Jeff, I have watched loads of your tutorials, I think your knowledge is amazing, I was interested in this video as I have HA Yellow and in my learning, I decided to do a factory reset of the device holding the red button but since then i have not been able to boot from the cm4 i have tried reflashing the eMMc and my logs look like this, RPIBOOT: build-date Jun 9 2023 version 20221215~105525 c4b12f85 Waiting for BCM2835/6/7/2711... Loading embedded: bootcode4.bin Sending bootcode.bin Successful read 4 bytes Waiting for BCM2835/6/7/2711... Loading embedded: bootcode4.bin Failed to claim interface Loading embedded: bootcode4.bin at this stage, i load HA Yellow installer straight on the eMMC but i can never get to boot anymore. If you can give me any advice it would be much appreciated. Thank you It will cost me nearly £200 to replace this cm4 if I can get another so will be happy to pay you anything under this amount if you can guid me to fixing this thing as I will be replacing it Next month hopefully at the pi poup in Gateshead
@roberthancock813
@roberthancock813 Рік тому
No, Jeff. Agin these instruction are either wrong or (more likely) just out of date. This is a problem with so many sites on youtube, etc., where libraries get updated and the posted instructions no longer work! pi@raspberrypi:~ $ sudo apt install -y libusb-1.0.0-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libusb-1.0.0-dev E: Couldn't find any package by glob 'libusb-1.0.0-dev' pi@raspberrypi:~ $
@roberthancock813
@roberthancock813 Рік тому
My mistake -- missed the 1.0-0-dev. Sorry. End of a long frustrating day.
@Erosis
@Erosis 3 роки тому
I have to flash many of these for a company and it takes soooo long to flash from larger custom images. Why is the flash process so slow compared to the standard methods with the Pi4?
@JeffGeerling
@JeffGeerling 3 роки тому
The eMMC flashing occurs over a USB 2.0 connection, so it's limited to a maximum of 35 MB/sec or so. If you flash a modern (good) microSD card over a newer USB 3.0 card reader, you can get 3-4x faster speeds (or even more in rare cases).
@Erosis
@Erosis 3 роки тому
@@JeffGeerling Thanks for the reply. My flash speed is limited to 4-5 MB/sec on different linux and windows computers. I'm not expecting the max USB 2.0 speed, but I was hoping for more. It seems that the Pi team put a limit on the flash speed. www.raspberrypi.org/forums/viewtopic.php?t=307347
The ULTIMATE Raspberry Pi 5 NAS
32:14
Jeff Geerling
Переглядів 1,1 млн
Did Raspberry Pi just Sherlock RealVNC?
7:52
Jeff Geerling
Переглядів 102 тис.
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Переглядів 58 млн
КТО СМОГ ПОБЕДИТЬ?😳
00:36
МЯТНАЯ ФАНТА
Переглядів 939 тис.
10 Exciting Raspberry Pi Compute Module 4 Boards
14:28
Jeff Geerling
Переглядів 162 тис.
How to boot Compute Module 4 (CM4) from NVMe - complete guide
21:07
NotEnoughTECH
Переглядів 7 тис.
4+ Gbps Ethernet on the Raspberry Pi Compute Module 4
7:02
Jeff Geerling
Переглядів 99 тис.
🔟 Reasons Why the Clockwork uConsole CM4 is My Favorite Cyberdeck!
10:19
WiFi 6 on the Raspberry Pi CM4 makes it Fly! MORE THAN 1 Gbps!
18:12
Jeff Geerling
Переглядів 156 тис.
Did I break my CM4? USB Boot eMMC CM4 test.
8:42
leepspvideo
Переглядів 9 тис.
PCI Express arrives on the Raspberry Pi CM4 - A Guide
16:41
Jeff Geerling
Переглядів 205 тис.
#Shorts Good idea for testing to show.
0:17
RAIN Gadgets
Переглядів 198 тис.
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Переглядів 2,2 млн
Бюджетная видеокарта за 5000 рублей
17:47
Nitroxsenys
Переглядів 34 тис.