From owner-freebsd-arm@FreeBSD.ORG Sun Sep 14 02:48:54 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA9CF1065671; Sun, 14 Sep 2008 02:48:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.tele2.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 321258FC08; Sun, 14 Sep 2008 02:48:53 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=0DHSzo6Uc4gA:10 a=ZtwMFzhc6XSROYQlMkMA/A==:17 a=OCGuPPFrAAAA:8 a=UygqU94-AJ72Uq561IEA:9 a=0zWrqIOWMmk_l2yTD3ex2MVxgrgA:4 a=x0uADENsyE8A:10 a=LY0hPdMaydYA:10 Received: from [62.113.133.218] (account mc467741@c2i.net [62.113.133.218] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 903016534; Sun, 14 Sep 2008 04:48:51 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 14 Sep 2008 04:50:43 +0200 User-Agent: KMail/1.9.7 References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809140450.43940.hselasky@c2i.net> Cc: freebsd-arm@freebsd.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2008 02:48:54 -0000 On Saturday 13 September 2008, Torfinn Ingolfsen wrote: > On Sat, 13 Sep 2008 14:22:20 +0200 > > Matthias Apitz 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: 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 > Hi, I figured it it now: My new USB stack selects configuration index 0 first, which is RNDIS. When I ran: usbconfig -u 2 -a 2 set_config 1 I got: cdce0: on usbus2 cdce0: Ethernet address: 5a:a0:96:da:00:00 --HPS From owner-freebsd-arm@FreeBSD.ORG Tue Sep 16 10:32:02 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4737E106567C for ; Tue, 16 Sep 2008 10:32:02 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id CDF198FC12 for ; Tue, 16 Sep 2008 10:32:01 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Sep 2008 12:32:00 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m8GAVxdb017355; Tue, 16 Sep 2008 12:31:59 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 16 Sep 2008 12:31:59 +0200 From: Matthias Apitz To: Torfinn Ingolfsen Message-ID: <20080916103159.GA17166@rebelion.Sisis.de> References: <200809131310.33495.hselasky@c2i.net> <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 16 Sep 2008 10:32:00.0140 (UTC) FILETIME=[739E2CC0:01C917E7] Cc: freebsd-arm@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 10:32:02 -0000 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 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: 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 - 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 From owner-freebsd-arm@FreeBSD.ORG Tue Sep 16 11:00:55 2008 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CEC1065674; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 687F68FC18; Tue, 16 Sep 2008 11:00:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m8GAwXSH082281; Tue, 16 Sep 2008 04:58:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 Sep 2008 04:59:15 -0600 (MDT) Message-Id: <20080916.045915.117918889.imp@bsdimp.com> To: guru@unixarea.de From: "M. Warner Losh" In-Reply-To: <20080916103159.GA17166@rebelion.Sisis.de> References: <20080913122220.GA3162@rebelion.Sisis.de> <20080913204646.fe60109d.torfinn.ingolfsen@broadpark.no> <20080916103159.GA17166@rebelion.Sisis.de> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@FreeBSD.org, freebsd-usb@FreeBSD.org Subject: Re: Openmoko phones and USB on FreeBSD X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2008 11:00:55 -0000 In message: <20080916103159.GA17166@rebelion.Sisis.de> Matthias Apitz writes: : El d=EDa Saturday, September 13, 2008 a las 08:46:46PM +0200, Torfinn= Ingolfsen escribi=F3: : = : > On Sat, 13 Sep 2008 14:22:20 +0200 : > Matthias Apitz 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 pr= oduct 0x5122 bus uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: on uhub1 = : > Sep 13 20:36:15 kg-work2 kernel: cdce0: faking MAC address Sep 13 2= 0: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 f= or 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? Looks like somebody didn't do their homework right: and are Linuxisms not protected by proper autoconf goo. Warner From owner-freebsd-arm@FreeBSD.ORG Thu Sep 18 08:46:01 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D86881065671 for ; Thu, 18 Sep 2008 08:46:01 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc3-s8.blu0.hotmail.com (blu0-omc3-s8.blu0.hotmail.com [65.55.116.83]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9088FC13 for ; Thu, 18 Sep 2008 08:46:01 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W8 ([65.55.116.73]) by blu0-omc3-s8.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 18 Sep 2008 01:34:00 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: Date: Thu, 18 Sep 2008 08:34:00 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 18 Sep 2008 08:34:00.0910 (UTC) FILETIME=[4CE4E6E0:01C91969] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: First try X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 08:46:01 -0000 Is there a tutorial available for installing FreeBSD/ARM on a qemu vm? _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/= From owner-freebsd-arm@FreeBSD.ORG Thu Sep 18 16:31:32 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 217561065671 for ; Thu, 18 Sep 2008 16:31:32 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id CA2EA8FC13 for ; Thu, 18 Sep 2008 16:31:31 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=orion.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KgMPi-0004ko-NE; Thu, 18 Sep 2008 20:31:30 +0400 Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 35D5B39832; Thu, 18 Sep 2008 20:31:29 +0400 (MSD) Date: Thu, 18 Sep 2008 20:31:29 +0400 From: Stanislav Sedov To: Desmond Chapman Message-Id: <20080918203129.f77587ff.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__18_Sep_2008_20_31_29_+0400_pmuXw.0x+zhTRL=H" Cc: freebsd-arm@freebsd.org Subject: Re: First try X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 16:31:32 -0000 --Signature=_Thu__18_Sep_2008_20_31_29_+0400_pmuXw.0x+zhTRL=H Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 18 Sep 2008 08:34:00 +0000 Desmond Chapman mentioned: > Is there a tutorial available for installing FreeBSD/ARM on a qemu vm? >=20 FreeBSD currently doesn't support any of QEMU arm platforms, AFAIK. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__18_Sep_2008_20_31_29_+0400_pmuXw.0x+zhTRL=H Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjSgmEACgkQK/VZk+smlYFPqACfePhIGEE2P2ea6w4DYBQfoxYq gJ0AnjOLzbH7zuauqQ431lA87fcSArFX =g/0S -----END PGP SIGNATURE----- --Signature=_Thu__18_Sep_2008_20_31_29_+0400_pmuXw.0x+zhTRL=H-- From owner-freebsd-arm@FreeBSD.ORG Thu Sep 18 17:11:26 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2E941065671 for ; Thu, 18 Sep 2008 17:11:26 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5FBC88FC17 for ; Thu, 18 Sep 2008 17:11:26 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so2109551nfh.33 for ; Thu, 18 Sep 2008 10:11:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Azmigpj7K2LohiRSDsXW/QFbz8a6q/nVuDIISV9mb3g=; b=q7qBPUgSzmpzwLnvqIN/LvgNxZIW3RqvdzuhHViWbA40TFp5DnQS5x7s5XVREYszVI ihJn9zMNzEDHUd5+YgMaLSC//p4oQMWW2HHPYB6Yra86dBaHRriFG2UcqFUZFRYdJPfX lVQ7ZKheWQKpSS06mEk72Rblh7jhIKrAIcFdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=D5wPr0rbQ07qaYg1WuAb696JN0POFL0nXY3aPteAQt4m4LEW8Z8c8DgPBa99vYtMAx KspGMM7cTaSfVgPpX4NpNv7orlZnYsL/pJWHJUEpZHaFBHJpQ4wq0AlpG/c3w5APiVgv Td8M36A3s6xYjK1mSej8zbDIgmxNVJK3zWqk4= Received: by 10.103.215.4 with SMTP id s4mr3129886muq.13.1221757884482; Thu, 18 Sep 2008 10:11:24 -0700 (PDT) Received: by 10.103.17.17 with HTTP; Thu, 18 Sep 2008 10:11:24 -0700 (PDT) Message-ID: Date: Thu, 18 Sep 2008 19:11:24 +0200 From: "Jacques Fourie" To: "Stanislav Sedov" In-Reply-To: <20080918203129.f77587ff.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080918203129.f77587ff.stas@FreeBSD.org> Cc: freebsd-arm@freebsd.org, Desmond Chapman Subject: Re: First try X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 17:11:26 -0000 On Thu, Sep 18, 2008 at 6:31 PM, Stanislav Sedov wrote: > On Thu, 18 Sep 2008 08:34:00 +0000 > Desmond Chapman mentioned: > >> Is there a tutorial available for installing FreeBSD/ARM on a qemu vm? >> > > FreeBSD currently doesn't support any of QEMU arm platforms, AFAIK. > > -- > Stanislav Sedov > ST4096-RIPE > QEMU can emulate the Gumstix platform but the last time I tried it QEMU exited with a "unsupported instruction" error. The same binary worked perfectly on real hardware.