[Skiboot] [RFC PATCH 00/13] Rework flash TOC generation

Cyril Bur cyril.bur at au1.ibm.com
Fri Dec 8 09:34:23 AEDT 2017


On Tue, 2017-12-05 at 16:54 +1100, Stewart Smith wrote:
> Adriana Kobylak <anoo at us.ibm.com> writes:
> > Stewart Smith <stewart at linux.vnet.ibm.com> wrote on 12/03/2017 11:34:25 
> > PM:
> > 
> > > > > We have a different CSV format for FFS in phosphor-mboxd too, perhaps
> > > > > Adriana can chime in if it's possible/plausible to move to just one
> > > > > representation, as this could help simplify our PNOR building 
> > 
> > process.
> > > > > 
> > > > 
> > > > Hmm I remember thinking that the phosphor-mbox CSV was pretty close. 
> > 
> > Of
> > > > course its possible that the one here grew a bit in complexity.
> > > 
> > > Yeah, the multiple flash sides and all that probably made things
> > > horrific :)
> > > 
> > 
> > The script that creates the toc in phosphor-mboxd is using output from 
> > pflash
> > to recreate the part partition. Probably not the best plan...
> > Maybe this is a good time to talk about changing what has now become an 
> > "ABI" :)
> 
> Yeah, I think part of it is going to be starting to pull apart what
> op-build does TBH. There's just way too many random large perl scripts
> and random binaries there.
> 
> My guess is doing that is probably about a week's worth of work :/

I found my random script to convert the xml to csv, it has bitrotted a
bit so I'll fix it and probably just add it to the series.

I'll keep plodding along.

Cyril

> 



More information about the Skiboot mailing list