On Sun, Aug 11, 2019 at 7:52 PM shabaz <[email protected]> wrote:
>
> Hi Robert,
>
> Sorry to ask one more related question, it concerns installing the remainder 
> of Xenomai, to run a test program:
>
> I've installed the Xenomi kernel as you described, and uname -a looks good:
> Linux beaglebone 4.14.108-ti-xenomai-r114 #1 SMP PREEMPT Sun Aug 4 08:52:45 
> UTC 2019 armv7l GNU/Linux
>
> (incidentally, just as an aside, this only worked on an original BeagleBone 
> Black [well, a BeagleBone Black Industrial], and didn't work on a 
> BBB-Wireless. On the BBB-Wireless, it booted, but froze the board after about 
> 20 seconds after boot (some LEDs permanently lit, but no more flickering 
> LEDs, and the USB OTG disconnects, and serial console stops responding too). 
> I tried rebooting a few times, and the same thing occurred. I've captured the 
> var/log files here: https://bit.ly/2Mfav34  but it isn't an issue for me, I'm 
> happy using the BBB-Industrial, the Wireless isn't essential for me. I did 
> examine the log files though, in case I could spot the issue, but it wasn't 
> obvious what it could be).

Patches welcome, i don't personally support Xenomai..

>
> Anyway, next, to get the remainder Xenomi stuff, I did the following (I 
> presumed it was Xenomi 3.0.9, but I wasn't sure, I did search in the github 
> beagleboard/linux commits, but unfortunately couldn't see where it was 
> specified):
>
> wget https://xenomai.org/downloads/xenomai/stable/latest/xenomai-3.0.9.tar.bz2
>
> bunzip2 xenomai-3.0.9.tar.bz2
>
> tar xvf xenomai-3.0.9.tar
>
> cd xenomai-3.0.9
>
> ./configure CFLAGS="-march=armv7-a -mfpu=vfp3" LDFLAGS="-march=armv7-a 
> -mfpu=vfp3"
>
> make
>
> make install
>
>
> When I try to run any of the sample/test applications (such as 
> /usr/xenomai/bin/xeno-test), I get an error:
> BUG in __xenomai_init(): [main] running non-SMP libraries on SMP kernel?
>
> I think I'm probably doing something silly, and have googled around, but need 
> a pointer to where I messed up.
> Sorry to be asking so many questions : (

--enable-smp

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgM1fuCPcgyQOaRkJ3QmGsffM2Oh7ErNKKM81yAkiEYrA%40mail.gmail.com.

Reply via email to