[Arista] Update drivers submodules (#4317)
* Update arista drivers submodules * Add device configs for 7060CX2-32S * Update boot0 and union-mount for 7060CX2-32S * Add 7170-32C and 7170-32CD support in boot0 * Sync after writting boot configs * Add 7170-32C and 7170-32CD device configurations Co-authored-by: Boyang Yu <byu@arista.com>
This commit is contained in:
parent
98fbd59f19
commit
5b0ec7afe6
1
device/arista/x86_64-arista_7060cx2_32s/Arista-7060CX2-32S-C32
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/Arista-7060CX2-32S-C32
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_7060_cx32s/Arista-7060CX-32S-C32
|
1
device/arista/x86_64-arista_7060cx2_32s/default_sku
Normal file
1
device/arista/x86_64-arista_7060cx2_32s/default_sku
Normal file
@ -0,0 +1 @@
|
|||||||
|
Arista-7060CX2-32S-C32 t1
|
1
device/arista/x86_64-arista_7060cx2_32s/fancontrol
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/fancontrol
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_7060_cx32s/fancontrol
|
1
device/arista/x86_64-arista_7060cx2_32s/platform_reboot
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/platform_reboot
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/platform_reboot
|
1
device/arista/x86_64-arista_7060cx2_32s/plugins
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/plugins
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/plugins/
|
1
device/arista/x86_64-arista_7060cx2_32s/sensors.conf
Symbolic link
1
device/arista/x86_64-arista_7060cx2_32s/sensors.conf
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_7060_cx32s/sensors.conf
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
|||||||
|
# name lanes alias speed index
|
||||||
|
Ethernet0 0,1,2,3 Ethernet1/1 100000 1
|
||||||
|
Ethernet4 4,5,6,7 Ethernet2/1 100000 2
|
||||||
|
Ethernet8 8,9,10,11 Ethernet3/1 100000 3
|
||||||
|
Ethernet12 12,13,14,15 Ethernet4/1 100000 4
|
||||||
|
Ethernet16 16,17,18,19 Ethernet5/1 100000 5
|
||||||
|
Ethernet20 20,21,22,23 Ethernet6/1 100000 6
|
||||||
|
Ethernet24 24,25,26,27 Ethernet7/1 100000 7
|
||||||
|
Ethernet28 28,29,30,31 Ethernet8/1 100000 8
|
||||||
|
Ethernet32 32,33,34,35 Ethernet9/1 100000 9
|
||||||
|
Ethernet36 36,37,38,39 Ethernet10/1 100000 10
|
||||||
|
Ethernet40 40,41,42,43 Ethernet11/1 100000 11
|
||||||
|
Ethernet44 44,45,46,47 Ethernet12/1 100000 12
|
||||||
|
Ethernet48 48,49,50,51 Ethernet13/1 100000 13
|
||||||
|
Ethernet52 52,53,54,55 Ethernet14/1 100000 14
|
||||||
|
Ethernet56 56,57,58,59 Ethernet15/1 100000 15
|
||||||
|
Ethernet60 60,61,62,63 Ethernet16/1 100000 16
|
||||||
|
Ethernet64 64,65,66,67 Ethernet17/1 100000 17
|
||||||
|
Ethernet68 68,69,70,71 Ethernet18/1 100000 18
|
||||||
|
Ethernet72 72,73,74,75 Ethernet19/1 100000 19
|
||||||
|
Ethernet76 76,77,78,79 Ethernet20/1 100000 20
|
||||||
|
Ethernet80 80,81,82,83 Ethernet21/1 100000 21
|
||||||
|
Ethernet84 84,85,86,87 Ethernet22/1 100000 22
|
||||||
|
Ethernet88 88,89,90,91 Ethernet23/1 100000 23
|
||||||
|
Ethernet92 92,93,94,95 Ethernet24/1 100000 24
|
||||||
|
Ethernet96 96,97,98,99 Ethernet25/1 100000 25
|
||||||
|
Ethernet100 100,101,102,103 Ethernet26/1 100000 26
|
||||||
|
Ethernet104 104,105,106,107 Ethernet27/1 100000 27
|
||||||
|
Ethernet108 108,109,110,111 Ethernet28/1 100000 28
|
||||||
|
Ethernet112 112,113,114,115 Ethernet29/1 100000 29
|
||||||
|
Ethernet116 116,117,118,119 Ethernet30/1 100000 30
|
||||||
|
Ethernet120 120,121,122,123 Ethernet31/1 100000 31
|
||||||
|
Ethernet124 124,125,126,127 Ethernet32/1 100000 32
|
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"chip_list": [
|
||||||
|
{
|
||||||
|
"id": "asic-0",
|
||||||
|
"chip_family": "Tofino",
|
||||||
|
"instance": 0,
|
||||||
|
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0",
|
||||||
|
"pcie_domain": 0,
|
||||||
|
"pcie_bus": 7,
|
||||||
|
"pcie_fn": 0,
|
||||||
|
"pcie_dev": 0,
|
||||||
|
"pcie_int_mode": 1,
|
||||||
|
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"instance": 0,
|
||||||
|
"p4_program_list": [
|
||||||
|
{
|
||||||
|
"id": "pgm-0",
|
||||||
|
"instance": 0,
|
||||||
|
"path": "switch",
|
||||||
|
"program-name": "switch",
|
||||||
|
"pd": "lib/tofinopd/switch/libpd.so",
|
||||||
|
"pd-thrift": "lib/tofinopd/switch/libpdthrift.so",
|
||||||
|
"table-config": "share/tofinopd/switch/context.json",
|
||||||
|
"tofino-bin": "share/tofinopd/switch/tofino.bin",
|
||||||
|
"switchapi": "lib/libswitchapi.so",
|
||||||
|
"sai": "lib/libsai.so",
|
||||||
|
"switchapi_port_add": false,
|
||||||
|
"non_default_port_ppgs": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"instance": 0,
|
||||||
|
"chip_list": [
|
||||||
|
{
|
||||||
|
"id": "asic-0",
|
||||||
|
"chip_family": "Tofino",
|
||||||
|
"instance": 0,
|
||||||
|
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0",
|
||||||
|
"pcie_domain": 0,
|
||||||
|
"pcie_bus": 5,
|
||||||
|
"pcie_fn": 0,
|
||||||
|
"pcie_dev": 0,
|
||||||
|
"pcie_int_mode": 1,
|
||||||
|
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"p4_devices": [
|
||||||
|
{
|
||||||
|
"device-id": 0,
|
||||||
|
"p4_programs": [
|
||||||
|
{
|
||||||
|
"p4_pipelines": [
|
||||||
|
{
|
||||||
|
"p4_pipeline_name": "pipe",
|
||||||
|
"config": "share/switch/pipe/tofino.bin",
|
||||||
|
"context": "share/switch/pipe/context.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"program-name": "switch",
|
||||||
|
"sai": "lib/libsai.so",
|
||||||
|
"bfrt-config": "share/switch/bf-rt.json",
|
||||||
|
"model_json_path" : "share/switch/aug_model.json",
|
||||||
|
"switchapi_port_add": false,
|
||||||
|
"non_default_port_ppgs": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
1
device/arista/x86_64-arista_7170_32c/default_sku
Normal file
1
device/arista/x86_64-arista_7170_32c/default_sku
Normal file
@ -0,0 +1 @@
|
|||||||
|
Arista-7170-32CD-C32 t1
|
1
device/arista/x86_64-arista_7170_32c/platform_reboot
Symbolic link
1
device/arista/x86_64-arista_7170_32c/platform_reboot
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/platform_reboot
|
1
device/arista/x86_64-arista_7170_32c/plugins
Symbolic link
1
device/arista/x86_64-arista_7170_32c/plugins
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/plugins
|
1
device/arista/x86_64-arista_7170_32c/sensors.conf
Symbolic link
1
device/arista/x86_64-arista_7170_32c/sensors.conf
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_7170_64c/sensors.conf
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
|||||||
|
# name lanes alias speed index
|
||||||
|
Ethernet0 0,1,2,3 Ethernet1/1 100000 1
|
||||||
|
Ethernet4 4,5,6,7 Ethernet2/1 100000 2
|
||||||
|
Ethernet8 8,9,10,11 Ethernet3/1 100000 3
|
||||||
|
Ethernet12 12,13,14,15 Ethernet4/1 100000 4
|
||||||
|
Ethernet16 16,17,18,19 Ethernet5/1 100000 5
|
||||||
|
Ethernet20 20,21,22,23 Ethernet6/1 100000 6
|
||||||
|
Ethernet24 24,25,26,27 Ethernet7/1 100000 7
|
||||||
|
Ethernet28 28,29,30,31 Ethernet8/1 100000 8
|
||||||
|
Ethernet32 32,33,34,35 Ethernet9/1 100000 9
|
||||||
|
Ethernet36 36,37,38,39 Ethernet10/1 100000 10
|
||||||
|
Ethernet40 40,41,42,43 Ethernet11/1 100000 11
|
||||||
|
Ethernet44 44,45,46,47 Ethernet12/1 100000 12
|
||||||
|
Ethernet48 48,49,50,51 Ethernet13/1 100000 13
|
||||||
|
Ethernet52 52,53,54,55 Ethernet14/1 100000 14
|
||||||
|
Ethernet56 56,57,58,59 Ethernet15/1 100000 15
|
||||||
|
Ethernet60 60,61,62,63 Ethernet16/1 100000 16
|
||||||
|
Ethernet64 64,65,66,67 Ethernet17/1 100000 17
|
||||||
|
Ethernet68 68,69,70,71 Ethernet18/1 100000 18
|
||||||
|
Ethernet72 72,73,74,75 Ethernet19/1 100000 19
|
||||||
|
Ethernet76 76,77,78,79 Ethernet20/1 100000 20
|
||||||
|
Ethernet80 80,81,82,83 Ethernet21/1 100000 21
|
||||||
|
Ethernet84 84,85,86,87 Ethernet22/1 100000 22
|
||||||
|
Ethernet88 88,89,90,91 Ethernet23/1 100000 23
|
||||||
|
Ethernet92 92,93,94,95 Ethernet24/1 100000 24
|
||||||
|
Ethernet96 96,97,98,99 Ethernet25/1 100000 25
|
||||||
|
Ethernet100 100,101,102,103 Ethernet26/1 100000 26
|
||||||
|
Ethernet104 104,105,106,107 Ethernet27/1 100000 27
|
||||||
|
Ethernet108 108,109,110,111 Ethernet28/1 100000 28
|
||||||
|
Ethernet112 112,113,114,115 Ethernet29/1 100000 29
|
||||||
|
Ethernet116 116,117,118,119 Ethernet30/1 100000 30
|
||||||
|
Ethernet120 120,121,122,123 Ethernet31/1 100000 31
|
||||||
|
Ethernet124 124,125,126,127 Ethernet32/1 100000 32
|
@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"chip_list": [
|
||||||
|
{
|
||||||
|
"id": "asic-0",
|
||||||
|
"chip_family": "Tofino",
|
||||||
|
"instance": 0,
|
||||||
|
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0",
|
||||||
|
"pcie_domain": 0,
|
||||||
|
"pcie_bus": 7,
|
||||||
|
"pcie_fn": 0,
|
||||||
|
"pcie_dev": 0,
|
||||||
|
"pcie_int_mode": 1,
|
||||||
|
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"instance": 0,
|
||||||
|
"p4_program_list": [
|
||||||
|
{
|
||||||
|
"id": "pgm-0",
|
||||||
|
"instance": 0,
|
||||||
|
"path": "switch",
|
||||||
|
"program-name": "switch",
|
||||||
|
"pd": "lib/tofinopd/switch/libpd.so",
|
||||||
|
"pd-thrift": "lib/tofinopd/switch/libpdthrift.so",
|
||||||
|
"table-config": "share/tofinopd/switch/context.json",
|
||||||
|
"tofino-bin": "share/tofinopd/switch/tofino.bin",
|
||||||
|
"switchapi": "lib/libswitchapi.so",
|
||||||
|
"sai": "lib/libsai.so",
|
||||||
|
"switchapi_port_add": false,
|
||||||
|
"non_default_port_ppgs": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"instance": 0,
|
||||||
|
"chip_list": [
|
||||||
|
{
|
||||||
|
"id": "asic-0",
|
||||||
|
"chip_family": "Tofino",
|
||||||
|
"instance": 0,
|
||||||
|
"pcie_sysfs_prefix": "/sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0",
|
||||||
|
"pcie_domain": 0,
|
||||||
|
"pcie_bus": 5,
|
||||||
|
"pcie_fn": 0,
|
||||||
|
"pcie_dev": 0,
|
||||||
|
"pcie_int_mode": 1,
|
||||||
|
"sds_fw_path": "share/tofino_sds_fw/avago/firmware"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"p4_devices": [
|
||||||
|
{
|
||||||
|
"device-id": 0,
|
||||||
|
"p4_programs": [
|
||||||
|
{
|
||||||
|
"p4_pipelines": [
|
||||||
|
{
|
||||||
|
"p4_pipeline_name": "pipe",
|
||||||
|
"config": "share/switch/pipe/tofino.bin",
|
||||||
|
"context": "share/switch/pipe/context.json"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"program-name": "switch",
|
||||||
|
"sai": "lib/libsai.so",
|
||||||
|
"bfrt-config": "share/switch/bf-rt.json",
|
||||||
|
"model_json_path" : "share/switch/aug_model.json",
|
||||||
|
"switchapi_port_add": false,
|
||||||
|
"non_default_port_ppgs": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
1
device/arista/x86_64-arista_7170_32cd/default_sku
Normal file
1
device/arista/x86_64-arista_7170_32cd/default_sku
Normal file
@ -0,0 +1 @@
|
|||||||
|
Arista-7170-32CD-C32 t1
|
1
device/arista/x86_64-arista_7170_32cd/platform_reboot
Symbolic link
1
device/arista/x86_64-arista_7170_32cd/platform_reboot
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/platform_reboot
|
1
device/arista/x86_64-arista_7170_32cd/plugins
Symbolic link
1
device/arista/x86_64-arista_7170_32cd/plugins
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_common/plugins
|
1
device/arista/x86_64-arista_7170_32cd/sensors.conf
Symbolic link
1
device/arista/x86_64-arista_7170_32cd/sensors.conf
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../x86_64-arista_7170_64c/sensors.conf
|
@ -265,6 +265,10 @@ platform_specific() {
|
|||||||
aboot_machine=arista_7060_cx32s
|
aboot_machine=arista_7060_cx32s
|
||||||
flash_size=3700
|
flash_size=3700
|
||||||
fi
|
fi
|
||||||
|
if [ "$sid" = "UpperlakePlus" ]; then
|
||||||
|
aboot_machine=arista_7060cx2_32s
|
||||||
|
flash_size=3700
|
||||||
|
fi
|
||||||
if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaE" ]; then
|
if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaE" ]; then
|
||||||
aboot_machine=arista_7260cx3_64
|
aboot_machine=arista_7260cx3_64
|
||||||
flash_size=28000
|
flash_size=28000
|
||||||
@ -274,6 +278,16 @@ platform_specific() {
|
|||||||
flash_size=28000
|
flash_size=28000
|
||||||
echo "hugepages=128" >> /tmp/append
|
echo "hugepages=128" >> /tmp/append
|
||||||
fi
|
fi
|
||||||
|
if [ "$sid" = "Mineral" ]; then
|
||||||
|
aboot_machine=arista_7170_32c
|
||||||
|
flash_size=28000
|
||||||
|
echo "hugepages=128" >> /tmp/append
|
||||||
|
fi
|
||||||
|
if [ "$sid" = "MineralD" ]; then
|
||||||
|
aboot_machine=arista_7170_32cd
|
||||||
|
flash_size=28000
|
||||||
|
echo "hugepages=128" >> /tmp/append
|
||||||
|
fi
|
||||||
if [ "$sid" = "Lodoga" ]; then
|
if [ "$sid" = "Lodoga" ]; then
|
||||||
aboot_machine=arista_7050cx3_32s
|
aboot_machine=arista_7050cx3_32s
|
||||||
flash_size=3700
|
flash_size=3700
|
||||||
@ -379,7 +393,8 @@ write_boot_configs() {
|
|||||||
|
|
||||||
mkdir -p "$image_path"
|
mkdir -p "$image_path"
|
||||||
cat /tmp/append > $cmdline_image
|
cat /tmp/append > $cmdline_image
|
||||||
[ -e ${target_path}/machine.conf ] || write_machine_config
|
[ -s ${target_path}/machine.conf ] || write_machine_config
|
||||||
|
sync
|
||||||
}
|
}
|
||||||
|
|
||||||
run_kexec() {
|
run_kexec() {
|
||||||
|
@ -21,6 +21,7 @@ set_tmpfs_log_partition_size()
|
|||||||
[ X"$aboot_platform" = X"x86_64-arista_7050_qx32" ] && return
|
[ X"$aboot_platform" = X"x86_64-arista_7050_qx32" ] && return
|
||||||
[ X"$aboot_platform" = X"x86_64-arista_7050_qx32s" ] && return
|
[ X"$aboot_platform" = X"x86_64-arista_7050_qx32s" ] && return
|
||||||
[ X"$aboot_platform" = X"x86_64-arista_7060_cx32s" ] && return
|
[ X"$aboot_platform" = X"x86_64-arista_7060_cx32s" ] && return
|
||||||
|
[ X"$aboot_platform" = X"x86_64-arista_7060cx2_32s" ] && return
|
||||||
|
|
||||||
# set varlogsize to existing var-log.ext4 size
|
# set varlogsize to existing var-log.ext4 size
|
||||||
if [ -f ${rootmnt}/host/disk-img/var-log.ext4 ]; then
|
if [ -f ${rootmnt}/host/disk-img/var-log.ext4 ]; then
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit e9cabadb42725d3c86eb93c3d766cfb5d58e6d29
|
Subproject commit 39860a109853b2f37367dfe68905e019b509d5bf
|
@ -1 +1 @@
|
|||||||
Subproject commit e9cabadb42725d3c86eb93c3d766cfb5d58e6d29
|
Subproject commit 39860a109853b2f37367dfe68905e019b509d5bf
|
Loading…
Reference in New Issue
Block a user