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

Jeremy Kerr jk at ozlabs.org
Thu Jun 18 17:26:30 AEST 2015


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?

Cheers,


Jeremy



More information about the Skiboot mailing list