Open AndySchroder opened 1 month ago
Strange. I've always had to use sudo
to run rpiboot
. I wonder if this has changed recently? Or have I simply always used it unnecessarily?
If you compile from source, then sudo
is needed. If you use the debian package, it seems you don't. Are you able to confirm?
In https://github.com/raspberrypi/documentation/blob/e14224a1d57245b062008a723e9d9a88f1dc5585/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc?plain=1#L54-L78 you suggest installing a debian package on linux and then later as part of that process suggest using
sudo
to runrpiboot
https://github.com/raspberrypi/documentation/blob/e14224a1d57245b062008a723e9d9a88f1dc5585/documentation/asciidoc/computers/compute-module/cm-emmc-flashing.adoc?plain=1#L72
However,
sudo
is not needed using these instructions. The debian package installs a UDEV rule in/lib/udev/rules.d/70-rpiboot.rules
which avoids the need forsudo
.See
https://github.com/raspberrypi/usbboot/blob/d0a2ed95ade02fbc042d325a22e4a7abcaf8fd34/debian/rpiboot.install#L12
https://github.com/raspberrypi/usbboot/blob/d0a2ed95ade02fbc042d325a22e4a7abcaf8fd34/debian/70-rpiboot.rules#L1