[FS#3386] Regression: Broadcom Roboswitch B53

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Thu Oct 29 08:36:35 EDT 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has been changed.  The changes are listed below.  For full information about what has changed, visit the URL and click the History tab.

FS#3386 - Regression: Broadcom Roboswitch B53
User who did this: Rafał Miłecki (rmilecki)
Task details edited:
-------
Hi,

in the current trunk version, Broadcom Roboswitch will not work for certain router models. However, in the past it did work.

Building OpenWrt from scratch results in a working switch with v17.01.5 (from 15 Jul 2018 21:25:16) for target profile "Broadcom SOC, BCM43xx Wifi (brcmsmac)". Building OpenWrt from scratch for v18.06.0 (from 30 Jul 2018 18:44:34) results in the switch not working for the same target. So the problematic commit must have been between 15 Jul 2018 and 30 Jul 2018, and the problem is still present today.

------------
For v17.01.5
# dmesg | grep switch
[    3.596260] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    3.683106] b53_common: found switch: BCM5325, rev 4

Despite the message "Roboswitch not implemented" the switch comes up automatically and I can ping other computers connected through the switch.

# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ports: 0x003f
Port 0:
        pvid: 2
        link: port:0 link:down
Port 1:
        pvid: 1
        link: port:1 link:down
Port 2:
        pvid: 1
        link: port:2 link:down
Port 3:
        pvid: 1
        link: port:3 link:up speed:100baseT full-duplex auto
Port 4:
        pvid: 1
        link: port:4 link:down
Port 5:
        pvid: 0
        link: port:5 link:up speed:100baseT full-duplex
VLAN 1:
        ports: 1 2 3 4 5t
VLAN 2:
        ports: 0 5t

------------
For v18.06.0
# dmesg | grep switch
[    4.174603] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    4.275337] b53_common: unsupported switch detected (BCM5304/BCM4)
[    4.281640] Broadcom B53 (2) bcma_mdio-0-0:1e: failed to register switch: -22

The switch does not come up and thus I cannot ping.
------------

I tested this for the (unsuported) router Huawei B593u-12. You can find details about the router, logs, etc. under https://openwrt.org/toh/huawei/b593u-12

This also seems to address other routers, e.g. ZTE H218N, see https://forum.openwrt.org/t/b53-failed-to-detect-switch-on-bcm5358/20011
-------

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3386

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list