Did I break my CM4? USB Boot eMMC CM4 test.
Вставка
- Опубліковано 15 бер 2022
- Did I break my CM4? USB Boot eMMC CM4 test.
Hopefully not. I'm trying some suggestions from the forums.
My Compute module 4 CM4 is the 4GB WiFi 32GB eMMC model.
As an Amazon Associate I earn from qualifying purchases
My Amazon UK store
www.amazon.co.uk/shop/leepspv...
Amazon US & other Countries Links
CM4 Waveshare carrier board amzn.to/3CBxXPv
Kingston a2 64gb amzn.to/33HBrCD
Samsung Bar 128GB USB amzn.to/3lYaYHF
Elegoo FDM 3D printer amzn.to/3IpQS1p
Screwdriver kit amzn.to/3zP8csb
Logik K400+ keyboard amzn.to/3BUiDN5
Xbox 360 controller amzn.to/3z1CJDj
My capture device Avermedia GC513 amzn.to/3G1LPDQ
Amazon UK Links
CM4 Waveshare carrier board amzn.to/3tLtbdW
Iitrust short usb sata amzn.to/3GjzGK5
Elegoo FDM 3D printer amzn.to/3GO9yY5
Kingston 64GB A2 amzn.to/2NTnkPm
Samsung 128GB Bar amzn.to/3pomTAH
Mscien power adapter amzn.to/2Kfi6yM
Pi 400 amzn.to/3lqnCwr
Mouse amzn.to/3kuaYem
Official Raspberry Pi power adapter black amzn.to/3pHyiJj
Bose revolve speaker amzn.to/3kaOBfw
integral usb 3.1 sd card reader amzn.to/3rXnckI
YCCTEAM Xbox 360 Wireless controller amzn.to/38to6ya
Logitech K400+ keyboard trackpad amzn.to/3otsF0EOfficial
My capture device Avermedia GC513 amzn.to/2MnbXhW
Other CM4 videos
Raspberry Pad 5
• Raspberry Pad 5
OpenWRT mini router. Raspberry Pi Compute module 4 case with dual gigabit ethernet.
• OpenWRT mini router. R...
Raspberry Pi CM4, Berryboot Simple Multi OS Setup. USB & SSD tests.
• Raspberry Pi CM4, Berr...
Raspberry Pi 4 NEWS playlist
• Raspberry Pi NEWS
All of my Pi videos are here (500 plus)
Raspberry Pi 4 Raspbian and more
• Everything Raspberry P... - Ігри
I'm going to have to see if you have updates on that handheld project. That'ss what I want to do with the CM4.
Thanks for your video. I just got the official Raspberry pi IO board with the PCIe socket. My cm4 is just like yours with 32gb emmc. I erased the emmc as you showed and can now boot from an m.2 nvme on a carrier board inserted into the PCIe socket (as well as from usb devices as you are doing). At some point I would like to be able to dual boot from emmc and nvme, but I don't know if that will ever be possible. regards---john.
the sd data wires are internally connected to the emmc on emmc compute modules and arent available on the 100 pin connectors so no sd card should work in the carrier board's sd card slot unless its a lite compute module with no emmc on board, also different carrier boards may use different internal usb hubs so it may be a compatibility issue with the card reader and the hub
well that was disappointing.....hopefully you are able to resurrect the CM4. I have seen a couple of items on different forums about bricking the CM4 while trying to get it to boot from eMMC. I am not totally sure of how I did this but I have the DeskPi Mini Cube, did not invoke or move any of the dip switches. Booted it with using a MX Linux distribution on a SanDisk Extreme Portable SSD running . Was able to use RPi Imager to write RPi OS Lite to eMMC. Then I connected a SanDisk Extreme SSD that had RPi OS Lite, updated it to Pixel Desktop removed the SanDisk and everything that I had done to it was miraculously done to the eMMC and the CM4 boots from the eMMC......my head is still spinning! Will keep you posted on how it functions.
this is the sort of a hardware / firmware problem that i find simply fascinating. so i hope that you will keep us updated about this. personally i would suspect that something hardware related (or even psu related) with the seedstudio carrier board has somehow caused damage to the cm4. or otherwise has then put the cm4 into an unbootable state. like you say. and there could be a number of different lower level reasons for that. but i would just caution you before using that seedstudio carrier board again. just simply in case it ends up doing the same thing to the next different cm4 module you end up putting into it. like how long before that had you been using the seedstudio carrier board without any issues? or was it something brand new?
i suppose if a 2nd cm4 did die in it then that would prove something more. however it just seems like its a rather costly way to learn that. personally i would be examining those tin boards under my microscope, looking for any traces of any damaged component. and then after exhausting those booting debugging steps progressing to stuff like live probing io lines during boot to check for activity or conversely lack of etc.
ah if only i had already got the oscilloscope that have been saving up for. then i would probably ask you to just sent it to over to me to look at. (being that i also live in the uk). however i am still a bit away from achieving that goal. i keep saving. of course another challenge for those cm4 ones is how to attach the probes. being mostly all smd. but then again it probably has test pads on there for at least some of it
also gotta say though: in terms of the physical side of handling these things. i have been finding that throwing around my rpi4 as a bare pcb without any case or anything, ... it has seemed to be pretty rugged so far. so long as you dont inadvertently knock off any of those tiny microscopic smds. or on the cm4, not to damage those recessed surface mount connectors by accident. then they otherwise seem to be pretty durabe little devices. for example in terms of the ESD shock protection. at least my rpi4 seems all fine
let us know if you get anywhere with it. i am really interested and in particular to find out if those seedstudio products are getting any hardware issues on them. it is a good topic to share and be informed about. perhaps there is also some value to try searching for / or contacting seedstudio more directly. to just simply check for and eliminate any potential board revision or manufacturer design issue
I have had the seeed case for 5 months it’s has been fine. Until recently I hadn’t removed the CM4 from the board.
I had used it in this video recently
Raspberry Pi CM4, Berryboot Simple Multi OS Setup. USB & SSD tests.
ua-cam.com/video/8yQys8uEQlI/v-deo.html
And this one
Raspberry Pad 5
ua-cam.com/video/KX53vMdJ3Ek/v-deo.html
I have a similar issue with my CM4. It will boot into Raspi OS on the official Raspberry Pi IO Board. But, it will not work on any of my other carrier boards. I regret not buying extra CM4s when they were available.
8:10 I bought the same 3D printer as you and I had layer shift and all you do is tighten the belt on that axis.
I hope you're able to revive it.
I have a similar issue. In my case it is the USB Host of the CM4 which has a bug. My PC will not recognize it because of a malformed USB data packet sent on connect. The Raspberry PI documentation says that some USB hots do not like that and refuse to work with the CM4. I had to connect my CM4 with its base board to a RPI 4B and flash the emmc via usbboot. After this hassle it was booting at least. The CM4 still refuses to connect with my windows PC anyways.
You read (around 7:15) the 'self-mode' explanation too fast; it's not automatic, and it says it's not an atomic update, which I interpret as there is no guarantee that the update process completes before other events may disrupt it. Cheers.
O hope someone finds a solution for the RetroFlag GPI Case 2 with a SD Card, because I bought the cm 4 with emmc
'vcgencmd bootloader_config' output? edit: I will be doing this sort of thing for nVME booting soon, but I ordered the wrong drive. I will have to be doing similar things very soon, so I'm interested on how this turns out for you.
Try to sand and paint the 3d printed case
Hey Lee can you make a video on getting remote access working for jeelyfin server on raspberry Pi I tried many things but it just don't work
A slight tangent to investigating your boot problem: Could it be a hardware problem? Possibly the connectors since they are quite fine. The other thing i've seen is a dead PMIC - that mxl7704 in the corner, some kinds of shorts can kill them.
The pins look ok
@@leepspvideo in regards to what he was saying about the power management IC...
if you have a magnifier. or a microscope, and some sharp metal spikes for your multimeter. then it might be possible probe the pins and components around that mlx7704 chip on the CM4 while it is plugged in and powered up. to just do some basic checks to see that the output to that power supply circuit on the CM4 module is actually supplying the expected good clean power to the rest of the CM4 module
but if you do try that, then you much be careful not to accidentally short out and bridge pins or contacts. which would then risk incurring a further damage.
however this is just merely a speculation... this might not be the issue with your CM4. it could equally be something else around the booting / debug mode or whatever else
those 100 pin hirose connectors are very fragile and have 30 times insertion and extraction rating so maybe try to get hands on more of cm4 s
Sorry to hear about your CM4. I don't suppose you have the official Raspberry Pi Compute Module 4 IO Board?
I haven’t got the official board
@@leepspvideo Hmmm... well I was hoping that maybe there might be something about the official io board that would be helpful. Have you talked to Jeff Geerling?
Great vdeo! Quick question, when booting from a SD card in a card reader, can I still use the eMMC storage of the CM4 as additional storage? Thank you
I believe so if you format it. I haven’t been able to test as my cm4 no longer works
@@leepspvideo I just tested it and it works! I'm still facing some issues with permissions though. I ended up switching to my 64GB USB flash drive so I'll never run out of space.
And btw the reason your CM4 didn't read the SD card from the Pad 5 SD slot is because only CM4 lite supports direct SD connection. Otherwise the connection just goes to the eMMC instead
Not seeing anything over HDMI is troubling. Assuming your boot switch isn't set wrong on all 3 carrier boards, I'd check all the pins in the CM4's board connectors to make sure they aren't bent or broken.
Next steps include things like connecting a "TTL" serial cable to the UART pins and/or trying using utilities to check on the state of the boot loader.
FYI, SD isn't physically connected to the SOC if you have eMMC. As far as boot order goes, USB2 and USB3 are different since USB3 is actually on the PCIe.
You don't need to blank your eMMC. You can set your order however you like in the boot ROM, with say NVMe first then USB2 then Ethernet then eMMC/SD.
I had read that you couldn’t change the boot order on the CM4 with eMMC. It’s why I was trying this workaround.
I want to try the uart but I don’t know which gpio pins to link up. I have a possible fix in this thread.
forums.raspberrypi.com/viewtopic.php?p=1983788#p1983495
@Lee, were you able to fix the issue with your CM4 module?
4 of my CM4 modules stopped working just the same way you've shown, tried debugging. was able to find a faulty PMIC output rail in 3 cm4 modules, (the 1.8V rail was shorted and in others load to the PMIC is appearing to be short).
the 4th CM4 module had all the power rails working just fine but still not able to boot. Rpiboot also didn't help much, windows is not able to detect the SDRAM of the same(although with serial communication I read that it atleast detects what kind of memory and size is present)
I highly suspect they're are damaged due to improper handling/ESD.
Let me know if that's not the case and you've found a workaround.
Unfortunately I never fixed it. I sold it as not working on EBay.
Lee, Can you tutorial us how to use usb HDD create iscsi target in raspberry pi?
I don’t use iscsi. I just use a simple nas
7:10 Have you finally managed to understand this part and make a video about it ? I've never had it working despite reading as many tutorials as I could online.
Unfortunately I never fixed it
Alright, sad 😢
I just had another thought. Do you know if Twister OS runs on the cm4?
I’m waiting for a new CM4 to try it. Should work fine.
Couldn't you try flashing USB boot mode on imager then flash the os you want?
It’s not supported on CM4
www.raspberrypi.com/news/network-install-beta-test-your-help-required/
i saw a video where a guy used acetone fumes in an upside down fish tank and a computer fan to smooth out his 3D print. The lines just disappeared and the 3d print looked like smooth ivory.
Here is the video ua-cam.com/video/PgLOU9BrUe4/v-deo.html
As I was reading it I thought it was going to be a fix for the eMMC. 🤣
Great video BTW. Love the Timelapse
Tried to show you two pages to help but looks like YT won't allow me to post links so i can't help. Sorry
Thanks, maybe try removing the www.
@@leepspvideo Good point
Do what I did. Put in some search terms that locates the pages or save them on bitly and post the unique code that usually works
@@x91w Yeah that didn't work either
@@leepspvideo Jeff Geerling has a page on updating the Bootloader / EEPROM that you can try & James A. Chambers has a Full Compute Module 4 (Raspberry Pi) Setup / Imaging Guide. Tried posting links but none would show
I down voted, your videos don’t need clickbait titles.
Where is the click bait. It’s still not working.