[Skiboot] [PATCH] libflash/libffs: Correctly update the actual size of the partition

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jun 21 18:42:11 AEST 2017

Cyril Bur <cyril.bur at au1.ibm.com> writes:
> libffs has been updating FFS partition information in the wrong place
> which leads to incomplete erases and corruption.
> Fixes: 602dee45 libflash/libffs: Rework libffs
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>

Ouch. Yeah, this bit me a bit. Luckily, the hostboot log message that
could hint at the problem is only a few hundred lines prior to the point
where you end in a world of pain.

Merged to master (even though it hasn't shown up in patchwork yet) as of

Joel/Andrew/Patrick: It's been a way too long day for me to remember who
looks after the pflash build in OpenBMC, but you're *really* going to
want to bump up to something that includes this ASAP.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list