On 11/21/06, Stefan Reinauer stepan@coresystems.de wrote:
- Shaddam Corrino IV shaddamcorrinoiv@gmail.com [061121 17:24]:
and for reference ,with -v option :
# od -v -t x1 < W29C020-12.after.zeroing.bin| grep ff 0744300 00 00 00 00 00 00 00 00 00 00 ff ff ff ff ff ff
# od -v -t x1 < W29C020C-90B.after.zeroing.bin| grep ff 0354420 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0745660 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff
Yeah, timing problem of some kind. try increasing/decreasing the delays in the code.
Also make sure your system is not loaded when you do your flashing.
you can also try nice -20 for the flashing and see if that changes the results.
Ok, I have tired to change myusec_delay() by 0.01, 10 , 100, and 1000 times longer/shorter. Only 10 times longer works. Then it is abble to write zero.bin and pass verification reliably.
However, it still fails to write regular bios :(
crap, I have overwritten the original bios chip, so system will be live until next reboot unless I figure out how to write the bios :-)