Re: [Machinekit] DEx(x) Mksocfpga 2019 sd-card images (final ?) Stretch quartus 15.1 release Needs urgent testers

2019-05-15 Thread Charles Steinkuehler
On 5/13/2019 10:21 AM, Michael Brown wrote:
> On Sunday, 12 May 2019 15:49:38 UTC+2, Michael Brown wrote:
>> On Saturday, 11 May 2019 22:38:47 UTC+2, Charles Steinkuehler wrote:
>>> On 5/11/2019 1:17 PM, Michael Brown wrote: 
 
 Next step is hopefully to get some more in depth Developer info into 
>>> the mk 
 docs :-) 
 DE10 Nano suggested development environment? 
  
>>>
>>> I'm not sure what exactly you mean by "development environment", but I 
>>> typically develop directly on the system (eg: compile Machinekit & HAL 
>>> modules on the DE0/DE10), and use an x86 VM running Debian to build 
>>> the uSD images (kernel, boot loader, Debian rootfs). 
>>>
>>> That thread was evolving into explaining how mksocfpga works...
>>
>> For Machinekit and HAL related stuff on armhf I personally find it easier 
>> and faster to use the docker based .deb builders and then either use my 
>> local reprepro or 
>> just copy the .debs over and do sudo dpkg -i *.deb
> 
> Charles ?
> I just tested compiling mk-hal here:
> https://github.com/machinekit/mksocfpga/issues/47#issuecomment-491866529

There's nothing wrong with using the Docker VMs to build.

I typically self-compile because I don't have an "always-on" Docker
host machine added to my personal XenServer based stack yet, but I
typically always have at least one ARM board running when I'm
developing (the machine I'm testing).  Often I've got a fast
multi-core ARM system with high-speed storage (eg: Zynq Ultrascale+,
BeagleBoard X15) on-line I can use as a build machine.

Just pick whatever works best for you.

-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/1f0acc94-e3e2-1e4b-24f0-cc5545b0f30b%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Installing/Troubleshooting machinekit

2019-05-15 Thread Charles Steinkuehler
That sounds like something to do with the overlays.  IIRC, I didn't
have to do anything with the latest uSD image and the PRU UIO devices
were there.

Robert Nelson is the expert on the latest U-Boot overlays, but I have
seen others have problems if their on-board eMMC boot loader was too old.

Send the output of "sudo /opt/scripts/tools/version.sh" and we should
be able to figure out what's wrong.

On 5/15/2019 12:26 PM, Bradley Turner wrote:
> Hello,
> I have had lots of help throughout the setup process of getting machinekit 
> to work properly/Charles graciously got our HAL and INI files working 
> beautifully. I have been able to fix/troubleshoot/have the 
> community/Charles fix-answer most of the issues I have been having, 
> however, I am currently having an issue when launching machinekit that I 
> can't figure out.
> 
> I am running a Beaglebone Black with CRAMPS cape attached. The setup is a 4 
> axis CNC, this is the BCNC Bamboo CNC project that I have posted about 
> earlier in the machinekit group - if you recognize it.
> 
> I launch the config selector from the command line and select the config I 
> have. This all seems to work fine. I then get the machinekit splash screen, 
> and then nothing. In the terminal, it seems to be stuck on the line 
> "Waiting for /sys/class/uio/uio0..." but nothing ever loads. I'm 
> not sure what this means, or how to fix the problem. I was looking into 
> what this error means and saw some discussions in this group about the 
> Linux booting process? I wasn't able to completely understand what was 
> wrong or how to fix it, so any help clarifying what I should try next would 
> be greatly appreciated.
> Many thanks appreciated for any help anyone can provide.
> Thank you for your time,
> 
> Bradley
> 


-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/cc9cb0a8-a8ac-5917-ad07-cf5d8d4a9f1a%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Re: Mklauncher Problem migrating to MachineKit -hal -cnc packages

2019-05-15 Thread Michael Brown
I found a solution and posted a new issue:
https://github.com/machinekit/machinekit-hal/issues/206

As my "quick-fix" may not be in line with where the machinekit-hal repo is 
going... :-)

On Wednesday, 15 May 2019 20:10:02 UTC+2, Michael Brown wrote:
>
> Yes latest packages
>
> On Wednesday, 15 May 2019 20:05:23 UTC+2, Bas de Bruijn wrote:
>>
>> Hi Michael,
>> We’re the Machinekit packages that worked recent ones?
>> Bas
>>
>> On 15 May 2019, at 18:54, Michael Brown  wrote:
>>
>> BTW
>> I have set
>> REMOTE=1
>> in /etc/linuxcnc/machinekit.ini
>>
>> On Wednesday, 15 May 2019 18:50:26 UTC+2, Michael Brown wrote:
>>>
>>> I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client 
>>> Cetus gui (mkwrapper).
>>> that I'm trying to migrate to the new:
>>> machinekit-hal-rt-preempt
>>> machinekit-cnc-rt-preempt
>>> Packages.
>>>
>>> All that happens when I start the config in Machinekit client (after 
>>> migration) is that the session terminates after about 15-20 sec.
>>> With an option to see an errorfree Machinekit log.
>>>
>>> I use this process for the "MK package migration":
>>>
>>> sudo apt -y purge machinekit machinekit-rt-preempt
>>> sudo apt -y autoremove
>>> sudo apt update
>>> sudo apt -y install machinekit-hal-rt-preempt 
>>> machinekit-cnc-rt-preempt
>>> sudo nano /etc/linuxcnc/machinekit.ini
>>> sudo sh -c 'echo ""> /var/log/linuxcnc.log'
>>> sudo reboot now
>>>
>>> I run this start script via a systemd service:
>>> https://gist.github.com/the-snowwhite/d73c3fd090f98f0e94e6d7f7ed96a1a1
>>>
>>> That does this:
>>> /usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX
>>>
>>> the python run file is here:
>>>
>>> https://github.com/the-snowwhite/Hm2-soc_FDM/blob/ob-ox/Cramps/PY/OX/run.py
>>>
>>> Before the logs files below I have noticed this message in 
>>> linuxcnc_print.txt:
>>>
>>> Starting DISPLAY program: mkwrapper
>>> Can't execute DISPLAY program mkwrapper  
>>> Shutting down and cleaning up Machinekit...
>>>
>>>
>>> So after the below exploration I suspect it has somthing to do with 
>>> mkwapper changes in the new -hal -cnc repos ?
>>>
>>> Linuxcnc log file after starting the session in Machinekit client (old 
>>> mk packages)
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt
>>>
>>> Linuxcnc log file after trying to stare the session in Machinekit client 
>>> (new mk-hal-cnc packages)
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt
>>>
>>> Comparing All I can see here is that all below here (line 2355) is 
>>> missing and the session terminates instead:
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt-L2355
>>>
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt-L2356
>>>
>>> linuxcnc_debug-txt is here:
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_debug-txt
>>>
>>>
>>> linuxcnc_print.txt is here:
>>>
>>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_print-txt
>>>
>>> The python based config is here 
>>> https://github.com/the-snowwhite/Hm2-soc_FDM/tree/ob-ox/Cramps/PY/OX
>>>
>>> Best wishes Michael B.
>>>
>>> -- 
>> website: http://www.machinekit.io blog: http://blog.machinekit.io 
>> github: https://github.com/machinekit
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Machinekit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to machi...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/machinekit.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/machinekit/b216cad8-bead-4d74-b009-9784e2159010%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/afb2ca25-84b1-40e8-af03-24ba2f3722c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Re: Mklauncher Problem migrating to MachineKit -hal -cnc packages

2019-05-15 Thread Michael Brown
Yes latest packages

On Wednesday, 15 May 2019 20:05:23 UTC+2, Bas de Bruijn wrote:
>
> Hi Michael,
> We’re the Machinekit packages that worked recent ones?
> Bas
>
> On 15 May 2019, at 18:54, Michael Brown > 
> wrote:
>
> BTW
> I have set
> REMOTE=1
> in /etc/linuxcnc/machinekit.ini
>
> On Wednesday, 15 May 2019 18:50:26 UTC+2, Michael Brown wrote:
>>
>> I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client 
>> Cetus gui (mkwrapper).
>> that I'm trying to migrate to the new:
>> machinekit-hal-rt-preempt
>> machinekit-cnc-rt-preempt
>> Packages.
>>
>> All that happens when I start the config in Machinekit client (after 
>> migration) is that the session terminates after about 15-20 sec.
>> With an option to see an errorfree Machinekit log.
>>
>> I use this process for the "MK package migration":
>>
>> sudo apt -y purge machinekit machinekit-rt-preempt
>> sudo apt -y autoremove
>> sudo apt update
>> sudo apt -y install machinekit-hal-rt-preempt 
>> machinekit-cnc-rt-preempt
>> sudo nano /etc/linuxcnc/machinekit.ini
>> sudo sh -c 'echo ""> /var/log/linuxcnc.log'
>> sudo reboot now
>>
>> I run this start script via a systemd service:
>> https://gist.github.com/the-snowwhite/d73c3fd090f98f0e94e6d7f7ed96a1a1
>>
>> That does this:
>> /usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX
>>
>> the python run file is here:
>>
>> https://github.com/the-snowwhite/Hm2-soc_FDM/blob/ob-ox/Cramps/PY/OX/run.py
>>
>> Before the logs files below I have noticed this message in 
>> linuxcnc_print.txt:
>>
>> Starting DISPLAY program: mkwrapper
>> Can't execute DISPLAY program mkwrapper  
>> Shutting down and cleaning up Machinekit...
>>
>>
>> So after the below exploration I suspect it has somthing to do with 
>> mkwapper changes in the new -hal -cnc repos ?
>>
>> Linuxcnc log file after starting the session in Machinekit client (old mk 
>> packages)
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt
>>
>> Linuxcnc log file after trying to stare the session in Machinekit client 
>> (new mk-hal-cnc packages)
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt
>>
>> Comparing All I can see here is that all below here (line 2355) is 
>> missing and the session terminates instead:
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt-L2355
>>
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt-L2356
>>
>> linuxcnc_debug-txt is here:
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_debug-txt
>>
>>
>> linuxcnc_print.txt is here:
>>
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_print-txt
>>
>> The python based config is here 
>> https://github.com/the-snowwhite/Hm2-soc_FDM/tree/ob-ox/Cramps/PY/OX
>>
>> Best wishes Michael B.
>>
>> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machi...@googlegroups.com .
> Visit this group at https://groups.google.com/group/machinekit.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/machinekit/b216cad8-bead-4d74-b009-9784e2159010%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/8a3fec00-b198-46a5-9783-fc5956770e1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] Re: Mklauncher Problem migrating to MachineKit -hal -cnc packages

2019-05-15 Thread Bas de Bruijn
Hi Michael,
We’re the Machinekit packages that worked recent ones?
Bas

> On 15 May 2019, at 18:54, Michael Brown  wrote:
> 
> BTW
> I have set
> REMOTE=1
> in /etc/linuxcnc/machinekit.ini
> 
>> On Wednesday, 15 May 2019 18:50:26 UTC+2, Michael Brown wrote:
>> I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client Cetus 
>> gui (mkwrapper).
>> that I'm trying to migrate to the new:
>> machinekit-hal-rt-preempt
>> machinekit-cnc-rt-preempt
>> Packages.
>> 
>> All that happens when I start the config in Machinekit client (after 
>> migration) is that the session terminates after about 15-20 sec.
>> With an option to see an errorfree Machinekit log.
>> 
>> I use this process for the "MK package migration":
>> 
>> sudo apt -y purge machinekit machinekit-rt-preempt
>> sudo apt -y autoremove
>> sudo apt update
>> sudo apt -y install machinekit-hal-rt-preempt machinekit-cnc-rt-preempt
>> sudo nano /etc/linuxcnc/machinekit.ini
>> sudo sh -c 'echo ""> /var/log/linuxcnc.log'
>> sudo reboot now
>> 
>> I run this start script via a systemd service:
>> https://gist.github.com/the-snowwhite/d73c3fd090f98f0e94e6d7f7ed96a1a1
>> 
>> That does this:
>> /usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX
>> 
>> the python run file is here:
>> https://github.com/the-snowwhite/Hm2-soc_FDM/blob/ob-ox/Cramps/PY/OX/run.py
>> 
>> Before the logs files below I have noticed this message in 
>> linuxcnc_print.txt:
>> 
>> Starting DISPLAY program: mkwrapper
>> Can't execute DISPLAY program mkwrapper  
>> Shutting down and cleaning up Machinekit...
>> 
>> 
>> So after the below exploration I suspect it has somthing to do with mkwapper 
>> changes in the new -hal -cnc repos ?
>> 
>> Linuxcnc log file after starting the session in Machinekit client (old mk 
>> packages)
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt
>> 
>> Linuxcnc log file after trying to stare the session in Machinekit client 
>> (new mk-hal-cnc packages)
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt
>> 
>> Comparing All I can see here is that all below here (line 2355) is missing 
>> and the session terminates instead:
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt-L2355
>> 
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt-L2356
>> 
>> linuxcnc_debug-txt is here:
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_debug-txt
>> 
>> 
>> linuxcnc_print.txt is here:
>> https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_print-txt
>> 
>> The python based config is here 
>> https://github.com/the-snowwhite/Hm2-soc_FDM/tree/ob-ox/Cramps/PY/OX
>> 
>> Best wishes Michael B.
>> 
> 
> -- 
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
> https://github.com/machinekit
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to machinekit+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/machinekit.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/machinekit/b216cad8-bead-4d74-b009-9784e2159010%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/A60464F7-35F8-41A3-B960-D3B15A5CCC04%40basdebruijn.com.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Mklauncher Problem migrating to MachineKit -hal -cnc packages

2019-05-15 Thread Michael Brown
I have a cnc router running on a DE0_Nano_SoC with Machinekit_Client Cetus 
gui (mkwrapper).
that I'm trying to migrate to the new:
machinekit-hal-rt-preempt
machinekit-cnc-rt-preempt
Packages.

All that happens when I start the config in Machinekit client (after 
migration) is that the session terminates after about 15-20 sec.
With an option to see an errorfree Machinekit log.

I use this process for the "MK package migration":

sudo apt -y purge machinekit machinekit-rt-preempt
sudo apt -y autoremove
sudo apt update
sudo apt -y install machinekit-hal-rt-preempt machinekit-cnc-rt-preempt
sudo nano /etc/linuxcnc/machinekit.ini
sudo sh -c 'echo ""> /var/log/linuxcnc.log'
sudo reboot now

I run this start script via a systemd service:
https://gist.github.com/the-snowwhite/d73c3fd090f98f0e94e6d7f7ed96a1a1

That does this:
/usr/bin/mklauncher /home/machinekit/Hm2-soc_FDM/Cramps/PY/OX

the python run file is here:
https://github.com/the-snowwhite/Hm2-soc_FDM/blob/ob-ox/Cramps/PY/OX/run.py

Before the logs files below I have noticed this message in 
linuxcnc_print.txt:

Starting DISPLAY program: mkwrapper
Can't execute DISPLAY program mkwrapper  
Shutting down and cleaning up Machinekit...


So after the below exploration I suspect it has somthing to do with 
mkwapper changes in the new -hal -cnc repos ?

Linuxcnc log file after starting the session in Machinekit client (old mk 
packages)
https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt

Linuxcnc log file after trying to stare the session in Machinekit client 
(new mk-hal-cnc packages)
https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt

Comparing All I can see here is that all below here (line 2355) is missing 
and the session terminates instead:
https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-old_mk_repo-ok_session-started-only-txt-L2355

https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc-log-full_new-mk-hal-cnc_repos-bad-txt-L2356

linuxcnc_debug-txt is here:
https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_debug-txt


linuxcnc_print.txt is here:
https://gist.github.com/the-snowwhite/b21f9c3b2473c37831a51876e6c3e941#file-linuxcnc_print-txt

The python based config is here 
https://github.com/the-snowwhite/Hm2-soc_FDM/tree/ob-ox/Cramps/PY/OX

Best wishes Michael B.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/7b091240-32d8-4bca-9e82-8ae457c9d7be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.