Date: Tue, 29 Nov 2011 00:51:26 +0200 From: Aleksandr Rybalko <ray@ddteam.net> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-embedded@freebsd.org Subject: Re: TL-WR1043: switch Message-ID: <20111129005126.4679cecc.ray@ddteam.net> In-Reply-To: <68ABED76-CB1F-405A-8036-EC254F7511FA@lassitu.de> References: <68ABED76-CB1F-405A-8036-EC254F7511FA@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Nov 2011 23:18:06 +0100 Stefan Bethke <stb@lassitu.de> wrote: > So with the GPIOs working, the next step would be to attach a > bit-banging I2C device to GPIO 18 and 19. My kernel foo is probably > not up to creating the appropriate newbus attachment myself. Anybody > want to give me a hint? I'd start by copying lpbb, replacing the > parallel port code with appropirate gpio calls. > > I haven't taken a detailed look at the OpenWrt code, but the > datasheet for the RTL8366 can be googled, including a full register > map and a description of the VLAN configuration (which I'm most > interested in). With a working I2C bus, that shouldn't be too hard, > I'd think. > > > Stefan > > -- > Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811 > > > > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to > "freebsd-embedded-unsubscribe@freebsd.org" Hi Stefan, can you do me a favor? check please (if box open already) are pins 66,67 of RTL8366 wired? I ask because (maybe you know) I work on switch framework and already have partial support for RTL8366, but in my box it connected with MDIO (pins 66,67) Thank you! WBW -- Aleksandr Rybalko <ray@ddteam.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111129005126.4679cecc.ray>