Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 12:31:59 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-arm@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: Openmoko phones and USB on FreeBSD
Message-ID:  <20080916103159.GA17166@rebelion.Sisis.de>
In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no>
References:  <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn Ingolfsen escribió:

> On Sat, 13 Sep 2008 14:22:20 +0200
> Matthias Apitz <guru@unixarea.de> wrote:
> 
> > Concerning accessing the Openmoko through USB I thought that this is
> > possible, at least the Openmoko's Wiki says this:
> > http://wiki.openmoko.org/wiki/USB_Networking#FreeBSD
> 
> Yes, this is possible. When I plug in my Neo FreeRunner into this
> FreeeBSD workstation, I get this in /var/log/messages:
> Sep 13 20:36:14 kg-work2 root: Unknown USB device: vendor 0x1457 product 0x5122 bus uhub1 
> Sep 13 20:36:15 kg-work2 kernel: cdce0: <Linux 2.6.24/s3c2410_udc RNDIS/Ethernet Gadget, class 2/0, rev 2.00/2.12, addr 2> on uhub1 
> Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 20:36:15 kg-work2 kernel: cdce0: Ethernet address:
> 2a:fd:05:61:9b:00 
> Sep 13 20:36:15 kg-work2 kernel: cdce0: if_start running deferred for Giant

	...

To prepare things a bit while still waiting for my Openmoko Gadget, I've
pulled out 'dfu-util' from SVN as described in the Openmoko Wiki:

http://wiki.openmoko.org/wiki/Dfu-util

$ svn co http://svn.openmoko.org/trunk/src/host/dfu-util/
$ cd dfu-util
$ ./autogen.sh
$ ./configure
$ make

but it does not compile because of missing header files:

main.c:29:22: error: byteswap.h: No such file or directory
main.c:30:20: error: endian.h: No such file or directory

before digging into the details, is there already a port of 'dfu-util'
to FreeBSD?

thx

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows



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