Change the signature of Raw PostCode property
- On IBM systems, typically the progress code is of size 72bytes
which includes an 8-byte primary reference code along with a
section of additional hex words that are used during boot hangs
e.t.c to provide additional debug data.
- Unlike Intel Postcodes, IBM Hosts would use pldm to send these
progress codes down to BMC.
- The intent behind this commit is to extend the raw progress codes
structure to accommodate (8 bytes)Primary progress code & a secondary
code(array[byte]).
- On IBM systems, the secondary code would be filled with the complete
72-byte buffer. And on Intel systems, the secondary code would be just
an empty array.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I5f46823a7ce553c934fe8da15fb85a831b11c214
diff --git a/xyz/openbmc_project/State/Boot/Raw.interface.yaml b/xyz/openbmc_project/State/Boot/Raw.interface.yaml
index 9b90541..7e9d435 100644
--- a/xyz/openbmc_project/State/Boot/Raw.interface.yaml
+++ b/xyz/openbmc_project/State/Boot/Raw.interface.yaml
@@ -3,7 +3,7 @@
properties:
- name: Value
- type: uint64
+ type: struct[uint64,array[byte]]
description: >
The POST code value.