When rpiboot does not work, the cause is usually small and physical, not deep or mysterious. A jumper in the wrong position, a cable with no data lines, a second copy of the tool already running, or a permission slip on Linux can each stop the whole process cold. This guide walks through the common failures in the order you should check them, so you can move from symptom to fix without wasting a session on the wrong theory. Work through the list from the top, test after each fix, and you will find that most rpiboot problems resolve in minutes once you check the right thing first.
Module not detected at all
The most common failure is rpiboot simply never seeing the module. Start with the boot enable step for your hardware. On older IO boards, confirm the J4 USB SLAVE BOOT ENABLE jumper is set to EN. On CM4, confirm the nRPIBOOT jumper on GPIO 40 is fitted. On CM5, confirm the nRPIBOOT jumper on GPIO 20 is fitted, or that you held the carrier board button while connecting USB-C. A missing or loose boot enable signal is the top cause of a silent failure, and it produces no error message to guide you, just a tool waiting forever for a device that never announces itself.
Next, check the USB port and cable. Try a different USB port on the host, since some ports, hubs, or front panel connectors behave inconsistently with device mode hardware. Then swap the cable for one you know carries data, because a charge only cable has no data lines and cannot carry the rpiboot conversation at all, even though it powers the board fine. Finally, check for another rpiboot instance already running. If a previous run is still waiting in a terminal you forgot about, it may already hold the device, and a second run will see nothing. Close extra terminals, stop any stray rpiboot process, and run a single fresh instance.
Permission errors on Linux
On Linux, a permission error usually means rpiboot ran without the access it needs. The fix is to run it with sudo, as in sudo ./rpiboot. Without sudo, the system blocks raw USB access, and the tool fails to open or claim the device. That failure can look like a hardware fault, but it is purely about permissions, and sudo resolves it immediately. If you have been running without sudo out of habit, add it to your standard command and keep it there for every Linux session.
If sudo still gives a permission error, check that sudo works for other commands, and confirm you are launching the executable you built, not a stale copy in another folder. Also confirm no other program has claimed the USB device, since a competing tool can hold the device even for a sudo run. Close imaging tools, serial monitors, or other USB utilities that might be attached to the same device, then try a single clean rpiboot run. A permission problem that survives sudo and a clean process list points at a deeper USB setup issue on the host, but that case is rare compared with a simple missing sudo.
Build failures and missing libusb files
If rpiboot will not build, the usual culprit is missing libusb development files. The build needs libusb-1.0-0-dev on Debian based systems, and without it, the compiler stops with an error about a missing header. Install that package, then run make again. Do not edit source files or chase compiler flags before you have confirmed the development package is present, since that single install fixes the large majority of build failures. A clean build after the install should finish quickly and produce the rpiboot executable in the usbboot directory.
If the build still fails after the package install, confirm you cloned the official repository and that you are running make inside the usbboot directory. Running make from the wrong folder produces errors that look like source problems but are really just path problems. Also confirm your basic build tools are installed, since a missing compiler produces its own clear error. Work through those checks in order, package first, directory second, compiler third, and you will isolate a genuine build problem, if one exists, without guessing.
eMMC not appearing on the host
Sometimes rpiboot runs and seems to succeed, but no new drive appears on the host. Start by checking dmesg and lsblk on Linux, or Disk Management on Windows, to see what the host actually detected. dmesg shows kernel messages about new USB devices, and lsblk lists block devices, so together they tell you if the module announced itself and if its storage registered. If dmesg shows nothing new, the problem is back at the detection stage: jumper, port, cable, or a stray rpiboot instance. If dmesg shows the device but no drive appears, try another port or cable, since a marginal connection can announce a device without sustaining storage traffic.
Also confirm you ran the mass storage mode, not a recovery or special directory by mistake. A recovery run does not expose a drive, and waiting for one after a recovery command will waste your time. Rerun plain rpiboot, or the mass storage gadget directory for CM4 and CM5, and watch the host for the new drive. When it appears, verify its size before writing, since a drive appearing is only half the check. Size confirmation protects you from writing to the wrong disk, and it confirms the drive you see is really the module’s eMMC.
Wrong device with dd and signing failures
Choosing the wrong device with dd is the most serious mistake in the rpiboot workflow, because dd overwrites without asking. If you realize you targeted the wrong disk, stop immediately and do not write anything else to that disk, since further writes reduce any chance of recovery. The prevention is far better than any cure: list disks before and after the module appears, match the size to the eMMC, and copy the verified path into your dd command. If you have already made this mistake, treat data recovery as a specialist job, keep the disk untouched, and seek professional help if the data matters. For future flashes, make the verification step non negotiable.
Secure boot signing failures form a separate category. If a run with -s fails, check bootsig.bin first. It must be present and must match the secure boot setup for that module. A missing file, a file from a different module, or a file from a different secure boot configuration will all cause signing to fail. Gather the correct bootsig.bin for the exact module in front of you, confirm it belongs to that setup, and retry. Do not bypass signing on a secured module or substitute an unrelated signature file, since that defeats the protection secure boot exists to provide, and it will not produce a bootable result anyway.
Keeping a short troubleshooting log will help you even more over time. Each time you hit a failure, note the symptom, the check that found the cause, and the fix that worked. After a few sessions, patterns will emerge, such as one cable that keeps failing or one USB port that behaves badly, and you can retire the faulty gear instead of debugging it again. A log like that turns one off frustrations into lasting knowledge about your own bench.
Conclusion
Most rpiboot failures come from a short list, and checking that list in order solves them fast. For a module that never appears, verify the boot enable jumper or button, try another port, swap to a data carrying cable, and stop any stray rpiboot instance. For permission errors, use sudo on Linux. For build failures, install libusb-1.0-0-dev and run make inside the usbboot directory. For a missing drive, check dmesg and lsblk, try another port or cable, and confirm you ran mass storage mode. For dd, verify the device path every single time, and for signing failures, confirm bootsig.bin matches the module. Work that list top to bottom, and your next rpiboot session will get back on track quickly.
Read next:
