Re: b53 tags on bpi-r1 (bcm53125)

2018-01-08 Thread Jochen Friedrich
Hi Florian, Am 04.01.2018 um 05:49 schrieb Florian Fainelli: On 12/29/2017 07:22 PM, Florian Fainelli wrote: Le 12/29/17 à 13:56, Florian Fainelli a écrit : Le 12/29/17 à 12:21, Florian Fainelli a écrit : Hi Jochen, Le 12/18/17 à 02:44, Jochen Friedrich a écrit : Hi Florian, unfortunately,

Re: b53 tags on bpi-r1 (bcm53125)

2018-01-03 Thread Florian Fainelli
On 12/29/2017 07:22 PM, Florian Fainelli wrote: > Le 12/29/17 à 13:56, Florian Fainelli a écrit : >> Le 12/29/17 à 12:21, Florian Fainelli a écrit : >>> Hi Jochen, >>> >>> Le 12/18/17 à 02:44, Jochen Friedrich a écrit : Hi Florian, unfortunately, this doesn't make any difference. >>>

Re: b53 tags on bpi-r1 (bcm53125)

2017-12-29 Thread Florian Fainelli
Le 12/29/17 à 13:56, Florian Fainelli a écrit : > Le 12/29/17 à 12:21, Florian Fainelli a écrit : >> Hi Jochen, >> >> Le 12/18/17 à 02:44, Jochen Friedrich a écrit : >>> Hi Florian, >>> >>> unfortunately, this doesn't make any difference. >>> >>> Just out of curiosity, BPI-R1 has pull-down resistor

Re: b53 tags on bpi-r1 (bcm53125)

2017-12-29 Thread Florian Fainelli
Le 12/29/17 à 12:21, Florian Fainelli a écrit : > Hi Jochen, > > Le 12/18/17 à 02:44, Jochen Friedrich a écrit : >> Hi Florian, >> >> unfortunately, this doesn't make any difference. >> >> Just out of curiosity, BPI-R1 has pull-down resistors on LED6 and 7 >> (MII_MODE0/1). However, the public ava

Re: b53 tags on bpi-r1 (bcm53125)

2017-12-29 Thread Florian Fainelli
Hi Jochen, Le 12/18/17 à 02:44, Jochen Friedrich a écrit : > Hi Florian, > > unfortunately, this doesn't make any difference. > > Just out of curiosity, BPI-R1 has pull-down resistors on LED6 and 7 > (MII_MODE0/1). However, the public available 53125U sheet doesn't > document these pins: > > LE

Re: b53 tags on bpi-r1 (bcm53125)

2017-12-18 Thread Jochen Friedrich
Hi Florian, unfortunately, this doesn't make any difference. Just out of curiosity, BPI-R1 has pull-down resistors on LED6 and 7 (MII_MODE0/1). However, the public available 53125U sheet doesn't document these pins: LED[6] IMP_MODE[0] Pull-up Active low (since IMP Mode is not used) LED[7] IM

Re: b53 tags on bpi-r1 (bcm53125)

2017-12-14 Thread Florian Fainelli
Hi Jochen, On 11/23/2017 11:14 AM, Jochen Friedrich wrote: > Hi Florian, > >> With Broadcom tags (or any type of switch tagging protocol), eth0 >> becomes a conduit interface and no longer a "normal" network device for >> applications/socket to use. This means that if you were obtaining an IP >>

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-23 Thread Jochen Friedrich
Hi Florian, With Broadcom tags (or any type of switch tagging protocol), eth0 becomes a conduit interface and no longer a "normal" network device for applications/socket to use. This means that if you were obtaining an IP address through a DHCP client using e.g: dhclient eth0, this now needs to

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-23 Thread Florian Fainelli
Hi Jochen, On 11/23/2017 09:05 AM, Jochen Friedrich wrote: > Hi Florian, > > >> OK, because this is a 53125S, it should support Broadcom tags correctly, >> not clear yet what is happening. Just to make sure, you are using >> arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts as the DTS for this platform,

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-23 Thread Jochen Friedrich
Hi Florian, OK, because this is a 53125S, it should support Broadcom tags correctly, not clear yet what is happening. Just to make sure, you are using arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts as the DTS for this platform, right? Yes, that's the DTS I'm using. If so, can you provide the eth

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-21 Thread Florian Fainelli
On 11/21/2017 03:07 PM, Jochen Friedrich wrote: > Hallo Florian, > >> - what is the value of page 02, register 3 during b53_switch_detect()? A >> managed switch should have this set to 0x3, whereas I would expect an >> unmanaged switch to be 0x0 > > The register has the value 3. OK, because this

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-21 Thread Jochen Friedrich
Hallo Florian, - what is the value of page 02, register 3 during b53_switch_detect()? A managed switch should have this set to 0x3, whereas I would expect an unmanaged switch to be 0x0 The register has the value 3. Thanks, Jochen

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-21 Thread scram287
Hi Florian, Hi Jochen, On 11/21/2017 12:10 AM, Jochen Friedrich wrote: Hi Florian, i just tested the latest DSA patches for b53 on a bpi-r1 device (net: dsa: b53: Turn on Broadcom tags). Unfortunately, the bcm53125 does not seem to handle the broadcom tags on CPU port although tuned on b53_

Re: b53 tags on bpi-r1 (bcm53125)

2017-11-21 Thread Florian Fainelli
Hi Jochen, On 11/21/2017 12:10 AM, Jochen Friedrich wrote: > Hi Florian, > > > i just tested the latest DSA patches for b53 on a bpi-r1 device (net: > dsa: b53: Turn on Broadcom tags). > > Unfortunately, the bcm53125 does not seem to handle the broadcom tags on > CPU port although tuned on b53_

b53 tags on bpi-r1 (bcm53125)

2017-11-21 Thread Jochen Friedrich
Hi Florian, i just tested the latest DSA patches for b53 on a bpi-r1 device (net: dsa: b53: Turn on Broadcom tags). Unfortunately, the bcm53125 does not seem to handle the broadcom tags on CPU port although tuned on b53_brcm_hdr_setup(). The tag is still visible on a device connected to one