All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gustav Johansson <gusjohan@kth.se>
To: "Xenomai@xenomai.org" <Xenomai@xenomai.org>
Subject: [Xenomai] Illegal instruction/bad syscall
Date: Tue, 24 Apr 2018 12:38:06 +0000	[thread overview]
Message-ID: <1524573484592.16072@kth.se> (raw)

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>

             reply	other threads:[~2018-04-24 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 12:38 Gustav Johansson [this message]
2018-04-24 13:34 ` [Xenomai] Illegal instruction/bad syscall 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1524573484592.16072@kth.se \
    --to=gusjohan@kth.se \
    --cc=Xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.