Page 1 of 1

RevPi Core S + RPIBoot Problems

Posted: 03 Nov 2025, 22:24
by phmoll
Hi everyone,

I've got a strange problem, which is why I wanted to ask in the forum for support.

I am still running Windows 10 and have Windows RPIBoot and the Win32 Disk Imager installed. So far, I never had issues flashing a new image on a RevPi with my setup. Now, however, on a RevPi that I already flashed before, I am getting errors when mounting it with RPIBoot already.

Here is the RPIBoot output:

Code: Select all

.\rpiboot.exe
RPIBOOT: build-date 2025/05/19 pkg-version local 402baf02

Please fit the EMMC_DISABLE / nRPIBOOT jumper before connecting the power and USB cables to the target device.
If the device fails to connect then please see https://rpltd.co/rpiboot for debugging tips.

Waiting for BCM2835/6/7/2711/2712...

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
Loading embedded: bootcode4.bin
Sending bootcode.bin
Successful read 4 bytes
Waiting for BCM2835/6/7/2711/2712...

read_file: Failed to read "2711/bootcode4.bin" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Loading embedded: bootcode4.bin
Second stage boot server
read_file: Failed to read "2711/config.txt" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Cannot open file config.txt
read_file: Failed to read "2711/pieeprom.sig" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Cannot open file pieeprom.sig
read_file: Failed to read "2711/start4.elf" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Loading embedded: start4.elf
File read: start4.elf
read_file: Failed to read "2711/fixup4.dat" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Cannot open file fixup4.dat
Second stage boot server done
PS C:\Program Files (x86)\Raspberry Pi>
However, the drives in Windows appear. When I progress with flashing the image with the Win32 Disk Imager, the imager stops after 10 seconds and prompts, that files are not readable anymore.

Any ideas what could go wrong? I already installed the latest version of RPIBoot.

Thanks and best regards

Re: RevPi Core S + RPIBoot Problems

Posted: 03 Nov 2025, 23:09
by nicolaiB

Code: Select all

read_file: Failed to read "2711/bootcode4.bin" from "/usr/share/rpiboot/mass-storage-gadget64/bootfiles.bin" - No such file or directory
Look like a upstream issue with rpiboot. How do you invoke rpiboot? Try if it works if you set the path the mass-storage-gadget64 directly with the `-d` parameter.

Re: RevPi Core S + RPIBoot Problems

Posted: 05 Nov 2025, 09:17
by phmoll
Thanks a lot, the -d param resolved the issue! Strangely, the parameter was never required for previous flashing attempts. A recent update might have changed something on my system.

Re: RevPi Core S + RPIBoot Problems

Posted: 05 Nov 2025, 11:42
by nicolaiB
Afaik rpiboot install two start menu entries, which set the correct parameters. Nevertheless the Linux path doesn't make sense on a Windows setup. I will have a look if I can propose a fix for upstream.

Re: RevPi Core S + RPIBoot Problems

Posted: 27 Jan 2026, 00:51
by sjain6
How do i set the path the mass-storage-gadget64 directly with the `-d` parameter??

Re: RevPi Core S + RPIBoot Problems

Posted: 27 Jan 2026, 08:02
by RamiGspo
To use the mass-storage-gadget64 directly with the -d parameter, you need to start rpiboot with:

Code: Select all

rpiboot -d mass-storage-gadget64
This tells rpiboot to use the mass-storage-gadget64 directory directly instead of searching for boot files in the default locations.
The mass-storage-gadget64 contains the necessary boot files to put your RevPi into mass storage mode for flashing images directly.