From: Brad Chou <bradc@hyvedesignsolutions.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: Human readable POST code messages
Date: Wed, 30 Sep 2020 11:07:24 +0000 [thread overview]
Message-ID: <CY4PR04MB1033438E15ECB1EBE2E1D02CB9330@CY4PR04MB1033.namprd04.prod.outlook.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hi,
Is it possible to implement an interface that decode each post code into a manful string ?
For example, if code 0x10 is mapped to "Power-on initialization of the host processor".
Then, in the phosphor-dbus-interfaces/xyz/openbmc_project/State/Boot/PostCode.interface.yaml,
We have the GetPostCodes method, that can return the post codes "0x10".
Can we add another method GetPostCodesWithMessage to return the post code 0x10 and its human readable message "Power-on initialization of the host processor" ?
Thanks.
[-- Attachment #2: Type: text/html, Size: 2429 bytes --]
next reply other threads:[~2020-09-30 11:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 11:07 Brad Chou [this message]
2020-09-30 11:42 ` Human readable POST code messages Oskar Senft
2020-09-30 19:25 ` Patrick Williams
2020-10-01 14:34 ` Brad Chou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CY4PR04MB1033438E15ECB1EBE2E1D02CB9330@CY4PR04MB1033.namprd04.prod.outlook.com \
--to=bradc@hyvedesignsolutions.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).