On Mon, Apr 16, 2018 at 2:00 AM, Roman Yeryomin <ro...@advem.lv> wrote:
>> Looking at your tree...
>> I don't see any (affecting) differences in ethernet driver itself.
>> Probably it's something else.. MDIO?
> After looking into ethernet I've found several issues.
> 1. skew delay settings were not ported from old driver to dts for nas4220b
> 2. kernel config in you patches (accidentally?) disabled bridge support
> 3. driver crashes if you try to disable unused gmac in dts because of access
> to uninitialized port(0|1) member of struct gemini_ethernet
Ouch. Sorry for my sucky backport. :(
> So after fixing all above ethernet on nas4220b is working ok.
You are my hero :)
> Can you confirm that after enabling bridge support back (just remove
> CONFIG_BRIDGE from gemini kernel config and rebuild) ethernet comes up on
> D-link boards? That is with default network config.
I think it's best if I test your entire set-up on the D-Link routers.
Do you have a git branch I can grab?
DNS-313 has working ethernet, DIR-685 is not yet working because
of missing upstream RTL8366RB support (working on it!) so it is
still a bit of WIP.
openwrt-devel mailing list