This seems to "fix" this for me - the delay loop is still unreliable, but atleast the recalibration attempts only take 5s instead of minutes. This is a combined diff for both my fix and the % fix.<br><br>Index: udelay.c<br>
===================================================================<br>--- udelay.c    (revision 990)<br>+++ udelay.c    (working copy)<br>@@ -66,6 +66,7 @@<br>     printf("Calibrating delay loop... ");<br> <br>
 recalibrate:<br>+    count = 1000;<br>     while (1) {<br>         timeusec = measure_delay(count);<br>         if (timeusec > 1000000 / 4)<br>@@ -93,7 +94,7 @@<br>          */<br>         for (i = 0; i < 4; i++) {<br>
             if (measure_delay(100) < 90) {<br>-                msg_pdbg("delay more than 10% too short, "<br>+                msg_pdbg("delay more than 10%% too short, "<br>                      "recalculating... ");<br>
                 goto recalibrate;<br><br>Signed-off-by: Urja Rannikko <<a href="mailto:urjaman@gmail.com">urjaman@gmail.com</a>><br><br>-- <br>urjaman<br>