[flashrom] the size doesn't coincide

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Sun Mar 6 15:11:47 CET 2016


On Fri, 4 Mar 2016 14:12:12 +0300
Юра Клепиков <klepiku at yandex.ru> wrote:

> whether at me the router with the help the test of a clip on 
> poderzhvayemy mother has died I want to restore it unfortunately an 
> insertion of less flash and on it perhaps fill in it I can turn off 
> check of the size ?
> 
> without a conclusion
> 
> error: Image size (262144 B) doesn't match the flash chip's size (524288 B)

If I understood you correctly you want to use a flash chip that is two
times the size of the original but use the old contents.
In that case the easiest is to simple duplicate the file contents like
so (on Linux)
cat orig.bin orig.bin > new.bin
Something similar probably works on Windows too.

There is no easy way to disable that check.
-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list