ERROR: You must sign the binary if adding a rollback version #207

Closed
opened 2025-12-02 10:22:35 +08:00 by MiniProjectDIY · 7 comments
MiniProjectDIY commented 2025-12-02 10:22:35 +08:00 (Migrated from github.com)

Hi,I've completed most part of the compile process,but it failed at the link stage.
What should I do so sign the binary?

[100%] Linking CXX executable pico_fido.elf
ERROR: You must sign the binary if adding a rollback version
make[2]: *** [CMakeFiles/pico_fido.dir/build.make:2895: pico_fido.elf] Error 253
make[2]: *** Deleting file 'pico_fido.elf'
make[1]: *** [CMakeFiles/Makefile2:1911: CMakeFiles/pico_fido.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Hi,I've completed most part of the compile process,but it failed at the link stage. What should I do so sign the binary? ``` [100%] Linking CXX executable pico_fido.elf ERROR: You must sign the binary if adding a rollback version make[2]: *** [CMakeFiles/pico_fido.dir/build.make:2895: pico_fido.elf] Error 253 make[2]: *** Deleting file 'pico_fido.elf' make[1]: *** [CMakeFiles/Makefile2:1911: CMakeFiles/pico_fido.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 ```
MiniProjectDIY commented 2025-12-02 10:29:06 +08:00 (Migrated from github.com)

I'm using the latest version(also tried the tag v7.0) code and this happens only for board Pico2,everything works fine for Pico Board.
Seems like it's related to the anti rollback version problem introduced for RP2350 in the pico sdk ?I'm not quite sure how to deal with that part.

I'm using the latest version(also tried the tag v7.0) code and this happens only for board Pico2,everything works fine for Pico Board. Seems like it's related to the anti rollback version problem introduced for RP2350 in the pico sdk ?I'm not quite sure how to deal with that part.
MiniProjectDIY commented 2025-12-02 10:45:08 +08:00 (Migrated from github.com)

No idea what happened,but I re-clone the code and rebuild the project,everything works fine now..

No idea what happened,but I re-clone the code and rebuild the project,everything works fine now..
polhenarejos commented 2025-12-02 16:37:51 +08:00 (Migrated from github.com)

Are you signing the binary then?

Are you signing the binary then?
MiniProjectDIY commented 2025-12-02 16:54:18 +08:00 (Migrated from github.com)

Are you signing the binary then?

nope.I just can't duplicate this issue anymore after re

> Are you signing the binary then? nope.I just can't duplicate this issue anymore after re
MiniProjectDIY commented 2025-12-02 16:55:21 +08:00 (Migrated from github.com)

Ok,I think I found the problem:
Everythinig works fine using tag V7.0 code,this issue only happens on latest commit 39208c2167d94b0a42b7625e35a2c8fd78bc2fea

Ok,I think I found the problem: Everythinig works fine using tag V7.0 code,this issue only happens on latest commit [39208c2167d94b0a42b7625e35a2c8fd78bc2fea](https://github.com/polhenarejos/pico-fido/commit/39208c2167d94b0a42b7625e35a2c8fd78bc2fea)
polhenarejos commented 2025-12-02 16:58:01 +08:00 (Migrated from github.com)

Can you try with latest commit?

Can you try with latest commit?
MiniProjectDIY commented 2025-12-02 17:04:09 +08:00 (Migrated from github.com)

Can you try with latest commit?

Yeah,the latest commit fixed this issue.
Thank you.

> Can you try with latest commit? Yeah,the latest commit fixed this issue. Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/pico-fido#207