a3895c3116
- Why I did it 1. SN2201 sai profile needs to be updated according to the latest hardware. 2. In the reboot script, need to use the common symbol link of the power_cycle sysfs instead of directly accessing it due to SN2201 sysfs is different than other platforms. 3. echo 1 > $SYSFS_PWR_CYCLE will trigger the reboot immediately, the following sleep 3 and echo 0 > $SYSFS_PWR_CYCLE will never be executed, can be removed. - How I did it 1. Replace the SN2201 sai profile with the latest one. 2. In the platform_reboot script, replace the direct sysfs path with the symbol link path. 3. Remove the redundant code from platform_reboot - How to verify it Perform reboot on all the Nvidia platforms, and check all can be rebooted successfully. Signed-off-by: Kebo Liu <kebol@nvidia.com>
403 lines
14 KiB
XML
403 lines
14 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Copyright (c) 2019-2021 NVIDIA CORPORATION & AFFILIATES.
|
|
Apache-2.0
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<root>
|
|
<platform_info type="2201">
|
|
|
|
<!-- Device MAC address -->
|
|
<device-mac-address>00:02:03:04:05:00</device-mac-address>
|
|
|
|
<!-- ISSU enabled -->
|
|
<issu-enabled>1</issu-enabled>
|
|
|
|
<!-- Number of ports in the following port list -->
|
|
<number-of-physical-ports>52</number-of-physical-ports>
|
|
|
|
<!-- List of ports in the device -->
|
|
<ports-list>
|
|
<port-info>
|
|
<local-port>61</local-port>
|
|
<width>1</width>
|
|
<module>0</module>
|
|
<!-- 0 none, 1=2, 2=4, 3=2,4 -->
|
|
<breakout-modes>0</breakout-modes>
|
|
<!-- (BITMASK) 3 - 1Gb, 28700 - 10Gb , 939524096 - 25Gb , 98368 - 40Gb , 3221225472 - 50Gb , 11534336 - 100Gb, 1024 - 10MB_T, 2048 - 100MB_TX, 131072 - 1000MB_T -->
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>62</local-port>
|
|
<width>1</width>
|
|
<module>1</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>63</local-port>
|
|
<width>1</width>
|
|
<module>2</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>64</local-port>
|
|
<width>1</width>
|
|
<module>3</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>57</local-port>
|
|
<width>1</width>
|
|
<module>4</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>58</local-port>
|
|
<width>1</width>
|
|
<module>5</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>59</local-port>
|
|
<width>1</width>
|
|
<module>6</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>60</local-port>
|
|
<width>1</width>
|
|
<module>7</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>53</local-port>
|
|
<width>1</width>
|
|
<module>8</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>54</local-port>
|
|
<width>1</width>
|
|
<module>9</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>55</local-port>
|
|
<width>1</width>
|
|
<module>10</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>56</local-port>
|
|
<width>1</width>
|
|
<module>11</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>49</local-port>
|
|
<width>1</width>
|
|
<module>12</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>50</local-port>
|
|
<width>1</width>
|
|
<module>13</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>51</local-port>
|
|
<width>1</width>
|
|
<module>14</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>52</local-port>
|
|
<width>1</width>
|
|
<module>15</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>45</local-port>
|
|
<width>1</width>
|
|
<module>16</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>46</local-port>
|
|
<width>1</width>
|
|
<module>17</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>47</local-port>
|
|
<width>1</width>
|
|
<module>18</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>48</local-port>
|
|
<width>1</width>
|
|
<module>19</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>41</local-port>
|
|
<width>1</width>
|
|
<module>20</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>42</local-port>
|
|
<width>1</width>
|
|
<module>21</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>43</local-port>
|
|
<width>1</width>
|
|
<module>22</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>44</local-port>
|
|
<width>1</width>
|
|
<module>23</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>37</local-port>
|
|
<width>1</width>
|
|
<module>24</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>38</local-port>
|
|
<width>1</width>
|
|
<module>25</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>39</local-port>
|
|
<width>1</width>
|
|
<module>26</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>40</local-port>
|
|
<width>1</width>
|
|
<module>27</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>33</local-port>
|
|
<width>1</width>
|
|
<module>28</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>34</local-port>
|
|
<width>1</width>
|
|
<module>29</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>35</local-port>
|
|
<width>1</width>
|
|
<module>30</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>36</local-port>
|
|
<width>1</width>
|
|
<module>31</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>1</local-port>
|
|
<width>1</width>
|
|
<module>32</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>2</local-port>
|
|
<width>1</width>
|
|
<module>33</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>3</local-port>
|
|
<width>1</width>
|
|
<module>34</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>4</local-port>
|
|
<width>1</width>
|
|
<module>35</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>21</local-port>
|
|
<width>1</width>
|
|
<module>36</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>22</local-port>
|
|
<width>1</width>
|
|
<module>37</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>23</local-port>
|
|
<width>1</width>
|
|
<module>38</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>24</local-port>
|
|
<width>1</width>
|
|
<module>39</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>25</local-port>
|
|
<width>1</width>
|
|
<module>40</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>26</local-port>
|
|
<width>1</width>
|
|
<module>41</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>27</local-port>
|
|
<width>1</width>
|
|
<module>42</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>28</local-port>
|
|
<width>1</width>
|
|
<module>43</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>29</local-port>
|
|
<width>1</width>
|
|
<module>44</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>30</local-port>
|
|
<width>1</width>
|
|
<module>45</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>31</local-port>
|
|
<width>1</width>
|
|
<module>46</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>32</local-port>
|
|
<width>1</width>
|
|
<module>47</module>
|
|
<breakout-modes>0</breakout-modes>
|
|
<port-speed>131072</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>9</local-port>
|
|
<width>4</width>
|
|
<module>48</module>
|
|
<breakout-modes>3</breakout-modes>
|
|
<port-speed>11534336</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>5</local-port>
|
|
<width>4</width>
|
|
<module>49</module>
|
|
<breakout-modes>3</breakout-modes>
|
|
<port-speed>11534336</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>17</local-port>
|
|
<width>4</width>
|
|
<module>50</module>
|
|
<breakout-modes>3</breakout-modes>
|
|
<port-speed>11534336</port-speed>
|
|
</port-info>
|
|
<port-info>
|
|
<local-port>13</local-port>
|
|
<width>4</width>
|
|
<module>51</module>
|
|
<breakout-modes>3</breakout-modes>
|
|
<port-speed>11534336</port-speed>
|
|
</port-info>
|
|
</ports-list>
|
|
</platform_info>
|
|
</root>
|
|
|