SUCCESS - dfu-util on Mac OS X

Dr. H. Nikolaus Schaller hns at computer.org
Fri Aug 3 03:26:20 CEST 2007


It is indeed a coflict with the AppleUSBCDC driver. A patch to  
AJZaurusUSB helps to shield the OpenMoko from it.

Although not reliably, I have now flashed the rootfs and OpenMoko  
device is running. ssh access also works.

I  post the detailled "howto" tomorrow and update the Wiki page  
http://wiki.openmoko.org/wiki/MacOS_X

We will now have:

1) OpenMoko Flasher to wrap dfu-util with a nice GUI
2) AJZaurusUSB - the Ethernet over USB driver for RNDIS/Ethernet Gadget

Nikolaus

Am 02.08.2007 um 18:56 schrieb Dr. H. Nikolaus Schaller:

> Now, after trying one -D command (which fails), --list shows this  
> (looks pretty good!):
>
> hns$ ./dfu-util -R -l
> dfu-util - (C) 2007 by OpenMoko Inc.
> This program is Free Software and has ABSOLUTELY NO WARRANTY
>
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=0,  
> name="RAM 0x32000000"
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=1, name="u- 
> boot"
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=2, name="u- 
> boot_env"
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=3,  
> name="kernel"
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=4,  
> name="splash"
> Found DFU: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=5,  
> name="rootfs"
> hns$
>
> What I have seen is this error message on the first -D request
>
> Device really in Runtime Mode, send DFU detach request...
> Resetting USB...
> error resetting after detach: usb_reset(ResetDevice): device not  
> opened for exclusive access
>
> This could indicate that some Apple USB device driver makes trouble...
>
>
> Am 02.08.2007 um 17:47 schrieb Dr. H. Nikolaus Schaller:
>
>> Harald,
>> we are still have problems to make dfu-util work on MacOS X and  
>> you might be experienced in this area and might provide the right  
>> hint where to look at.
>>
>> One more observation:
>>
>> hns$ ./dfu-util --list
>> dfu-util - (C) 2007 by OpenMoko Inc.
>> This program is Free Software and has ABSOLUTELY NO WARRANTY
>>
>> Found Runtime: [0x1457:0x5119] devnum=0, cfg=0, intf=2, alt=0,  
>> name="USB Device Firmware Upgrade"
>> hns$
>>
>> While http://wiki.openmoko.org/wiki/Dfu-util says;
>>
>> # ./dfu-util --list
>> dfu-util - (C) 2007 by OpenMoko Inc.
>> This program is Free Software and has ABSOLUTELY NO WARRANTY
>>
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=0,  
>> name="RAM 0x32000000"
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=1,  
>> name="u-boot"
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=2,  
>> name="u-boot_env"
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=3,  
>> name="kernel"
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=4,  
>> name="splash"
>> Found DFU: [0x1457:0x5119] devnum=16, cfg=0, intf=0, alt=5,  
>> name="rootfs"
>>
>> Differences:
>> * it says "Runtime" and not "DFU"
>> * devnum=0 and not 16
>> * intf=2 and not 0
>> * name="USB Device Firmware Upgrade"and not the specific section.
>>
>> Is this a hint for someone who knows details about the flasher  
>> protocols?
>>
>> Am 02.08.2007 um 16:53 schrieb Dr. H. Nikolaus Schaller:
>>
>>> Unfortunately, this does not make any difference.
>>>
>>> Am 02.08.2007 um 15:52 schrieb Asheesh Laroia:
>>>
>>>> On Thu, 2 Aug 2007, Dr. H. Nikolaus Schaller wrote:
>>>>
>>>>> We have now managed to compile on Mac OS X - but there is still  
>>>>> a problem:
>>>>
>>>> Have you tried 'sudo dfu-util' instead of just 'dfu-util'?
>>>
>>>
>>
>>
>
>




More information about the device-owners mailing list