[Skiboot] [PATCH] external/pflash: Add --mtd
stewart at linux.vnet.ibm.com
Tue Feb 23 15:06:07 AEDT 2016
Cyril Bur <cyril.bur at au1.ibm.com> writes:
> The current behaviour of --bmc is to take over the flash controller. This
> flag was written for very early bring-up when the BMC stack would run
> entirely out of RAM. This is no longer the case and using --bmc on a BMC
> running out of the very flash --bmc will read is extremely likely to brick
> the system.
> It has come to light that there is some requirement to read BMC flash and
> some thinking that pflash is the appropriate tool. As AMI BMC firmware
> exposes the flash through /dev/mtd and pflash can be easily taught to read
> from MTD pflash can be upgraded to be the tool for the job.
> In order to preserve the current behavior of the --bmc a new flag --mtd
> has been introduced to have pflash access BMC flash the 'safe' way.
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>
Thanks, merged to stable as of 48ab7ce095047c06191f1b06fc4704311c4dabda
Everyone updating their pflash and doing the right thing is left as an
exercise for the reader.
OPAL Architect, IBM.
More information about the Skiboot