summaryrefslogtreecommitdiffstats
path: root/extensions/openpower-pels/tools
Commit message (Collapse)AuthorAgeFilesLines
* PEL: Print Failing MTMS section into JSONHarisuddin Mohamed Isa2020-02-071-15/+0
| | | | | | | | | | | | | | | | | Remove any trailing whitespace for serial number. "Failing MTMS": { "Section Version": "1", "Sub-section type": "0", "Created by": "0x4552", "Machine Type Model": "OPWR-131", "Serial Number": "1318ABA" }, Testing: Manually run peltool and verified output. All unit tests passed. Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com> Change-Id: I7a05790bdf406ef6d7946ffae831a45ee6dd5cda
* PEL: Print SRC section into JSONHarisuddin Mohamed Isa2020-02-031-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For BMC created errors, look up the reason code in the message registry for error description and also meaning of data stored in hexwords 6-9 (if any). Added registry message field in peltool list output. "Primary SRC": { "Section Version": "1", "Sub-section type": "1", "Created by": "0x1000", "SRC Version": "0x02", "SRC Format": "0x55", "Power Control Net Fault": "False", "Error Details": { "Message": "PS 0x64 had a PGOOD Fault", "PS_NUM": "0x64" }, "Valid Word Count": "0x09", "Reference Code": "BD8D1001", "Hex Word 2": "00000055", "Hex Word 3": "00000010", "Hex Word 4": "00000000", "Hex Word 5": "00000000", "Hex Word 6": "00000064", "Hex Word 7": "00000000", "Hex Word 8": "00000000", "Hex Word 9": "00000000" } "Primary SRC": { "Section Version": "1", "Sub-section type": "0", "Created by": "0x4552", "SRC Version": "0x02", "SRC Format": "0x2008000", "Power Control Net Fault": "False", "Valid Word Count": "0x04", "Reference Code": "B2001020", "Hex Word 2": "02008000", "Hex Word 3": "00000000", "Hex Word 4": "00000012", "Callout Section": { "Callout Count": "1", "Callouts": [{ "FRU Type": "Symbolic FRU", "Priority": "Medium Priority", "Part Number": "NEXTLVL" }] } } Testing: Manually run peltool and verified out. All unit tests passed. Signed-off-by: Harisuddin Mohamed Isa <harisuddin@gmail.com> Change-Id: I124627ba785413ebda02305b7d9f95431922e714
* PEL: Taking regex calls out of PEL listing functionAatir2020-01-141-20/+17
| | | | | | | Taking out regex calls to improve time complexity Change-Id: Id0ca32bf78b006b3c8e03ac95206c670f92d4002 Signed-off-by: Aatir <aatrapps@gmail.com>
* PEL: PEL listing time fixAatir2020-01-141-96/+196
| | | | | | | | Previously PELs were being flattened twice before being listed. This commit brings it down to one. Change-Id: I027d1e22e8d6d793c30c6f26a06178a448a6c301 Signed-off-by: Aatir <aatrapps@gmail.com>
* PEL: Display PEL by IDAatir2020-01-141-6/+74
| | | | | | | This command displays a PEL by id. Change-Id: I26b8d30b886f47c02dd8cf648e6a261a6867a048 Signed-off-by: Aatir <aatrapps@gmail.com>
* PEL: Print list of PELsAatir2019-12-091-1/+185
| | | | | | | | | | | | | | | | | | | | | | PelTool commands for printing a list of PELs. PEL list sample: { "0x50000004": { "SRC": "BD8D1001", "PLID": "0x50000004", "CreatorID": "BMC", "Subsystem": "bmc_firmware", "Commit Time": "10/24/2019 15:50:08", "Sev": "unrecoverable", "CompID": "0x1000" } } Change-Id: Ifd864a6561c09de098689195edcf107b3fe550e3 Signed-off-by: Aatir <aatrapps@gmail.com>
* PEL: Add license prologue to source filesMatt Spinler2019-11-061-0/+15
| | | | | Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I31b12f509d32b79064a8a427af35e6a310273051
* PEL: PELTool ApplicationAatir2019-11-061-0/+64
PELTooL application would be used to interact with PELs. This commit has the first functionality, where a PEL file is passed and all PEL sections are hexdumped in a JSON object. Signed-off-by: Aatir <aatrapps@gmail.com> Change-Id: I155d75bb58cbd14a297b094314f7fd1f271f4f37
OpenPOWER on IntegriCloud