this code is more recent than that used to build the binary in optifix?
Yes; the version in optifix doesn't have version numbers. It was supposed to be a short-term fix to help solve the serious arduino-smd problems with watchdog initialization.
It looks like you've found a way to get Make to append the version digits to the binary, although I can't get this to work myself just yet.
I ended up single-stepping through objcopy. Magic linker commands, sort of. See this thread for details:
http://lists.nongnu.org/archive/html/avr-gcc-list/2011-02/msg00016.htmlHave you tested this code on an 8MHz platform?
No. Testing of something like this, that is supposed to run on SO many different CPUs and configurations, is a significant "problem." It sort of needs a "test fixture" (software and maybe even hardware), which is an expensive and rather difficult proposition both in time and in real dollars. (personally, I have a hard time writing test code...)
Any thoughts of an "official" release?
I ... am not really willing to "release" an alternate optiboot until the current maintainer says he thinks it's a good idea. Too many versions is a bad thing; Arduino has already "forked" from the optiboot repository, and I've already done more than I consider "polite." I suspect that the current maintainer got overwhelmed by the sudden addition of the arduino user base. I expect that I could be similarly overwhelmed; it's one thing to fiddle with the source, and quite another to be an official maintainer with 100k+ users...
I've been sending all my changes to the appropriate people. I think. (version number change suggested, but not yet submitted...)