AS7326-56X - How to obtain the basic PSU information via I2C command? Follow
Purpose :
Please refer to this article to understand how to obtain basic information about the PSU.
The basic PSU information includes model name, serial number, part number, and firmware version.
Model :
AS7326-56X
PSU support list :
Model name | PSU model(F2B) | PSU model(B2F) | Note |
AS7326-56X |
YM-2651Y, B01R (AC) FSF019-611G (AC) YM-2651VBR (DC) |
YM-2651Y, C01R (AC) FSF045-611G (AC) YM-2651VCR (DC) |
Procedure :
Please refer to the method of obtaining basic information about the PSU using the I2C command in three environments: ONIE, DIAG, and ONL.
- Regarding the ONIE
For the PSU1, you can use the below command to get the PSU EEPROM and PMbus information.
ONIE:/ # i2cset -y 0 0x77 0x01
ONIE:/ # i2cset -y 0 0x71 0x01
ONIE:/ # i2cdump -y 0 0x51
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 38 070V581823001218
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fd 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
ONIE:/ # i2cdump -y 0 0x59
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff fe 71 1b 25 1d ......??...?q?%?
90: 39 00 ff ff ff 00 e4 00 22 08 08 01 ff 06 12 02 9.....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 3d ff ???.??.....P..=.
e0: 10 ff ff ff ff 59 ff ff ff ff ff ff ff ff ff ff ?....Y..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
ONIE:/ # i2cset -y 0 0x77 0x01
ONIE:/ # i2cset -y 0 0x70 0x10
ONIE:/ # i2cdump -y 0 0x53
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 39 070V581823001219
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fc 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
ONIE:/ # i2cdump -y 0 0x5b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff 0b dc 1d 25 1f ......??...???%?
90: 20 00 ff ff ff 00 b4 00 22 08 08 01 ff 06 12 02 .....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 32 ff ???.??.....P..2.
e0: 10 ff ff ff ff 59 ff ff ff ff ff ff ff ff ff ff ?....Y..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
- Regarding the DIAG
For the PSU1, you can use the below command to get the PSU EEPROM and PMbus information.
root@(none):/# i2cset -y 0 0x77 0x01
root@(none):/# i2cset -y 0 0x71 0x01
root@(none):/# i2cdump -y 0 0x51
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 38 070V581823001218
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fd 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@(none):/# i2cdump -y 0 0x59
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff ff d3 1b 25 1e ......??....??%?
90: 39 00 ff ff ff 00 10 00 22 08 08 01 ff 06 12 02 9.....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 46 ff ???.??.....P..F.
e0: 10 ff ff ff ff 2d ff ff ff ff ff ff ff ff ff ff ?....-..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
root@(none):/# i2cset -y 0 0x77 0x01
root@(none):/# i2cset -y 0 0x70 0x10
root@(none):/# i2cdump -y 0 0x53
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 39 070V581823001219
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fc 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@(none):/# i2cdump -y 0 0x5b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff 0a 5b 1d 26 1f ......??...?[?&?
90: 13 00 ff ff ff 00 e0 00 22 08 08 01 ff 06 12 02 ?.....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 3a ff ???.??.....P..:.
e0: 10 ff ff ff ff 2d ff ff ff ff ff ff ff ff ff ff ?....-..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
-
Regarding the ONL
*If the NOS you are using is developed based on ONL, you can directly use the following command to get the PSU information.
For the PSU1, you can use the below command to get the PSU EEPROM and PMbus information.
root@localhost:~# i2cdump -y -f 17 0x51
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 38 070V581823001218
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fd 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@localhost:~# i2cdump -y -f 17 0x59
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff fd 50 1b 24 1d ......??...?P?$?
90: 39 00 ff ff ff 00 d8 00 22 08 08 01 ff 06 12 02 9.....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 3b ff ???.??.....P..;.
e0: 10 ff ff ff ff c9 ff ff ff ff ff ff ff ff ff ff ?....?..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
root@localhost:~# i2cdump -y -f 13 0x53
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0b 00 f3 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 53 50 52 49 4e 36 35 31 41 4d c8 OWER?SPRIN651AM?
20: 59 4d 2d 32 36 35 31 59 c4 42 30 31 52 d2 53 41 YM-2651Y?B01R?SA
30: 30 37 30 56 35 38 31 38 32 33 30 30 31 32 31 39 070V581823001219
40: 03 12 06 1a c9 50 33 43 33 30 35 41 30 30 c3 41 ?????P3C305A00?A
50: 30 37 c1 00 00 00 00 fc 00 02 18 4c 9a 8a 02 0c 07?....?.??L????
60: 03 3c 05 28 23 90 33 00 00 00 00 2f 3f 0e 1f 3c ?<?(#?3..../???<
70: f3 00 00 00 00 01 02 0d 0e e2 01 b0 04 8c 04 d4 ?....???????????
80: 04 78 00 e8 03 a4 ce 01 82 0d 59 17 82 f4 01 db ?x.???????Y?????
90: 01 0d 02 32 00 64 00 a0 0f ff ff ff ff ff ff ff ???2.d.??.......
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@localhost:~# i2cdump -y -f 13 0x5b
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 15 ff ff 00 ff ff ff ff ff ff ff ff ff ..??............
10: ff ff ff ff ff ff ff ff ff 90 00 ff ff ff ff ff .........?......
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: 05 ff ff ff ff ff ff ff ff ff 99 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 2b ff ff ff ff ff ..........+.....
50: ff 5c ff ff ff ff ff ff ff ff ff ff ff ff ff ff .\..............
60: ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 ................
80: ff 00 ff ff ff ff 06 06 00 00 ff 09 85 1d 25 1f ......??...???%?
90: 20 00 ff ff ff 00 a8 00 22 08 08 01 ff 06 12 02 .....?."???.???
a0: 5a 08 08 ee e8 17 a7 8a 32 00 51 c3 ff 0e ff ff Z???????2.Q?.?..
b0: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff 03 ff ff ff ff ff ff ff ff ff ff ff ff ...?............
d0: 04 13 03 ff 0a 14 ff 00 00 00 00 50 00 ff 2e ff ???.??.....P....
e0: 10 ff ff ff ff c9 ff ff ff ff ff ff ff ff ff ff ?....?..........
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
Use the below command to dump the PSU1 and PSU2 firmware revisions.
root@localhost:~# i2cdump -y -f 17 0x59 s 0xd1
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 53 50 52 49 4e 36 35 31 41 4d 50 33 43 33 30 35 SPRIN651AMP3C305
10: 41 30 30 A00
root@localhost:~# i2cdump -y -f 13 0x5b s 0xd1
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 53 50 52 49 4e 36 35 31 41 4d 50 33 43 33 30 35 SPRIN651AMP3C305
10: 41 30 30 A00
Comments
0 comments
Please sign in to leave a comment.