[Skiboot] [RFC] external/pflash: Change --bmc behaviour and add --direct

Cyril Bur cyril.bur at au1.ibm.com
Fri Jan 22 14:18:53 AEDT 2016


On Thu, 21 Jan 2016 11:50:56 +1100
Stewart Smith <stewart at linux.vnet.ibm.com> wrote:

> Cyril Bur <cyril.bur at au1.ibm.com> writes:
> >> If a user tries --bmc on a AMI BMC, could we look for a mtd device and
> >> in that case suggest the user use --mtd?  
> >
> > How about make --bmc take two options "mtd" and "direct" and have it default to
> > mtd?  

Ok my idea was silly because --direct needs to have the same effect without
--bmc.

--direct and --bmc really are seperate. You could very well want to write to
PNOR through either MTD or directly (at the moment its directly no matter what).

> 
> Yeah, having --direct be an option that augments --bmc would be a good
> thing.
> 
> From a UX perspective, people probably are going to try --bmc to access
> BMC flash without reading --help or a man page.

Yeah so I want to avoid simply adding --mtd because I'm sure no one will use
it. I could put a massive warning if we detect --bmc without using --mtd.

I guess if Joel promises to deal with all issues of people not reading --help
and bricking BMCs ;) then I can invert --direct and make it --mtd.


> 



More information about the Skiboot mailing list