raspberrypi / usbboot

Raspberry Pi USB booting code, moved from tools repository
Apache License 2.0
878 stars 221 forks source link

No bootcode found in 'recovery #222

Closed ll-O-ll closed 1 month ago

ll-O-ll commented 1 month ago

Describe the bug

I'm following the steps to secure boot my CM 4 using the example. I couldn't make the step to recover the CM EEPROM

sudo ./rpiboot -d recovery
RPIBOOT: build-date Jun  3 2024 version 20240422~085300 4a3d3117
No 'bootcode' files found in 'recovery'

Any ideas?

Steps to reproduce the behaviour

Following steps in secure-boot-example repo up until the point to reset the Compute Module EEPROM

Device(s)

Raspberry Pi CM4

Compute Module IO board.

No response

RPIBOOT logs

No response

Kernel logs

No response

Device UART logs

No response

ll-O-ll commented 1 month ago

Cloning the repo doesn't copy the bootcode4.bin file completely. I got a symbolic which is why that command doesn't see the bootcode.

ll-O-ll commented 1 month ago

Solution. Download the raw file in the recovery folder and overwrite the symbolic link