Date: Thu, 2 Aug 2012 13:56:53 +0200 From: Rafal Jaworowski <raj@semihalf.com> To: Ian Lepore <freebsd@damnhippie.dyndns.org> Cc: freebsd-arm@freebsd.org Subject: Re: Globalscale Dreamplug and 8.3 RELEASE Message-ID: <DE0241F8-E84B-4B9F-A3CE-FEE790D1A26D@semihalf.com> In-Reply-To: <1343845964.1128.28.camel@revolution.hippie.lan> References: <5008728C.5040100@jetcafe.org> <1343845964.1128.28.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-08-01, at 20:32, 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=20 >> running on my dreamplug. I've successfully gotten it to boot off of a=20= >> usb stick (after many adventures) but I've run into a problem. It = seems=20 >> that mge1 is not found (the 2nd ethernet interface). >>=20 >> I really need this to work, so I did some digging on this list but it=20= >> seems there's a .dts file needed. FreeBSD 8 doesn't use dts files as = far=20 >> as I can tell, though I could be horribly wrong there. >>=20 >> Can anyone point me to some patches which would get the 2nd ethernet=20= >> interface to work? >=20 > 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. >=20 > 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. =20= >=20 > 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). >=20 > I get the same results with a freshly-sync'd -current, so this isn't > specific to freebsd 8. >=20 > 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. Make sure the MPP settings are 100% correct for this board. The second = MGE unit is multiplexed with other peripherals integrated on the chip, = so there might be strange issues occuring if the multiplexed lines are = not correctly configured for use with the Ethernet i/f. Rafal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE0241F8-E84B-4B9F-A3CE-FEE790D1A26D>