<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><html>Begin forwarded message:</html><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Werner Almesberger &lt;<a href="mailto:werner@openmoko.org">werner@openmoko.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">April 16, 2008 7:36:22 PM GMT+08:00</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">gta02 &lt;<a href="mailto:gta02@lists.internal.openmoko.org">gta02@lists.internal.openmoko.org</a>></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>[gta02] u-boot boot menu regression ?</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div>Miles keeps on telling me about troubles with the factory and the boot<br>menu, but I can't quite figure out what's going on. Can anyone please<br>help ?<br><br>The problems seem to be related to the latest change where I reduced<br>the time u-boot spends sampling the buttons by one second. Now, while<br>this could theoretically create a very small window in which AUX has<br>to be pressed, all the delays u-boot incurs before even getting to<br>that loop should leave more than enough time.<br><br>Let me repeat the procedure for invoking the boot menu:<br><br>- Press and hold POWER<br><br>- give u-boot a few milliseconds (let's be generous and make this 100ms)<br> &nbsp;to load itself and move out of harm's way<br><br>- Press and hold AUX<br><br>- Continue holding POWER and AUX until the boot menu comes up<br><br>- Release POWER and AUX in any order<br><br>The red LED (underneath AUX) can be used as an indicator for the<br>deadline to press AUX. The LED flashes briefly when the device is<br>turned on.<br><br>If AUX is pressed and held by the time the LED flashes, u-boot will<br>enter the boot menu. If AUX is not pressed and held until more than<br>one second after the LED flashes, u-boot will not enter the boot menu.<br>If AUX is pressed at time 0s &lt; t &lt; 1s after the LED flashes, the boot<br>menu will be entered with probability (1s-t)*100%.<br><br>So to make sure to enter the boot menu, just press AUX before the<br>LED flashes. There should be about 1-2 seconds between pressing<br>POWER and the LED flashing, so it should be very easy to get this<br>right.<br><br>Here's a timing diagram:<br><a href="http://svn.openmoko.org/developers/werner/bm.pdf">http://svn.openmoko.org/developers/werner/bm.pdf</a><br><br>If there is still a problem, I need to know what exactly is going<br>wrong. Have you encountered a case where the timing is vastly<br>different ? Is there something at the factory that prevents the<br>use of the correct timing ? Does u-boot fail to bring up the menu<br>despite following the correct timing ?<br><br>Thanks !<br><br>Cheers, Werner<br><br>_______________________________________________<br>gta02 mailing list<br>gta02@lists.internal.openmoko.org<br>https://lists.internal.openmoko.org/mailman/listinfo/gta02<br></blockquote></div><br></body></html>