* [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
@ 2016-07-07 6:02 dominikk
2016-07-07 8:16 ` Philippe Gerum
0 siblings, 1 reply; 6+ messages in thread
From: dominikk @ 2016-07-07 6:02 UTC (permalink / raw)
To: xenomai
Hi there,
we are trying to run the Mercury core on a Raspberry Pi 3. The code
compiles fine and the latency test (/usr/xenomai/bin/latency) runs
successfully.
However, running a dummy application (i.e. Hello World) results in the
following error:
# sudo ./test
0"003.571| WARNING: [main] failed to initialize multi-threading
package
0"003.791| WARNING: [main] setup call copperplate failed
0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?
Similarly, when running alatency:
# sudo /usr/xenomai/demo/altency
0"003.571| WARNING: [main] failed to initialize multi-threading
package
0"003.791| WARNING: [main] setup call copperplate failed
0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?
Same results for hdb or any other application linked with the Alchemy skin.
We are running (raspberry) Kernel 4.4.13 with RT patches and compiled
xenomai with the following flags:
Build args:
CFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
LDFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
--with-core=mercury --disable-debug --enable-clock-monotonic-raw
--enable-smp
Any advice would be greatly appreciated.
Regards,
Dominik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
2016-07-07 6:02 [Xenomai] Mercury 3.0.2 on Raspberry Pi 3 dominikk
@ 2016-07-07 8:16 ` Philippe Gerum
2016-07-07 8:46 ` dominikk
0 siblings, 1 reply; 6+ messages in thread
From: Philippe Gerum @ 2016-07-07 8:16 UTC (permalink / raw)
To: dominikk, xenomai
On 07/07/2016 08:02 AM, dominikk wrote:
> Hi there,
>
> we are trying to run the Mercury core on a Raspberry Pi 3. The code
> compiles fine and the latency test (/usr/xenomai/bin/latency) runs
> successfully.
>
> However, running a dummy application (i.e. Hello World) results in the
> following error:
>
> # sudo ./test
> 0"003.571| WARNING: [main] failed to initialize multi-threading
> package
> 0"003.791| WARNING: [main] setup call copperplate failed
> 0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?
>
> Similarly, when running alatency:
>
> # sudo /usr/xenomai/demo/altency
> 0"003.571| WARNING: [main] failed to initialize multi-threading
> package
> 0"003.791| WARNING: [main] setup call copperplate failed
> 0"003.925| BUG in xenomai_init(): [main] initialization failed, 22?
>
> Same results for hdb or any other application linked with the Alchemy skin.
>
> We are running (raspberry) Kernel 4.4.13 with RT patches and compiled
> xenomai with the following flags:
>
> Build args:
> CFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
> LDFLAGS=-march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard
> --with-core=mercury --disable-debug --enable-clock-monotonic-raw
> --enable-smp
>
> Any advice would be greatly appreciated.
>
--disable-clock-monotonic-raw should help.
--
Philippe.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
2016-07-07 8:16 ` Philippe Gerum
@ 2016-07-07 8:46 ` dominikk
2016-08-02 5:48 ` Pierre FICHEUX
0 siblings, 1 reply; 6+ messages in thread
From: dominikk @ 2016-07-07 8:46 UTC (permalink / raw)
To: Philippe Gerum, xenomai
Am 07/07/2016 um 10:16 AM schrieb Philippe Gerum:
>
> --disable-clock-monotonic-raw should help.
>
Hi Philippe,
thanks for your swift reply. Compiling with
"--disable-clock-monotonic-raw" did fix the error.
Thank you very much.
All the best,
Dominik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
2016-07-07 8:46 ` dominikk
@ 2016-08-02 5:48 ` Pierre FICHEUX
2016-08-02 6:10 ` dominikk
0 siblings, 1 reply; 6+ messages in thread
From: Pierre FICHEUX @ 2016-08-02 5:48 UTC (permalink / raw)
To: dominikk; +Cc: xenomai
Hi,
Did you try to run Cobalt on the Pi 3?
regards
--
Pierre FICHEUX -/- Smile/OWI, France -\- pierre.ficheux@smile.fr
http://ingenierie.openwide.fr
http://www.linuxembedded.fr
I would love to change the world, but they won't give me the source
code
Le 2016-07-07 10:46, dominikk a écrit :
> Am 07/07/2016 um 10:16 AM schrieb Philippe Gerum:
>>
>> --disable-clock-monotonic-raw should help.
>>
>
> Hi Philippe,
>
> thanks for your swift reply. Compiling with
> "--disable-clock-monotonic-raw" did fix the error.
>
> Thank you very much.
>
> All the best,
> Dominik
>
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> https://xenomai.org/mailman/listinfo/xenomai
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
2016-08-02 5:48 ` Pierre FICHEUX
@ 2016-08-02 6:10 ` dominikk
2016-08-02 8:07 ` Pierre FICHEUX
0 siblings, 1 reply; 6+ messages in thread
From: dominikk @ 2016-08-02 6:10 UTC (permalink / raw)
To: Pierre FICHEUX; +Cc: xenomai
Hello Pierre,
no, we did not. Mercury does not require any custom Kernel patches
(besides rt patchset) while Cobald would do so, especially since the
Raspberry Pi is not running a mainline Kernel. Therefor we chose to run
Mercury.
All the best,
Dominik
Am 08/02/2016 um 07:48 AM schrieb Pierre FICHEUX:
> Hi,
>
> Did you try to run Cobalt on the Pi 3?
>
> regards
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Xenomai] Mercury 3.0.2 on Raspberry Pi 3
2016-08-02 6:10 ` dominikk
@ 2016-08-02 8:07 ` Pierre FICHEUX
0 siblings, 0 replies; 6+ messages in thread
From: Pierre FICHEUX @ 2016-08-02 8:07 UTC (permalink / raw)
To: dominikk; +Cc: xenomai
Yes I know about the patches, Cobalt works on Pi 2 but not on Pi 3
(AFAIK).
regards
--
Pierre FICHEUX -/- Smile/OWI, France -\- pierre.ficheux@smile.fr
http://ingenierie.openwide.fr
http://www.linuxembedded.fr
I would love to change the world, but they won't give me the source
code
Le 2016-08-02 08:10, dominikk a écrit :
> Hello Pierre,
>
> no, we did not. Mercury does not require any custom Kernel patches
> (besides rt patchset) while Cobald would do so, especially since the
> Raspberry Pi is not running a mainline Kernel. Therefor we chose to
> run
> Mercury.
>
> All the best,
> Dominik
>
> Am 08/02/2016 um 07:48 AM schrieb Pierre FICHEUX:
>> Hi,
>>
>> Did you try to run Cobalt on the Pi 3?
>>
>> regards
>>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-02 8:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-07 6:02 [Xenomai] Mercury 3.0.2 on Raspberry Pi 3 dominikk
2016-07-07 8:16 ` Philippe Gerum
2016-07-07 8:46 ` dominikk
2016-08-02 5:48 ` Pierre FICHEUX
2016-08-02 6:10 ` dominikk
2016-08-02 8:07 ` Pierre FICHEUX
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.