Send buglog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/buglog
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buglog digest..."
Today's Topics:

   1. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
   2. Re: Openmoko Bug #2348: dfu-util shows only one partition
      (Openmoko Public Trac)
--- Begin Message ---
#2348: dfu-util shows only one partition
----------------------------+-----------------------------------------------
 Reporter:  gravis          |          Owner:  openmoko-devel
     Type:  defect          |         Status:  new           
 Priority:  normal          |      Milestone:                
Component:  host utilities  |        Version:                
 Severity:  normal          |       Keywords:                
 Haspatch:  0               |      Blockedby:                
Estimated:                  |    Patchreview:                
 Blocking:                  |   Reproducible:                
----------------------------+-----------------------------------------------

Comment(by gravis):

 With the kernel 2.6.32-24 it started to working.. but differently?

 Ok I know how all those things work now.

 {{{
 Found Runtime: [0x1d50:0x5119] devnum=1, cfg=0, intf=2, alt=0, name="USB
 Device Firmware Upgrade"
 }}}

 See that intf=2 and cfg=0 ? Now compare this to my lsusb output.

 This means that output was taken from first configuration
 (bConfigurationValue 1), third interface (bInterfaceNumber 2), interface
 is named "USB Device Firmware Upgrade"

 But in fact, when OM is flashed it shows

 {{{
 Found Runtime: [0x1d50:0x5119] devnum=2, cfg=0, intf=0, alt=0,
 name="rootfs"
 }}}

 Which is first configuration (bConfigurationValue 1), first interface
 (bInterfaceNumber 0), which is AT-commands (v.25ter) Control Interface.

 So different protocol is used to list partitions (UDF), and different one
 to flash them (AT terminal upload (?)).

 Once we force dfu-util to use interface 0 it will show all the partitions
 (coming from AT query, rather than innacurate DFU).

 so

 {{{
 dfu-util --intf 0 -l
 }}}

 should shows correct partitions and all flashing commands should have
 --intf 0 option.

 the problem is dfu-util ignores --intf 0 during listing..

 but during flashing it works like a charm!

 Conclusion:

 always use --intf 0  when flashing with dfu-util.

 [solved]

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2348#comment:15>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2348: dfu-util shows only one partition
----------------------------+-----------------------------------------------
 Reporter:  gravis          |          Owner:  openmoko-devel
     Type:  defect          |         Status:  new           
 Priority:  normal          |      Milestone:                
Component:  host utilities  |        Version:                
 Severity:  normal          |       Keywords:                
 Haspatch:  0               |      Blockedby:                
Estimated:                  |    Patchreview:                
 Blocking:                  |   Reproducible:                
----------------------------+-----------------------------------------------

Comment(by gravis):

 .. am I right with all those thoughts ?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2348#comment:16>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
_______________________________________________
buglog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/buglog

Reply via email to