From 6e0559d5fa296e8aece03dd55030342732e5fd12 Mon Sep 17 00:00:00 2001 From: andywongarista <78833093+andywongarista@users.noreply.github.com> Date: Wed, 29 Jun 2022 09:56:24 -0700 Subject: [PATCH] [Arista] Add initial support for 720DT-48S (#10656) Added initial set of config files to allow for booting and partial traffic testing in SONiC on the 720DT-48S. How to verify it - Switch boots - show interfaces status shows links up on interfaces Ethernet24-51 - Traffic flows with no errors on interfaces Ethernet24-51 --- .../Arista-720DT-48S/hwsku.json | 208 ++++++ .../Arista-720DT-48S/port_config.ini | 53 ++ .../Arista-720DT-48S/sai.profile | 1 + .../x86_64-arista_720dt_48s/default_sku | 1 + .../x86_64-arista_720dt_48s/platform.json | 647 ++++++++++++++++++ .../x86_64-arista_720dt_48s/platform_asic | 1 + .../x86_64-arista_720dt_48s/platform_reboot | 1 + device/arista/x86_64-arista_720dt_48s/plugins | 1 + .../pmon_daemon_control.json | 1 + .../system_health_monitoring_config.json | 1 + .../td3x2-a720dt-48s-flex.config.bcm | 302 ++++++++ .../thermal_policy.json | 1 + files/Aboot/boot0.j2 | 6 + files/initramfs-tools/arista-convertfs.j2 | 2 +- 14 files changed, 1225 insertions(+), 1 deletion(-) create mode 100644 device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/hwsku.json create mode 100644 device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/port_config.ini create mode 100644 device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/sai.profile create mode 100644 device/arista/x86_64-arista_720dt_48s/default_sku create mode 100644 device/arista/x86_64-arista_720dt_48s/platform.json create mode 100644 device/arista/x86_64-arista_720dt_48s/platform_asic create mode 120000 device/arista/x86_64-arista_720dt_48s/platform_reboot create mode 120000 device/arista/x86_64-arista_720dt_48s/plugins create mode 120000 device/arista/x86_64-arista_720dt_48s/pmon_daemon_control.json create mode 120000 device/arista/x86_64-arista_720dt_48s/system_health_monitoring_config.json create mode 100644 device/arista/x86_64-arista_720dt_48s/td3x2-a720dt-48s-flex.config.bcm create mode 120000 device/arista/x86_64-arista_720dt_48s/thermal_policy.json diff --git a/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/hwsku.json b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/hwsku.json new file mode 100644 index 0000000000..e0dc3fc5e5 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/hwsku.json @@ -0,0 +1,208 @@ +{ + "interfaces": { + "Ethernet0": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet1": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet2": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet3": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet4": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet5": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet6": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet7": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet8": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet9": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet10": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet11": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet12": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet13": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet14": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet15": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet16": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet17": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet18": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet19": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet20": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet21": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet22": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet23": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet24": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet25": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet26": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet27": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet28": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet29": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet30": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet31": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet32": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet33": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet34": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet35": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet36": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet37": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet38": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet39": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet40": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet41": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet42": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet43": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet44": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet45": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet46": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet47": { + "default_brkout_mode": "1x1G", + "port_type": "RJ45" + }, + "Ethernet48": { + "default_brkout_mode": "1x10G" + }, + "Ethernet49": { + "default_brkout_mode": "1x10G" + }, + "Ethernet50": { + "default_brkout_mode": "1x10G" + }, + "Ethernet51": { + "default_brkout_mode": "1x10G" + } + } +} \ No newline at end of file diff --git a/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/port_config.ini b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/port_config.ini new file mode 100644 index 0000000000..938f5588c5 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/port_config.ini @@ -0,0 +1,53 @@ +# name lanes alias index speed +Ethernet0 25 Ethernet1 1 1000 +Ethernet1 26 Ethernet2 2 1000 +Ethernet2 27 Ethernet3 3 1000 +Ethernet3 28 Ethernet4 4 1000 +Ethernet4 29 Ethernet5 5 1000 +Ethernet5 30 Ethernet6 6 1000 +Ethernet6 31 Ethernet7 7 1000 +Ethernet7 32 Ethernet8 8 1000 +Ethernet8 33 Ethernet9 9 1000 +Ethernet9 34 Ethernet10 10 1000 +Ethernet10 35 Ethernet11 11 1000 +Ethernet11 36 Ethernet12 12 1000 +Ethernet12 37 Ethernet13 13 1000 +Ethernet13 38 Ethernet14 14 1000 +Ethernet14 39 Ethernet15 15 1000 +Ethernet15 40 Ethernet16 16 1000 +Ethernet16 41 Ethernet17 17 1000 +Ethernet17 42 Ethernet18 18 1000 +Ethernet18 43 Ethernet19 19 1000 +Ethernet19 44 Ethernet20 20 1000 +Ethernet20 45 Ethernet21 21 1000 +Ethernet21 46 Ethernet22 22 1000 +Ethernet22 47 Ethernet23 23 1000 +Ethernet23 48 Ethernet24 24 1000 +Ethernet24 1 Ethernet25 25 1000 +Ethernet25 2 Ethernet26 26 1000 +Ethernet26 3 Ethernet27 27 1000 +Ethernet27 4 Ethernet28 28 1000 +Ethernet28 5 Ethernet29 29 1000 +Ethernet29 6 Ethernet30 30 1000 +Ethernet30 7 Ethernet31 31 1000 +Ethernet31 8 Ethernet32 32 1000 +Ethernet32 9 Ethernet33 33 1000 +Ethernet33 10 Ethernet34 34 1000 +Ethernet34 11 Ethernet35 35 1000 +Ethernet35 12 Ethernet36 36 1000 +Ethernet36 13 Ethernet37 37 1000 +Ethernet37 14 Ethernet38 38 1000 +Ethernet38 15 Ethernet39 39 1000 +Ethernet39 16 Ethernet40 40 1000 +Ethernet40 17 Ethernet41 41 1000 +Ethernet41 18 Ethernet42 42 1000 +Ethernet42 19 Ethernet43 43 1000 +Ethernet43 20 Ethernet44 44 1000 +Ethernet44 21 Ethernet45 45 1000 +Ethernet45 22 Ethernet46 46 1000 +Ethernet46 23 Ethernet47 47 1000 +Ethernet47 24 Ethernet48 48 1000 +Ethernet48 61 Ethernet49 49 10000 +Ethernet49 62 Ethernet50 50 10000 +Ethernet50 63 Ethernet51 51 10000 +Ethernet51 64 Ethernet52 52 10000 diff --git a/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/sai.profile b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/sai.profile new file mode 100644 index 0000000000..6a6d4789ce --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/Arista-720DT-48S/sai.profile @@ -0,0 +1 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/platform/td3x2-a720dt-48s-flex.config.bcm diff --git a/device/arista/x86_64-arista_720dt_48s/default_sku b/device/arista/x86_64-arista_720dt_48s/default_sku new file mode 100644 index 0000000000..dc550de246 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/default_sku @@ -0,0 +1 @@ +Arista-720DT-48S t1 diff --git a/device/arista/x86_64-arista_720dt_48s/platform.json b/device/arista/x86_64-arista_720dt_48s/platform.json new file mode 100644 index 0000000000..add21ae911 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/platform.json @@ -0,0 +1,647 @@ +{ + "chassis": { + "name": "CCS-720DT-48S", + "components": [], + "fans": [], + "fan_drawers": [], + "psus": [ + { + "name": "psu1", + "fans": [] + }, + { + "name": "psu2", + "fans": [] + } + ], + "thermals": [], + "sfps": [ + { + "name": "ethernet1" + }, + { + "name": "ethernet2" + }, + { + "name": "ethernet3" + }, + { + "name": "ethernet4" + }, + { + "name": "ethernet5" + }, + { + "name": "ethernet6" + }, + { + "name": "ethernet7" + }, + { + "name": "ethernet8" + }, + { + "name": "ethernet9" + }, + { + "name": "ethernet10" + }, + { + "name": "ethernet11" + }, + { + "name": "ethernet12" + }, + { + "name": "ethernet13" + }, + { + "name": "ethernet14" + }, + { + "name": "ethernet15" + }, + { + "name": "ethernet16" + }, + { + "name": "ethernet17" + }, + { + "name": "ethernet18" + }, + { + "name": "ethernet19" + }, + { + "name": "ethernet20" + }, + { + "name": "ethernet21" + }, + { + "name": "ethernet22" + }, + { + "name": "ethernet23" + }, + { + "name": "ethernet24" + }, + { + "name": "ethernet25" + }, + { + "name": "ethernet26" + }, + { + "name": "ethernet27" + }, + { + "name": "ethernet28" + }, + { + "name": "ethernet29" + }, + { + "name": "ethernet30" + }, + { + "name": "ethernet31" + }, + { + "name": "ethernet32" + }, + { + "name": "ethernet33" + }, + { + "name": "ethernet34" + }, + { + "name": "ethernet35" + }, + { + "name": "ethernet36" + }, + { + "name": "ethernet37" + }, + { + "name": "ethernet38" + }, + { + "name": "ethernet39" + }, + { + "name": "ethernet40" + }, + { + "name": "ethernet41" + }, + { + "name": "ethernet42" + }, + { + "name": "ethernet43" + }, + { + "name": "ethernet44" + }, + { + "name": "ethernet45" + }, + { + "name": "ethernet46" + }, + { + "name": "ethernet47" + }, + { + "name": "ethernet48" + }, + { + "name": "sfp49" + }, + { + "name": "sfp50" + }, + { + "name": "sfp51" + }, + { + "name": "sfp52" + } + ] + }, + "interfaces": { + "Ethernet0": { + "index": "1", + "lanes": "25", + "breakout_modes": { + "1x1G": [ + "Ethernet1" + ] + } + }, + "Ethernet1": { + "index": "2", + "lanes": "26", + "breakout_modes": { + "1x1G": [ + "Ethernet2" + ] + } + }, + "Ethernet2": { + "index": "3", + "lanes": "27", + "breakout_modes": { + "1x1G": [ + "Ethernet3" + ] + } + }, + "Ethernet3": { + "index": "4", + "lanes": "28", + "breakout_modes": { + "1x1G": [ + "Ethernet4" + ] + } + }, + "Ethernet4": { + "index": "5", + "lanes": "29", + "breakout_modes": { + "1x1G": [ + "Ethernet5" + ] + } + }, + "Ethernet5": { + "index": "6", + "lanes": "30", + "breakout_modes": { + "1x1G": [ + "Ethernet6" + ] + } + }, + "Ethernet6": { + "index": "7", + "lanes": "31", + "breakout_modes": { + "1x1G": [ + "Ethernet7" + ] + } + }, + "Ethernet7": { + "index": "8", + "lanes": "32", + "breakout_modes": { + "1x1G": [ + "Ethernet8" + ] + } + }, + "Ethernet8": { + "index": "9", + "lanes": "33", + "breakout_modes": { + "1x1G": [ + "Ethernet9" + ] + } + }, + "Ethernet9": { + "index": "10", + "lanes": "34", + "breakout_modes": { + "1x1G": [ + "Ethernet10" + ] + } + }, + "Ethernet10": { + "index": "11", + "lanes": "35", + "breakout_modes": { + "1x1G": [ + "Ethernet11" + ] + } + }, + "Ethernet11": { + "index": "12", + "lanes": "36", + "breakout_modes": { + "1x1G": [ + "Ethernet12" + ] + } + }, + "Ethernet12": { + "index": "13", + "lanes": "37", + "breakout_modes": { + "1x1G": [ + "Ethernet13" + ] + } + }, + "Ethernet13": { + "index": "14", + "lanes": "38", + "breakout_modes": { + "1x1G": [ + "Ethernet14" + ] + } + }, + "Ethernet14": { + "index": "15", + "lanes": "39", + "breakout_modes": { + "1x1G": [ + "Ethernet15" + ] + } + }, + "Ethernet15": { + "index": "16", + "lanes": "40", + "breakout_modes": { + "1x1G": [ + "Ethernet16" + ] + } + }, + "Ethernet16": { + "index": "17", + "lanes": "41", + "breakout_modes": { + "1x1G": [ + "Ethernet17" + ] + } + }, + "Ethernet17": { + "index": "18", + "lanes": "42", + "breakout_modes": { + "1x1G": [ + "Ethernet18" + ] + } + }, + "Ethernet18": { + "index": "19", + "lanes": "43", + "breakout_modes": { + "1x1G": [ + "Ethernet19" + ] + } + }, + "Ethernet19": { + "index": "20", + "lanes": "44", + "breakout_modes": { + "1x1G": [ + "Ethernet20" + ] + } + }, + "Ethernet20": { + "index": "21", + "lanes": "45", + "breakout_modes": { + "1x1G": [ + "Ethernet21" + ] + } + }, + "Ethernet21": { + "index": "22", + "lanes": "46", + "breakout_modes": { + "1x1G": [ + "Ethernet22" + ] + } + }, + "Ethernet22": { + "index": "23", + "lanes": "47", + "breakout_modes": { + "1x1G": [ + "Ethernet23" + ] + } + }, + "Ethernet23": { + "index": "24", + "lanes": "48", + "breakout_modes": { + "1x1G": [ + "Ethernet24" + ] + } + }, + "Ethernet24": { + "index": "25", + "lanes": "1", + "breakout_modes": { + "1x1G": [ + "Ethernet25" + ] + } + }, + "Ethernet25": { + "index": "26", + "lanes": "2", + "breakout_modes": { + "1x1G": [ + "Ethernet26" + ] + } + }, + "Ethernet26": { + "index": "27", + "lanes": "3", + "breakout_modes": { + "1x1G": [ + "Ethernet27" + ] + } + }, + "Ethernet27": { + "index": "28", + "lanes": "4", + "breakout_modes": { + "1x1G": [ + "Ethernet28" + ] + } + }, + "Ethernet28": { + "index": "29", + "lanes": "5", + "breakout_modes": { + "1x1G": [ + "Ethernet29" + ] + } + }, + "Ethernet29": { + "index": "30", + "lanes": "6", + "breakout_modes": { + "1x1G": [ + "Ethernet30" + ] + } + }, + "Ethernet30": { + "index": "31", + "lanes": "7", + "breakout_modes": { + "1x1G": [ + "Ethernet31" + ] + } + }, + "Ethernet31": { + "index": "32", + "lanes": "8", + "breakout_modes": { + "1x1G": [ + "Ethernet32" + ] + } + }, + "Ethernet32": { + "index": "33", + "lanes": "9", + "breakout_modes": { + "1x1G": [ + "Ethernet33" + ] + } + }, + "Ethernet33": { + "index": "34", + "lanes": "10", + "breakout_modes": { + "1x1G": [ + "Ethernet34" + ] + } + }, + "Ethernet34": { + "index": "35", + "lanes": "11", + "breakout_modes": { + "1x1G": [ + "Ethernet35" + ] + } + }, + "Ethernet35": { + "index": "36", + "lanes": "12", + "breakout_modes": { + "1x1G": [ + "Ethernet36" + ] + } + }, + "Ethernet36": { + "index": "37", + "lanes": "13", + "breakout_modes": { + "1x1G": [ + "Ethernet37" + ] + } + }, + "Ethernet37": { + "index": "38", + "lanes": "14", + "breakout_modes": { + "1x1G": [ + "Ethernet38" + ] + } + }, + "Ethernet38": { + "index": "39", + "lanes": "15", + "breakout_modes": { + "1x1G": [ + "Ethernet39" + ] + } + }, + "Ethernet39": { + "index": "40", + "lanes": "16", + "breakout_modes": { + "1x1G": [ + "Ethernet40" + ] + } + }, + "Ethernet40": { + "index": "41", + "lanes": "17", + "breakout_modes": { + "1x1G": [ + "Ethernet41" + ] + } + }, + "Ethernet41": { + "index": "42", + "lanes": "18", + "breakout_modes": { + "1x1G": [ + "Ethernet42" + ] + } + }, + "Ethernet42": { + "index": "43", + "lanes": "19", + "breakout_modes": { + "1x1G": [ + "Ethernet43" + ] + } + }, + "Ethernet43": { + "index": "44", + "lanes": "20", + "breakout_modes": { + "1x1G": [ + "Ethernet44" + ] + } + }, + "Ethernet44": { + "index": "45", + "lanes": "21", + "breakout_modes": { + "1x1G": [ + "Ethernet45" + ] + } + }, + "Ethernet45": { + "index": "46", + "lanes": "22", + "breakout_modes": { + "1x1G": [ + "Ethernet46" + ] + } + }, + "Ethernet46": { + "index": "47", + "lanes": "23", + "breakout_modes": { + "1x1G": [ + "Ethernet47" + ] + } + }, + "Ethernet47": { + "index": "48", + "lanes": "24", + "breakout_modes": { + "1x1G": [ + "Ethernet48" + ] + } + }, + "Ethernet48": { + "index": "49", + "lanes": "61", + "breakout_modes": { + "1x10G": [ + "Ethernet49" + ] + } + }, + "Ethernet49": { + "index": "50", + "lanes": "62", + "breakout_modes": { + "1x10G": [ + "Ethernet50" + ] + } + }, + "Ethernet50": { + "index": "51", + "lanes": "63", + "breakout_modes": { + "1x10G": [ + "Ethernet51" + ] + } + }, + "Ethernet51": { + "index": "52", + "lanes": "64", + "breakout_modes": { + "1x10G": [ + "Ethernet52" + ] + } + } + } +} diff --git a/device/arista/x86_64-arista_720dt_48s/platform_asic b/device/arista/x86_64-arista_720dt_48s/platform_asic new file mode 100644 index 0000000000..9604676527 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/platform_asic @@ -0,0 +1 @@ +broadcom diff --git a/device/arista/x86_64-arista_720dt_48s/platform_reboot b/device/arista/x86_64-arista_720dt_48s/platform_reboot new file mode 120000 index 0000000000..7f94a49e38 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/platform_reboot @@ -0,0 +1 @@ +../x86_64-arista_common/platform_reboot \ No newline at end of file diff --git a/device/arista/x86_64-arista_720dt_48s/plugins b/device/arista/x86_64-arista_720dt_48s/plugins new file mode 120000 index 0000000000..789a45fcac --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/plugins @@ -0,0 +1 @@ +../x86_64-arista_common/plugins \ No newline at end of file diff --git a/device/arista/x86_64-arista_720dt_48s/pmon_daemon_control.json b/device/arista/x86_64-arista_720dt_48s/pmon_daemon_control.json new file mode 120000 index 0000000000..51d5ab7b00 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/pmon_daemon_control.json @@ -0,0 +1 @@ +../x86_64-arista_common/pmon_daemon_control.json \ No newline at end of file diff --git a/device/arista/x86_64-arista_720dt_48s/system_health_monitoring_config.json b/device/arista/x86_64-arista_720dt_48s/system_health_monitoring_config.json new file mode 120000 index 0000000000..1185f771fa --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/system_health_monitoring_config.json @@ -0,0 +1 @@ +../x86_64-arista_common/system_health_monitoring_config.json \ No newline at end of file diff --git a/device/arista/x86_64-arista_720dt_48s/td3x2-a720dt-48s-flex.config.bcm b/device/arista/x86_64-arista_720dt_48s/td3x2-a720dt-48s-flex.config.bcm new file mode 100644 index 0000000000..7469c6dbca --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/td3x2-a720dt-48s-flex.config.bcm @@ -0,0 +1,302 @@ +PHY_AN_ALLOW_PLL_CHANGE=1 +arl_clean_timeout_usec=15000000 +asf_mem_profile.0=0 +bcm_num_cos.0=9 +bcm_stat_flags=1 +bcm_stat_jumbo.0=9236 +cdma_timeout_usec.0=15000000 +disable_pcie_firmware_check.0=1 +dma_desc_timeout_usec.0=15000000 +fpem_mem_entries.0=0 +higig2_hdr_mode.0=1 +ifp_inports_support_enable.0=1 +l2xmsg_mode.0=1 +l2_mem_entries.0=65536 +l3_mem_entries.0=32768 +max_vp_lags.0=0 +mem_scan_enable.0=1 +miim_intr_enable.0=0 +module_64ports.0=1 +multicast_l2_range.0=4095 +multicast_l3_range.0=0 +os=unix +oversubscribe_mode=2 +pbmp_xport_xe.0=0x1e1fffffffffffe +phy_an_c37_53.0=2 +phy_an_c37_54.0=2 +phy_an_c37_55.0=2 +phy_an_c37_56.0=2 +phy_an_c73_1.0=1 +phy_an_c73_10.0=1 +phy_an_c73_11.0=1 +phy_an_c73_12.0=1 +phy_an_c73_13.0=1 +phy_an_c73_14.0=1 +phy_an_c73_15.0=1 +phy_an_c73_16.0=1 +phy_an_c73_17.0=1 +phy_an_c73_18.0=1 +phy_an_c73_19.0=1 +phy_an_c73_2.0=1 +phy_an_c73_20.0=1 +phy_an_c73_21.0=1 +phy_an_c73_22.0=1 +phy_an_c73_23.0=1 +phy_an_c73_24.0=1 +phy_an_c73_3.0=1 +phy_an_c73_4.0=1 +phy_an_c73_5.0=1 +phy_an_c73_53.0=0 +phy_an_c73_54.0=0 +phy_an_c73_55.0=0 +phy_an_c73_56.0=0 +phy_an_c73_6.0=1 +phy_an_c73_7.0=1 +phy_an_c73_8.0=1 +phy_an_c73_9.0=1 +phy_chain_rx_lane_map_physical{1.0}=0x3210 +phy_chain_rx_lane_map_physical{5.0}=0x3210 +phy_chain_rx_lane_map_physical{9.0}=0x3210 +phy_chain_rx_lane_map_physical{13.0}=0x3210 +phy_chain_rx_lane_map_physical{17.0}=0x3210 +phy_chain_rx_lane_map_physical{21.0}=0x3210 +phy_chain_rx_lane_map_physical{25.0}=0x3210 +phy_chain_rx_lane_map_physical{41.0}=0x3120 +phy_chain_rx_lane_map_physical{61.0}=0x1032 +phy_chain_rx_polarity_flip_physical{1.0}=0x0 +phy_chain_rx_polarity_flip_physical{2.0}=0x0 +phy_chain_rx_polarity_flip_physical{3.0}=0x0 +phy_chain_rx_polarity_flip_physical{4.0}=0x0 +phy_chain_rx_polarity_flip_physical{5.0}=0x0 +phy_chain_rx_polarity_flip_physical{6.0}=0x0 +phy_chain_rx_polarity_flip_physical{7.0}=0x0 +phy_chain_rx_polarity_flip_physical{8.0}=0x0 +phy_chain_rx_polarity_flip_physical{9.0}=0x0 +phy_chain_rx_polarity_flip_physical{10.0}=0x0 +phy_chain_rx_polarity_flip_physical{11.0}=0x0 +phy_chain_rx_polarity_flip_physical{12.0}=0x0 +phy_chain_rx_polarity_flip_physical{13.0}=0x0 +phy_chain_rx_polarity_flip_physical{14.0}=0x0 +phy_chain_rx_polarity_flip_physical{15.0}=0x0 +phy_chain_rx_polarity_flip_physical{16.0}=0x0 +phy_chain_rx_polarity_flip_physical{17.0}=0x0 +phy_chain_rx_polarity_flip_physical{18.0}=0x0 +phy_chain_rx_polarity_flip_physical{19.0}=0x0 +phy_chain_rx_polarity_flip_physical{20.0}=0x0 +phy_chain_rx_polarity_flip_physical{21.0}=0x0 +phy_chain_rx_polarity_flip_physical{22.0}=0x0 +phy_chain_rx_polarity_flip_physical{23.0}=0x0 +phy_chain_rx_polarity_flip_physical{24.0}=0x0 +phy_chain_rx_polarity_flip_physical{25.0}=0x0 +phy_chain_rx_polarity_flip_physical{29.0}=0x0 +phy_chain_rx_polarity_flip_physical{33.0}=0x0 +phy_chain_rx_polarity_flip_physical{37.0}=0x0 +phy_chain_rx_polarity_flip_physical{41.0}=0x0 +phy_chain_rx_polarity_flip_physical{45.0}=0x0 +phy_chain_rx_polarity_flip_physical{61.0}=0x0 +phy_chain_rx_polarity_flip_physical{62.0}=0x0 +phy_chain_rx_polarity_flip_physical{63.0}=0x0 +phy_chain_rx_polarity_flip_physical{64.0}=0x0 +phy_chain_tx_lane_map_physical{1.0}=0x3210 +phy_chain_tx_lane_map_physical{5.0}=0x3210 +phy_chain_tx_lane_map_physical{9.0}=0x3210 +phy_chain_tx_lane_map_physical{13.0}=0x3210 +phy_chain_tx_lane_map_physical{17.0}=0x3210 +phy_chain_tx_lane_map_physical{21.0}=0x3210 +phy_chain_tx_lane_map_physical{25.0}=0x3210 +phy_chain_tx_lane_map_physical{41.0}=0x3120 +phy_chain_tx_lane_map_physical{61.0}=0x1032 +phy_chain_tx_polarity_flip_physical{1.0}=0x0 +phy_chain_tx_polarity_flip_physical{2.0}=0x0 +phy_chain_tx_polarity_flip_physical{3.0}=0x0 +phy_chain_tx_polarity_flip_physical{4.0}=0x0 +phy_chain_tx_polarity_flip_physical{5.0}=0x0 +phy_chain_tx_polarity_flip_physical{6.0}=0x0 +phy_chain_tx_polarity_flip_physical{7.0}=0x0 +phy_chain_tx_polarity_flip_physical{8.0}=0x0 +phy_chain_tx_polarity_flip_physical{9.0}=0x0 +phy_chain_tx_polarity_flip_physical{10.0}=0x0 +phy_chain_tx_polarity_flip_physical{11.0}=0x0 +phy_chain_tx_polarity_flip_physical{12.0}=0x0 +phy_chain_tx_polarity_flip_physical{13.0}=0x0 +phy_chain_tx_polarity_flip_physical{14.0}=0x0 +phy_chain_tx_polarity_flip_physical{15.0}=0x0 +phy_chain_tx_polarity_flip_physical{16.0}=0x0 +phy_chain_tx_polarity_flip_physical{17.0}=0x0 +phy_chain_tx_polarity_flip_physical{18.0}=0x0 +phy_chain_tx_polarity_flip_physical{19.0}=0x0 +phy_chain_tx_polarity_flip_physical{20.0}=0x0 +phy_chain_tx_polarity_flip_physical{21.0}=0x0 +phy_chain_tx_polarity_flip_physical{22.0}=0x0 +phy_chain_tx_polarity_flip_physical{23.0}=0x0 +phy_chain_tx_polarity_flip_physical{24.0}=0x0 +phy_chain_tx_polarity_flip_physical{25.0}=0x0 +phy_chain_tx_polarity_flip_physical{29.0}=0x0 +phy_chain_tx_polarity_flip_physical{33.0}=0x0 +phy_chain_tx_polarity_flip_physical{37.0}=0x0 +phy_chain_tx_polarity_flip_physical{41.0}=0x0 +phy_chain_tx_polarity_flip_physical{45.0}=0x0 +phy_chain_tx_polarity_flip_physical{61.0}=0x0 +phy_chain_tx_polarity_flip_physical{62.0}=0x0 +phy_chain_tx_polarity_flip_physical{63.0}=0x0 +phy_chain_tx_polarity_flip_physical{64.0}=0x0 +phy_port_primary_and_offset_25=0x0100 +phy_port_primary_and_offset_26=0x0101 +phy_port_primary_and_offset_27=0x0102 +phy_port_primary_and_offset_28=0x0103 +phy_port_primary_and_offset_29=0x0104 +phy_port_primary_and_offset_30=0x0105 +phy_port_primary_and_offset_31=0x0106 +phy_port_primary_and_offset_32=0x0107 +phy_port_primary_and_offset_33=0x0900 +phy_port_primary_and_offset_34=0x0901 +phy_port_primary_and_offset_35=0x0902 +phy_port_primary_and_offset_36=0x0903 +phy_port_primary_and_offset_37=0x0904 +phy_port_primary_and_offset_38=0x0905 +phy_port_primary_and_offset_39=0x0906 +phy_port_primary_and_offset_40=0x0907 +phy_port_primary_and_offset_41=0x1100 +phy_port_primary_and_offset_42=0x1101 +phy_port_primary_and_offset_43=0x1102 +phy_port_primary_and_offset_44=0x1103 +phy_port_primary_and_offset_45=0x1104 +phy_port_primary_and_offset_46=0x1105 +phy_port_primary_and_offset_47=0x1106 +phy_port_primary_and_offset_48=0x1107 +portmap_1.0=25:1 +portmap_2.0=26:1 +portmap_3.0=27:1 +portmap_4.0=28:1 +portmap_5.0=29:1 +portmap_6.0=30:1 +portmap_7.0=31:1 +portmap_8.0=32:1 +portmap_9.0=33:1 +portmap_10.0=34:1 +portmap_11.0=35:1 +portmap_12.0=36:1 +portmap_13.0=37:1 +portmap_14.0=38:1 +portmap_15.0=39:1 +portmap_16.0=40:1 +portmap_17.0=41:1 +portmap_18.0=42:1 +portmap_19.0=43:1 +portmap_20.0=44:1 +portmap_21.0=45:1 +portmap_22.0=46:1 +portmap_23.0=47:1 +portmap_24.0=48:1 +portmap_25.0=1:1 +portmap_26.0=2:1 +portmap_27.0=3:1 +portmap_28.0=4:1 +portmap_29.0=5:1 +portmap_30.0=6:1 +portmap_31.0=7:1 +portmap_32.0=8:1 +portmap_33.0=9:1 +portmap_34.0=10:1 +portmap_35.0=11:1 +portmap_36.0=12:1 +portmap_37.0=13:1 +portmap_38.0=14:1 +portmap_39.0=15:1 +portmap_40.0=16:1 +portmap_41.0=17:1 +portmap_42.0=18:1 +portmap_43.0=19:1 +portmap_44.0=20:1 +portmap_45.0=21:1 +portmap_46.0=22:1 +portmap_47.0=23:1 +portmap_48.0=24:1 +portmap_53.0=61:10 +portmap_54.0=62:10 +portmap_55.0=63:10 +portmap_56.0=64:10 +port_flex_enable.0=1 +port_gmii_mode{25}=1 +port_gmii_mode{41}=1 +port_init_autoneg_1.0=0 +port_init_autoneg_2.0=0 +port_init_autoneg_3.0=0 +port_init_autoneg_4.0=0 +port_init_autoneg_5.0=0 +port_init_autoneg_6.0=0 +port_init_autoneg_7.0=0 +port_init_autoneg_8.0=0 +port_init_autoneg_9.0=0 +port_init_autoneg_10.0=0 +port_init_autoneg_11.0=0 +port_init_autoneg_12.0=0 +port_init_autoneg_13.0=0 +port_init_autoneg_14.0=0 +port_init_autoneg_15.0=0 +port_init_autoneg_16.0=0 +port_init_autoneg_17.0=0 +port_init_autoneg_18.0=0 +port_init_autoneg_19.0=0 +port_init_autoneg_20.0=0 +port_init_autoneg_21.0=0 +port_init_autoneg_22.0=0 +port_init_autoneg_23.0=0 +port_init_autoneg_24.0=0 +port_init_autoneg_53.0=0 +port_init_autoneg_54.0=0 +port_init_autoneg_55.0=0 +port_init_autoneg_56.0=0 +port_phy_addr_1.0=0xff +port_phy_addr_2.0=0xff +port_phy_addr_3.0=0xff +port_phy_addr_4.0=0xff +port_phy_addr_5.0=0xff +port_phy_addr_6.0=0xff +port_phy_addr_7.0=0xff +port_phy_addr_8.0=0xff +port_phy_addr_9.0=0xff +port_phy_addr_10.0=0xff +port_phy_addr_11.0=0xff +port_phy_addr_12.0=0xff +port_phy_addr_13.0=0xff +port_phy_addr_14.0=0xff +port_phy_addr_15.0=0xff +port_phy_addr_16.0=0xff +port_phy_addr_17.0=0xff +port_phy_addr_18.0=0xff +port_phy_addr_19.0=0xff +port_phy_addr_20.0=0xff +port_phy_addr_21.0=0xff +port_phy_addr_22.0=0xff +port_phy_addr_23.0=0xff +port_phy_addr_24.0=0xff +port_phy_addr_53.0=0xff +port_phy_addr_54.0=0xff +port_phy_addr_55.0=0xff +port_phy_addr_56.0=0xff +robust_hash_disable_egress_vlan.0=1 +robust_hash_disable_mpls.0=1 +robust_hash_disable_vlan.0=1 +serdes_core_rx_polarity_flip_physical{1}=0x0 +serdes_core_rx_polarity_flip_physical{5}=0x0 +serdes_core_rx_polarity_flip_physical{9}=0x0 +serdes_core_rx_polarity_flip_physical{13}=0x0 +serdes_core_rx_polarity_flip_physical{17}=0x0 +serdes_core_rx_polarity_flip_physical{21}=0x0 +serdes_core_rx_polarity_flip_physical{25}=0x0 +serdes_core_rx_polarity_flip_physical{41}=0x0 +serdes_core_rx_polarity_flip_physical{61}=0x0 +serdes_core_tx_polarity_flip_physical{1}=0x0 +serdes_core_tx_polarity_flip_physical{5}=0x0 +serdes_core_tx_polarity_flip_physical{9}=0x0 +serdes_core_tx_polarity_flip_physical{13}=0x0 +serdes_core_tx_polarity_flip_physical{17}=0x0 +serdes_core_tx_polarity_flip_physical{21}=0x0 +serdes_core_tx_polarity_flip_physical{25}=0x0 +serdes_core_tx_polarity_flip_physical{41}=0x0 +serdes_core_tx_polarity_flip_physical{61}=0x0 +sram_scan_enable.0=0 +stable_size=0x5500000 +tdma_timeout_usec.0=15000000 +tslam_timeout_usec.0=15000000 diff --git a/device/arista/x86_64-arista_720dt_48s/thermal_policy.json b/device/arista/x86_64-arista_720dt_48s/thermal_policy.json new file mode 120000 index 0000000000..0991dc7f36 --- /dev/null +++ b/device/arista/x86_64-arista_720dt_48s/thermal_policy.json @@ -0,0 +1 @@ +../x86_64-arista_common/thermal_policy.json \ No newline at end of file diff --git a/files/Aboot/boot0.j2 b/files/Aboot/boot0.j2 index 4998fea98f..0ca7ed4cf8 100644 --- a/files/Aboot/boot0.j2 +++ b/files/Aboot/boot0.j2 @@ -537,6 +537,9 @@ write_platform_specific_cmdline() { aboot_machine=arista_7060dx4_32 flash_size=28000 fi + if in_array "$sid" "PikeIslandZ" "PikeIslandZ-F" "PikeIslandZ-2F" "PikeIslandZ-R" "PikeIslandZ-2R"; then + aboot_machine=arista_720dt_48s + fi if [ "$sid" = "BlackhawkT4O" ]; then aboot_machine=arista_7050px4_32s fi @@ -627,6 +630,9 @@ write_platform_specific_cmdline() { cmdline_add reassign_prefmem read_system_eeprom fi + if in_array "$platform" "prairieisland"; then + read_system_eeprom + fi if [ $flash_size -ge 28000 ]; then varlog_size=4096 diff --git a/files/initramfs-tools/arista-convertfs.j2 b/files/initramfs-tools/arista-convertfs.j2 index 9af44f221f..ff9922d9c4 100644 --- a/files/initramfs-tools/arista-convertfs.j2 +++ b/files/initramfs-tools/arista-convertfs.j2 @@ -31,7 +31,7 @@ wait_get_flash_dev() { if [ -n "$is_mmc" ]; then continue fi - local devid=$(realpath "/sys/block/$dev/device") + local devid="$(realpath "/sys/block/$dev/device")/" local is_device=$(echo "$devid" | grep '^/sys/devices/' | cat) local is_flash=$(echo "$devid" | grep "$block_flash" | cat) if [ -n "$is_device" -a -n "$is_flash" ]; then