On Fri, Sep 25, 2009 at 12:13:05AM +0200, Carl-Daniel Hailfinger wrote:
On 08.07.2009 16:22, Luc Verhaegen wrote:
On Wed, Jul 08, 2009 at 02:12:16PM +0200, Uwe Hermann wrote:
Please do NOT try write/erase on any important cards yet, it doesn't seem to fully work properly yet and you could "brick" your card.
I tested a "RIVA TNT2 Model 64/Model 64 Pro", which successfully identified and read a Winbond W29C011 chip, but erase and write behaved incorrect and I finally bricked the card.
Will look into recovery soon (likely will work via software I assume, no hardware hacking strictly required I think/hope, we'll see).
As for the list of supported cards: I have no idea which of those may work (i.e. have the same flash programming interface), maybe none, maybe all of them (and lots more NVIDIA cards), we'll see as soon as others test more cards.
Luc already acked this on condition of some changes, but I didn't see any followup yet. Even if the code is semi-broken right now, I'd like to merge it (and disable compilation by default). That way, we can reduce the number of unmerged patches and at the same time make it easy for other developers to test and/or fix.
Done, committed in r737 with various changes.
I changed some of the infrastructure to match our current setup for the other external flashers and tested that just toggling the single bit as suggested by Luc works on hardware.
Also added some programmer_shutdown() calls, those will probably be converted to atexit() usage later, though.