Open daisuke-k opened 4 years ago
It's because the SAI package released by Broadcom doesn't support TD2+ ASIC which is used by AS5812-54T.
Is this also the case for the AS5812-54X? If so, do you know if there is anything that can be done to resolve it? The latest SAI package from Broadcom seems to be from 2 years ago and lists TD2 and being supported (but no mention of TD2+).
It seems strange as this particular switch is listed as compatible with SONiC but it's showing no interfaces for me.
As @Dina0312 pointed out, this switch is listed as compatible with SONiC. So, I wonder if anyone has managed to get SONiC working on AS5812 ever?
The latest SAI package from Broadcom seems to be from 2 years ago and lists TD2 and being supported (but no mention of TD2+).
The latest SAI package is listed here: https://github.com/Azure/sonic-buildimage/blob/master/platform/broadcom/sai.mk#L2. It's much more recent than 2 years ago.
However, it does not support Trident2+ out of the box. The file libsai.so.1.0 can be binary patched (write me in Telegram: https://t.me/Str1ker I will tell you how) but after this you will need a config.bcm file - Broadcom SDK configuration file, where portmappings and phy rx tx polarity and etc. It's very difficult to craft it manually, but it's possible to take one from another, probably commercial, NOS running on the same hardware. Also, message-signaled interrupts (MSI) should be enabled in SONiC, otherwise initialization will hang or RX/TX to/from CPU won't work.
UPD: example of config.bcm is here: https://github.com/Azure/sonic-buildimage/pull/3428/files. It probably won't work, but you can give it a try.
Hi all,
is AS5812-54T switch supported with the latest release of SONIC?
@zaprocvat I don't know, but note that latest release of Edgecore's SONiC binary build (version 202012.1) does claim to add support for the AS5812-54X. It does not say anything about the AS5812-54T, but considering that it uses the same TD2+ ASIC as the 54X does, it might be worth while testing it anyway – maybe they just forgot to add the 54T to the release notes.
Has anyone done any progress regarding this?
I've installed SONiC into Accton AS5812-54T, but I am unable to see any interfaces in the CLI. I also found that syncd seemed to be hung up due to error. I expect that I can see the status of every port on AS5812 by "show interfaces status" command, but the output of this command is empty. How can I fix the issue? Any help would be much appreciated.
sonic_dump_AS5812-54T-20191226-004011.tar.gz