[Bug 653] New: [PATCH] dfu-util - Some devices boot up in a DFU state instead of app state

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Tue Jul 24 11:08:24 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=653

           Summary: [PATCH] dfu-util - Some devices boot up in a DFU state
                    instead of app state
           Product: OpenMoko
           Version: current svn head
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OE bitbake recipes  / build system
        AssignedTo: mickey at vanille-media.de
        ReportedBy: nick at anywi.com
                CC: buglog at lists.openmoko.org


The TAS1020B chip starts up in the DFU state idleDFU which can easily be 
handled by applying the patch below

Index: src/main.c
===================================================================
--- src/main.c  (revision 2384)
+++ src/main.c  (working copy)
@@ -507,9 +507,7 @@
                        }
                        break;
                default:
-                       fprintf(stderr, "IMPOSSIBLE: Runtime device already in 
DFU state ?!?\n");
-                       exit(1);
-                       break;
+                       goto dfustate;
                }
 
                /* now we need to re-scan the bus and locate our device */



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list