Can't use mge on 88F5181

Adrian Chadd adrian.chadd at gmail.com
Thu Apr 13 21:00:57 UTC 2017


hi,

I'd have to go dig through the datasheets of everything to see what
the deal is. :( it could be ethernet switch side, it could be
interface config mismatch (MII, RMII, RGMII, SGMII, PSGMII, etc.); it
could be clock configuration (if it's MII, the clock is changed based
on 10/100; later interfaces run at a constant speed and just
bitstuff), etc, etc.

Can you get per-switch-port counters on the switch? Is the CPU port on
the switch seeing traffic?


-adrian


On 12 April 2017 at 22:26, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
> Hi.
>
> No arp and unicast packet receive mge checked by tcpdump command
> on this target. Also no pacet trans checked by tcpdump command on
> other machine. netstat -i have trans packet count without error.
> But no receive other machine. MIDO switch control is work fine.
> Giga switch physical port to physical port is receive and trans
> is fine. But cpu port nothing.
>
> My e6060sw.c code have dot1q support by VTU access code. e6000sw
> don't have it. I want add dot1q code to e6000sw too. But It is
> very hard no data sheet.
>
> I found ml topics is this type target at 2011. That subject is
> "Embedded switch instead of stadard PHY". I seem this is origin
> of etherswitch.
>
> Thanks
>
> Hiroki Mori
>
>
> ----- Original Message -----
>> From: Adrian Chadd <adrian.chadd at gmail.com>
>> To: Mori Hiroki <yamori813 at yahoo.co.jp>
>> Cc: "freebsd-arm at freebsd.org" <freebsd-arm at freebsd.org>
>> Date: 2017/4/12, Wed 09:55
>> Subject: Re: Can't use mge on 88F5181
>>
>> hiya,
>>
>> did you figure it out?
>>
>> Is there something like CRC, etc packet errors or something on RX?
>>
>>
>>
>> -adrian
>>
>>
>> On 4 April 2017 at 04:42, Mori Hiroki <yamori813 at yahoo.co.jp> wrote:
>>>  Hi.
>>>
>>>  I try to use Buffalo WZR-AMPG300NH. This module have 88F5181 and 88E6131.
>>>  I modify dev/mge and dev/etherswitch/e600sw/e6000sw.c.
>>>
>>>  Network interface mge is detect but not work. Switch port is work by
>>>  port vlan. But CPU connected port3 is nothing trans and receive packet.
>>>
>>>  I check marvell code but not fix this problem.
>>>
>>>  If you have advice, please let me know.
>>>
>>>
>>>  This is dmesg.
>>>
>>>  https://gist.github.com/yamori813/ecd5df1b314053a73f310c1122775540
>>>
>>>
>>>  Thanks.
>>>
>>>  Hiroki Mori
>>>  _______________________________________________
>>>  freebsd-arm at freebsd.org mailing list
>>>  https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>>>  To unsubscribe, send any mail to
>> "freebsd-arm-unsubscribe at freebsd.org"
>>


More information about the freebsd-arm mailing list