Re: [Emc-users] 12-M99-endless-main-program test fa

2023-08-12 Thread alanmthomason--- via Emc-users
Hi Gene...

I might have to leave my path of using the beaglebone for now and switch to
the Raspberry Pi.  Do you have any notes on how you reached your success?
For instance, where did you get or how did you make your real time image
etc.  Or perhaps just point me to a recent set of notes for the
RPi/LinuxCNC.

Thanks very much,
Alan

-Original Message-
From: gene heskett  
Sent: Friday, August 11, 2023 10:56 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] 12-M99-endless-main-program test fa

On 8/11/23 22:06, gene heskett wrote:
> On 8/11/23 11:59, andy pugh wrote:
>> On Fri, 11 Aug 2023 at 16:41, gene heskett  wrote:
>>
>>> Same thing here Andy. but now I don't have the rest of this planets 
>>> languages installed, so how do I tell dpkg-buildpackage to build 
>>> OMLY english, utf-8 docs, Its (make-buster-debs) dying on the .de docs
now.
>>
>> It's probably easier to skip building docs.
>>
>> ./configure --enable-build-documentation=no
>>
>>
> Andy, I added that to the ./configure line, but it had no effect.
> #!/bin/bash
> # converted to relative cd-ing
> cd buster-linuxcnc/debian
> ./configure uspace --enable-build-documentation=no cd ..
> echo 5 `pwd`
> dpkg-checkbuilddeps
> echo 7 `pwd`
> dpkg-buildpackage -b -uc
> cd ..
> mv *.deb buster-lcnc-debs/
> 
> Same exact exit, same elapsed time.
> but now emits this:
> pi@rpi4:/media/pi/workspace $ time ./buster-make-debs.sh uspace is 
> accepted for compatibility, but ignored Unknown option: 
> --enable-build-documentation=no
> 
> stepped by hand, ./configure --help says its no-docs, so fixed script, 
> trying again. No complaints from ./configure.
> 
> previous post about this seems to have vanished into a black hole.
> 
> Cheers, Gene Heskett.

Success Andy, built, installed, running. 35 minutes on my rpi4b.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis
Genes Web page 



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 12-M99-endless-main-program test fa

2023-08-12 Thread gene heskett

On 8/12/23 09:55, alanmthomason--- via Emc-users wrote:

Hi Gene...

I might have to leave my path of using the beaglebone for now and switch to
the Raspberry Pi.  Do you have any notes on how you reached your success?


All lost in 2 new seacrates dieing in a weeks time. Only 2 spinning rust 
drives now exist in my whole local network, its nearly all SSD's now. 
And there is zero help from the foundation as real time discussions are 
verboten on their forum, insist and you'll get black holed like I was 5 
years ago.


What I can do if your mailbox is big enough, is email you a 28 meg 
tarball, that if unpacked to a full desktop image of buster, installs 
this kernel:
Linux rpi4.coyote.den 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Thu Feb 6 
07:09:18 EST 2020 armv7l GNU/Linux

it might even work on bullseye.

But today, buster is history, and bullseye will be before long, I've 
been advised that linuxcnc installs and runs on a debian arm64 bookworm 
install.  How well IDK as I've not done it, yet...


I'm now 88 and beginning to feel the effects of age and long term 
diabetes, type 2. I originally did this on an rpi3b, but it stuttered a 
bit, and when the faster rpi4b came out, I recompiled the kernel for it, 
in armhf flavor, and its running quite well since that 2020 date.


I'm also using an interface (7i90HD+3 7i42TA's) that is out of stock at 
mesa, but its spi interface is what runs my old sheldon, leaving full 
network capability of the pi intact, I could, if firefox wasn't such an 
irq hog, browse the rest of the planet and make swarf at the same time. 
So basically if linuxcnc is running, I don't run firefox, and vice-versa.


On a slightly off topic but you might find it helpful, both motors on 
the Sheldon are 3 phase stepper/servo's, which have 2 added advantages.
They self contain the pid's, so linuxcnc does not need them, helping the 
real time quite a bit, and 2, they control the motor coil current with 
the pid error. Thats huge, motors that if used as normal steppers have 
to run at full current and will run burn your hand hot. These motors, 
unless working really at their limits, run at maybe 10F over room 
ambient.  I have 4 in service, the other 2 are on a 6040 as Z and B.
Z is a 1mn replacing the one that came with the 6040 but which had 
trouble lifting its water cooled spindle at reasonable speeds, the 1nm 
hasn't refused anything I've fed it in gcode.


The B is doing an unusual job, its a 3nm version, also 3 phase but 2 
phase wasn't available till a year later, turning a small 5/1 worm which 
is turning a square socket I printed, at up to 400 rpms although it gets 
pretty warm so my job only spins it about 300 for about 3 hours non stop 
as its putting the finishing touches of a 6mm, 2 start buttress thread 
with a 12mm pitch, making screws for a woodworkers big vise out of hard 
maple.  Cuts one thread going down, advances 180 degrees and comes back 
doing the 2nd start.  A 5th like that B is on a kitchen table, will go 
on my g0704 as B when I locate a suitable chuck.  Or print one.


Linuxcnc is now available from the bookworm repo's, version 2.9.0.
I am not running that release, but the master, which will eventually be 
the next release. I serve as the coal mine canary, updating all my 
machines to master as its being written, to serve as an early warning 
what such and such is upchucking. These guys are good, I've only found 2 
such instances in the 15 years I've been running master.


By now you are likely bored, but jump right in, I'll help if I can.


For instance, where did you get or how did you make your real time image
etc.  Or perhaps just point me to a recent set of notes for the
RPi/LinuxCNC.

Thanks very much,
Alan

-Original Message-
From: gene heskett 
Sent: Friday, August 11, 2023 10:56 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] 12-M99-endless-main-program test fa

On 8/11/23 22:06, gene heskett wrote:

On 8/11/23 11:59, andy pugh wrote:

On Fri, 11 Aug 2023 at 16:41, gene heskett  wrote:


Same thing here Andy. but now I don't have the rest of this planets
languages installed, so how do I tell dpkg-buildpackage to build
OMLY english, utf-8 docs, Its (make-buster-debs) dying on the .de docs

now.


It's probably easier to skip building docs.

./configure --enable-build-documentation=no



Andy, I added that to the ./configure line, but it had no effect.
#!/bin/bash
# converted to relative cd-ing
cd buster-linuxcnc/debian
./configure uspace --enable-build-documentation=no cd ..
echo 5 `pwd`
dpkg-checkbuilddeps
echo 7 `pwd`
dpkg-buildpackage -b -uc
cd ..
mv *.deb buster-lcnc-debs/

Same exact exit, same elapsed time.
but now emits this:
pi@rpi4:/media/pi/workspace $ time ./buster-make-debs.sh uspace is
accepted for compatibility, but ignored Unknown option:
--enable-build-documentation=no

stepped by hand, ./configure --help says its no-docs, so fixed script,
trying again. No complaints from ./configure.

previous post about this seems to