Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2012 12:01:48 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-usb@freebsd.org, Bruce Cran <bruce@cran.org.uk>
Subject:   dfu-util 0.5
Message-ID:  <20120417100147.GA2557@tiny>

next in thread | raw e-mail | index | archive | help

Hello,

> > > > 'dfu-util' from FreeBSD:
> > > > 
> > > > $ dfu-util -V
> > > > dfu-util - (C) 2007-2008 by OpenMoko Inc.
> > > > This program is Free Software and has ABSOLUTELY NO WARRANTY
> > > > dfu-util version 0.1+svnUnversioned directory
> > > 
> > > Latest version is 0.5 see
> > > http://dfu-util.gnumonks.org/
> > 
> > this is not ported to FreeBSD; I will try to get it updated or port it
> > by my onw;
> 

I have compiled dfu-util 0.5 directly from the sources because the port
is version 0.1 from 2009; this went streight forward with:

$ USB_CFLAGS=" " USB_LIBS="-lusb" ./configure
$ make

but the resulting dfu-util somehow does not work (while the 0.1 version
works fine on the same FreeBSD host and the same Freerunner):

# ~/dfu-util-0.5/src/dfu-util -d 0x1d50:0x5119 -a rootfs -R -D shr-image-om-gta02-20120413222611.rootfs.jffs2
dfu-util 0.5

(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Filter on vendor = 0x1d50 product = 0x5119
Opening DFU USB device... ID 1d50:5119
Run-time device DFU version 0100
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...
No such Alternate Setting: "rootfs"
#

as well using "6" for "rootfs" does not work...

Any comments or hints what the problem of 0.5 with FreeBSD libusb could
be? Thanks

	matthias
-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120417100147.GA2557>