[Machinekit] Machinekit on Beagleboard x15 hal. pru pins

2018-09-05 Thread Magnus Wiberg
Hi. I'm new to machinekit and try to set up machinekit on a beagleboard x15. The way pins are designated on the BBB is: 0811 = GPIO on P8, pin 11 811 = GPIO on P8, pin 11 (identical to above) 1811 = PRU direct output on P8, pin 11 2927 = PRU direct input on P9, pin 27 The problem is that on t

[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?) *debian@BeagleBoard-X15*:*~/machinekit/con

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 subscr

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 yo

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 machi

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

2018-09-13 Thread Magnus Wiberg
rsday, September 13, 2018 at 6:27:47 PM UTC+2, Schooner wrote: > > 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

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 7:05:

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?

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

2018-09-13 Thread Magnus Wiberg
I saw in the log that what differs from earlier when it worked and now is the built date. The July 24 build worked for me while the September 9/12 build doesn't. -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this m

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

2018-09-14 Thread Magnus Wiberg
I thinking about installing the earlier build I had before from http://deb.machinekit.io/debian/pool/main/m/machinekit/. Could someone please tell me how to? tried but I On Friday, September 14, 2018 at 2:48:57 AM UTC+2, Magnus Wiberg wrote: > > I saw in the log that what differs from e

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

2018-09-14 Thread Magnus Wiberg
t.io/debian/pool/main/m/machinekit/ and move into a > dir on their own (for simplicity) > > Then from that dir with the packages in > dpkg -i machinekit_X.deb machinekit-rt-preempt.deb > > assuming you already have all the depenencies present from the previous > install

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

2018-09-23 Thread Magnus Wiberg
where to put the device tree blob .dtb so it gets loaded at boot? 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? &

Re: [Machinekit] pru source code

2018-10-08 Thread Magnus Wiberg
Hi! I'm looking to into the source code of hal_pru_generic to modify it to load the pru code using python with py-uio (so it can work on BBX15), but I'm having some trouble understanding the source code of the pru driver/component. My plan is to first make it work with step/dir. First: the comp

Re: [Machinekit] pru source code

2018-10-11 Thread Magnus Wiberg
I've got a Beagleboard x15 for which there's no uio driver setup, only ti's remoteproc_pruss, thus the existing HAL_PRU_GENERIC driver won't work as is. I'm planning to use py-uio ( https://groups.google.com/forum/#!topic/beagleboard-x15/MfB-GMl0UYA ) to get a UIO for the pru. I thought that I