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. _______________________________________________ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai