Skip to content

Commit

Permalink
[gearbox] use credo sai v0.7.5 (sonic-net#10578)
Browse files Browse the repository at this point in the history
The v0.7.5 has bug fix for the support of gearbox port and macsec counters. It also includes a owl firmware update with owl.lz4.fw.1.94.0.bin.

How I did it
Update credo sai url for v0.7.5
Update gearbox_config.json with using firmware owl.lz4.fw.1.94.0.bin instead of owl.lz4.fw.1.92.1.bin

How to verify it
Test gearbox port and macsec counter successfully on A7280.
  • Loading branch information
jimmyzhai authored Apr 15, 2022
1 parent 3068c51 commit 04f810a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "phy1",
"address": "1",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy1_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -19,7 +19,7 @@
"name": "phy2",
"address": "2",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy2_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -33,7 +33,7 @@
"name": "phy3",
"address": "3",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy3_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -47,7 +47,7 @@
"name": "phy4",
"address": "4",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy4_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -61,7 +61,7 @@
"name": "phy5",
"address": "5",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy5_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -75,7 +75,7 @@
"name": "phy6",
"address": "6",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy6_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -89,7 +89,7 @@
"name": "phy7",
"address": "7",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy7_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -103,7 +103,7 @@
"name": "phy8",
"address": "8",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy8_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "phy1",
"address": "1",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy1_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -19,7 +19,7 @@
"name": "phy2",
"address": "2",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy2_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -33,7 +33,7 @@
"name": "phy3",
"address": "3",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy3_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -47,7 +47,7 @@
"name": "phy4",
"address": "4",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy4_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -61,7 +61,7 @@
"name": "phy5",
"address": "5",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy5_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -75,7 +75,7 @@
"name": "phy6",
"address": "6",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy6_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -89,7 +89,7 @@
"name": "phy7",
"address": "7",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy7_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -103,7 +103,7 @@
"name": "phy8",
"address": "8",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy8_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -117,7 +117,7 @@
"name": "phy9",
"address": "9",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy9_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -131,7 +131,7 @@
"name": "phy10",
"address": "10",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy10_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -145,7 +145,7 @@
"name": "phy11",
"address": "11",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy11_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand All @@ -159,7 +159,7 @@
"name": "phy12",
"address": "12",
"lib_name": "",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.92.1.bin",
"firmware_path": "/usr/etc/credo/firmware/owl.lz4.fw.1.94.0.bin",
"config_file": "/usr/share/sonic/hwsku/phy12_config.json",
"sai_init_config_file": "",
"phy_access": "mdio",
Expand Down
8 changes: 4 additions & 4 deletions platform/components/docker-gbsyncd-credo.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DOCKER_GBSYNCD_PLATFORM_CODE = credo

LIBSAI_CREDO = libsaicredo_0.7.2_amd64.deb
$(LIBSAI_CREDO)_URL = "https://sonicstorage.blob.core.windows.net/packages/credosai/libsaicredo_0.7.2_amd64.deb?sv=2020-08-04&st=2021-11-23T03%3A17%3A40Z&se=2100-11-24T03%3A17%3A00Z&sr=b&sp=r&sig=q1hj3YHdkSnaKkN%2Bv0SYw01keE4ottLffuxSGre9mu0%3D"
LIBSAI_CREDO_OWL = libsaicredo-owl_0.7.2_amd64.deb
$(LIBSAI_CREDO_OWL)_URL = "https://sonicstorage.blob.core.windows.net/packages/credosai/libsaicredo-owl_0.7.2_amd64.deb?sv=2020-08-04&st=2021-11-23T03%3A50%3A31Z&se=2100-11-24T03%3A50%3A00Z&sr=b&sp=r&sig=mhiqfhHsBwa5AZOuNSj0U8uLsr46Tet6OGC41Mx5B6I%3D"
LIBSAI_CREDO = libsaicredo_0.7.5_amd64.deb
$(LIBSAI_CREDO)_URL = "https://sonicstorage.blob.core.windows.net/packages/credosai/libsaicredo_0.7.5_amd64.deb?sv=2020-10-02&st=2022-04-14T02%3A21%3A31Z&se=2100-04-15T02%3A21%3A00Z&sr=b&sp=r&sig=iDv9Fprntpw9iVBFYVjW8iygy4qcSWT8O90nAXdXR0A%3D"
LIBSAI_CREDO_OWL = libsaicredo-owl_0.7.5_amd64.deb
$(LIBSAI_CREDO_OWL)_URL = "https://sonicstorage.blob.core.windows.net/packages/credosai/libsaicredo-owl_0.7.5_amd64.deb?sv=2020-10-02&st=2022-04-14T02%3A23%3A22Z&se=2100-04-15T02%3A23%3A00Z&sr=b&sp=r&sig=58z6E2nPcLIGjqAoxRAo7du%2FzjIBZkFdoXfSzw96Kxc%3D"

ifneq ($($(LIBSAI_CREDO)_URL),)
include $(PLATFORM_PATH)/../template/docker-gbsyncd-base.mk
Expand Down

0 comments on commit 04f810a

Please sign in to comment.