Re: [Machinekit] Updated install of machinekit -- new errors

2019-02-28 Thread Condit Alan
Schooner, Sorry for not saying but yes, I was/am installing for Beaglebone Black on Stretch. I was able to purge and re-install. The fixes are there and machinekit now appears to run properly (in house). Now I have to take it back out to the shop and test on the X2 CNC minimill. Now I also

Re: [Machinekit] Updated install of machinekit -- new errors

2019-02-27 Thread Condit Alan
Cern, Thanks, I have only done install or upgrades on the beaglebone black via “sudo apt-get install machinekit”. So, I don’t even know how to get apt to install those particular versions. I am more used to using synaptic on my linux pc. I finally found them with my browser. I wasn’t looking

Re: [Machinekit] Updated install of machinekit -- new errors

2019-02-27 Thread Condit Alan
What is the url for the repository? > On Feb 26, 2019, at 11:14 PM, schoone...@gmail.com wrote: > > Just check the repo to see if there is a new package with the right git Sha > to match the commit > > On 2/26/2019 10:32 PM, Condit Alan wrote: >> Bas, >&g

Re: [Machinekit] Startup error messages in Axis

2019-02-23 Thread Condit Alan
gt; as close as possible the hm2 driver behavior, so that's the reference > standard. > > On 2/23/2019 3:57 PM, Condit Alan wrote: >> Charles, >> >> As far as I can tell the problem is limited to rtapi_app_main and pru_init. >> In looking at the code, in pru_init, it a

Re: [Machinekit] Startup error messages in Axis

2019-02-23 Thread Condit Alan
Charles, As far as I can tell the problem is limited to rtapi_app_main and pru_init. In looking at the code, in pru_init, it almost looks like you intended to take the rtapi_print calls out after it was working, as they are not indented like the rest of the code. If I were to fix them, I

Re: [Machinekit] How does machinekit test to see if it is running on a rt-preempt kernel?

2019-02-19 Thread Condit Alan
? Thanks, Robert and Schooner > On Feb 19, 2019, at 12:43 PM, Robert Nelson wrote: > > On Tue, Feb 19, 2019 at 11:06 AM Robert Nelson > wrote: >> >> On Tue, Feb 19, 2019 at 10:26 AM Condit Alan wrote: >>> >>> Schooner and Robert, >>> >>>

Re: [Machinekit] How does machinekit test to see if it is running on a rt-preempt kernel?

2019-02-19 Thread Condit Alan
Schooner and Robert, OK, here is what I see when I run those tests. Rather than grep the results of uname -r, I just printed out uname -r. machinekit@beaglebone:~$ cat /sys/kernel/realtime cat: /sys/kernel/realtime: No such file or directory machinekit@beaglebone:~$ cat

Re: [Machinekit] machinekit.ini and MKUUID

2019-02-17 Thread Condit Alan
I just did an update for machinekit. It reported an error involving sed. I suspect the error is in the script that is supposed to edit mkuuid and machinekit.ini. See the next to the last line below (separated by ———). machinekit@beaglebone:~$ sudo apt-get install machinekit Reading package

Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2019-02-17 Thread Condit Alan
There is no interface other than console on the image (as far as I know). But following the instructions below you should be able to run machinekit remotely.Update to getting started.Creating Stretch uSDburn image to uSDcopy grow_partition.sh to BBBsudo chmod ugo+=rwx grow_partition.shsudo

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-13 Thread Condit Alan
PM, schoone...@gmail.com wrote: > > Check what is installed. > > The error re not setuuid is misleading, the main question is why are you > trying to use rtapi_app_posix, it should be rt-preempt > On 2/13/2019 12:19 AM, Condit Alan wrote: >> Robert, >> >> I trie

Re: [Machinekit] Machinekit on BBB - long boot times with PREEMPT kernel

2019-02-12 Thread Condit Alan
Robert, I tried updating the kernel first on my other image, but when I tried to start machinekit I got a message unable to setuid need sudo makesetuid. So I am trying the image that you gave me the link to. I can invoke "ssh -Y machinekit@beaglebone.local” but when I try to start machinekit

Re: [Machinekit] PRU control files not found in /sys/class/uio/uio0

2018-09-06 Thread Condit Alan
ler > wrote: > > On 9/6/2018 10:45 AM, Condit Alan wrote: >> >> So now I got farther in the boot process but not yet success. >> >> P9_25 is specified in setup.sh. So any idea why this error? >> >> P9_25 pinmux file not found! >> bash: /sys/dev

Re: [Machinekit] PRU control files not found in /sys/class/uio/uio0

2018-09-06 Thread Condit Alan
Thank you Charles, I am running the CRAMPS board on a A5C rev of BBB. Hence, I have only 2gb emmc. I now understand why Robert had me erase the emmc on my A6 board. As soon as I erased the emmc boot area, the /sys/class/uio/ directory was populated during boot. So now I got farther in the

Re: [Machinekit] PRU control files not found in /sys/class/uio/uio0

2018-09-05 Thread Condit Alan
Thanks Charles, That helps explain how things work. I probably screwed up when I started a new thread (bone-debian-9.5-machinekit-armhf-2018-08-30-4gb.img not working). But maybe that points to something with the new image as well. In the new thread, I posted a copy of my uEnv.txt that shows

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-09-02 Thread Condit Alan
Sorry, The pin was missing from bb_gpio. I think I have all the pins fixed now, but it is still blowing out. Does it look like something related to GLX is missing from the BeagleBone? MACHINEKIT - 0.1 Machine configuration directory is

Re: [Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-09-01 Thread Condit Alan
Bas, I fixed that but now it is blowing up on this line: loadrt pid num_chan=4 The text of the documentation on pid still shows 'num_chan=‘ but I’m wondering from the other text showing options if it has actually been changed. MACHINEKIT - 0.1 Machine configuration directory is

Re: [Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-09-01 Thread Condit Alan
Bas, I modified Xylotex.ini as follows: #PRUBIN=xenomai/pru_generic.bin PRUBIN=rt-preempt/pru_generic.bin and Xylotex.hal as follows #loadusr -w /home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex/setup.sh loadusr -w ./setup.sh #loadrt hal_bb_gpio output_pins=107,113,119,126,214

Re: [Machinekit] Re: Xylotex.ini failing to run under Stretch

2018-09-01 Thread Condit Alan
Schooner, The title to the thread is Xylotex.ini failing to run under Stretch. I showed the output: MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex' Machine configuration file is 'Xylotex.ini' So I don’t know how I was to more

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-08-31 Thread Condit Alan
ert Nelson wrote: > > > > On Fri, Aug 31, 2018 at 10:55 AM schoone...@gmail.com > <mailto:schoone...@gmail.com> <mailto:schoone...@gmail.com>> wrote: > > On 31/08/18 16:19, Condit Alan wrote: >> Schooner, >> >> So I am trying to build a

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-08-31 Thread Condit Alan
; The change Robert referred to I think was the flavor relevant installation, > rather than the configs. > > If we changed the configs to rt-preempt, they would be wrong for everyone > running a Xenomai kernel. > > > > On 8/31/2018 3:01 AM, Condit Alan wrote: >>

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-08-30 Thread Condit Alan
M, Robert Nelson wrote: > > On Thu, Aug 30, 2018 at 5:55 PM Condit Alan wrote: >> >> I found a link talking about getting a CRAMPS board working with Stretch. It >> said you need to replace >> #PRUBIN=xenomai/pru_generic.bin >> with >> PRUBIN=rt-preempt/pru

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-08-30 Thread Condit Alan
I found a link talking about getting a CRAMPS board working with Stretch. It said you need to replace #PRUBIN=xenomai/pru_generic.bin with PRUBIN=rt-preempt/pru_generic.bin. Does that apply to the Xylotex DB25 cape also? I tried it in Xylotex.ini but the errors seemed to be the same either way.

Re: [Machinekit] Xylotex.ini failing to run under Stretch

2018-08-30 Thread Condit Alan
Robert, I commented out lines 34-51 from setup.sh as you suggested and the line > uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo was already in uEnv.txt. I tried running it again. This time I got MACHINEKIT - 0.1 Machine configuration directory is

Re: [Machinekit] ssh -X works on 8.7 image but not on 9.5 (Stretch) image

2018-08-30 Thread Condit Alan
On 30/08/18 17:26, Condit Alan wrote: >> Schooner, >> >> machinekit@beaglebone:~$ sudo apt install xorg >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: Unable to locate package xorg >> &g

Re: [Machinekit] ssh -X works on 8.7 image but not on 9.5 (Stretch) image

2018-08-30 Thread Condit Alan
to `apt install xorg` will tell you if the problem is that it is > missing. > > On 30/08/18 16:12, Condit Alan wrote: >> Schooner, >> >> That is the kind of info I was looking for. I have done a bunch of googling >> and have seen a whole bunch of generalized info about other

Re: [Machinekit] ssh -X works on 8.7 image but not on 9.5 (Stretch) image

2018-08-30 Thread Condit Alan
Schooner, That is the kind of info I was looking for. I have done a bunch of googling and have seen a whole bunch of generalized info about other linux strains, but very little specifically about Debian Stretch. I saw something about installing OpenSSH and related server on Stretch but I

Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-29 Thread Condit Alan
Robert, That worked! Thank you, Alan > On Aug 29, 2018, at 8:49 AM, Robert Nelson wrote: > > On Wed, Aug 29, 2018 at 10:45 AM Condit Alan wrote: >> >> Robert, >> >> After I wrote the last message I found the “Boot” button on the picture. The >> pr

Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-29 Thread Condit Alan
Robert, After I wrote the last message I found the “Boot” button on the picture. The problem is that it is under the DB25 cape. Alan > On Aug 29, 2018, at 7:39 AM, Robert Nelson wrote: > > On Tue, Aug 28, 2018 at 8:46 PM mugginsac wrote: >> >> I am trying to boot and log in over ethernet

Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-29 Thread Condit Alan
Robert, Which button is the “boot” button? The picture I have labels them “Power” and “Reset”. Power is next to the RJ45 connector and reset is next to the board edge. Is there one of the newer images that is small enough to flash on the A5 or A6? Thanks, Alan > On Aug 29, 2018, at 7:39 AM,

Re: [Machinekit] DE10-DE0-Nano - Invitation to collaborate

2018-08-03 Thread Condit Alan
Michael, Are you talking about the 2018/05/26 stretch image? Or is there a later one? What repository are the *.deb files in? Did you mean /boot/deb or did spell-check bite and you meant /boot/dtb ? Thanks, Alan > On Aug 2, 2018, at 6:14 AM, Michael Brown wrote: > > Hi Alan > > I would

Re: [Machinekit] DE10-DE0-Nano - Invitation to collaborate

2018-05-27 Thread Condit Alan
5_, so that is the setting in that device tree. >> I my recent work I have changed to using 0x0003_1000 for the framebuffer >> address. >> >> So I have attached my current version that will make the hdmi monitor work. >> Copy this file to the /boot/dtb fold

Re: [Machinekit] DE10-DE0-Nano - Invitation to collaborate

2018-05-27 Thread Condit Alan
u version than kde neon 16.04) > On May 25, 2018, at 7:11 PM, Charles Steinkuehler <cha...@steinkuehler.net> wrote: > > On 5/25/2018 5:28 PM, Condit Alan wrote: >> >> I am thinking about buying a small LCD monitor say (16” 1366x768). >> So that I can have a monitor on the p

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-26 Thread Condit Alan
> --- BTW > I am very close to having and updated image ready for release with: > > -- A speedier framebuffer. > -- A much more simple u boot setup. > -- no missing -dev source files,(due to being built on stretch which has a > newer qemu version than kde neon 16.04) > >

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-05-25 Thread Condit Alan
Sorry Michael, I copied the .rbf to lib/firmware/socfpga and I used the full path when I did the "setenv bitimage …". I ran make dtb on the QuartusProject. It produced soc_system.dtb and soc_system.dts in the project directory. When I did "env default -f -a" it restored the fdtfile to

Re: [Machinekit] DE10-DE0-Nano - Invitation to collaborate

2018-04-20 Thread Condit Alan
googled google.protobuf.text_format but it appears that there are several flavors c++, python, etc. What should I be looking for? Thanks, Alan > On Apr 20, 2018, at 6:30 AM, Charles Steinkuehler <char...@steinkuehler.net> > wrote: > > On 4/19/2018 10:21 PM,

Re: [Machinekit] Re: DE10-DE0-Nano - Invitation to collaborate

2018-04-16 Thread Condit Alan
Michael, I have set up a quarts project DE10_Nano_FB_DB25 based on Charles DE0_Nano_DB25 project. I copied the HDMI stuff from your DE10_Nano_FB_Cramps.qsf into DE0_Nano_DB25.qsf to create DE10_Nano_FB_DB25.qsf. There were pin conflicts between the HDMI stuff and the GPIO stuff. So I copied

Re: [Machinekit] DE10-DE0-Nano - Invitation to collaborate

2017-11-23 Thread Condit Alan
Michael, Is there an image for a uSD for the DE10 that will boot and run? I know you were working on an image that would boot both the DE0 and the DE10. I have been away for awhile. I tried the 10/29/2017 http://deb.machinekit.io/uploads/de0-nano/debian-9.2-console-armhf-2017-10-29

Re: [Machinekit] Will DE0-Nano image work on a DE10-Nano board?

2017-07-31 Thread Condit Alan
Charles, The DE10 won’t boot from the DE0-Nano-SOC MachineKit image. I need to get an adapter for USB female to Micro male (or USB OTG) so I can plug in my powered USB hub or at the very least a USB keyboard with built in touch pad. I guess I will try to set up so I can compile on the