All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0
@ 2016-06-29 22:40 OpenBMC Patches
  2016-06-29 22:40 ` OpenBMC Patches
  0 siblings, 1 reply; 5+ messages in thread
From: OpenBMC Patches @ 2016-06-29 22:40 UTC (permalink / raw)
  To: openbmc; +Cc: Patrick Williams

This is the oldest kernel currently used by openbmc, so there is no
point in compiling glibc support older kernels.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/425)
<!-- Reviewable:end -->


https://github.com/openbmc/openbmc/pull/425

Patrick Williams (1):
  Force OLDEST_KERNEL to 4.4.0

 meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
 1 file changed, 1 insertion(+)

-- 
2.9.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0
  2016-06-29 22:40 [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0 OpenBMC Patches
@ 2016-06-29 22:40 ` OpenBMC Patches
  2016-06-30  7:56   ` Joel Stanley
  0 siblings, 1 reply; 5+ messages in thread
From: OpenBMC Patches @ 2016-06-29 22:40 UTC (permalink / raw)
  To: openbmc; +Cc: Patrick Williams

From: Patrick Williams <patrick@stwcx.xyz>

This is the oldest kernel currently used by openbmc, so there is no
point in compiling glibc support older kernels.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
---
 meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
index f37e88c..b4e6f7a 100644
--- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
+++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
@@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
 DISTRO_VERSION = "0.1.0"
 TARGET_VENDOR="-openbmc"
 
+OLDEST_KERNEL = "4.4.0"
 GCCVERSION ?= "4.9.3"
 IMAGE_FSTYPES += "cpio.gz"
 IMAGE_FSTYPES += "squashfs-xz"
-- 
2.9.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0
  2016-06-29 22:40 ` OpenBMC Patches
@ 2016-06-30  7:56   ` Joel Stanley
  2016-07-05 19:47     ` Patrick Williams
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Stanley @ 2016-06-30  7:56 UTC (permalink / raw)
  To: OpenBMC Patches; +Cc: OpenBMC Maillist, Patrick Williams

On Thu, Jun 30, 2016 at 8:10 AM, OpenBMC Patches
<openbmc-patches@stwcx.xyz> wrote:
> From: Patrick Williams <patrick@stwcx.xyz>
>
> This is the oldest kernel currently used by openbmc, so there is no
> point in compiling glibc support older kernels.

Sounds good. Buildroot does the same thing for our firmware builds on the host.

Is there any way to use the actual kernel version to set this variable?

>
> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> ---
>  meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> index f37e88c..b4e6f7a 100644
> --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
> +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> @@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
>  DISTRO_VERSION = "0.1.0"
>  TARGET_VENDOR="-openbmc"
>
> +OLDEST_KERNEL = "4.4.0"
>  GCCVERSION ?= "4.9.3"
>  IMAGE_FSTYPES += "cpio.gz"
>  IMAGE_FSTYPES += "squashfs-xz"
> --
> 2.9.0
>
>
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0
  2016-06-30  7:56   ` Joel Stanley
@ 2016-07-05 19:47     ` Patrick Williams
  2016-07-06 16:32       ` Rick Altherr
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick Williams @ 2016-07-05 19:47 UTC (permalink / raw)
  To: Joel Stanley; +Cc: OpenBMC Patches, OpenBMC Maillist

[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]

On Thu, Jun 30, 2016 at 05:26:29PM +0930, Joel Stanley wrote:
> On Thu, Jun 30, 2016 at 8:10 AM, OpenBMC Patches
> <openbmc-patches@stwcx.xyz> wrote:
> > From: Patrick Williams <patrick@stwcx.xyz>
> >
> > This is the oldest kernel currently used by openbmc, so there is no
> > point in compiling glibc support older kernels.
> 
> Sounds good. Buildroot does the same thing for our firmware builds on the host.
> 
> Is there any way to use the actual kernel version to set this variable?
> 

I might be able to set OLDEST_KERNEL in terms of LINUX_KERNEL.  Is that
what we want?  I have a little concern that this might affect certain
use cases of code upgrade (or downgrade) and netbooting.

The saving for this setting ended up being pretty insignificant.  About
7k from glibc.  I can either leave this as something we change for
"major" upgrades of openBMC or attempt to set it in terms of the
LINUX_KERNEL variable.

> >
> > Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> > ---
> >  meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > index f37e88c..b4e6f7a 100644
> > --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > @@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
> >  DISTRO_VERSION = "0.1.0"
> >  TARGET_VENDOR="-openbmc"
> >
> > +OLDEST_KERNEL = "4.4.0"
> >  GCCVERSION ?= "4.9.3"
> >  IMAGE_FSTYPES += "cpio.gz"
> >  IMAGE_FSTYPES += "squashfs-xz"
> > --
> > 2.9.0
> >
> >
> > _______________________________________________
> > openbmc mailing list
> > openbmc@lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/openbmc

-- 
Patrick Williams

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0
  2016-07-05 19:47     ` Patrick Williams
@ 2016-07-06 16:32       ` Rick Altherr
  0 siblings, 0 replies; 5+ messages in thread
From: Rick Altherr @ 2016-07-06 16:32 UTC (permalink / raw)
  To: Patrick Williams; +Cc: Joel Stanley, OpenBMC Maillist, OpenBMC Patches

[-- Attachment #1: Type: text/plain, Size: 2282 bytes --]

Until we understand the upgrade scenarios better, I prefer to leave it
fixed to the earliest released kernel version.

On Tue, Jul 5, 2016 at 12:47 PM, Patrick Williams <patrick@stwcx.xyz> wrote:

> On Thu, Jun 30, 2016 at 05:26:29PM +0930, Joel Stanley wrote:
> > On Thu, Jun 30, 2016 at 8:10 AM, OpenBMC Patches
> > <openbmc-patches@stwcx.xyz> wrote:
> > > From: Patrick Williams <patrick@stwcx.xyz>
> > >
> > > This is the oldest kernel currently used by openbmc, so there is no
> > > point in compiling glibc support older kernels.
> >
> > Sounds good. Buildroot does the same thing for our firmware builds on
> the host.
> >
> > Is there any way to use the actual kernel version to set this variable?
> >
>
> I might be able to set OLDEST_KERNEL in terms of LINUX_KERNEL.  Is that
> what we want?  I have a little concern that this might affect certain
> use cases of code upgrade (or downgrade) and netbooting.
>
> The saving for this setting ended up being pretty insignificant.  About
> 7k from glibc.  I can either leave this as something we change for
> "major" upgrades of openBMC or attempt to set it in terms of the
> LINUX_KERNEL variable.
>
> > >
> > > Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
> > > ---
> > >  meta-phosphor/conf/distro/openbmc-phosphor.conf | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf
> b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > > index f37e88c..b4e6f7a 100644
> > > --- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > > +++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
> > > @@ -5,6 +5,7 @@ DISTRO_NAME = "Phosphor OpenBMC (Phosphor OpenBMC
> Project Reference Distro)"
> > >  DISTRO_VERSION = "0.1.0"
> > >  TARGET_VENDOR="-openbmc"
> > >
> > > +OLDEST_KERNEL = "4.4.0"
> > >  GCCVERSION ?= "4.9.3"
> > >  IMAGE_FSTYPES += "cpio.gz"
> > >  IMAGE_FSTYPES += "squashfs-xz"
> > > --
> > > 2.9.0
> > >
> > >
> > > _______________________________________________
> > > openbmc mailing list
> > > openbmc@lists.ozlabs.org
> > > https://lists.ozlabs.org/listinfo/openbmc
>
> --
> Patrick Williams
>
> _______________________________________________
> openbmc mailing list
> openbmc@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
>
>

[-- Attachment #2: Type: text/html, Size: 3571 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-06 16:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-29 22:40 [PATCH openbmc] Force OLDEST_KERNEL to 4.4.0 OpenBMC Patches
2016-06-29 22:40 ` OpenBMC Patches
2016-06-30  7:56   ` Joel Stanley
2016-07-05 19:47     ` Patrick Williams
2016-07-06 16:32       ` Rick Altherr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.