From owner-freebsd-arm@FreeBSD.ORG Fri Sep 28 16:39:28 2012 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 523F4106566C for ; Fri, 28 Sep 2012 16:39:28 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id CB8248FC12 for ; Fri, 28 Sep 2012 16:39:27 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 325873193; Fri, 28 Sep 2012 18:34:20 +0200 From: Hans Petter Selasky To: "Sevan / Venture37" Date: Fri, 28 Sep 2012 18:35:45 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <506327AD.8030103@gmail.com> <201209271728.51989.hselasky@c2i.net> <50658377.5030102@gmail.com> In-Reply-To: <50658377.5030102@gmail.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201209281835.45080.hselasky@c2i.net> Cc: freebsd-arm@freebsd.org Subject: Re: Unable to boot Pi successfully with ethernet interface configured 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: Fri, 28 Sep 2012 16:39:28 -0000 On Friday 28 September 2012 13:01:11 Sevan / Venture37 wrote: > On 27/09/2012 16:28, Hans Petter Selasky wrote: > > Found some more issues, try this patch: > > > > http://svn.freebsd.org/changeset/base/240998 > > > > --HPS > > That did the trick, thank you :) > Hi, I've just fixed some issues in the if_smsc.c, so you might want to "svn up" again. Seems like ethernet packets received carry 4 bytes extra. Regarding performance, there are actions we can do. Right now I just want a stable driver. I measured around 10MBit in each direction on ethernet and my USB memory stick was giving me 0.5 MBytes/second (Read). And the CPU usage is now around 0.8% when the USB stack is idle. The reason for this slowness is not USB itself, but that we are doing much of the USB protocol in software. I've also tested that FULL/LOW speed devices should work, like mouse and keyboard and USB serial port adapters. Feel free to keep us updated what you are doing with FreeBSD on your Raspberry PI and if you see more USB related problems :-) --HPS