Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(legacy): uint64 protobuf field decoding #4535

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Conversation

mmilata
Copy link
Member

@mmilata mmilata commented Jan 24, 2025

Fixes #3892 hopefully.

It seems that some Cortex-M3 instructions support unaligned access and some don't? Couldn't find it explained in a single place, however it seems that STRD (64bit store) can't handle it.

@mmilata mmilata requested a review from prusnak as a code owner January 24, 2025 19:59
@mmilata mmilata requested review from matejcik and onvej-sl January 24, 2025 20:00
Copy link

github-actions bot commented Jan 24, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

Copy link
Contributor

@andrewkozlik andrewkozlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job finding this!

It might make sense to also align msg_tiny in firmware/messages.c. At present it probably has little significance, except maybe for debug link messages.

@mmilata mmilata force-pushed the mmilata/legacy-pb64 branch from 28af56d to 522fd6f Compare January 24, 2025 22:20
@mmilata mmilata merged commit 7bf7d5f into main Jan 25, 2025
94 checks passed
@mmilata mmilata deleted the mmilata/legacy-pb64 branch January 25, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🤝 Needs QA
Development

Successfully merging this pull request may close these issues.

Cannot authorize CJ on legacy fw - Hard fault detected
2 participants