[Skiboot] [PATCH 2/2] external/pflash: Add --clear command

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jun 18 19:15:01 AEST 2015

On Thu, 2015-06-18 at 15:26 +0800, Jeremy Kerr wrote:
> Hi Cyril,
> > The current pflash --erase command simply sets all the bits of the flash
> > back to 1 and When hostboot decides to gard everything there isn't a
> > useful way to get the machine booting again as even --eraseing the GUARD
> > partition won't leave the necessary ECC bits.
> > 
> > The --clear command will erase the specified partition and then fill in the
> > ECC bits.
> Is there a need for both? Could we just have --erase do the correct
> thing with ECC, and not need a separate non-ECCing command?

Well, it's tricky... --erase has specific semantics that you can write
over, if --erase fills up ecc, then you cannot write anything over...


More information about the Skiboot mailing list