From aa6d4574e3e22a41eac66c1a28e8e94d9dc7e94a Mon Sep 17 00:00:00 2001 From: tomer-israel <76040066+tomer-israel@users.noreply.github.com> Date: Sun, 15 Aug 2021 11:12:32 +0300 Subject: [PATCH] [Mellanox] fix syseeprom info values on mellanox simulator platforms msn4700 and msn4800 (#8387) #### Why I did it The values of the syseeprom were not valid #### How I did it I took the correct hexdump values from a real switch and created this hex file again #### How to verify it decode-syseeprom will display the new values --- .../x86_64-mlnx_msn4700_simx-r0/syseeprom.hex | 42 +++++++++--------- .../x86_64-mlnx_msn4800_simx-r0/syseeprom.hex | 44 +++++++++---------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/device/mellanox/x86_64-mlnx_msn4700_simx-r0/syseeprom.hex b/device/mellanox/x86_64-mlnx_msn4700_simx-r0/syseeprom.hex index b50ffa5a02..06b57892e9 100644 --- a/device/mellanox/x86_64-mlnx_msn4700_simx-r0/syseeprom.hex +++ b/device/mellanox/x86_64-mlnx_msn4700_simx-r0/syseeprom.hex @@ -1,42 +1,42 @@ 54 6c 76 49 6e 66 6f 00 01 02 53 21 40 4d 53 4e -33 37 30 30 00 00 00 00 00 00 00 00 00 00 00 00 +34 37 30 30 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 22 14 4d -53 4e 33 37 30 30 2d 56 53 32 46 00 00 00 00 00 -00 00 00 23 18 4d 54 31 38 35 31 58 30 32 39 36 -31 00 00 00 00 00 00 00 00 00 00 00 00 24 06 98 -03 9b 94 d4 80 25 13 31 32 2f 32 38 2f 32 30 31 -38 20 30 34 3a 34 32 3a 31 38 26 01 00 2a 02 00 +53 4e 34 37 30 30 2d 57 53 32 46 4f 00 00 00 00 +00 00 00 23 18 4d 54 32 30 32 32 58 30 38 35 39 +37 00 00 00 00 00 00 00 00 00 00 00 00 24 06 1c +34 da 1d 42 00 25 13 30 37 2f 30 32 2f 32 30 32 +30 20 30 32 3a 33 38 3a 32 36 26 01 00 2a 02 00 fe 2b 08 4d 65 6c 6c 61 6e 6f 78 fd 24 00 00 81 19 00 16 01 01 00 56 00 00 4d 4c 4e 58 02 01 0c 05 0e 02 10 06 12 07 00 00 00 00 00 00 00 00 00 -00 fd a4 00 00 81 19 00 92 00 03 01 01 00 00 4d -54 31 38 35 31 58 30 32 39 36 31 00 00 00 00 00 -00 00 00 00 00 00 00 4d 53 4e 33 37 30 30 2d 56 -53 32 46 00 00 00 00 00 00 00 00 41 32 00 00 00 -3a 82 b8 41 6e 61 63 6f 6e 64 61 20 45 74 68 20 -32 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 fd a4 00 00 81 19 00 92 00 03 01 8a 00 00 4d +54 32 30 32 32 58 30 38 35 39 37 00 00 00 00 00 +00 00 00 00 00 00 00 4d 53 4e 34 37 30 30 2d 57 +53 32 46 4f 00 00 00 00 00 00 00 41 37 00 00 00 +82 a2 c4 4c 65 6f 70 61 72 64 20 45 74 68 20 34 +30 30 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 70 00 00 00 0e 74 4d 53 4e 33 37 +00 00 00 00 00 7a 00 00 00 12 5c 4d 53 4e 34 37 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fd 24 00 00 81 19 00 10 00 03 05 e8 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 fd 24 00 -00 81 19 00 1e 00 11 02 85 00 00 0d 00 00 00 00 -00 00 00 98 03 9b 94 d4 80 00 fe 98 03 9b 03 00 -94 d4 80 fd 24 00 00 81 19 00 12 00 01 06 81 00 -00 00 46 00 00 08 00 06 06 06 06 00 00 00 00 00 +00 81 19 00 1e 00 11 02 af 00 00 0d 00 00 00 00 +00 00 00 1c 34 da 1d 42 00 00 fe 1c 34 da 03 00 +1d 42 00 fd 24 00 00 81 19 00 12 00 01 06 7d 00 +00 00 46 00 00 08 00 07 07 07 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fd 14 00 00 81 19 00 0e 00 02 07 99 00 00 30 00 20 00 00 00 00 00 28 40 78 38 36 5f 36 34 2d 6d 6c 6e 78 5f 6d 73 6e -33 37 30 30 2d 72 30 00 00 00 00 00 00 00 00 00 +34 37 30 30 2d 72 30 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 29 15 32 30 31 38 2e 31 31 2d 35 2e 32 2e 30 -30 30 38 2d 39 36 30 30 fe 04 89 cb 82 5b 00 00 -00 00 00 fe 04 72 60 7f 13 00 00 00 00 00 00 00 +00 29 15 32 30 32 30 2e 31 31 2d 35 2e 33 2e 30 +30 30 35 2d 39 36 30 30 fe 04 12 38 c7 41 d3 2a +00 00 00 fe 04 4f b8 08 f0 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 diff --git a/device/mellanox/x86_64-mlnx_msn4800_simx-r0/syseeprom.hex b/device/mellanox/x86_64-mlnx_msn4800_simx-r0/syseeprom.hex index b50ffa5a02..13bba49e74 100644 --- a/device/mellanox/x86_64-mlnx_msn4800_simx-r0/syseeprom.hex +++ b/device/mellanox/x86_64-mlnx_msn4800_simx-r0/syseeprom.hex @@ -1,42 +1,42 @@ -54 6c 76 49 6e 66 6f 00 01 02 53 21 40 4d 53 4e -33 37 30 30 00 00 00 00 00 00 00 00 00 00 00 00 +54 6c 76 49 6e 66 6f 00 01 02 5e 21 40 4d 53 4e +34 38 30 30 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 22 14 4d -53 4e 33 37 30 30 2d 56 53 32 46 00 00 00 00 00 -00 00 00 23 18 4d 54 31 38 35 31 58 30 32 39 36 -31 00 00 00 00 00 00 00 00 00 00 00 00 24 06 98 -03 9b 94 d4 80 25 13 31 32 2f 32 38 2f 32 30 31 -38 20 30 34 3a 34 32 3a 31 38 26 01 00 2a 02 00 +53 4e 34 38 30 30 2d 57 53 34 46 00 00 00 00 00 +00 00 00 23 18 4d 54 32 31 32 31 58 31 32 32 30 +34 00 00 00 00 00 00 00 00 00 00 00 00 24 06 1c +34 da c1 df 00 25 13 30 35 2f 32 34 2f 32 30 32 +31 20 30 30 3a 32 37 3a 32 37 26 01 00 2a 02 00 fe 2b 08 4d 65 6c 6c 61 6e 6f 78 fd 24 00 00 81 19 00 16 01 01 00 56 00 00 4d 4c 4e 58 02 01 0c 05 0e 02 10 06 12 07 00 00 00 00 00 00 00 00 00 -00 fd a4 00 00 81 19 00 92 00 03 01 01 00 00 4d -54 31 38 35 31 58 30 32 39 36 31 00 00 00 00 00 -00 00 00 00 00 00 00 4d 53 4e 33 37 30 30 2d 56 -53 32 46 00 00 00 00 00 00 00 00 41 32 00 00 00 -3a 82 b8 41 6e 61 63 6f 6e 64 61 20 45 74 68 20 -32 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 fd a4 00 00 81 19 00 92 00 03 01 e2 00 00 4d +54 32 31 32 31 58 31 32 32 30 34 00 00 00 00 00 +00 00 00 00 00 00 00 4d 53 4e 34 38 30 30 2d 57 +53 34 46 00 00 00 00 00 00 00 00 41 31 00 00 00 +bf cb cb 42 75 66 66 61 6c 6f 20 4d 6f 64 75 6c +61 72 20 45 74 68 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 70 00 00 00 0e 74 4d 53 4e 33 37 +00 00 00 00 00 7e 00 00 00 12 c0 4d 53 4e 34 38 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fd 24 00 00 81 19 00 10 00 03 05 e8 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 fd 24 00 -00 81 19 00 1e 00 11 02 85 00 00 0d 00 00 00 00 -00 00 00 98 03 9b 94 d4 80 00 fe 98 03 9b 03 00 -94 d4 80 fd 24 00 00 81 19 00 12 00 01 06 81 00 -00 00 46 00 00 08 00 06 06 06 06 00 00 00 00 00 +00 81 19 00 1e 00 11 02 2d 00 00 0d 00 00 00 00 +00 00 00 1c 34 da c1 df 00 00 fe 1c 34 da 03 00 +c1 df 00 fd 24 00 00 81 19 00 12 00 01 06 7d 00 +00 00 46 00 00 08 00 07 07 07 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fd 14 00 00 81 19 00 0e 00 02 07 99 00 00 30 00 20 00 00 00 00 00 28 40 78 38 36 5f 36 34 2d 6d 6c 6e 78 5f 6d 73 6e -33 37 30 30 2d 72 30 00 00 00 00 00 00 00 00 00 +34 38 30 30 2d 72 30 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 29 15 32 30 31 38 2e 31 31 2d 35 2e 32 2e 30 -30 30 38 2d 39 36 30 30 fe 04 89 cb 82 5b 00 00 -00 00 00 fe 04 72 60 7f 13 00 00 00 00 00 00 00 +00 29 20 35 2e 33 2e 30 30 30 35 00 00 00 00 00 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +00 00 00 fe 04 7b 10 a3 b8 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