[OE-core] [oe-core] udev: update rcS to auto-detect hostname

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 15 13:53:49 UTC 2012


On Wed, 2012-08-15 at 04:21 +0000, McClintock Matthew-B29882 wrote:
> On Tue, Aug 14, 2012 at 11:12 PM, Chris Larson <clarson at kergoth.com> wrote:
> > On Tue, Aug 14, 2012 at 9:06 PM, McClintock Matthew-B29882
> > <B29882 at freescale.com> wrote:
> >> On Tue, Aug 14, 2012 at 10:01 PM, Khem Raj <raj.khem at gmail.com> wrote:
> >>> On Tue, Aug 14, 2012 at 8:08 PM,  <b19537 at freescale.com> wrote:
> >>>> echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"`
> >>>
> >>> $ echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"`
> >>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
> >>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
> >>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
> >>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
> >>>
> >>> is that what we want ?
> >>
> >> I think we need an option to turn it on or off and or make it
> >> configurable from a BSP layer. We are looking for a way to make a rfs
> >> for all e500v2 or e500mc, etc and say the right machine type on the
> >> prompt.
> >
> > This sounds like something that really does belong in your own
> > supplementary layer, rather than oe-core.
> 
> Seemed like a valuable option for making rfs for multiple machines /
> targets, but if we don't want it (or some of the bits) in oe-core
> that's fine by me too.

At the very least its powerpc only since it gives crazy results on other
arches. Does it work for all powerpc machines? Its also adding 4 execs
to every boot and those calls mount up and impact boot time.

Cheers,

Richard







More information about the Openembedded-core mailing list