ubidump icon indicating copy to clipboard operation
ubidump copied to clipboard

ERROR Could not determine UBI image blocksize

Open 971106029 opened this issue 3 years ago • 2 comments

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

971106029 avatar Feb 04 '21 10:02 971106029

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

nlitsme avatar Feb 04 '21 11:02 nlitsme

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.

Feehley avatar Apr 21 '22 23:04 Feehley