AS4630 series - How to obtain the basic PSU information via I2C command? Follow
Purpose :
If encounter problems related to PSU, you can refer this article to get the basic information of PSU first.
The basic PSU information includes model name, serial number, part number, and firmware version.
Model :
AS4630-54PE / AS4630-54TE / AS4630-54NPE
PSU support list :
Model name | PSU model(F2B) | PSU model(B2F) | Note |
AS4630-54TE | YM-1151DA03R (AC) YM-1151FA01R (AC) |
YM-1151DA02R (AC) | |
AS4630-54PE AS4630-54NPE |
YPEB1200AM-1A03P10 (AC) | N/A |
Procedure :
Please refer to the method of obtaining basic information about the PSU using the I2C command in three environments: ONIE, DIAG, and ONL.
*AS4630-54NPE does not support ONL so if need to obtain the PSU EEPROM and PMbus information please choose the ONIE or DIAG.
- Regarding the ONIE
For the PSU1, you can use the below command to get the PSU EEPROM and PMbus information.
ONIE:/ # i2cset -y 1 0x77 0x01
ONIE:/ # i2cset -y 1 0x70 0x02
ONIE:/ # i2cdump -y 1 0x50
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0c 00 f2 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 4e 45 41 53 52 34 30 31 41 4d c8 OWER?NEASR401AM?
20: 59 4d 2d 31 34 30 31 41 cb 42 52 20 20 20 20 20 YM-1401A?BR
30: 20 20 20 20 d3 53 41 30 36 30 56 30 36 31 39 31 ?SA060V06191
40: 31 30 30 30 33 33 37 20 03 13 04 04 c9 50 33 43 1000337 ?????P3C
50: 33 30 30 41 30 32 c3 41 30 36 c1 00 00 00 00 74 300A02?A06?....t
60: 00 02 18 32 b4 90 01 00 00 23 0a 84 03 50 0a 00 .??2???..#???P?.
70: 00 00 00 00 00 10 1f 00 00 00 00 00 00 01 82 0d .....??......???
80: b4 bc 01 b0 04 74 04 ec 04 78 00 00 00 35 82 ff ?????t???x...5?.
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 1 0x58
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 ff ff ff ff ff ff ff ff ff ff ff ff ff ..?.............
10: ff ff ff ff ff ff ff ff ff 00 ff ff ff ff ff ff ................
20: 17 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ?...............
30: ff ff ff ff ff ff ff ff ff ff 00 00 00 ff ff ff ................
40: ff ff ff ff ff ff ff ff ff ff 00 ff ff ff ff ff ................
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff 48 00 00 38 00 ff ff .........H..8...
80: ff 00 ff ff ff ff ff ff 00 00 ff 00 00 1e 1c 00 .............??.
90: c8 00 ff ff ff 00 00 00 ff 08 08 ff ff ff ff ff ?........??.....
a0: 5a 08 23 37 40 b8 14 90 37 00 ff ff ff ff ff ff Z?#7@???7.......
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: 02 13 03 ff 0a 64 ff ff ff ff ff ff ff ff ff ff ???.?d..........
e0: ff ff 10 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 ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
ONIE:/ # i2cset -y 1 0x70 0x04
ONIE:/ # i2cdump -y 1 0x53
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0c 00 f2 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 4e 45 41 53 52 34 30 31 41 4d c8 OWER?NEASR401AM?
20: 59 4d 2d 31 34 30 31 41 cb 42 52 20 20 20 20 20 YM-1401A?BR
30: 20 20 20 20 d3 53 41 30 36 30 56 30 36 31 39 31 ?SA060V06191
40: 31 30 30 30 33 33 31 20 03 13 04 01 c9 50 33 43 1000331 ?????P3C
50: 33 30 30 41 30 32 c3 41 30 36 c1 00 00 00 00 7d 300A02?A06?....}
60: 00 02 18 32 b4 90 01 00 00 23 0a 84 03 50 0a 00 .??2???..#???P?.
70: 00 00 00 00 00 10 1f 00 00 00 00 00 00 01 82 0d .....??......???
80: b4 bc 01 b0 04 74 04 ec 04 78 00 00 00 35 82 ff ?????t???x...5?.
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 1 0x5b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 15 ff ff ff ff ff ff ff ff ff ff ff ff ff ..?.............
10: ff ff ff ff ff ff ff ff ff 00 ff ff ff ff ff ff ................
20: 17 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ?...............
30: ff ff ff ff ff ff ff ff ff ff 00 00 00 ff ff ff ................
40: ff ff ff ff ff ff ff ff ff ff 00 ff ff ff ff ff ................
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
60: ff ff ff ff ff ff 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 ff ff ................
80: ff 00 ff ff ff ff ff ff 00 00 ff 3b 26 26 3b 00 ...........;&&;.
90: e8 00 ff ff ff 00 a0 00 ff 08 08 ff ff ff ff ff ?.....?..??.....
a0: 5a 08 23 37 40 b8 14 90 37 00 ff ff ff ff ff ff Z?#7@???7.......
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: 02 13 03 ff 0a 14 ff ff ff ff ff ff ff ff ff ff ???.??..........
e0: ff ff 10 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 ................
- Regarding the DIAG
For the PSU1, you can use the below command to get the PSU EEPROM and PMbus information.
root@(none):/# i2cset -y 1 0x77 0x01
root@(none):/# i2cset -y 1 0x71 0x01
root@(none):/# i2cdump -y 1 0x50
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0c 00 f2 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 43 52 50 31 55 31 32 32 41 4d c8 OWER?CRP1U122AM?
20: 59 50 45 42 31 32 30 30 cb 41 4d 2d 31 41 30 33 YPEB1200?AM-1A03
30: 50 31 30 20 d3 53 43 30 30 30 58 31 38 32 31 34 P10 ?SC000X18214
40: 38 30 30 34 37 34 37 20 03 15 0c 1c c9 50 32 43 8004747 ?????P2C
50: 33 30 30 42 30 30 c3 43 30 30 c1 00 00 00 00 93 300B00?C00?....?
60: 00 02 18 fe e8 b0 04 46 05 3c 01 28 23 20 67 00 .??????F?<?(# g.
70: 00 00 00 2f 3f 0c 1f 46 15 00 00 00 00 01 82 0d .../???F?....???
80: 81 ef 01 4a 15 a6 14 ed 15 1c 02 00 00 f0 55 ff ???J???????..?U.
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 1 0x58
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 90 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 12 ff ff ff ff ff ..........?.....
50: ff 00 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 02 00 00 00 00 00 00 .........?......
80: ff 00 ff ff ff ff 06 06 00 00 ff 69 00 1c 1d 00 ......??...i.??.
90: fa 00 ff ff ff 00 00 00 11 08 0b 01 ff ff ff 02 ?.......????...?
a0: 5a 08 0f a3 4d 82 16 58 32 fb 0e 0e ff 0e ff ff Z???M??X2???.?..
b0: 00 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: 07 13 03 00 08 28 ff 00 00 00 00 00 00 ff 00 ff ???.?(..........
e0: 05 ff 13 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 ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
root@(none):/# i2cset -y 1 0x77 0x01
root@(none):/# i2cset -y 1 0x71 0x02
root@(none):/# i2cdump -y 1 0x51
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 01 00 00 00 01 0c 00 f2 01 0a 19 c8 33 59 20 50 ?...??.?????3Y P
10: 4f 57 45 52 ca 43 52 50 31 55 31 32 32 41 4d c8 OWER?CRP1U122AM?
20: 59 50 45 42 31 32 30 30 cb 41 4d 2d 31 41 30 33 YPEB1200?AM-1A03
30: 50 31 30 20 d3 53 43 30 30 30 58 31 38 32 31 34 P10 ?SC000X18214
40: 38 30 30 34 37 35 33 20 03 15 0c 1c c9 50 32 43 8004753 ?????P2C
50: 33 30 30 42 30 30 c3 43 30 30 c1 00 00 00 00 96 300B00?C00?....?
60: 00 02 18 fe e8 b0 04 46 05 3c 01 28 23 20 67 00 .??????F?<?(# g.
70: 00 00 00 2f 3f 0c 1f 46 15 00 00 00 00 01 82 0d .../???F?....???
80: 81 ef 01 4a 15 a6 14 ed 15 1c 02 00 00 f0 55 ff ???J???????..?U.
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 1 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 90 00 00 ff ff ff ?.........?.....
40: ff ff ff ff ff ff ff ff ff ff 12 ff ff ff ff ff ..........?.....
50: ff 00 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 69 00 1c 1d 00 ......??...i.??.
90: 0d 00 ff ff ff 00 00 00 11 08 0b 01 ff ff ff 02 ?.......????...?
a0: 5a 08 0f a3 4d 82 16 58 32 fb 0e 0e ff 0e ff ff Z???M??X2???.?..
b0: 00 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: 07 13 03 00 08 28 ff 00 00 00 00 00 00 ff 00 ff ???.?(..........
e0: 05 ff 13 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 ................
- 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 10 0x50
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 55 52 4d 31 41 31 35 31 41 4d c8 OWER?URM1A151AM?
20: 59 4d 2d 31 31 35 31 44 c4 41 30 33 52 d2 53 41 YM-1151D?A03R?SA
30: 30 30 30 50 31 35 31 36 31 32 30 30 30 35 30 37 000P151612000507
40: 03 10 04 0f c9 50 32 43 33 30 33 41 30 31 c3 41 ?????P2C303A01?A
50: 30 30 c1 00 00 00 00 72 00 02 18 68 7e 96 00 b4 00?....r.??h~?.?
60: 00 19 01 28 23 20 67 00 00 00 00 2f 3f 11 1f b4 .??(# g..../????
70: 10 00 00 00 00 01 82 0d 67 09 01 b0 04 8c 04 d4 ?....???g???????
80: 04 78 00 00 00 d4 30 ff ff ff ff ff ff ff ff ff ?x...?0.........
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 10 0x58
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 00 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 10 ff ff ff ff ff ..........?.....
50: ff ff 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 00 00 00 00 ff ff 61 1c 1c 00 ............a??.
90: 51 00 ff ff ff 00 70 00 11 08 08 01 ff ff ff 02 Q.....p.????...?
a0: 5a 08 03 c8 e9 8b 0f 96 32 00 65 8e ff 0e ff ff Z???????2.e?.?..
b0: 00 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 00 ff ff ff ff ff ................
d0: 04 13 03 00 08 1e ff 00 ff 00 00 00 ff ff 7e 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 ................
For the PSU2, you can use the below command to get the PSU EEPROM and PMbus information.
root@localhost:~# i2cdump -y -f 11 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 55 52 4d 31 41 31 35 31 41 4d c8 OWER?URM1A151AM?
20: 59 4d 2d 31 31 35 31 44 c4 41 30 33 52 d2 53 41 YM-1151D?A03R?SA
30: 30 32 30 50 31 35 31 37 34 32 30 30 31 36 39 34 020P151742001694
40: 03 11 0a 17 c9 50 32 43 33 30 33 41 30 31 c3 41 ?????P2C303A01?A
50: 30 32 c1 00 00 00 00 53 00 02 18 68 7e 96 00 b4 02?....S.??h~?.?
60: 00 19 01 28 23 20 67 00 00 00 00 2f 3f 11 1f b4 .??(# g..../????
70: 10 00 00 00 00 01 82 0d 67 09 01 b0 04 8c 04 d4 ?....???g???????
80: 04 78 00 00 00 d4 30 ff ff ff ff ff ff ff ff ff ?x...?0.........
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
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 11 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 00 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 10 ff ff ff ff ff ..........?.....
50: ff ff 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 00 00 00 00 ff 03 0a 1e 1c 00 ...........????.
90: 5e 00 ff ff ff 00 60 00 11 08 08 01 ff ff ff 02 ^.....`.????...?
a0: 5a 08 03 c8 e9 8b 0f 96 32 00 65 8e ff 0e ff ff Z???????2.e?.?..
b0: 00 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 00 ff ff ff ff ff ................
d0: 04 13 03 00 08 1e ff 00 ff 00 00 40 ff ff 6c ff ???.??.....@..l.
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 ................
Use the below command to dump the PSU1 and PSU2 firmware revisions.
root@localhost:~# i2cdump -y -f 10 0x58 s 0xd1
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 55 52 4d 31 41 31 35 31 41 4d 50 32 43 33 30 33 URM1A151AMP2C303
10: 41 30 31 A01
root@localhost:~# i2cdump -y -f 11 0x59 s 0xd1
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 55 52 4d 31 41 31 35 31 41 4d 50 32 43 33 30 33 URM1A151AMP2C303
10: 41 30 31 A01
Comments
0 comments
Please sign in to leave a comment.