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

ERROR Could not determine UBI image blocksize #16

Open
971106029 opened this issue Feb 4, 2021 · 2 comments
Open

ERROR Could not determine UBI image blocksize #16

971106029 opened this issue Feb 4, 2021 · 2 comments

Comments

@971106029
Copy link

Hello, I encountered such an error while using your tool. Can you help me solve it?

error log :
ERROR Could not determine UBI image blocksize

@nlitsme
Copy link
Owner

nlitsme commented Feb 4, 2021

Can you send me a copy of the file you are looking at?

@Feehley
Copy link

Feehley commented Apr 21, 2022

The (genuinely ingenious) iteration (lines 270-280) goes 1024, 2048, … 524288.

If your next “UBI#” is outside of that seek range, it won’t be found.

I’m no engineer, but it seems there is a lag in your file (bad chip read because of reader speed or ground?).

I’m working on finding a good way to solve it. More than likely just by manually removing the “FF”’s that are pushing the block size counter back.

I’ll report back if I can figure out an error correction function.

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

3 participants