change anti-tamper patch logic to skip calculating checksums only#26
Open
m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
Open
change anti-tamper patch logic to skip calculating checksums only#26m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
m-kozlowski wants to merge 2 commits intoAsmageddon:masterfrom
Conversation
not bootloader stage entirely ;)
It doesn't really make much sense given the current state of support for this platform, handling this exception does no harm and at least prevents careless bootloader corruption. BTW, Lumis SX584-0204 is so far the only case I have encountered with a different bootloader and a different memory block layout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
...not bootloader stage entirely ;)
this is required to allow flashing over UART on airbreak firmware.

Previous implementation caused bootloader to jump directly to CDX code
(While patching three bytes would be enough to achieve the same effect in a cleaner way, I went with the longer approach, figuring that since we don’t care about the checksum value, there’s no point wasting time calculating it.)