RonR
Posts: 3238
Joined: Tue Apr 12, 2016 10:29 pm
Location: US

Pi4 bootloader / recovery.bin

Sat Aug 10, 2019 4:22 am

@PhilE

It appears there is a bug/limitation in the Pi4 bootloader's recovery.bin. README.txt states:

1. Unzip the contents of this zip file to a blank FAT formatted SD-SDCARD.

When FAT32 formatting under Windows, Windows places a volume label of "New Volume" and a folder named "System Volume Information" on the SD card as the first entries in the directory. recovery.bin doesn't appear to be able to handle skipping over these to find 'pieeprom.bin'. If I patch the SD card's directory to mark the label and folder deleted (0xE5 in the first byte of these directory entries), all is well.

If this a bug, it should be fixed. If it's a limitation, it should be documented that Windows cannot be used to format the SD card for this purpose.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5326
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Pi4 bootloader / recovery.bin

Sat Aug 10, 2019 7:16 pm

Thanks for the report - we'll investigate.

timg236
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 1334
Joined: Thu Jun 21, 2018 4:30 pm

Re: Pi4 bootloader / recovery.bin

Mon Aug 12, 2019 9:26 am

Please could you use dd or similar to upload a raw disk image of the card in question ?

I re-verified the windows behaviour using the following steps and recovery.bin worked as expected. However, it's possible that there could be some subtle difference in the root directory entries

1) Format entire SD card as FAT32 - Windows 10 - quick format
2) Download https://static.raspberrypi.org/files/rp ... -05-10.zip or image from https://www.raspberrypi.org/forums/view ... 7&t=246027
3) Unzip to sd-card

Boot Pi4 and verify rapidly flashing green LED.

Return to “Raspberry Pi OS”