On 04/24/2018 02:38 PM, Gustav Johansson wrote: > 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"? > >
Maybe EABI vs OABI issue. Try disabling CONFIG_OABI_COMPAT, I suspect that the code supporting the OABI in Xenomai has not been exercised since ages. -- Philippe. _______________________________________________ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai