[Skiboot] [PATCH v2 5/5] external/opal-prd: Add 'run' option to execute HBRT commands

Patrick Williams patrick at stwcx.xyz
Tue Aug 25 08:02:23 AEST 2015

On Tue, Aug 25, 2015 at 12:50:37AM +0530, Neelesh Gupta wrote:
> From: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>
> opal-prd client to accept run command and pass it as-is to hbrt.
> Example:
> opal-prd -d run test hbrt -t 1 -c "good cmd"
> argv[0] = test
> argv[1] = hbrt
> argv[2] = -t
> argv[3] = 1
> argv[4] = -c
> argv[5] = good cmd
> Above argc/argv passed to hbrt->run_command() and result out string
> sent to the console.

Is this one suppose to be a 'manufacturing' command as well?  I don't
believe our intention is to use this for any permanent code.  This
should be one of those "only use if you know what you are doing"

We may want to change the name of the Hostboot side to 'mfg_run_command'
if we determine this is a 'manufacturing' command.

Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/skiboot/attachments/20150824/66824de8/attachment.sig>

More information about the Skiboot mailing list