Skip to contentSkip to conversation

bitbake: Oldest kernel for nios2 is 3.19

PATCH In review Marek Vasut 3 participants 8 messages May 8, 2016 – May 10, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake: Oldest kernel for nios2 is 3.19

The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.

Cc Richard Purdie <[email protected]>
---
 meta/conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +1 -0
index 1c4175f..2f5db22 100644
@@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 
 OLDEST_KERNEL = "2.6.32"
 OLDEST_KERNEL_aarch64 = "3.14"
+OLDEST_KERNEL_nios2 = "3.19"
 STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
 STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
 
Signature · 1 line
2.7.0
#1 lore raw
Quoted 19 lines · Marek Vasut

The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.

Cc Richard Purdie <[email protected]>

---
meta/conf/bitbake.conf | 1 +

1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +0 -0
index 1c4175f..2f5db22 100644
@@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 
Quoted 3 lines

OLDEST_KERNEL = "2.6.32"
OLDEST_KERNEL_aarch64 = "3.14"
+OLDEST_KERNEL_nios2 = “3.19"

if you don’t need it on krogoth, then I would suggest to hold this patch for master since I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x minimum

see

https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

Quoted 11 lines

STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"

--
2.7.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 26 lines · Khem Raj
Quoted 19 lines · Marek Vasut

The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.

Cc Richard Purdie <[email protected]>

---
meta/conf/bitbake.conf | 1 +

1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +0 -0
index 1c4175f..2f5db22 100644
@@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 
Quoted 3 lines

OLDEST_KERNEL = "2.6.32"
OLDEST_KERNEL_aarch64 = "3.14"
+OLDEST_KERNEL_nios2 = “3.19"

if you don’t need it on krogoth, then I would suggest to hold this patch for master since I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x minimum

Quoted 3 lines

see

https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

I don't mind either way. I need 3.19, not 3.2 though, so your patch does not help me if I understand it correctly.

Quoted 12 lines
Quoted 11 lines

STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"

--
2.7.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
Best regards,
Marek Vasut
#3 lore raw

I was just trying to avoid patch conflict :)

Quoted 55 lines · Marek Vasut
Quoted 19 lines · Khem Raj
Quoted 19 lines · Marek Vasut

The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.

Cc Richard Purdie <[email protected]>

---
meta/conf/bitbake.conf | 1 +

1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +0 -0
index 1c4175f..2f5db22 100644
@@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 
Quoted 5 lines
Quoted 3 lines

OLDEST_KERNEL = "2.6.32"
OLDEST_KERNEL_aarch64 = "3.14"
+OLDEST_KERNEL_nios2 = “3.19"

if you don’t need it on krogoth, then I would suggest to hold this patch

for master since

Quoted 5 lines

I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x minimum

see

https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

I don't mind either way. I need 3.19, not 3.2 though, so your patch does not help me if I understand it correctly.

Quoted 2 lines
Quoted 2 lines

STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR =

"${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"

Quoted 10 lines
Quoted 9 lines

--
2.7.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Best regards,
Marek Vasut

#4 lore raw
Quoted 1 line · Khem Raj

I was just trying to avoid patch conflict :)

If you want me to repost updated patch, just let me know, but the fix will be really trivial in this case ;-)

Quoted 62 lines

On Sun, May 8, 2016 at 10:19 AM Marek Vasut <[email protected] <mailto:[email protected]>> wrote:

    On 05/08/2016 07:06 PM, Khem Raj wrote:
    >
    >> On May 8, 2016, at 6:00 AM, Marek Vasut <[email protected]
    <mailto:[email protected]>> wrote:
    >>
    >> The oldest kernel version for nios2 is 3.19.0, set it so, otherwise
    >> qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old"
    >> message from glibc.
    >>
    >> Signed-off-by: Marek Vasut <[email protected] <mailto:[email protected]>>
    >> Cc: Richard Purdie <[email protected]
    <mailto:[email protected]>>
    >> ---
    >> meta/conf/bitbake.conf | 1 +
    >> 1 file changed, 1 insertion(+)
    >>
    >> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
    >> index 1c4175f..2f5db22 100644
    >> --- a/meta/conf/bitbake.conf
    >> +++ b/meta/conf/bitbake.conf
    >> @@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
    >>
    >> OLDEST_KERNEL = "2.6.32"
    >> OLDEST_KERNEL_aarch64 = "3.14"
    >> +OLDEST_KERNEL_nios2 = “3.19"
    >
    > if you don’t need it on krogoth, then I would suggest to hold this
    patch for master since
    > I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x
    minimum
    >
    > see
    >
    >
    https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

    I don't mind either way. I need 3.19, not 3.2 though, so your patch does
    not help me if I understand it correctly.

    >> STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
    >> STAGING_KERNEL_BUILDDIR =
    "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
    >>
    >> --
    >> 2.7.0
    >>
    >> --
    >> _______________________________________________
    >> Openembedded-core mailing list
    >> [email protected]
    <mailto:[email protected]>
    >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
    >


    --
    Best regards,
    Marek Vasut
Signature · 2 lines
Best regards,
Marek Vasut
#5 lore raw

I will just fold it into my series.

Quoted 73 lines · Marek Vasut
Quoted 1 line · Khem Raj

I was just trying to avoid patch conflict :)

If you want me to repost updated patch, just let me know, but the fix will be really trivial in this case ;-)

Quoted 53 lines

On Sun, May 8, 2016 at 10:19 AM Marek Vasut <[email protected] <mailto:[email protected]>> wrote:

    On 05/08/2016 07:06 PM, Khem Raj wrote:
    >
    >> On May 8, 2016, at 6:00 AM, Marek Vasut <[email protected]
    <mailto:[email protected]>> wrote:
    >>
    >> The oldest kernel version for nios2 is 3.19.0, set it so, otherwise
    >> qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old"
    >> message from glibc.
    >>
    >> Signed-off-by: Marek Vasut <[email protected] <mailto:[email protected]>>
    >> Cc: Richard Purdie <[email protected]
    <mailto:[email protected]>>
    >> ---
    >> meta/conf/bitbake.conf | 1 +
    >> 1 file changed, 1 insertion(+)
    >>
    >> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
    >> index 1c4175f..2f5db22 100644
    >> --- a/meta/conf/bitbake.conf
    >> +++ b/meta/conf/bitbake.conf
    >> @@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
    >>
    >> OLDEST_KERNEL = "2.6.32"
    >> OLDEST_KERNEL_aarch64 = "3.14"
    >> +OLDEST_KERNEL_nios2 = “3.19"
    >
    > if you don’t need it on krogoth, then I would suggest to hold this
    patch for master since
    > I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x
    minimum
    >
    > see
    >
    >
    https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

    I don't mind either way. I need 3.19, not 3.2 though, so your patch does
    not help me if I understand it correctly.

    >> STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
    >> STAGING_KERNEL_BUILDDIR =
    "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
    >>
    >> --
    >> 2.7.0
    >>
    >> --
    >> _______________________________________________
    >> Openembedded-core mailing list
    >> [email protected]
Quoted 9 lines
    <mailto:[email protected]>
    >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
    >


    --
    Best regards,
    Marek Vasut

--
Best regards,
Marek Vasut

#6 lore raw
Quoted 1 line · Khem Raj

I will just fold it into my series.

OK, thanks :)

Quoted 74 lines · Marek Vasut
Quoted 73 lines · Khem Raj
Quoted 1 line

I was just trying to avoid patch conflict :)

If you want me to repost updated patch, just let me know, but the fix will be really trivial in this case ;-)

Quoted 53 lines

On Sun, May 8, 2016 at 10:19 AM Marek Vasut <[email protected] <mailto:[email protected]>> wrote:

    On 05/08/2016 07:06 PM, Khem Raj wrote:
    >
    >> On May 8, 2016, at 6:00 AM, Marek Vasut <[email protected]
    <mailto:[email protected]>> wrote:
    >>
    >> The oldest kernel version for nios2 is 3.19.0, set it so, otherwise
    >> qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old"
    >> message from glibc.
    >>
    >> Signed-off-by: Marek Vasut <[email protected] <mailto:[email protected]>>
    >> Cc: Richard Purdie <[email protected]
    <mailto:[email protected]>>
    >> ---
    >> meta/conf/bitbake.conf | 1 +
    >> 1 file changed, 1 insertion(+)
    >>
    >> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
    >> index 1c4175f..2f5db22 100644
    >> --- a/meta/conf/bitbake.conf
    >> +++ b/meta/conf/bitbake.conf
    >> @@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
    >>
    >> OLDEST_KERNEL = "2.6.32"
    >> OLDEST_KERNEL_aarch64 = "3.14"
    >> +OLDEST_KERNEL_nios2 = “3.19"
    >
    > if you don’t need it on krogoth, then I would suggest to hold this
    patch for master since
    > I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x
    minimum
    >
    > see
    >
    >
    https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

    I don't mind either way. I need 3.19, not 3.2 though, so your patch does
    not help me if I understand it correctly.

    >> STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source"
    >> STAGING_KERNEL_BUILDDIR =
    "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"
    >>
    >> --
    >> 2.7.0
    >>
    >> --
    >> _______________________________________________
    >> Openembedded-core mailing list
    >> [email protected]
Quoted 9 lines
    <mailto:[email protected]>
    >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
    >


    --
    Best regards,
    Marek Vasut

--
Best regards,
Marek Vasut

Signature · 2 lines
Best regards,
Marek Vasut
#7 lore raw
In reply to Khem Raj
Quoted 24 lines · Khem Raj
Quoted 18 lines · Marek Vasut

The oldest kernel version for nios2 is 3.19.0, set it so, otherwise qemu-nios2 -r ${OLDEST_KERNEL} fails with "FATAL: kernel too old" message from glibc.

Cc Richard Purdie <[email protected]>

---
meta/conf/bitbake.conf | 1 +

1 file changed, 1 insertion(+)
meta/conf/bitbake.conf +0 -0
index 1c4175f..2f5db22 100644
@@ -405,6 +405,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 
Quoted 3 lines

OLDEST_KERNEL = "2.6.32"
OLDEST_KERNEL_aarch64 = "3.14"
+OLDEST_KERNEL_nios2 = “3.19"

if you don’t need it on krogoth, then I would suggest to hold this patch for master since I have a series which upgrades glibc to 2.24 and 2.24 needs 3.x minimum

Quoted 3 lines

see

https://github.com/kraj/openembedded-core/commit/1be5ebb2e1e2d39936d13ce158db29954bc6dabe

Could you please keep 2.6.32 for i386/x86_64? Glibc commit
http://repo.or.cz/glibc.git/commit/5b4ecd3f95695ef593e4474b4ab5a117291ba5fc
says that Linux v3.2 is required except on x86 / x86_64. Currently we build OE and use SDK on x86_64 hosts and some of them run Linux based on kernel 2.6.32 so we would like to still have ability to use OE/SDK on such machines

Thanks,
Ruslan

Quoted 14 lines
Quoted 12 lines

STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts"

--
2.7.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core