LinuxCNC/Machinekit on i.MX6 board

More
15 Dec 2017 11:29 #103132 by andypugh
After the segfault RTAPI will be in a terrible mess with various interdependent modules loaded.
I am afraid that a restart is normally the only solution, though you can _try_ the halrun -U command.

Please Log in or Create an account to join the conversation.

More
16 Dec 2017 07:07 #103162 by savoyyang
I try to run the halmeter alone, but gremlin does not work,and other some single module can ru, some other do not work.
Attachments:

Please Log in or Create an account to join the conversation.

More
More
17 Dec 2017 15:41 #103220 by savoyyang
thank you sir.I try it but still have other error.

Please Log in or Create an account to join the conversation.

More
17 Dec 2017 15:44 #103221 by savoyyang
Yesterday I tested not installed xenomai, the use of POSIX non-realtime, and then still install linuxcnc, but there is still segfaulting error, so linuxcnc itself can not direct run on i.mx6, we need to make some changes Caixing it.

Please Log in or Create an account to join the conversation.

More
18 Dec 2017 11:52 #103279 by savoyyang
hey andy, tonight I use git clone add git check to config

> git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc-dev
> git checkout v2.8.0-pre1
> git checkout -b myv2.8.0 v2.8.0-pre1

cd linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace --prefix=/home/linaro/Documents/mybuildcnc/
finally,sim -> axis running successfully in my i.MX6 board.

Please Log in or Create an account to join the conversation.

More
18 Dec 2017 11:54 #103280 by andypugh

finally,sim -> axis running successfully in my i.MX6 board.


That's good news.

The question now is, does it still say "Using POSIX non-realtime" or is it now "POSIX realtime"

Please Log in or Create an account to join the conversation.

More
18 Dec 2017 11:56 #103281 by savoyyang
it's "POSIX realtime"

Please Log in or Create an account to join the conversation.

More
18 Dec 2017 11:59 #103282 by andypugh
Interesting. After a bit of a look at the code I would have expected "XENOMAI (posix skin)"

github.com/LinuxCNC/linuxcnc/blob/af15a4...pace_xenomai.cc#L171

Please Log in or Create an account to join the conversation.

More
26 Dec 2017 07:53 #103622 by savoyyang
hey andy , toss for some time, Xenoami is up and running, but Linuxcnc seemingly did not seem to call Xenomai normal, because the real-time nature is so bad, look at the figure, so is there any way or message to verify that Xenomai was called correctly?



Please Log in or Create an account to join the conversation.

Time to create page: 0.309 seconds
Powered by Kunena Forum