Flashing w/dfu_util always gives error 84

Jack Taylor hermanvonhelmholtz at yahoo.com
Thu Jul 17 21:17:55 CEST 2008


Folks:

I'm
the
very proud owner of a new Freerunner, and I love it! Sure its not
quite "ready for prime time" yet, but I find it very satisfying to use
all of the normal unix/linux tools on my phone. ("Top", "Find", "Grep"
and everything else on a phone! Programming and running Python! This is
gooooood...)

Anyway, now I've got a bit of
a problem. I've been trying to flash a new kernel and root image onto
the phone using dfu_util. The kernel image flashed fine, no problems.
But the root image never finishes correctly: it always ends with error
84. I looked at the dfu_util page and that page vaguely suggests that
these sorts of errors are caused by a poor USB cable. I also downloaded
the source for the dfu_util program and indeed, it does look like this
error involves problems in USB handshaking. But I'm using the USB cable
that came with the phone, and I've never had any other sorts of
problems with USB on my laptop.

I've
pasted the aborted results below. (Note that in this attempt I used a
transfer size of 1000, but I assure you that the same thing happens
with the default transfer size of 4096.)

Does anyone have a clue what is happening here, or what I can do to fix the problem?

Herman.

------------------------------------------------------------------------------

~/OPENMOKO $ sudo ./dfu-util --transfer-size 1000 rootfs -R -D openmoko-qtopia-x11-image-om-gta02.jffs2
[sudo] password for herman
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x0000:0x0000...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=43, cfg=0, intf=0, alt=0, name="RAM 0x32000000"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x03e8
bytes_per_hash=1106247
Starting download: [#############################dfu_download error -84
Error during download


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080717/ae24dc78/attachment.htm 


More information about the support mailing list