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

Joel Stanley joel at jms.id.au
Wed Jun 21 19:24:26 AEST 2017


On Wed, Jun 21, 2017 at 6:12 PM, Stewart Smith
<stewart at linux.vnet.ibm.com> wrote:
> 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
> 73e1e8a727a9e7179719eb7844bd4248d9890114.
>
> 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.

I've put the patch into the OpenBMC tree here:

 https://gerrit.openbmc-project.xyz/#/c/4906/

Cheers,

Joel


More information about the Skiboot mailing list