From owner-freebsd-arm@FreeBSD.ORG Thu Aug 2 16:08:37 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34616106566C for ; Thu, 2 Aug 2012 16:08:37 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id DE4DF8FC17 for ; Thu, 2 Aug 2012 16:08:36 +0000 (UTC) Received: by yenl8 with SMTP id l8so10469736yen.13 for ; Thu, 02 Aug 2012 09:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=D0AeT+YJ44dDL6K9qgOu5EROOJxaWA8BgLQgB6rPPig=; b=HD1BhcY3SiXU0avX3xqeiEa/AxoJAd4A+zH5m5X8SeLg0pxF5Yz0M5fMGZXX9Fso5K 9ug7JnJnD8lcLLTCKXUono4DBOdQzzZe08g0zmdVDjS1So6+Fy5YgSaXfGvRCx/yMSm0 JJWl4y893v7g7iS3AY4XZdd9YWW4YPVdZHbEiuEaZNBbVTEnCGJPD8WOSpzX4qGSOzf2 lgGNjRAq6+DLzPCdU1NyvHPEJ3Edt+E+5FYYVOjQOLHMyYJD501iZNmMdHg4bINZKJwo s5v1MPO+pI3LnrAvrFpJk2TMBiB5bXEV+50/Qx453GmB3rds7fPrbgIEYvnwpfhshrNx mH5A== Received: by 10.236.175.132 with SMTP id z4mr10092923yhl.60.1343923715635; Thu, 02 Aug 2012 09:08:35 -0700 (PDT) Received: from [127.0.0.1] ([97.100.95.108]) by mx.google.com with ESMTPS id n20sm3608942ani.18.2012.08.02.09.08.34 (version=SSLv3 cipher=OTHER); Thu, 02 Aug 2012 09:08:35 -0700 (PDT) Message-ID: <501AA601.5050609@gmail.com> Date: Thu, 02 Aug 2012 12:08:33 -0400 From: Richard E Neese User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Milan Obuch References: <5008728C.5040100@jetcafe.org> <1343845964.1128.28.camel@revolution.hippie.lan> <20120801205146.379ed29e@zeta.dino.sk> In-Reply-To: <20120801205146.379ed29e@zeta.dino.sk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Globalscale Dreamplug and 8.3 RELEASE 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, 02 Aug 2012 16:08:37 -0000 On 8/1/2012 2:51 PM, Milan Obuch wrote: > On Wed, 01 Aug 2012 12:32:44 -0600 > Ian Lepore wrote: > >> On Thu, 2012-07-19 at 13:48 -0700, Dave Hayes wrote: >>> Hello. :) I'm using FreeBSD 8.3 RELEASE and attempting to get this >>> running on my dreamplug. I've successfully gotten it to boot off of >>> a usb stick (after many adventures) but I've run into a problem. It >>> seems that mge1 is not found (the 2nd ethernet interface). >>> >>> I really need this to work, so I did some digging on this list but >>> it seems there's a .dts file needed. FreeBSD 8 doesn't use dts >>> files as far as I can tell, though I could be horribly wrong there. >>> >>> Can anyone point me to some patches which would get the 2nd >>> ethernet interface to work? >> I finally found some time yesterday to play around with this (sorry to >> take so long to respond). I made some small progress towards getting >> the second ethernet interface working, but didn't achieve complete >> success. >> >> The attached patch (for freebsd 8) gets things to the point where the >> mge1 device is created at boot time. You can manually configure the >> interface and packets will be received, but no packets ever go out. >> >> I did some driver debugging to the point where I see the outgoing >> packet buffers being handed to the hardware, and then shortly >> thereafter TX-done interrupts happen, as if the packet was sent just >> fine. But either the bits never hit the wire, or the packets are >> malformed in some way such that other boxes on my network can't see >> them arrive (using tcpdump; I don't have any wire-level debugging >> tools). >> > Did you properly set multiplexed pin functions? I did not play with 8.3 > on my GuruPlug Server, which should be similar enough. Look in archives > for message from me with subject 'Re: Guruplug Server Plus working to > some extent... [mge1 problem SOLVED]' dated Wed, 27 Oct 2010 22:59:34 > +0200. It contains some 9.0-CURRENT of that time patches, most probably > MPP settings need to be changed a bit in your case too. > >> I get the same results with a freshly-sync'd -current, so this isn't >> specific to freebsd 8. >> >> I have a feeling there's some simple little thing I'm overlooking >> because I don't know the arm/mv code well. Like the PHY needs to be >> powered on or a clock enabled for it or something like that. I don't >> think I've got much more time to play with this right now, so I >> figured I should post what I've learned along with the patches that >> get it this far; maybe someone else can make some more progress. >> >> -- Ian >> > I hope you can find how to set MPP functions and mge1 will work for you. > > Regards, > Milan > > N. B. This mail is somehow delayed, but nevertheless, hopefully you can > find something in older post mentioned in it. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" we are working on all aspects of the dreamplug. but our main goal is 9.x and 10 where both nices work fine. what ver of the dream plug do you have 8 9 or 10? to find out look on the back of the device where the mac/seriel number are. Off to the right there iss 2 rows of 4 numbers 0801 is a v8 0901 is a v9 1001is a v10 . as of right now the v10 is the one I am working with and the wifi and bt are not supported as there are no drivers for the 88w8787 chip in bsd yet.