[device]: Enable arista drivers for sonic-linux-kernel 4.9 (#21)
* Enable arista drivers * Add vfat ascii charset in initramfs * Update boot0.j2 for 4.9 kernel * Fix i2c offsets in sensors.conf * Bump sonic-platform-modules-arista submodule
This commit is contained in:
parent
0d2ffd885f
commit
764a7edd83
@ -2,21 +2,21 @@
|
|||||||
# ------------------------------------------------
|
# ------------------------------------------------
|
||||||
#
|
#
|
||||||
|
|
||||||
bus "i2c-2" "SCD 0000:04:00.0 SMBus master 0 bus 0"
|
bus "i2c-5" "SCD 0000:04:00.0 SMBus master 0 bus 0"
|
||||||
bus "i2c-3" "SCD 0000:04:00.0 SMBus master 0 bus 1"
|
bus "i2c-6" "SCD 0000:04:00.0 SMBus master 0 bus 1"
|
||||||
bus "i2c-5" "SCD 0000:04:00.0 SMBus master 0 bus 3"
|
bus "i2c-8" "SCD 0000:04:00.0 SMBus master 0 bus 3"
|
||||||
bus "i2c-6" "SCD 0000:04:00.0 SMBus master 0 bus 4"
|
bus "i2c-9" "SCD 0000:04:00.0 SMBus master 0 bus 4"
|
||||||
bus "i2c-7" "SCD 0000:04:00.0 SMBus master 0 bus 5"
|
bus "i2c-10" "SCD 0000:04:00.0 SMBus master 0 bus 5"
|
||||||
|
|
||||||
chip "k10temp-pci-00c3"
|
chip "k10temp-pci-00c3"
|
||||||
label temp1 "Cpu temp sensor"
|
label temp1 "Cpu temp sensor"
|
||||||
|
|
||||||
chip "lm73-i2c-3-48"
|
chip "lm73-i2c-6-48"
|
||||||
label temp1 "Back panel temp sensor"
|
label temp1 "Back panel temp sensor"
|
||||||
set temp1_max 65
|
set temp1_max 65
|
||||||
#set temp1_max_alarm 75 # read-only
|
#set temp1_max_alarm 75 # read-only
|
||||||
|
|
||||||
chip "max6658-i2c-2-4c"
|
chip "max6658-i2c-5-4c"
|
||||||
label temp1 "Board temp sensor"
|
label temp1 "Board temp sensor"
|
||||||
set temp1_max 65
|
set temp1_max 65
|
||||||
set temp1_crit 75
|
set temp1_crit 75
|
||||||
@ -26,7 +26,7 @@ chip "max6658-i2c-2-4c"
|
|||||||
set temp2_crit 75
|
set temp2_crit 75
|
||||||
|
|
||||||
# disabled because of some eeprom corruption risks
|
# disabled because of some eeprom corruption risks
|
||||||
#chip "pmbus-i2c-3-4e"
|
#chip "pmbus-i2c-6-4e"
|
||||||
# label temp1 "Power controller sensor 1"
|
# label temp1 "Power controller sensor 1"
|
||||||
# set temp1_max 60
|
# set temp1_max 60
|
||||||
# set temp1_crit 70
|
# set temp1_crit 70
|
||||||
@ -37,7 +37,7 @@ chip "max6658-i2c-2-4c"
|
|||||||
|
|
||||||
# ignore curr1
|
# ignore curr1
|
||||||
|
|
||||||
chip "dps460-i2c-5-58"
|
chip "dps460-i2c-8-58"
|
||||||
label temp1 "Power supply 1 inlet temp sensor"
|
label temp1 "Power supply 1 inlet temp sensor"
|
||||||
# maximum and critical thresholds are not supported for this psu
|
# maximum and critical thresholds are not supported for this psu
|
||||||
set temp1_max 60
|
set temp1_max 60
|
||||||
@ -59,7 +59,7 @@ chip "dps460-i2c-5-58"
|
|||||||
set curr2_max 36
|
set curr2_max 36
|
||||||
set curr2_crit 37
|
set curr2_crit 37
|
||||||
|
|
||||||
chip "dps460-i2c-6-58"
|
chip "dps460-i2c-9-58"
|
||||||
label temp1 "Power supply 2 inlet temp sensor"
|
label temp1 "Power supply 2 inlet temp sensor"
|
||||||
# maximum and critical thresholds are not supported for this psu
|
# maximum and critical thresholds are not supported for this psu
|
||||||
set temp1_max 60
|
set temp1_max 60
|
||||||
|
@ -153,12 +153,12 @@ platform_specific() {
|
|||||||
if [ "$platform" = "raven" ]; then
|
if [ "$platform" = "raven" ]; then
|
||||||
aboot_machine=arista_7050_qx32
|
aboot_machine=arista_7050_qx32
|
||||||
flash_size=2000
|
flash_size=2000
|
||||||
echo "modprobe.blacklist=radeon" >>/tmp/append
|
echo "modprobe.blacklist=radeon,sp5100_tco acpi=off" >>/tmp/append
|
||||||
fi
|
fi
|
||||||
if [ "$platform" = "crow" ]; then
|
if [ "$platform" = "crow" ]; then
|
||||||
aboot_machine=arista_7050_qx32s
|
aboot_machine=arista_7050_qx32s
|
||||||
flash_size=3700
|
flash_size=3700
|
||||||
echo "modprobe.blacklist=radeon" >>/tmp/append
|
echo "modprobe.blacklist=radeon,sp5100_tco" >>/tmp/append
|
||||||
fi
|
fi
|
||||||
if [ "$sid" = "Upperlake" ] || [ "$sid" = "UpperlakeES" ]; then
|
if [ "$sid" = "Upperlake" ] || [ "$sid" = "UpperlakeES" ]; then
|
||||||
aboot_machine=arista_7060_cx32s
|
aboot_machine=arista_7060_cx32s
|
||||||
@ -191,6 +191,8 @@ platform_specific() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "varlog_size=$varlog_size" >>/tmp/append
|
echo "varlog_size=$varlog_size" >>/tmp/append
|
||||||
|
# disable deterministic interface naming
|
||||||
|
echo "net.ifnames=0" >>/tmp/append
|
||||||
}
|
}
|
||||||
|
|
||||||
get_uuid_for() {
|
get_uuid_for() {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
squashfs
|
squashfs
|
||||||
overlay
|
overlay
|
||||||
vfat
|
vfat
|
||||||
|
nls_ascii
|
||||||
nls_cp437
|
nls_cp437
|
||||||
nls_utf8
|
nls_utf8
|
||||||
|
@ -2,7 +2,7 @@ include $(PLATFORM_PATH)/sdk.mk
|
|||||||
include $(PLATFORM_PATH)/sai.mk
|
include $(PLATFORM_PATH)/sai.mk
|
||||||
include $(PLATFORM_PATH)/platform-modules-s6000.mk
|
include $(PLATFORM_PATH)/platform-modules-s6000.mk
|
||||||
include $(PLATFORM_PATH)/platform-modules-dell.mk
|
include $(PLATFORM_PATH)/platform-modules-dell.mk
|
||||||
#include $(PLATFORM_PATH)/platform-modules-arista.mk
|
include $(PLATFORM_PATH)/platform-modules-arista.mk
|
||||||
include $(PLATFORM_PATH)/platform-modules-ingrasys.mk
|
include $(PLATFORM_PATH)/platform-modules-ingrasys.mk
|
||||||
include $(PLATFORM_PATH)/platform-modules-accton.mk
|
include $(PLATFORM_PATH)/platform-modules-accton.mk
|
||||||
include $(PLATFORM_PATH)/platform-modules-inventec.mk
|
include $(PLATFORM_PATH)/platform-modules-inventec.mk
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8f65ad92c5b5dfec24e8faf068cc9d2374244edf
|
Subproject commit a7edec0e19e63b4ec437d32928a5362a6d0a9bc9
|
Loading…
Reference in New Issue
Block a user