[flashrom] MX25L1605DM2I-12G with Buspirate

Daniel . phl3ckz at googlemail.com
Thu Jan 3 12:23:46 CET 2013


 thanks for your help.

your solution seems to be fine but I guess the failed update has corrupted
the first 0.5MB on the flash device :(

It seems I would need a full dump of a working machine to compare the data
of the first 0.5MB right?

Do I have any chance to get this solved without a full dump?

I hope someone can help me.

 2012/12/6 Andrew Goodbody <ajg4tadpole at gmail.com>

> On 01/12/12 21:11, Daniel . wrote:
>
>> So at last I just need to know now how I can merge the needed
>> decompressed files back into a flashable ROM file.
>>
>
> No, this is the wrong way. You do not need to decompress the .wph file.
> The .wph file in this case is 1.5MB long with some extra data and code
> stuck on the end. So the first thing to do is to cut the excess after 1.5MB
> off the end of that file. This 1.5MB is the top 1.5MB of the 2MB flash
> image**. Read the first 0.5MB from the flash device* and prefix it to the
> 1.5MB image to create the 2MB image. You can then program that 2MB image to
> the flash device.
>
> Andrew
>
> * If the failed update has corrupted this first 0.5MB on the flash device
> then you have big trouble.
>
> ** If you want to confirm that, disassemble the last 16 bytes of the 1.5MB
> image, there should be a real mode far jump.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20130103/97abe327/attachment.html>


More information about the flashrom mailing list