Skip to content

Commit 1be1c46

Browse files
cytsai0409lguohan
authored andcommitted
Add s8810 32q platform support (#867)
* Add S8810-32Q platform support * Update sonic-platform-modules-ingrasys submodule * Add sys eeprom plugin for S8810-32Q * Add sfputil plugin for S8810-32Q * Add sensors config for S8810-32Q * Add S8810-32Q HwSku port_config * Add fancontrol config for S8810-32Q Signed-off-by: Jason Tsai <[email protected]> * Add S8810-32Q platform support * Add sys eeprom plugin for S8810-32Q * Add sfputil plugin for S8810-32Q * Add sensors config for S8810-32Q * Add S8810-32Q HwSku port_config * Add fancontrol config for S8810-32Q Signed-off-by: Jason Tsai <[email protected]> * Add S8810-32Q platform support * Add S8810-32Q platform support in Makefile Signed-off-by: Jason Tsai <[email protected]> * Fix build error on S8810 platform driver package Signed-off-by: Jason Tsai <[email protected]>
1 parent 693ad9c commit 1be1c46

File tree

12 files changed

+356
-2
lines changed

12 files changed

+356
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# name lanes alias
2+
Ethernet0 37,38,39,40
3+
Ethernet4 33,34,35,36
4+
Ethernet8 45,46,47,48
5+
Ethernet12 41,42,43,44
6+
Ethernet16 53,54,55,56
7+
Ethernet20 49,50,51,52
8+
Ethernet24 61,62,63,64
9+
Ethernet28 57,58,59,60
10+
Ethernet32 69,70,71,72
11+
Ethernet36 65,66,67,68
12+
Ethernet40 77,78,79,80
13+
Ethernet44 73,74,75,76
14+
Ethernet48 85,86,87,88
15+
Ethernet52 81,82,83,84
16+
Ethernet56 93,94,95,96
17+
Ethernet60 89,90,91,92
18+
Ethernet64 101,102,103,104
19+
Ethernet68 97,98,99,100
20+
Ethernet72 109,110,111,112
21+
Ethernet76 105,106,107,108
22+
Ethernet80 117,118,119,120
23+
Ethernet84 113,114,115,116
24+
Ethernet88 125,126,127,128
25+
Ethernet92 121,122,123,124
26+
Ethernet96 5,6,7,8
27+
Ethernet100 1,2,3,4
28+
Ethernet104 13,14,15,16
29+
Ethernet108 9,10,11,12
30+
Ethernet112 21,22,23,24
31+
Ethernet116 17,18,19,20
32+
Ethernet120 29,30,31,32
33+
Ethernet124 25,26,27,28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SAI_INIT_CONFIG_FILE=/etc/bcm/td2-s8810-32x40G.config.bcm
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Configuration file generated by pwmconfig, changes will be lost
2+
INTERVAL=10
3+
DEVPATH=hwmon2=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
4+
DEVNAME=hwmon2=w83795adg
5+
FCTEMPS=hwmon2/device/pwm2=hwmon2/device/temp2_input hwmon2/device/pwm1=hwmon2/device/temp2_input
6+
#FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input+hwmon2/device/fan7_input+hwmon2/device/fan6_input+hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input+hwmon2/device/fan3_input+hwmon2/device/fan2_input+hwmon2/device/fan1_input
7+
FCFANS=hwmon2/device/pwm2=hwmon2/device/fan8_input hwmon2/device/pwm2=hwmon2/device/fan7_input hwmon2/device/pwm2=hwmon2/device/fan6_input hwmon2/device/pwm2=hwmon2/device/fan5_input hwmon2/device/pwm1=hwmon2/device/fan4_input hwmon2/device/pwm1=hwmon2/device/fan3_input hwmon2/device/pwm1=hwmon2/device/fan2_input hwmon2/device/pwm1=hwmon2/device/fan1_input
8+
MINTEMP=hwmon2/device/pwm2=20 hwmon2/device/pwm1=20
9+
MAXTEMP=hwmon2/device/pwm2=60 hwmon2/device/pwm1=60
10+
MINSTART=hwmon2/device/pwm2=75 hwmon2/device/pwm1=75
11+
MINSTOP=hwmon2/device/pwm2=22 hwmon2/device/pwm1=22
12+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CONSOLE_PORT=0x2f8
2+
CONSOLE_DEV=1
3+
CONSOLE_SPEED=115200
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#processor initialization for Ingrasys S8810-32Q
2+
3+
led 0 stop
4+
led 0 prog 12 00 61 F1 12 10 61 F2 12 04 61 F3 12 04 61 F4 67 16 86 F0 77 74 96 F2 2E F1 67 2B 67 3F 16 F3 FE F1 61 F1 12 00 DE F2 74 16 57 2E F1 32 00 32 01 B7 97 75 3A 02 01 60 FE 57 02 00 60 FE 57 2E F1 32 08 97 75 58 77 48 06 FE D2 01 70 50 77 66 06 F0 C2 08 74 58 77 66 16 F4 91 22 0E 87 22 0E 87 DA 00 74 5A 57 16 F4 91 22 0E 87 22 0F 87 DA 00 74 68 57 02 80 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
5+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_0_3 REMAP_PORT_3=48 REMAP_PORT_2=49 REMAP_PORT_1=50 REMAP_PORT_0=51
6+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_4_7 REMAP_PORT_7=52 REMAP_PORT_6=53 REMAP_PORT_5=54 REMAP_PORT_4=55
7+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_8_11 REMAP_PORT_11=56 REMAP_PORT_10=57 REMAP_PORT_9=58 REMAP_PORT_8=59
8+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_12_15 REMAP_PORT_15=60 REMAP_PORT_14=61 REMAP_PORT_13=62 REMAP_PORT_12=63
9+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_16_19 REMAP_PORT_19=44 REMAP_PORT_18=45 REMAP_PORT_17=46 REMAP_PORT_16=47
10+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_20_23 REMAP_PORT_23=40 REMAP_PORT_22=41 REMAP_PORT_21=42 REMAP_PORT_20=43
11+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_24_27 REMAP_PORT_27=36 REMAP_PORT_26=37 REMAP_PORT_25=38 REMAP_PORT_24=39
12+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_28_31 REMAP_PORT_31=32 REMAP_PORT_30=33 REMAP_PORT_29=34 REMAP_PORT_28=35
13+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_32_35 REMAP_PORT_35=16 REMAP_PORT_34=17 REMAP_PORT_33=18 REMAP_PORT_32=19
14+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_36_39 REMAP_PORT_39=20 REMAP_PORT_38=21 REMAP_PORT_37=22 REMAP_PORT_36=23
15+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_40_43 REMAP_PORT_43=24 REMAP_PORT_42=25 REMAP_PORT_41=26 REMAP_PORT_40=27
16+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_44_47 REMAP_PORT_47=28 REMAP_PORT_46=29 REMAP_PORT_45=30 REMAP_PORT_44=31
17+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_48_51 REMAP_PORT_51=12 REMAP_PORT_50=13 REMAP_PORT_49=14 REMAP_PORT_48=15
18+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_52_55 REMAP_PORT_55=8 REMAP_PORT_54=9 REMAP_PORT_53=10 REMAP_PORT_52=11
19+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_56_59 REMAP_PORT_59=4 REMAP_PORT_58=5 REMAP_PORT_57=6 REMAP_PORT_56=7
20+
modreg CMIC_LEDUP0_PORT_ORDER_REMAP_60_63 REMAP_PORT_63=0 REMAP_PORT_62=1 REMAP_PORT_61=2 REMAP_PORT_60=3
21+
22+
led 0 auto on
23+
led 0 start
24+
25+
led 1 stop
26+
led 1 prog 12 00 61 F1 12 10 61 F2 12 04 61 F3 12 04 61 F4 67 16 86 F0 77 74 96 F2 2E F1 67 2B 67 3F 16 F3 FE F1 61 F1 12 00 DE F2 74 16 57 2E F1 32 00 32 01 B7 97 75 3A 02 01 60 FE 57 02 00 60 FE 57 2E F1 32 08 97 75 58 77 48 06 FE D2 01 70 50 77 66 06 F0 C2 08 74 58 77 66 16 F4 91 22 0E 87 22 0E 87 DA 00 74 5A 57 16 F4 91 22 0E 87 22 0F 87 DA 00 74 68 57 02 80 38 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
27+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_0_3 REMAP_PORT_3=48 REMAP_PORT_2=49 REMAP_PORT_1=50 REMAP_PORT_0=51
28+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_4_7 REMAP_PORT_7=52 REMAP_PORT_6=53 REMAP_PORT_5=54 REMAP_PORT_4=55
29+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_8_11 REMAP_PORT_11=56 REMAP_PORT_10=57 REMAP_PORT_9=58 REMAP_PORT_8=59
30+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_12_15 REMAP_PORT_15=60 REMAP_PORT_14=61 REMAP_PORT_13=62 REMAP_PORT_12=63
31+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_16_19 REMAP_PORT_19=44 REMAP_PORT_18=45 REMAP_PORT_17=46 REMAP_PORT_16=47
32+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_20_23 REMAP_PORT_23=40 REMAP_PORT_22=41 REMAP_PORT_21=42 REMAP_PORT_20=43
33+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_24_27 REMAP_PORT_27=36 REMAP_PORT_26=37 REMAP_PORT_25=38 REMAP_PORT_24=39
34+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_28_31 REMAP_PORT_31=32 REMAP_PORT_30=33 REMAP_PORT_29=34 REMAP_PORT_28=35
35+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_32_35 REMAP_PORT_35=16 REMAP_PORT_34=17 REMAP_PORT_33=18 REMAP_PORT_32=19
36+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_36_39 REMAP_PORT_39=20 REMAP_PORT_38=21 REMAP_PORT_37=22 REMAP_PORT_36=23
37+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_40_43 REMAP_PORT_43=24 REMAP_PORT_42=25 REMAP_PORT_41=26 REMAP_PORT_40=27
38+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_44_47 REMAP_PORT_47=28 REMAP_PORT_46=29 REMAP_PORT_45=30 REMAP_PORT_44=31
39+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_48_51 REMAP_PORT_51=12 REMAP_PORT_50=13 REMAP_PORT_49=14 REMAP_PORT_48=15
40+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_52_55 REMAP_PORT_55=8 REMAP_PORT_54=9 REMAP_PORT_53=10 REMAP_PORT_52=11
41+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_56_59 REMAP_PORT_59=4 REMAP_PORT_58=5 REMAP_PORT_57=6 REMAP_PORT_56=7
42+
modreg CMIC_LEDUP1_PORT_ORDER_REMAP_60_63 REMAP_PORT_63=0 REMAP_PORT_62=1 REMAP_PORT_61=2 REMAP_PORT_60=3
43+
44+
led 1 auto on
45+
led 1 start
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
<DeviceMiniGraph xmlns="Microsoft.Search.Autopilot.Evolution" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
2+
<CpgDec>
3+
<IsisRouters xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution"/>
4+
<PeeringSessions>
5+
<BGPSession>
6+
<StartRouter>OCPSCH0104001MS</StartRouter>
7+
<StartPeer>10.10.1.30</StartPeer>
8+
<EndRouter>OCPSCH01040HHLF</EndRouter>
9+
<EndPeer>10.10.1.29</EndPeer>
10+
<Multihop>1</Multihop>
11+
<HoldTime>10</HoldTime>
12+
<KeepAliveTime>3</KeepAliveTime>
13+
</BGPSession>
14+
<BGPSession>
15+
<StartRouter>OCPSCH0104002MS</StartRouter>
16+
<StartPeer>10.10.2.30</StartPeer>
17+
<EndRouter>OCPSCH01040HHLF</EndRouter>
18+
<EndPeer>10.10.2.29</EndPeer>
19+
<Multihop>1</Multihop>
20+
<HoldTime>10</HoldTime>
21+
<KeepAliveTime>3</KeepAliveTime>
22+
</BGPSession>
23+
</PeeringSessions>
24+
<Routers xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
25+
<a:BGPRouterDeclaration>
26+
<a:ASN>64536</a:ASN>
27+
<a:Hostname>OCPSCH01040HHLF</a:Hostname>
28+
<a:Peers>
29+
<BGPPeer>
30+
<Address>10.10.1.30</Address>
31+
<RouteMapIn i:nil="true"/>
32+
<RouteMapOut i:nil="true"/>
33+
</BGPPeer>
34+
<BGPPeer>
35+
<Address>10.10.2.30</Address>
36+
<RouteMapIn i:nil="true"/>
37+
<RouteMapOut i:nil="true"/>
38+
</BGPPeer>
39+
</a:Peers>
40+
<a:RouteMaps/>
41+
</a:BGPRouterDeclaration>
42+
<a:BGPRouterDeclaration>
43+
<a:ASN>64542</a:ASN>
44+
<a:Hostname>OCPSCH0104001MS</a:Hostname>
45+
<a:RouteMaps/>
46+
</a:BGPRouterDeclaration>
47+
<a:BGPRouterDeclaration>
48+
<a:ASN>64543</a:ASN>
49+
<a:Hostname>OCPSCH0104002MS</a:Hostname>
50+
<a:RouteMaps/>
51+
</a:BGPRouterDeclaration>
52+
</Routers>
53+
</CpgDec>
54+
<DpgDec>
55+
<DeviceDataPlaneInfo>
56+
<IPSecTunnels/>
57+
<LoopbackIPInterfaces xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
58+
<a:LoopbackIPInterface>
59+
<Name>HostIP</Name>
60+
<AttachTo>Loopback0</AttachTo>
61+
<a:Prefix xmlns:b="Microsoft.Search.Autopilot.NetMux">
62+
<b:IPPrefix>100.0.0.10/32</b:IPPrefix>
63+
</a:Prefix>
64+
<a:PrefixStr>100.0.0.10/32</a:PrefixStr>
65+
</a:LoopbackIPInterface>
66+
</LoopbackIPInterfaces>
67+
<ManagementIPInterfaces xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution">
68+
</ManagementIPInterfaces>
69+
<MplsInterfaces/>
70+
<MplsTeInterfaces/>
71+
<RsvpInterfaces/>
72+
<Hostname>OCPSCH01040HHLF</Hostname>
73+
<PortChannelInterfaces/>
74+
<VlanInterfaces/>
75+
<IPInterfaces>
76+
<IPInterface>
77+
<Name i:nil="true"/>
78+
<AttachTo>Ethernet48</AttachTo>
79+
<Prefix>10.10.1.29/30</Prefix>
80+
</IPInterface>
81+
<IPInterface>
82+
<Name i:nil="true"/>
83+
<AttachTo>Ethernet52</AttachTo>
84+
<Prefix>10.10.2.29/30</Prefix>
85+
</IPInterface>
86+
</IPInterfaces>
87+
<DataAcls/>
88+
<AclInterfaces/>
89+
<DownstreamSummaries/>
90+
<DownstreamSummarySet xmlns:a="http://schemas.datacontract.org/2004/07/Microsoft.Search.Autopilot.Evolution"/>
91+
</DeviceDataPlaneInfo>
92+
</DpgDec>
93+
<PngDec>
94+
<DeviceInterfaceLinks>
95+
<DeviceLinkBase i:type="DeviceInterfaceLink">
96+
<Bandwidth>40000</Bandwidth>
97+
<ElementType>DeviceInterfaceLink</ElementType>
98+
<EndDevice>OCPSCH0104001MS</EndDevice>
99+
<EndPort>Ethernet48</EndPort>
100+
<StartDevice>OCPSCH01040HHLF</StartDevice>
101+
<StartPort>Ethernet48</StartPort>
102+
</DeviceLinkBase>
103+
<DeviceLinkBase i:type="DeviceInterfaceLink">
104+
<Bandwidth>40000</Bandwidth>
105+
<ElementType>DeviceInterfaceLink</ElementType>
106+
<EndDevice>OCPSCH8810MS</EndDevice>
107+
<EndPort>Ethernet0</EndPort>
108+
<StartDevice>OCPSCH01040HHLF</StartDevice>
109+
<StartPort>Ethernet52</StartPort>
110+
</DeviceLinkBase>
111+
</DeviceInterfaceLinks>
112+
<Devices>
113+
<Device i:type="LeafRouter">
114+
<Hostname>OCPSCH8810HHLF</Hostname>
115+
<HwSku>INGRASYS-S8810-32Q</HwSku>
116+
</Device>
117+
</Devices>
118+
</PngDec>
119+
<Hostname>OCPSCH01040HHLF</Hostname>
120+
<HwSku>INGRASYS-S8810-32Q</HwSku>
121+
</DeviceMiniGraph>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env python
2+
3+
#############################################################################
4+
# Ingrasys S8810-32Q
5+
#
6+
# Platform and model specific eeprom subclass, inherits from the base class,
7+
# and provides the followings:
8+
# - the eeprom format definition
9+
# - specific encoder/decoder if there is special need
10+
#############################################################################
11+
12+
try:
13+
from sonic_eeprom import eeprom_tlvinfo
14+
except ImportError, e:
15+
raise ImportError (str(e) + "- required module not found")
16+
17+
18+
class board(eeprom_tlvinfo.TlvInfoDecoder):
19+
20+
def __init__(self, name, path, cpld_root, ro):
21+
i2c_bus = "12"
22+
i2c_addr = "0056"
23+
self.eeprom_path = "/sys/class/i2c-adapter/i2c-" + i2c_bus + "/" + i2c_bus + "-" + i2c_addr + "/eeprom"
24+
super(board, self).__init__(self.eeprom_path, 0, '', True)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#!/usr/bin/env python
2+
3+
try:
4+
from sonic_sfp.sfputilbase import sfputilbase
5+
except ImportError, e:
6+
raise ImportError (str(e) + "- required module not found")
7+
8+
9+
class sfputil(sfputilbase):
10+
"""Platform specific sfputil class"""
11+
12+
port_start = 0
13+
port_end = 31
14+
ports_in_block = 32
15+
16+
port_to_eeprom_mapping = {}
17+
#FIXME
18+
port_to_i2c_mapping = {
19+
0: 18,
20+
1: 19,
21+
2: 20,
22+
3: 21,
23+
4: 22,
24+
5: 23,
25+
6: 24,
26+
7: 25,
27+
8: 26,
28+
9: 27,
29+
10: 28,
30+
11: 29,
31+
12: 30,
32+
13: 31,
33+
14: 32,
34+
15: 33,
35+
16: 34,
36+
17: 35,
37+
18: 36,
38+
19: 37,
39+
20: 38,
40+
21: 39,
41+
22: 40,
42+
23: 41,
43+
24: 42,
44+
25: 43,
45+
26: 44,
46+
27: 45,
47+
28: 46,
48+
29: 47,
49+
30: 48,
50+
31: 49
51+
}
52+
53+
_qsfp_ports = range(0, ports_in_block + 1)
54+
55+
def __init__(self, port_num):
56+
# Override port_to_eeprom_mapping for class initialization
57+
eeprom_path = '/sys/class/i2c-adapter/i2c-{0}/{0}-0050/eeprom'
58+
for x in range(self.port_start, self.port_end + 1):
59+
port_eeprom_path = eeprom_path.format(self.port_to_i2c_mapping[x])
60+
self.port_to_eeprom_mapping[x] = port_eeprom_path
61+
sfputilbase.__init__(self, port_num)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# libsensors configuration file
2+
chip "i350bb-*"
3+
ignore loc1
4+
5+
chip "jc42-*"
6+
label temp1 "DIMM Temp"
7+
set temp1_max 50
8+
set temp1_crit 85
9+
10+
chip "w83795adg-*"
11+
label in0 "ROV"
12+
set in0_min 1 * 0.97
13+
set in0_max 1 * 1.033
14+
ignore in1
15+
ignore in2
16+
label in3 "1.0V"
17+
set in3_min 1 * 0.97
18+
set in3_max 1 * 1.03
19+
label in4 "1.8V"
20+
set in4_min 1.8 * 0.95
21+
set in4_max 1.8 * 1.05
22+
ignore in5
23+
label in6 "5.0V"
24+
compute in6 (4)*@, @/(4)
25+
set in6_min 5 * 0.95
26+
set in6_max 5 * 1.05
27+
ignore in7
28+
label in12 "3.3V"
29+
compute in6 (2)*@, @/(2)
30+
set in12_min 3.3 * 0.97
31+
set in12_max 3.3 * 1.03
32+
ignore in14
33+
ignore in15
34+
ignore in16
35+
label fan1 "FANTRAY 1-A"
36+
label fan2 "FANTRAY 1-B"
37+
label fan3 "FANTRAY 2-A"
38+
label fan4 "FANTRAY 2-B"
39+
label fan5 "FANTRAY 3-A"
40+
label fan6 "FANTRAY 3-B"
41+
label fan7 "FANTRAY 4-A"
42+
label fan8 "FANTRAY 4-B"
43+
label temp1 "MAC Temp"
44+
label temp2 "SFP+ Port 1 Temp"
45+
label temp3 "SFP+ Port 8 Temp"
46+
ignore temp4
47+
ignore intrusion0

platform/broadcom/one-image.mk

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ $(SONIC_ONE_IMAGE)_INSTALLS += $(DELL_S6000_PLATFORM_MODULE) \
1010
$(INGRASYS_S8900_54XC_PLATFORM_MODULE) \
1111
$(INGRASYS_S8900_64XC_PLATFORM_MODULE) \
1212
$(INGRASYS_S9100_PLATFORM_MODULE) \
13+
$(INGRASYS_S8810_32Q_PLATFORM_MODULE) \
1314
$(ACCTON_AS7712_32X_PLATFORM_MODULE) \
1415
$(INVENTEC_D7032Q28B_PLATFORM_MODULE) \
1516
$(CEL_DX010_PLATFORM_MODULE)

platform/broadcom/platform-modules-ingrasys.mk

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# Ingrasys S9100, S8900-64XC and S8900-54XC Platform modules
1+
# Ingrasys S9100, S8900-64XC, S8900-54XC and S8810-32Q Platform modules
22

33
INGRASYS_S9100_PLATFORM_MODULE_VERSION = 1.1.0
44
INGRASYS_S8900_64XC_PLATFORM_MODULE_VERSION = 1.1.0
55
INGRASYS_S8900_54XC_PLATFORM_MODULE_VERSION = 1.1.0
6+
INGRASYS_S8810_32Q_PLATFORM_MODULE_VERSION = 1.1.0
67

78
export INGRASYS_S9100_PLATFORM_MODULE_VERSION
89
export INGRASYS_S8900_64XC_PLATFORM_MODULE_VERSION
910
export INGRASYS_S8900_54XC_PLATFORM_MODULE_VERSION
11+
export INGRASYS_S8810_32Q_PLATFORM_MODULE_VERSION
1012

1113
INGRASYS_S9100_PLATFORM_MODULE = sonic-platform-ingrasys-s9100_$(INGRASYS_S9100_PLATFORM_MODULE_VERSION)_amd64.deb
1214
$(INGRASYS_S9100_PLATFORM_MODULE)_SRC_PATH = $(PLATFORM_PATH)/sonic-platform-modules-ingrasys
@@ -20,5 +22,9 @@ $(INGRASYS_S8900_64XC_PLATFORM_MODULE)_PLATFORM = x86_64-ingrasys_s8900_64xc-r0
2022
INGRASYS_S8900_54XC_PLATFORM_MODULE = sonic-platform-ingrasys-s8900-54xc_$(INGRASYS_S8900_54XC_PLATFORM_MODULE_VERSION)_amd64.deb
2123
$(INGRASYS_S8900_54XC_PLATFORM_MODULE)_PLATFORM = x86_64-ingrasys_s8900_54xc-r0
2224

25+
INGRASYS_S8810_32Q_PLATFORM_MODULE = sonic-platform-ingrasys-s8810-32q_$(INGRASYS_S8810_32Q_PLATFORM_MODULE_VERSION)_amd64.deb
26+
$(INGRASYS_S8810_32Q_PLATFORM_MODULE)_PLATFORM = x86_64-ingrasys_s8810_32q-r0
27+
2328
$(eval $(call add_extra_package,$(INGRASYS_S9100_PLATFORM_MODULE),$(INGRASYS_S8900_64XC_PLATFORM_MODULE)))
2429
$(eval $(call add_extra_package,$(INGRASYS_S9100_PLATFORM_MODULE),$(INGRASYS_S8900_54XC_PLATFORM_MODULE)))
30+
$(eval $(call add_extra_package,$(INGRASYS_S9100_PLATFORM_MODULE),$(INGRASYS_S8810_32Q_PLATFORM_MODULE)))

0 commit comments

Comments
 (0)