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

Bad data reconstruction #24

Open
Erick-Ken opened this issue Dec 24, 2024 · 0 comments
Open

Bad data reconstruction #24

Erick-Ken opened this issue Dec 24, 2024 · 0 comments

Comments

@Erick-Ken
Copy link

Hello everyone and thanks for this great work!

I have been working for some time now on the OTA Firmware and the jojodiff and Janpach seemed to be the optimal solution because little ram and flash, I wanted to do inplace with the FLASH as source, the patch in RAM and the target the same FLASH space as the source.

Everything worked well until daredevil tests, with a big firmware and especially with lots of zeros (constant tables).
And in these cases, the reconstruction did not work. There were some portions that were not correctly reconstructed. After a long debug, an idea came that it might be that it needed to go back to reread FLASH sectors that had in fact already been overwritten. And after testing we realized that by using another memory space as target, it now worked but this indicates that we cannot do inplace with what I conclude.

I would like to know if you have already encountered this problem and if it is adjustable from the janpach or in Jojodiff options.

My version of Jojodiff is: 0.8.5
Buffer sizes: 2048 bytes

Thanks in advance and happy holidays to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant