Skip to content

Commit

Permalink
[arista] Add support for more 7280CR3 variants (sonic-net#3711)
Browse files Browse the repository at this point in the history
* Add extra Smartsville hwskus
  • Loading branch information
Staphylo authored and prsunny committed Nov 6, 2019
1 parent d8a9d8f commit 6ea5ede
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions device/arista/x86_64-arista_7280cr3k_32p4
10 changes: 9 additions & 1 deletion files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,18 @@ platform_specific() {
aboot_machine=arista_7060dx4_32
flash_size=28000
fi
if [ "$sid" = "Smartsville" ]; then
if [ "$sid" = "Smartsville" ] || [ "$sid" = "SmartsvilleSsd" ]; then
aboot_machine=arista_7280cr3_32p4
flash_size=7382
fi
if [ "$sid" = "SmartsvilleBK" ] || [ "$sid" = "SmartsvilleBKSsd" ]; then
aboot_machine=arista_7280cr3k_32p4
flash_size=7382
fi
if [ "$sid" = "SmartsvilleDD" ] || [ "$sid" = "SmartsvilleDDSsd" ]; then
aboot_machine=arista_7280cr3_32d4
flash_size=7382
fi
if [ "$platform" = "rook" ] || [ "$platform" = "magpie" ] ||
[ "$platform" = "woodpecker" ]; then
echo "tsc=reliable pcie_ports=native" >>/tmp/append
Expand Down
2 changes: 1 addition & 1 deletion platform/broadcom/sonic-platform-modules-arista
Submodule sonic-platform-modules-arista updated 46 files
+0 −0 arista/accessors/__init__.py
+29 −0 arista/accessors/fan.py
+19 −0 arista/accessors/led.py
+42 −0 arista/accessors/psu.py
+19 −0 arista/accessors/reset.py
+8 −0 arista/accessors/rook.py
+45 −0 arista/accessors/xcvr.py
+6 −11 arista/components/cpld.py
+5 −2 arista/components/dpm.py
+15 −85 arista/components/ds460.py
+22 −2 arista/components/fan.py
+41 −71 arista/components/psu.py
+16 −0 arista/components/rook.py
+16 −11 arista/components/scd.py
+1 −0 arista/core/config.py
+9 −0 arista/core/inventory.py
+0 −110 arista/drivers/accessors.py
+40 −0 arista/drivers/ds460.py
+6 −0 arista/drivers/i2c.py
+54 −0 arista/drivers/pmbus.py
+27 −0 arista/drivers/psu.py
+24 −0 arista/drivers/rook.py
+19 −9 arista/drivers/sysfs.py
+29 −26 arista/platforms/a7050qx32.py
+21 −16 arista/platforms/a7050qx32s.py
+15 −25 arista/platforms/a7060cx32s.py
+7 −8 arista/platforms/a7060x432.py
+23 −8 arista/platforms/a717064c.py
+21 −9 arista/platforms/a7260cx364.py
+24 −11 arista/platforms/a7280cr3.py
+21 −16 arista/utils/sonic_eeprom.py
+4 −11 arista/utils/sonic_leds.py
+152 −10 arista/utils/sonic_platform/chassis.py
+17 −5 arista/utils/sonic_platform/fan.py
+31 −1 arista/utils/sonic_platform/psu.py
+34 −0 arista/utils/sonic_platform/sfp.py
+25 −0 arista/utils/sonic_platform/watchdog.py
+15 −0 confs/arista-reboot-cause.service
+0 −1 confs/sonic-platform-arista.service
+1 −1 debian/rules
+2 −0 setup.py
+8 −0 sonic_platform/__init__.py
+64 −4 src/scd-fan.h
+80 −22 src/scd-hwmon.c
+28 −24 tests/platforms.py
+2 −1 utils/arista

0 comments on commit 6ea5ede

Please sign in to comment.