All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Illegal instruction/bad syscall
@ 2018-04-24 12:38 Gustav Johansson
  2018-04-24 13:34 ` Greg Gallagher
  2018-04-24 16:46 ` [Xenomai] Illegal instruction/bad syscall Philippe Gerum
  0 siblings, 2 replies; 5+ messages in thread
From: Gustav Johansson @ 2018-04-24 12:38 UTC (permalink / raw)
  To: Xenomai

Hi!


I recently managed to run a cobalt core for raspberry pi 3, Im using ipipe #9 for arm,  kernel version 4.1.21, Xenomai 3.0.6.


I managed to build the xenomai API but when I try every executable file, for example latency test bench,  I get "illegal instruction", and in dmesg I get "[Xenomai] bad syscall <0xff7000af> ...".


The crosscompiler Im using is https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian and I have also tried compiling it on the RPI3 itself but Im getting the same error.


I have compared my kernel config next to Harco Kuppens  working image (http://www.cs.ru.nl/lab/xenomai/) But the only difference is that I have higher values in XENO_OPT_SYS_HEAP, XENO_PRIVATE_HEAPS, XENO_OPT_SHARED_HEAPSZ, XENO_OPT_TIMERS.


Im uploading a readme with the steps I have taken with the installation and also my kernel config.


Any ideas on why I get "Illegal instruction"?


Regards

Gustav Johansson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpi3_cobalt_4.1.21_config
Type: application/octet-stream
Size: 126604 bytes
Desc: rpi3_cobalt_4.1.21_config
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180424/fd49797a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: readme.md
Type: text/markdown
Size: 6403 bytes
Desc: readme.md
URL: <http://xenomai.org/pipermail/xenomai/attachments/20180424/fd49797a/attachment.bin>

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

end of thread, other threads:[~2018-04-27 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 12:38 [Xenomai] Illegal instruction/bad syscall Gustav Johansson
2018-04-24 13:34 ` Greg Gallagher
2018-04-27 10:03   ` [Xenomai] RPI, pinctrl-bcm2835 now working Gustav Johansson
2018-04-27 11:24     ` Greg Gallagher
2018-04-24 16:46 ` [Xenomai] Illegal instruction/bad syscall Philippe Gerum

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.