-
Notifications
You must be signed in to change notification settings - Fork 293
Description
Describe the bug
if rpiboot is invoked without -d parameter, it falls back to the default path, which works for Unix based operating systems. Unfortunately this doesn't work with Windows:
Directory not specified - trying default /usr/share/rpiboot/mass-storage-gadget64/
read_file: Failed to read "2711/bootcode4.bin" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
(https://github.com/raspberrypi/usbboot/blob/master/main.c#L299)
This probably can be fixed via a conditional default directory via build parameters, but haven't tested it yet. Yes, I'm also aware of the start menu entries / bat files shipped with the package. Just a suggestion for better UX 😄
(this was initially reported by a customer of ours here https://revolutionpi.com/forum/viewtopic.php?t=4876)
Steps to reproduce the behaviour
Run rpiboot without any parameters on Windows
Device(s)
Raspberry Pi CM4, Raspberry Pi CM4 Lite, Raspberry Pi CM4 Revision 5, Raspberry Pi CM4 Revision 5 Lite, Raspberry Pi CM4S
Compute Module IO board.
No response
RPIBOOT logs
No response
Kernel logs
No response
Device UART logs
No response