Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-23 Thread Magnus Wiberg
Hi! I'm trying to make the py-uio work. I'm new to device tree and have trouble understanding where I should put the device tree fragment. I'm assuming it is in the am57xx-beagle-x15-revc.dts after #include "am57xx-beagle-x15-common.dtsi"? And then compile with dtc, but where to put the device

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
yes I did. I just dont know what/where I messed up my installation of machinekit :S On Thursday, September 13, 2018 at 7:23:58 PM UTC+2, Robert Nelson wrote: > > On Thu, Sep 13, 2018 at 12:18 PM Magnus Wiberg > > wrote: > > > > Is uio what is used in pru_generic.bin? > > Shouldnt this take

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Robert Nelson
On Thu, Sep 13, 2018 at 12:18 PM Magnus Wiberg wrote: > > Is uio what is used in pru_generic.bin? > Shouldnt this take care of that then? > https://groups.google.com/forum/#!topic/beagleboard-x15/MfB-GMl0UYA > > Any suggestions on what I can do to get machinekit working? Or should I just > wipe

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
Is uio what is used in pru_generic.bin? Shouldnt this take care of that then? https://groups.google.com/forum/#!topic/beagleboard-x15/MfB-GMl0UYA Any suggestions on what I can do to get machinekit working? Or should I just wipe it and start from scratch? On Thursday, September 13, 2018 at

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Robert Nelson
Based on the logs, this is an x15 right? fyi: There's no uio driver setup, only ti's remoteproc_pruss.. Regards, -- Robert Nelson https://rcn-ee.com/ -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
No it is not working yet :/ I guess It was stupid of me to run apt-get install machinekit-rt-preempt as it messed it up? I'm just very confused what is not working since I dont really know what I changes since I first got it working since I ran apt install machinekit-rt-preempt :S On Thursday,

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
I followed this guide first https://machinekoder.com/machinekit-debian-stretch-beaglebone-black/. And I could run machinekit. Then I saw that I didnt have the *pru_generic.bin *first so I ran sudo apt-get install machinekit-rt-preempt and could then find *pru_generic.bin*, but couldnt run

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread schoone...@gmail.com
OK, you possibly installed machinekit without machinekit-rt-preempt or something like that Hopefully now fixed. On 13/09/18 17:26, Magnus Wiberg wrote: I realize now that earlier when I ran it I couldnt find the pru_generic.bin on the disk

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
I realize now that earlier when I ran it I couldnt find the *pru_generic.bin *on the disk anywhere so I ran sudo apt-get install machinekit-rt-preempt again and I found *pru_generic.bin *afterwards. On Thursday, September 13, 2018 at 6:15:47 PM UTC+2, Magnus Wiberg wrote: > > I did as you said

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread schoone...@gmail.com
Looks like you have installed one flavour and are running another ie your kernel does not match the flavour type package you installed https://github.com/machinekit/machinekit/blob/master/src/rtapi/rtapi_main.c#L119 On 13/09/18 17:15, Magnus Wiberg wrote: Sep 13 16:05:30 BeagleBoard-X15

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
I did as you said and I got the exact same error message after each entry of command. Thank you for taking a look at this by the way! -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are

Re: [Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread schoone...@gmail.com
On 13/09/18 16:53, Magnus Wiberg wrote: I installed machinekit and was working with realtime start. Then I was looking at the interface and loaded axis_sim and pru_test and not much more. Now that I try 

[Machinekit] RT demon is not running. rtapi_app_main(rtapi): -22 Invalid argument ???

2018-09-13 Thread Magnus Wiberg
I installed machinekit and was working with realtime start. Then I was looking at the interface and loaded axis_sim and pru_test and not much more. Now that I try realtime start I get this: (can someone pleas shed some light on what might be wrong?)