V7.0 "soft-bricked" rp2350 with secure boot enabled #211
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I compiled the latest v7.0 release and flashed it to update my existing pico 2 key. It worked initially, but after a few seconds it rebooted and came back in the flash mode (as a mass storage device).
Thinking it must be some sort of incompatibility with a previous version, I grabbed a fresh Raspberry Pi Pico 2 (that never even has been flashed) and executed the following commands:
It flashed successfully and started blinking its LED, but after a few seconds the same thing happened: it now boots immediately into the flash mode. Even if I flash the same uf2 file, it still reboots immediately into the flash mode without even blinking the LED.
Previously compiled version no longer works, I assume it's because of the rollback prevention.
CMake output:
Pico-SDK version is 2.2.0
Not sure how to debug this, since I don't have a debug probe.
It is not bricked. By design, RP2350 is not possible to brick.
If you sign with your own private key, then you need to burn the your public key hash in the OTP related with secure boot. PicoKeys use index 0, so you must use indexes 1-5.
I know. I obviously can flash any other image and it works fine. But whenever I flashed the
pico-fido(properly, with flashing OTP and then flashing the signed uf2), it booted one time and then went right back into the flash mode.If you need any more info, I could build and flash the latest commit and check if it works. But for now I stopped using pico-fido.
I'm not sure what you mean by
you must use indexes 1-5Is it a build-time variable? (SECURE_BOOT_BOOTKEY_INDEX ?)
Why did it work before, but stopped working on version 7.0?