Skip to contentSkip to conversation

ipipe-core-5.4.72-arm64-0 released

I-PIPE [email protected] 4 participants 13 messages Feb 5, 2021 – Mar 1, 2021

lore
Share & tools
lore
#2 lore raw
Quoted 12 lines · Greg Gallagher via Xenomai
Quoted 7 lines · xenomai--- via Xenomai

Download URL:
https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Repository: https://git.xenomai.org/ipipe-arm64
Release tag: ipipe-core-5.4.72-arm64-0

This is a beta release, any testing is welcome

You asked for it: ;)

https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#3 lore raw
Quoted 18 lines · Jan Kiszka
Quoted 1 line · Greg Gallagher via Xenomai

On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai <

[email protected]>

Quoted 4 lines
Quoted 2 lines · wrote:

Download URL:

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 7 lines
Quoted 5 lines

Repository: https://git.xenomai.org/ipipe-arm64
Release tag: ipipe-core-5.4.72-arm64-0

This is a beta release, any testing is welcome

You asked for it: ;)

Quoted 7 lines

https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Ack, I’ll look into this today. How hard is it to get a ci or something similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

Thanks

Greg

Quoted 2 lines
#4 lore raw
Quoted 35 lines · Greg Gallagher

On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

    On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
    > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
    <[email protected] <mailto:[email protected]>>
    > wrote:
    >
    >> Download URL:
    >>
    https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
    >>
    >> Repository: https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>
    >> Release tag: ipipe-core-5.4.72-arm64-0
    >>
    >>
    > This is a beta release, any testing is welcome
    >

    You asked for it: ;)

    https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>

    Jan

    -- 
    Siemens AG, T RDA IOT
    Corporate Competence Center Embedded Linux
Quoted 4 lines

Ack, I’ll look into this today. How hard is it to get a ci or something similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

The easiest option are the qemu targets, generated and run via xenomai-images. Unfortunately, this issue does not seem to trigger in qemu, only on the BeagleBone. But if you have that board, also that target image can be reproduced, obviously. Follow the README in that case.

Or you just pick up the config from xenomai-images and do your own setup.

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#5 lore raw
Quoted 41 lines · Jan Kiszka via Xenomai
Quoted 35 lines · Greg Gallagher

On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

    On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
    > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
    <[email protected] <mailto:[email protected]>>
    > wrote:
    >
    >> Download URL:
    >>
    https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
    >>
    >> Repository: https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>
    >> Release tag: ipipe-core-5.4.72-arm64-0
    >>
    >>
    > This is a beta release, any testing is welcome
    >

    You asked for it: ;)

    https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>

    Jan

    -- 
    Siemens AG, T RDA IOT
    Corporate Competence Center Embedded Linux
Quoted 4 lines

Ack, I’ll look into this today. How hard is it to get a ci or something similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

Quoted 7 lines

The easiest option are the qemu targets, generated and run via xenomai-images. Unfortunately, this issue does not seem to trigger in qemu, only on the BeagleBone. But if you have that board, also that target image can be reproduced, obviously. Follow the README in that case.

Or you just pick up the config from xenomai-images and do your own setup.

Err, wrong context, this is arm64. Here it's the hikey, and only the hikey board. For the arm issue, both qemu and bbb expose the problem.

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#6 lore raw

Hi all,

I had some compilation issues with ipipe-core-5.4.72 and xenomai 3.1 on arm64 target.

With some minor changes (see attached patch), the kernel boot on target.

Jean-Baptiste

Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :

Quoted 44 lines · Jan Kiszka via Xenomai
Quoted 43 lines · Greg Gallagher
Quoted 33 lines

On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

     On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
     > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
     <[email protected]  <mailto:[email protected]>>
     > wrote:
     >
     >> Download URL:
     >>
     https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
     <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
     >>
     >> Repository:https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>
     >> Release tag: ipipe-core-5.4.72-arm64-0
     >>
     >>
     > This is a beta release, any testing is welcome
     >

     You asked for it: ;)

     https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>

     Jan

     --
     Siemens AG, T RDA IOT
     Corporate Competence Center Embedded Linux
Quoted 4 lines

Ack, I’ll look into this today. How hard is it to get a ci or something similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

The easiest option are the qemu targets, generated and run via xenomai-images. Unfortunately, this issue does not seem to trigger in qemu, only on the BeagleBone. But if you have that board, also that target image can be reproduced, obviously. Follow the README in that case.

Quoted 7 lines
Quoted 2 lines

Or you just pick up the config from xenomai-images and do your own setup.

Err, wrong context, this is arm64. Here it's the hikey, and only the hikey board. For the arm issue, both qemu and bbb expose the problem.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
Type: text/x-patch
Size: 1103 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>

#7 lore raw
Quoted 7 lines · Jean-Baptiste Tredez via Xenomai

Hi all,

I had some compilation issues with ipipe-core-5.4.72 and xenomai 3.1 on arm64 target.

With some minor changes (see attached patch), the kernel boot on target.

Thanks for the patches. Just note that those can easily get lost when not sent separately and inline (this list has some funny settings /wrt attachments, making them hard to read and impossible to comment on).

I think you patches should be related to
https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
which is not in stable yet. Greg, can you help sorting out what we need where?

Thanks,
Jan

Quoted 80 lines

Jean-Baptiste

Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :

Quoted 49 lines · Jan Kiszka via Xenomai
Quoted 48 lines · Greg Gallagher
Quoted 32 lines

On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

     On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
     > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai <[email protected]  <mailto:[email protected]>> > wrote:
     >
     >> Download URL:
     >>

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch


<https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>

     >>
     >> Repository:https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>
     >> Release tag: ipipe-core-5.4.72-arm64-0 >>
     >>
     > This is a beta release, any testing is welcome >

     You asked for it: ;)

     https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>

     Jan

Quoted 9 lines

     --
     Siemens AG, T RDA IOT
     Corporate Competence Center Embedded Linux

Ack, I’ll look into this today. How hard is it to get a ci or something similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

The easiest option are the qemu targets, generated and run via xenomai-images. Unfortunately, this issue does not seem to trigger in qemu, only on the BeagleBone. But if you have that board, also that target image can be reproduced, obviously. Follow the README in that case.

Quoted 8 lines
Quoted 3 lines

Or you just pick up the config from xenomai-images and do your own setup.

Err, wrong context, this is arm64. Here it's the hikey, and only the hikey board. For the arm issue, both qemu and bbb expose the problem.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
Type: text/x-patch
Size: 1103 bytes
Desc: not available
URL:
<http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL:
<http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#8 lore raw
Quoted 108 lines · Jan Kiszka
Quoted 7 lines · Jean-Baptiste Tredez via Xenomai

Hi all,

I had some compilation issues with ipipe-core-5.4.72 and xenomai 3.1 on arm64 target.

With some minor changes (see attached patch), the kernel boot on target.

Thanks for the patches. Just note that those can easily get lost when not sent separately and inline (this list has some funny settings /wrt attachments, making them hard to read and impossible to comment on).

I think you patches should be related to

https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
which is not in stable yet. Greg, can you help sorting out what we need where?

Thanks,
Jan

Quoted 4 lines

Jean-Baptiste

Quoted 15 lines
Quoted 14 lines · Jan Kiszka via Xenomai
Quoted 13 lines · Jan Kiszka via Xenomai
Quoted 12 lines · Greg Gallagher

On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

     On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
     > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
     <[email protected]  <mailto:[email protected]>>
     > wrote:
     >
     >> Download URL:
     >>

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

<

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

     >>
     >> Repository:https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>
     >> Release tag: ipipe-core-5.4.72-arm64-0
     >>
     >>
     > This is a beta release, any testing is welcome
     >
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
     You asked for it: ;)

     https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <

https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Ack, I’ll look into this today. How hard is it to get a ci or

something

Quoted 17 lines
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines

similar setup in a local machine? I think I may have asked this before but i can’t remember what we decided.

The easiest option are the qemu targets, generated and run via xenomai-images. Unfortunately, this issue does not seem to trigger in qemu, only on the BeagleBone. But if you have that board, also that target image can be reproduced, obviously. Follow the README in that case.

Quoted 8 lines
Quoted 3 lines

Or you just pick up the config from xenomai-images and do your own setup.

Err, wrong context, this is arm64. Here it's the hikey, and only the hikey board. For the arm issue, both qemu and bbb expose the problem.

Jan

Quoted 8 lines

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
Type: text/x-patch
Size: 1103 bytes
Desc: not available
URL:
<

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin

Quoted 10 lines

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
Type: text/x-patch
Size: 1124 bytes
Desc: not available
URL:
<

Quoted 8 lines

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin

Quoted 2 lines

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Yes, I believe all the needed patches are currently in next, but I will confirm.

-Greg

#9 lore raw
Quoted 135 lines · Greg Gallagher

On Mon, Mar 1, 2021 at 11:25 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

    On 25.02.21 11:50, Jean-Baptiste Tredez via Xenomai wrote:
    > Hi all,
    >
    > I had some compilation issues with ipipe-core-5.4.72 and xenomai
    3.1 on
    > arm64 target.
    >
    > With some minor changes (see attached patch), the kernel boot on
    target.
    >

    Thanks for the patches. Just note that those can easily get lost when
    not sent separately and inline (this list has some funny settings /wrt
    attachments, making them hard to read and impossible to comment on).

    I think you patches should be related to
    https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
    <https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a>
    which is not in stable yet. Greg, can you help sorting out what we need
    where?

    Thanks,
    Jan

    > Jean-Baptiste
    >
    >
    >
    > Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :
    >> On 08.02.21 09:24, Jan Kiszka via Xenomai wrote:
    >>> On 06.02.21 15:50, Greg Gallagher wrote:
    >>>> On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka
    <[email protected] <mailto:[email protected]>
    >>>> <mailto:[email protected]
    <mailto:[email protected]>>> wrote:
    >>>>
    >>>>      On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
    >>>>      > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
    >>>>      <[email protected] <mailto:[email protected]> 
    <mailto:[email protected] <mailto:[email protected]>>>
    >>>>      > wrote:
    >>>>      >
    >>>>      >> Download URL:
    >>>>      >>
    >>>>     
    >>>>
    https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
    >>>>
    >>>>     
    >>>>
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>>
    >>>>
    >>>>      >>
    >>>>      >> Repository:https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>
    >>>>      <https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>>
    >>>>      >> Release tag: ipipe-core-5.4.72-arm64-0
    >>>>      >>
    >>>>      >>
    >>>>      > This is a beta release, any testing is welcome
    >>>>      >
    >>>>
    >>>>      You asked for it: ;)
    >>>>
    >>>>     
    https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>
    >>>>     
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>>
    >>>>
    >>>>      Jan
    >>>>
    >>>>      --
    >>>>      Siemens AG, T RDA IOT
    >>>>      Corporate Competence Center Embedded Linux
    >>>>
    >>>>
    >>>> Ack, I’ll look into this today. How hard is it to get a ci or
    something
    >>>> similar setup in a local machine? I think I may have asked this
    before
    >>>> but i can’t remember what we decided.
    >>>>
    >>> The easiest option are the qemu targets, generated and run via
    >>> xenomai-images. Unfortunately, this issue does not seem to
    trigger in
    >>> qemu, only on the BeagleBone. But if you have that board, also that
    >>> target image can be reproduced, obviously. Follow the README in that
    >>> case.
    >>>
    >>> Or you just pick up the config from xenomai-images and do your own
    >>> setup.
    >>>
    >> Err, wrong context, this is arm64. Here it's the hikey, and only the
    >> hikey board. For the arm issue, both qemu and bbb expose the problem.
    >>
    >> Jan
    >>
    > -------------- next part --------------
    > A non-text attachment was scrubbed...
    > Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
    > Type: text/x-patch
    > Size: 1103 bytes
    > Desc: not available
    > URL:
    >
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>>
    >
    > -------------- next part --------------
    > A non-text attachment was scrubbed...
    > Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
    > Type: text/x-patch
    > Size: 1124 bytes
    > Desc: not available
    > URL:
    >
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>>
    >

    -- 
    Siemens AG, T RDA IOT
    Corporate Competence Center Embedded Linux
Quoted 2 lines

Yes, I believe all the needed patches are currently in next, but I will confirm.

I'm seeing cpu_get_elf_hwcap() in Jean-Baptiste's patch - is that a better way to access it?

And, Jean-Baptiste, can you confirm that using Greg's patch from next in 3.1-stable also works for you? Then I would pull it over.

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#10 lore raw

Le 01/03/2021 à 17:45, Jan Kiszka a écrit :

Quoted 137 lines · Greg Gallagher
Quoted 134 lines

On Mon, Mar 1, 2021 at 11:25 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

     On 25.02.21 11:50, Jean-Baptiste Tredez via Xenomai wrote:
     > Hi all,
     >
     > I had some compilation issues with ipipe-core-5.4.72 and xenomai
     3.1 on
     > arm64 target.
     >
     > With some minor changes (see attached patch), the kernel boot on
     target.
     >

     Thanks for the patches. Just note that those can easily get lost when
     not sent separately and inline (this list has some funny settings /wrt
     attachments, making them hard to read and impossible to comment on).

     I think you patches should be related to
     https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
     <https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a>
     which is not in stable yet. Greg, can you help sorting out what we need
     where?

     Thanks,
     Jan

     > Jean-Baptiste
     >
     >
     >
     > Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :
     >> On 08.02.21 09:24, Jan Kiszka via Xenomai wrote:
     >>> On 06.02.21 15:50, Greg Gallagher wrote:
     >>>> On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka
     <[email protected] <mailto:[email protected]>
     >>>> <mailto:[email protected]
     <mailto:[email protected]>>> wrote:
     >>>>
     >>>>      On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
     >>>>      > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
     >>>>      <[email protected] <mailto:[email protected]>
     <mailto:[email protected] <mailto:[email protected]>>>
     >>>>      > wrote:
     >>>>      >
     >>>>      >> Download URL:
     >>>>      >>
     >>>>
     >>>>
     https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
     <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
     >>>>
     >>>>
     >>>>
     <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
     <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>>
     >>>>
     >>>>      >>
     >>>>      >> Repository:https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>
     >>>>      <https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>>
     >>>>      >> Release tag: ipipe-core-5.4.72-arm64-0
     >>>>      >>
     >>>>      >>
     >>>>      > This is a beta release, any testing is welcome
     >>>>      >
     >>>>
     >>>>      You asked for it: ;)
     >>>>
     >>>>
     https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>
     >>>>
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>>
     >>>>
     >>>>      Jan
     >>>>
     >>>>      --
     >>>>      Siemens AG, T RDA IOT
     >>>>      Corporate Competence Center Embedded Linux
     >>>>
     >>>>
     >>>> Ack, I’ll look into this today. How hard is it to get a ci or
     something
     >>>> similar setup in a local machine? I think I may have asked this
     before
     >>>> but i can’t remember what we decided.
     >>>>
     >>> The easiest option are the qemu targets, generated and run via
     >>> xenomai-images. Unfortunately, this issue does not seem to
     trigger in
     >>> qemu, only on the BeagleBone. But if you have that board, also that
     >>> target image can be reproduced, obviously. Follow the README in that
     >>> case.
     >>>
     >>> Or you just pick up the config from xenomai-images and do your own
     >>> setup.
     >>>
     >> Err, wrong context, this is arm64. Here it's the hikey, and only the
     >> hikey board. For the arm issue, both qemu and bbb expose the problem.
     >>
     >> Jan
     >>
     > -------------- next part --------------
     > A non-text attachment was scrubbed...
     > Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
     > Type: text/x-patch
     > Size: 1103 bytes
     > Desc: not available
     > URL:
     >
     <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin
     <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>>
     >
     > -------------- next part --------------
     > A non-text attachment was scrubbed...
     > Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
     > Type: text/x-patch
     > Size: 1124 bytes
     > Desc: not available
     > URL:
     >
     <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin
     <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>>
     >

     --
     Siemens AG, T RDA IOT
     Corporate Competence Center Embedded Linux
Quoted 2 lines

Yes, I believe all the needed patches are currently in next, but I will confirm.

Quoted 8 lines

I'm seeing cpu_get_elf_hwcap() in Jean-Baptiste's patch - is that a better way to access it?

And, Jean-Baptiste, can you confirm that using Greg's patch from next in 3.1-stable also works for you? Then I would pull it over.

Jan

It is working well with stable/v3.1.x and Greg's patch (2cc905236c7208f37f128bb389214a39d777465a and 6faffb4fc7806f7442ec548a97157922523f5440 applied on previous location of files).

Jean-Baptiste

#11 lore raw
Quoted 178 lines · Jean-Baptiste Tredez
Quoted 16 lines · Jan Kiszka
Quoted 15 lines · Greg Gallagher

On Mon, Mar 1, 2021 at 11:25 AM Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

     On 25.02.21 11:50, Jean-Baptiste Tredez via Xenomai wrote:
     > Hi all,
     >
     > I had some compilation issues with ipipe-core-5.4.72 and xenomai
     3.1 on
     > arm64 target.
     >
     > With some minor changes (see attached patch), the kernel boot on
     target.
     >
Quoted 1 line
Quoted 1 line

Thanks for the patches. Just note that those can easily get lost

when

Quoted 1 line
Quoted 1 line

not sent separately and inline (this list has some funny settings

/wrt

Quoted 1 line
Quoted 1 line

attachments, making them hard to read and impossible to comment

on).

Quoted 3 lines
Quoted 3 lines

I think you patches should be related to

https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a

Quoted 1 line
Quoted 1 line
     <

https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a

Quoted 2 lines
Quoted 2 lines

which is not in stable yet. Greg, can you help sorting out what we

need

Quoted 20 lines
Quoted 20 lines
     where?

     Thanks,
     Jan

     > Jean-Baptiste
     >
     >
     >
     > Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :
     >> On 08.02.21 09:24, Jan Kiszka via Xenomai wrote:
     >>> On 06.02.21 15:50, Greg Gallagher wrote:
     >>>> On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka
     <[email protected] <mailto:[email protected]>
     >>>> <mailto:[email protected]
     <mailto:[email protected]>>> wrote:
     >>>>
     >>>>      On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
     >>>>      > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via Xenomai
     >>>>      <[email protected] <mailto:[email protected]>
Quoted 8 lines
Quoted 8 lines
     <mailto:[email protected] <mailto:[email protected]>>>
     >>>>      > wrote:
     >>>>      >
     >>>>      >> Download URL:
     >>>>      >>
     >>>>
     >>>>

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 1 line
Quoted 1 line
     <

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 5 lines
Quoted 5 lines
     >>>>
     >>>>
     >>>>
     <

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 1 line
Quoted 1 line
     <

https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch

Quoted 22 lines
Quoted 22 lines
     >>>>
     >>>>      >>
     >>>>      >> Repository:https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>
     >>>>      <https://git.xenomai.org/ipipe-arm64
     <https://git.xenomai.org/ipipe-arm64>>
     >>>>      >> Release tag: ipipe-core-5.4.72-arm64-0
     >>>>      >>
     >>>>      >>
     >>>>      > This is a beta release, any testing is welcome
     >>>>      >
     >>>>
     >>>>      You asked for it: ;)
     >>>>
     >>>>
     https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>
     >>>>
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
     <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
Quoted 11 lines
Quoted 11 lines
     >>>>
     >>>>      Jan
     >>>>
     >>>>      --
     >>>>      Siemens AG, T RDA IOT
     >>>>      Corporate Competence Center Embedded Linux
     >>>>
     >>>>
     >>>> Ack, I’ll look into this today. How hard is it to get a ci or
     something
     >>>> similar setup in a local machine? I think I may have asked

this

Quoted 7 lines
Quoted 7 lines

before
>>>> but i can’t remember what we decided.
>>>>
>>> The easiest option are the qemu targets, generated and run via >>> xenomai-images. Unfortunately, this issue does not seem to trigger in
>>> qemu, only on the BeagleBone. But if you have that board, also

that

Quoted 1 line
Quoted 1 line

>>> target image can be reproduced, obviously. Follow the README

in that

Quoted 3 lines
Quoted 3 lines
     >>> case.
     >>>
     >>> Or you just pick up the config from xenomai-images and do your

own

Quoted 3 lines
Quoted 3 lines
     >>> setup.
     >>>
     >> Err, wrong context, this is arm64. Here it's the hikey, and

only the

Quoted 1 line
Quoted 1 line

>> hikey board. For the arm issue, both qemu and bbb expose the

problem.

Quoted 4 lines
Quoted 4 lines
     >>
     >> Jan
     >>
     > -------------- next part --------------
Quoted 8 lines
Quoted 8 lines
     > A non-text attachment was scrubbed...
     > Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
     > Type: text/x-patch
     > Size: 1103 bytes
     > Desc: not available
     > URL:
     >
     <

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin

Quoted 1 line
Quoted 1 line
     <

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin

Quoted 11 lines
Quoted 11 lines
     >
     > -------------- next part --------------
     > A non-text attachment was scrubbed...
     > Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
     > Type: text/x-patch
     > Size: 1124 bytes
     > Desc: not available
     > URL:
     >
     <

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin

Quoted 1 line
Quoted 1 line
     <

http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin

Quoted 10 lines
Quoted 10 lines

>

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Yes, I believe all the needed patches are currently in next, but I will confirm.

Quoted 8 lines

I'm seeing cpu_get_elf_hwcap() in Jean-Baptiste's patch - is that a better way to access it?

And, Jean-Baptiste, can you confirm that using Greg's patch from next in 3.1-stable also works for you? Then I would pull it over.

Jan

It is working well with stable/v3.1.x and Greg's patch (2cc905236c7208f37f128bb389214a39d777465a and 6faffb4fc7806f7442ec548a97157922523f5440 applied on previous location of files).

Quoted 4 lines

Jean-Baptiste

ELF_HWCAP is a #define for the function cpu_get_elf_hwcap, the patches are

basically identical.

-Greg

#12 lore raw
Quoted 218 lines · Greg Gallagher

On Mon, Mar 1, 2021 at 1:03 PM Jean-Baptiste Tredez <[email protected] <mailto:[email protected]>> wrote:

    Le 01/03/2021 à 17:45, Jan Kiszka a écrit :
    > On 01.03.21 17:28, Greg Gallagher wrote:
    >>
    >> On Mon, Mar 1, 2021 at 11:25 AM Jan Kiszka
    <[email protected] <mailto:[email protected]>
    >> <mailto:[email protected] <mailto:[email protected]>>>
    wrote:
    >>
    >>      On 25.02.21 11:50, Jean-Baptiste Tredez via Xenomai wrote:
    >>      > Hi all,
    >>      >
    >>      > I had some compilation issues with ipipe-core-5.4.72 and
    xenomai
    >>      3.1 on
    >>      > arm64 target.
    >>      >
    >>      > With some minor changes (see attached patch), the kernel
    boot on
    >>      target.
    >>      >
    >>
    >>      Thanks for the patches. Just note that those can easily get
    lost when
    >>      not sent separately and inline (this list has some funny
    settings /wrt
    >>      attachments, making them hard to read and impossible to
    comment on).
    >>
    >>      I think you patches should be related to
    >>     
    https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
    <https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a>
    >>     
    <https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a
    <https://source.denx.de/Xenomai/xenomai/-/commit/2cc905236c7208f37f128bb389214a39d777465a>>
    >>      which is not in stable yet. Greg, can you help sorting out
    what we need
    >>      where?
    >>
    >>      Thanks,
    >>      Jan
    >>
    >>      > Jean-Baptiste
    >>      >
    >>      >
    >>      >
    >>      > Le 08/02/2021 à 09:26, Jan Kiszka via Xenomai a écrit :
    >>      >> On 08.02.21 09:24, Jan Kiszka via Xenomai wrote:
    >>      >>> On 06.02.21 15:50, Greg Gallagher wrote:
    >>      >>>> On Sat, Feb 6, 2021 at 7:23 AM Jan Kiszka
    >>      <[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >>      >>>> <mailto:[email protected]
    <mailto:[email protected]>
    >>      <mailto:[email protected]
    <mailto:[email protected]>>>> wrote:
    >>      >>>>
    >>      >>>>      On 05.02.21 06:24, Greg Gallagher via Xenomai wrote:
    >>      >>>>      > On Fri, Feb 5, 2021 at 12:24 AM xenomai--- via
    Xenomai
    >>      >>>>      <[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >>      <mailto:[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>>>
    >>      >>>>      > wrote:
    >>      >>>>      >
    >>      >>>>      >> Download URL:
    >>      >>>>      >>
    >>      >>>>
    >>      >>>>
    >>     
    https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
    >>     
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>>
    >>      >>>>
    >>      >>>>
    >>      >>>>
    >>     
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>
    >>     
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch
    <https://xenomai.org/downloads/ipipe/v5.x/arm64/ipipe-core-5.4.72-arm64-0.patch>>>
    >>      >>>>
    >>      >>>>      >>
    >>      >>>>      >> Repository:https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>
    >>      <https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>>
    >>      >>>>      <https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>
    >>      <https://git.xenomai.org/ipipe-arm64
    <https://git.xenomai.org/ipipe-arm64>>>
    >>      >>>>      >> Release tag: ipipe-core-5.4.72-arm64-0
    >>      >>>>      >>
    >>      >>>>      >>
    >>      >>>>      > This is a beta release, any testing is welcome
    >>      >>>>      >
    >>      >>>>
    >>      >>>>      You asked for it: ;)
    >>      >>>>
    >>      >>>>
    >>     
    https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>
    >>     
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>>
    >>      >>>>
    >>     
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>
    >>     
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638
    <https://gitlab.denx.de/Xenomai/xenomai-images/-/jobs/218159#L638>>>
    >>      >>>>
    >>      >>>>      Jan
    >>      >>>>
    >>      >>>>      --
    >>      >>>>      Siemens AG, T RDA IOT
    >>      >>>>      Corporate Competence Center Embedded Linux
    >>      >>>>
    >>      >>>>
    >>      >>>> Ack, I’ll look into this today. How hard is it to get a
    ci or
    >>      something
    >>      >>>> similar setup in a local machine? I think I may have
    asked this
    >>      before
    >>      >>>> but i can’t remember what we decided.
    >>      >>>>
    >>      >>> The easiest option are the qemu targets, generated and
    run via
    >>      >>> xenomai-images. Unfortunately, this issue does not seem to
    >>      trigger in
    >>      >>> qemu, only on the BeagleBone. But if you have that
    board, also that
    >>      >>> target image can be reproduced, obviously. Follow the
    README in that
    >>      >>> case.
    >>      >>>
    >>      >>> Or you just pick up the config from xenomai-images and
    do your own
    >>      >>> setup.
    >>      >>>
    >>      >> Err, wrong context, this is arm64. Here it's the hikey,
    and only the
    >>      >> hikey board. For the arm issue, both qemu and bbb expose
    the problem.
    >>      >>
    >>      >> Jan
    >>      >>
    >>      > -------------- next part --------------
    >>      > A non-text attachment was scrubbed...
    >>      > Name: 0001-cobalt-arm64-Remove-include-of-compiler.h.patch
    >>      > Type: text/x-patch
    >>      > Size: 1103 bytes
    >>      > Desc: not available
    >>      > URL:
    >>      >
    >>     
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>
    >>     
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment.bin>>>
    >>      >
    >>      > -------------- next part --------------
    >>      > A non-text attachment was scrubbed...
    >>      > Name: 0002-cobalt-arm64-Fix-elf_hwcap-acces.patch
    >>      > Type: text/x-patch
    >>      > Size: 1124 bytes
    >>      > Desc: not available
    >>      > URL:
    >>      >
    >>     
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>
    >>     
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin
    <http://xenomai.org/pipermail/xenomai/attachments/20210225/2339e8e4/attachment-0001.bin>>>
    >>      >
    >>
    >>      --
    >>      Siemens AG, T RDA IOT
    >>      Corporate Competence Center Embedded Linux
    >>
    >>
    >> Yes, I believe all the needed patches are currently in next, but
    I will
    >> confirm.
    > I'm seeing cpu_get_elf_hwcap() in Jean-Baptiste's patch - is that a
    > better way to access it?
    >
    > And, Jean-Baptiste, can you confirm that using Greg's patch from
    next in
    > 3.1-stable also works for you? Then I would pull it over.
    >
    > Jan
    >
    It is working well with stable/v3.1.x and Greg's patch
    (2cc905236c7208f37f128bb389214a39d777465a and
    6faffb4fc7806f7442ec548a97157922523f5440 applied on previous
    location of
    files).

    Jean-Baptiste
Quoted 5 lines

ELF_HWCAP is a #define for the function cpu_get_elf_hwcap, the patches are basically identical.

-Greg

Perfect. Both commits pushed to stable now.

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux