Hey, all,
I've got a Trendnet/Trendware TEW-411BRPplus unit (BCM4712/4MB Flash/16MB RAM/ADMtek 6996 switch) that I loaded the latest OpenWRT experimental release (squashfs version) onto. I was able to load OpenWRT onto the router through the Trendnet stock firmware's web interface. Long story short (I can post details later if anyone's interested), I fscked something either in the startup configs and/or in NVRAM and I can't communicate with the unit any longer (GPIO for this unit must be unknown...reset switch depression does NOT trigger failsafe mode), though I know it is still booting successfully.
I made myself a custom OpenWRT image with /etc/preinit set to force failsafe regardless of the status of the reset button, and tried to load it onto the unit through CFE's TFTP server (boot_wait is enabled). The unit accepts the full file transfer every single time I try it, but after it receives the new firmware image, it doesn't appear to try to write the contents to flash memory...it just continues on its merry way booting the old one!
So I tried to take the original TEW-411BRPplus firmware and load it on through CFE TFTP. But it did the same thing!! Upload is successful, yet after the transfer is over, it just boots the old firmware and doesn't appear to try and write to flash.
My guess is that CFE is rejecting the firmware image for some reason (though there is no serial header on the board that I can see, so I'm not sure how to discover what the problem is). The Trendnet tech that I've been speaking to doesn't have any idea why, and has supplied me with a couple different firmware images to try already. As far as I can tell, assuming this particular CFE version is not miscalculating the CRC (that would suck), the only location of the firmware header that CFE would check (bytes 13-16, version information and "flags") is identical on all firmware images received or built to-date, both Trendnet and OpenWRT (contents are hex 00 00 01 00)..
Has anyone else seen this kind of behavior before on any other BCM-based devices? Any suggestions as to what else I might try?
Thanks, everyone. And special thanks to all of the developers actively involved with OpenWRT...I love it so far.
-- Nathan