Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit: Pin mux question

2013-01-06 Thread Jon Elson
Joachim Franek wrote: > Hello. > > Where is the information about the pin > multiplexing? > > It is all described in the 1700 (!!) page manual on the chip, which is linked to from the beagle Board site. But, it is a poorly indexed manual, and will drive you nuts. Also, you have to work aroun

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit: Pin mux question

2013-01-06 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/6/2013 7:55 AM, Joachim Franek wrote: > Hello. > > Where is the information about the pin multiplexing? > > I see in > linuxcnc-dev/src/hal/components/pru_support/pru-scr/maxrate.p SET > R30.t15 // set GPIO1_13 high > >> From where do I know t

[Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit: Pin mux question

2013-01-06 Thread Joachim Franek
Hello. Where is the information about the pin multiplexing? I see in linuxcnc-dev/src/hal/components/pru_support/pru-scr/maxrate.p SET R30.t15 // set GPIO1_13 high >From where do I know this? I only find on the web the Pin Mux Utility from Ti. http://www.ti.com/tool/pinmuxtool Have I rea

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-06 Thread Joachim Franek
On Thursday 03 January 2013 17:23:34 Kent A. Reed wrote: > Hi, Joachim. I'm the KAR. I've traced my crashes to the way my > BeagleBone and DHCP server are interacting. I'm not sure yet what the > root cause is but I am sure it's not in Michael's > LinuxCNC/Xenomai/Ubuntu system since the same occu

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, now bb mills the "LinuxCNC" word for about 2h at 10% feed override. At start I forgot to enable the xserver connection. This results in a error message from bb. After xhost +192.168.1.90 it works. Joachim -- Mas

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, maybe "reboot" is the key. 1. Power on the bb and login. 2. sudo reboot 3. login again and start linuxcnc I "milled" with the demo gcode "LinuxCNC" 2 times witout any problemes. 1x at 20% overrride 1x with 100% I am not sure about this, because of disabled apache2 and lxdm may not be run

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, I see the folowing output. There is a time difference between the bb and the tftp server. bb is about 5h to late. Joachim linuxcnc@arm:~$ for i in {1..1000}; do uptime; sleep 1; done; 05:57:50 up 19 min, 1 user, load average: 0.69, 0.36, 0.19 05:57:51 up 19 min, 1 user, load averag

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Michael Haberler
Joachim, if it is some DHCP attribute which causes this, as indicated by Kent, then a more detailed log of the DHCP transaction should help try '-vvv' on the DHCP trace -m I'll be able to compare it with my setup only in a week from now though Am 05.01.2013 um 11:29 schrieb Joachim Franek:

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, I observed the following lines in the terminal window connected to the serial line. Joachim linuxcnc@arm:~$ linuxcnc LINUXCNC - 2.5.1 Machine configuration directory is '/home/linuxcnc/linuxcnc- dev/configs/sim/axis' Machine configuration file is 'axis_mm.ini' Starting LinuxCNC... XIO:

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, I have different dhcp (192.168.1.24) and tftp (192.168.1.220) servers. bb: 192.168.1.90 It is not the communication with the dhcp server. Here is the log from bb booting: $ sudo tcpdump host 192.168.1.90 11:05:10.823184 IP server.local.bootps > 192.168.1.90.bootpc: BOOTP/DHCP, Reply, leng

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
Hello, I see this message, if I try to run the gcode demo file: Joachim linuxcnc@arm:~$ linuxcnc LINUXCNC - 2.5.1 Machine configuration directory is '/home/linuxcnc/linuxcnc- dev/configs/sim/axis' Machine configuration file is 'axis_mm.ini' Starting LinuxCNC... In recent history there were 268

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-05 Thread Joachim Franek
On Thursday 03 January 2013 17:23:34 Kent A. Reed wrote: > When you say "after several reboots" do you mean your crashes go away? Yesterday I bootet several times to the login which I see in the terminal (with screen). Allways crashes. Joachim -

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-04 Thread Michael Haberler
Hi Yishin, Am 04.01.2013 um 05:13 schrieb Yishin Li: > Hi Michael, > > I can not blinking the user leds with the following steps: > > # su as root execute the following commands to set OUTPUT mode for user > leds > echo 7 > /sys/kernel/debug/omap_mux/gpmc_a5 > echo 7 > /sys/kernel/debug/omap_m

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-04 Thread Michael Haberler
Hi Kent, Am 03.01.2013 um 23:25 schrieb Kent A. Reed: > [Oops - I responded to Joachim and forgot about the list. This is a resend.] > > On 1/3/2013 3:42 PM, Joachim Franek wrote: >>> I have also observed the crashes after about 5min. >>> But after several reboots I was able to run >>> the cnc de

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Yishin Li
Hi Michael, I can not blinking the user leds with the following steps: # su as root execute the following commands to set OUTPUT mode for user leds echo 7 > /sys/kernel/debug/omap_mux/gpmc_a5 echo 7 > /sys/kernel/debug/omap_mux/gpmc_a6 echo 7 > /sys/kernel/debug/omap_mux/gpmc_a7 echo 7 > /sys/ker

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Kent A. Reed
On 1/3/2013 8:30 PM, Yishin Li wrote: > I don't have the 5 minutes crash cycle here. I use dnsmasq as the DHCP > server. > Have you see anything odd about NFS/TFTP from your server's /var/run/syslog? Hi, Yishin. Given the preponderance of Ubuntu 10.04LTS users in LinuxCNC-land I tested Michael'

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Yishin Li
On Fri, Jan 4, 2013 at 6:23 AM, Kent A. Reed wrote: > On 1/3/2013 3:42 PM, Joachim Franek wrote: > > I have also observed the crashes after about 5min. > > But after several reboots I was able to run > > the cnc demo programm from sim/axis/axis_mm. > > Hi, Joachim. I'm the KAR. I've traced my cras

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Kent A. Reed
[Oops - I responded to Joachim and forgot about the list. This is a resend.] On 1/3/2013 3:42 PM, Joachim Franek wrote: >> I have also observed the crashes after about 5min. >> But after several reboots I was able to run >> the cnc demo programm from sim/axis/axis_mm. Hi, Joachim. I'm the KAR. I'

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Kent A. Reed
On 1/3/2013 3:42 PM, Joachim Franek wrote: > I have also observed the crashes after about 5min. > But after several reboots I was able to run > the cnc demo programm from sim/axis/axis_mm. Hi, Joachim. I'm the KAR. I've traced my crashes to the way my BeagleBone and DHCP server are interacting. I

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Lee Studley
Awesome work on this guys -Lee On 1/3/2013 2:49 PM, Michael Haberler wrote: > Hello Joachim, > > good to hear you got it to work! > > Charles has added quite some unannounced magic to here: > http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/arm335x-hal-pru-module > since I buil

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Michael Haberler
Hello Joachim, good to hear you got it to work! Charles has added quite some unannounced magic to here: http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/arm335x-hal-pru-module since I built the root filesystem with the repo in it so you might want to git pull origin arm335x-hal

Re: [Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2013-01-03 Thread Joachim Franek
Hello, the best wishes to all for 2013. Trying the setup from http://wiki.linuxcnc.org/cgi-bin/wiki.pl?BeagleboneDevsetup I have to add a file $ cat /etc/gdm/custom.conf [security] DisallowTCP=false (see http://ubuntuforums.org/showthread.php?t=1755126) and changed (as described) $ cat /etc

[Emc-developers] Beaglebone/Xenomai LinuxCNC starter kit

2012-12-28 Thread Michael Haberler
I've created an 'batteries included' kit to build and run LinuxCNC on the Beaglebone with a Xenomai kernel, with remote TFTP boot/NFS root filesystem setup. The parts are: - Ubuntu 12.04 precise - the Xenomai 3.2.21 kernel installed - the Xenomai userland support installed - all package prerequ