-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loop/wait - Waiting for BCM2835/6/7/2711... hangs/loops - no error messages/diagnostics. #82
Comments
Update: If I run ./rpiboot boot command with verbosity turned on ie. ./rpiboot -vv -d nvme, the process seems to run into a tight loop - |
Same issue here... It's not a NVMe issue as I also tested on a board without NVMe installed. The common point between the 2 boards, however is the lack of USB3 ports (on the PCIe bus) as they have been replaced with a NVMe slot. And btw, I have nothing connected to the USB bus :
|
I achieved to solve the issue by :
root@DietPiCM4:~# mount -l | grep nvme | cut -f-5 -d" " So this issue is a Linux-only issue... 🤷♂️ |
Same problem when running on a 2GB cm4 lite on a tofu board
|
@Johnnie390 and @jcorbin, where are you running rpiboot? From your descriptions it sounds like you are trying to run it on the CM4. but that's not how it works. In order to update the EEPROM on a CM4 it is necessary to boot the CM4 over USB from a host Pi, PC or Mac - the nvme directory contains the version of the EEPROM image that supports NVME booting. Looking at the NVME boot documentation I think it assumes that the reader knows what usbboot/rpiboot is in general. I suggest you read the EMMC Flashing guide for the necessary background information. |
Hello all, I am running a CM4 Lite (No eMMC). Is is still necessary to jump throught hoops (i.e. run usbboot from another physical machine) to tweak the EEPROM on a CM4 Lite???? |
usbboot from a Raspberry Pi 4B is used to program CM4s during manufacturing so it works pretty well. Suggest checking the USB cable and avoid using a HUB |
I am (or trying to) run a CM4 Lite !!! No eMMC. |
It's exactly the same so long as you have the SD card present. N.B. There's no support for exporting NVMe drives via USB-MSD - the start.elf (in MSD folder) doesn't know about NVMe drives. |
Just over two weeks ago, I was able to change the EEPROM on a CM4 Lite from 29.04.2021 (NVME boot not supported) to 19.05.2021 (NVME boot supported) using this command - rpi-eeprom-update -d -f pieeprom-2021-05-19.bin i.e. no usb cables/usbboot etc. all done on the CM4 (Lite). CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685) EEPROM updates pending. Please reboot to apply the update. Most annoying AND confusing. |
I don't have a CM4 myself, but from what I understand |
Yup, that was my misunderstanding, since my first rodeo with anything raspberry pi at all: trying to get a cm4 on a tofu board with an m.2 nvme working... so I hadn't yet metabolized all of the miles of documentation enough to realize that this tool only runs from a host computer while running the cm4 (for lack of a better term) in slave mode. I'm not sure if there's a better way to have to tool detect "hey, um friend, it looks like you're running this on the cm4, not against the cm4 from another machine"... maybe at least after say N fails or T time of waiting... |
But you might be running rpiboot on one CM4, and using that to update the EEPROM on other CM4s? 🤷 |
Yeah, maybe just a notice in the readme then? I'm not sure I would've realized to read the "Flashing the Compute Module eMMC" wiki until told to do so, since I've got a lite cm4 with no emmc, and thought I was here to "Flash the EEPROM" ;-) |
FYI we're in the process of tweaking the documentation: peterharperuk/documentation@7ade801 |
Closing because NVMe support has been working for a while now and the new mass-storage-gadget mode now exposes NVMe block devices so that they can be programmed by the Raspberry Pi Imager. https://github.com/raspberrypi/usbboot/blob/master/mass-storage-gadget/README.md |
Hello all,
the above is happening on a CM4 Lite, 8GB using a SYNOLOGY SNV3400-400G NVM SSD.
The above NVME SSD has been used in othe Pi instances, ergo it is functional.
Some details -
CM4
Hardware : BCM2835
Revision : d03140
Serial : 1000000084d13d6a
Model : Raspberry Pi Compute Module 4 Rev 1.0
root@raspberrypi:/Transit/rpi-usbboot-master# uname -a
Linux raspberrypi 5.10.39-v8+ #1421 SMP PREEMPT Tue May 25 11:04:26 BST 2021 aarch64 GNU/Linux
root@raspberrypi:/Transit/rpi-usbboot-master# vcgencmd bootloader_version
Apr 29 2021 17:11:25
version c2f8c388c4ee37ad709ace403467d163e8dd91ce (release)
timestamp 1619712685
update-time 1622810466
capabilities 0x0000001f
In the usbboot directory, when I issue "./rpiboot -d nvme" I receive the error mentioned in the title line.
I have issued the rpiboot commad with the -v switch, alas nothing.
As a result of the above issues, I cannot boot the CM4 with the NVME SSD.
Any pointers/thoughts most welcome. Any further information you need, please let me know.
Regards,
Ry
The text was updated successfully, but these errors were encountered: