TL-WR1043: switch

Aleksandr Rybalko ray at ddteam.net
Mon Nov 28 23:19:01 UTC 2011


On Mon, 28 Nov 2011 23:18:06 +0100
Stefan Bethke <stb at 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 at lassitu.de>   Fon +49 151 14070811
> 
> 
> 
> _______________________________________________
> freebsd-embedded at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded
> To unsubscribe, send any mail to
> "freebsd-embedded-unsubscribe at 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 at ddteam.net>


More information about the freebsd-embedded mailing list