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.

Stuck waiting for BCM2837 on Mac

See original GitHub issue

Environment: MacOS High Sierra (10.13.3) libusb stable 1.0.22 (installed via homebrew) CM3 with CM3IO board (USB Slave Boot Enable is EN).

make succeeds, but displays deprecation warnings:

$ make
cc -Wall -Wextra -g -o bin2c bin2c.c
./bin2c msd/bootcode.bin msd/bootcode.h
./bin2c msd/start.elf msd/start.h
cc -Wall -Wextra -g -o rpiboot main.c -lusb-1.0
main.c:394:16: warning: comparison of array 'pathname' not equal to a null pointer is always true [-Wtautological-pointer-compare]
                if(overlay&&(pathname != NULL))
                             ^~~~~~~~    ~~~~
main.c:601:2: warning: 'libusb_set_debug' is deprecated [-Wdeprecated-declarations]
        libusb_set_debug(ctx, verbose ? LIBUSB_LOG_LEVEL_WARNING : 0);
        ^
/usr/local/include/libusb-1.0/libusb.h:1299:1: note: 'libusb_set_debug' has been explicitly marked deprecated here
LIBUSB_DEPRECATED_FOR(libusb_set_option)
^
/usr/local/include/libusb-1.0/libusb.h:89:49: note: expanded from macro 'LIBUSB_DEPRECATED_FOR'
#define LIBUSB_DEPRECATED_FOR(f) __attribute__((deprecated))
                                                ^
2 warnings generated.

Running sudo ./rpiboot appears to run as expected, but the pi is never detected - I see “Waiting for BCM2835/6/7” forever.

There doesn’t appear to be anything in the syslog to show the pi appearing as a USB device.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ball-haydencommented, Jun 22, 2018

Turns out it was a bad USB cable. Sorry for the noise 😦

0reactions
ball-haydencommented, Jun 22, 2018

Thanks @burtyb. I checked out https://github.com/raspberrypi/usbboot/pull/34 and tried again - still no luck unfortunately. Is there anywhere you could suggest looking so I can provide more information to help debug this? I’m not particularly familiar with the Mac platform myself, so maybe there’s a different log I should be looking at?

Read more comments on GitHub >

github_iconTop Results From Across the Web

iCloud for Mac is stuck on "waiting to upload" - Apple Developer
When you sync your desktop/documents folders with iCloud at random moments it gets stuck and never finish uploading. The folder says "waiting to...
Read more >
rpiboot stuck on Waiting for BCM2835/6/7/2711..
I have a brand new CM3+ module in the CMIO board. When I plug it in, the device manager sees the "BCM2710 Boot"...
Read more >
Mac installation stuck: 'Waiting for other installations to complete'
Open the 'Force Quit' window ... One of the first options you should try is to force quit the installation and try again....
Read more >
How To Fix AirDrop Stuck On Waiting (Not Working) On Mac
Are you trying to AirDrop files from iPhone to Mac but the process is stuck on Waiting since forever? Here are the most...
Read more >
7 Fixes to Try if Your Mac Gets Stuck Updating - MakeUseOf
Shut down your Mac and wait for 30 seconds. · Power it up again and hold the Cmd + Option + P +...
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