Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread Rod Webster
Gene,
I would hold off on Armbian for now. The only way you can get PREEMPT_RT
onto Armbian now is via the Armbian build environment. When I tried, it did
not work out. You can't simply install PREEMPT_RT from the repos. One of
the Armbian devs is working on a  more automated approach but it's not
ready yet. He was going to include parameters to also build linuxcnc as
part of his project.

Also, Armbian also has binary images  based on Debian Bookworm with XFCE so
I would go that route if you do have a play.


Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Wed, 19 Jul 2023 at 10:35, gene heskett  wrote:

> On 7/18/23 17:54, andy pugh wrote:
> > On Tue, 18 Jul 2023 at 21:43, Rod Webster 
> wrote:
> >
> >> There is not a v 2.9 buildbot for the Pi so I think it requires building
> >> from source.
> >
> > I don't think that there is one that builds for a 64 bit kernel, or
> > for Bookworm, so you are correct.
> >
> > sudo apt-get install build-essential git git-gui
> > git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
> > cd linuxcnc-dev
> > git checkout 2.9
> > git pull
> >
> > Now get the dependencies
> >
> > ./debian/configure
> > dpkg-checkbuilddeps
> >
> > Copy the list
> > sudo apt-get install {paste the list, then edit the list to remove
> > brackets, versions, alternatives)
> >
> > Now you can compile
> >
> > cd src
> > ./autogen.sh
> > ./configure
> > make
> > sudo make setuid
> >
> > This will be a run-in-place, so then
> >
> > . ../scripts rip-environment
> > linuxcnc
> >
> >
> Andy, this, since its too late to build for buster, seems like a good
> excuse to swap out the rpi4 for a bananapi-m5 which is more pi than the
> pi since it can run at 2 ghz, but is short the radio, which since I'm
> using rpspi for the machine interface is not a showstopper The bpi's are
> running my 3d printers right nicely. The only problem in my case might
> be the address of the gpio chip as its now a 3399. armbian has switched
> to ubuntu/jammy. With this kernel:
>
> Linux bpi52 6.1.30-meson64 #8 SMP PREEMPT Wed May 24 16:32:53 UTC 2023
> aarch64 aarch64 aarch64 GNU/Linux.
>
> Thoughts?
>
> Thanks.
>
>
> 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-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread gene heskett

On 7/18/23 18:13, Rod Webster wrote:

Andy, thanks. I know how to build it, and have done it on the pi.

My understanding is the buildbot blockage is because it has been running on
a pi which is clearly not desirable.


Why not, Rod? My experience here is that the uptimes are from power 
failure that outlasts the ups to the next one. I have a 5 amp 5 volt 
supply for it, a ups that shuts down in 2 minutes, and a nat gas burning 
20kw standby that starts and is delivering power in 5 secs. So 
effectively the pi never sees a power failure.


Serious overkill, but its bulletproof. But some of the other pi clones 
are now outrunning the rpi4b.  And one bananai-m5, running bare w/o heat 
sinks, has been running a 3d printer for about 6 weeks, probably with 
about that many reboots because jammy has way more update traffic than 
debian.



I wonder if Sebs new buildbot  could build for the pi using  the Raspberry
cross compilation method as I mentioned in
https://github.com/LinuxCNC/linuxcnc/issues/2349
Have a look at David Smith's Repo I linked to and his upstream source.
You just need to update the userpatches and this script
https://github.com/djsftree/rpi-img-builder/blob/master/files/userscripts/uscripts

In the past when I ran this, we were constrained because we needed vtk for
python and it took many hours to build. Now I think it's included in the
Debian 12 repositories.




Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Wed, 19 Jul 2023 at 07:54, andy pugh  wrote:


On Tue, 18 Jul 2023 at 21:43, Rod Webster  wrote:


There is not a v 2.9 buildbot for the Pi so I think it requires building
from source.


I don't think that there is one that builds for a 64 bit kernel, or
for Bookworm, so you are correct.

sudo apt-get install build-essential git git-gui
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout 2.9
git pull

Now get the dependencies

./debian/configure
dpkg-checkbuilddeps

Copy the list
sudo apt-get install {paste the list, then edit the list to remove
brackets, versions, alternatives)

Now you can compile

cd src
./autogen.sh
./configure
make
sudo make setuid

This will be a run-in-place, so then

. ../scripts rip-environment
linuxcnc


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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



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


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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread gene heskett

On 7/18/23 17:54, andy pugh wrote:

On Tue, 18 Jul 2023 at 21:43, Rod Webster  wrote:


There is not a v 2.9 buildbot for the Pi so I think it requires building
from source.


I don't think that there is one that builds for a 64 bit kernel, or
for Bookworm, so you are correct.

sudo apt-get install build-essential git git-gui
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout 2.9
git pull

Now get the dependencies

./debian/configure
dpkg-checkbuilddeps

Copy the list
sudo apt-get install {paste the list, then edit the list to remove
brackets, versions, alternatives)

Now you can compile

cd src
./autogen.sh
./configure
make
sudo make setuid

This will be a run-in-place, so then

. ../scripts rip-environment
linuxcnc


Andy, this, since its too late to build for buster, seems like a good 
excuse to swap out the rpi4 for a bananapi-m5 which is more pi than the 
pi since it can run at 2 ghz, but is short the radio, which since I'm 
using rpspi for the machine interface is not a showstopper The bpi's are 
running my 3d printers right nicely. The only problem in my case might 
be the address of the gpio chip as its now a 3399. armbian has switched 
to ubuntu/jammy. With this kernel:


Linux bpi52 6.1.30-meson64 #8 SMP PREEMPT Wed May 24 16:32:53 UTC 2023 
aarch64 aarch64 aarch64 GNU/Linux.


Thoughts?

Thanks.


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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread Rod Webster
Andy, thanks. I know how to build it, and have done it on the pi.

My understanding is the buildbot blockage is because it has been running on
a pi which is clearly not desirable.
I wonder if Sebs new buildbot  could build for the pi using  the Raspberry
cross compilation method as I mentioned in
https://github.com/LinuxCNC/linuxcnc/issues/2349
Have a look at David Smith's Repo I linked to and his upstream source.
You just need to update the userpatches and this script
https://github.com/djsftree/rpi-img-builder/blob/master/files/userscripts/uscripts

In the past when I ran this, we were constrained because we needed vtk for
python and it took many hours to build. Now I think it's included in the
Debian 12 repositories.




Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Wed, 19 Jul 2023 at 07:54, andy pugh  wrote:

> On Tue, 18 Jul 2023 at 21:43, Rod Webster  wrote:
>
> > There is not a v 2.9 buildbot for the Pi so I think it requires building
> > from source.
>
> I don't think that there is one that builds for a 64 bit kernel, or
> for Bookworm, so you are correct.
>
> sudo apt-get install build-essential git git-gui
> git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
> cd linuxcnc-dev
> git checkout 2.9
> git pull
>
> Now get the dependencies
>
> ./debian/configure
> dpkg-checkbuilddeps
>
> Copy the list
> sudo apt-get install {paste the list, then edit the list to remove
> brackets, versions, alternatives)
>
> Now you can compile
>
> cd src
> ./autogen.sh
> ./configure
> make
> sudo make setuid
>
> This will be a run-in-place, so then
>
> . ../scripts rip-environment
> linuxcnc
>
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread andy pugh
On Tue, 18 Jul 2023 at 21:43, Rod Webster  wrote:

> There is not a v 2.9 buildbot for the Pi so I think it requires building
> from source.

I don't think that there is one that builds for a 64 bit kernel, or
for Bookworm, so you are correct.

sudo apt-get install build-essential git git-gui
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout 2.9
git pull

Now get the dependencies

./debian/configure
dpkg-checkbuilddeps

Copy the list
sudo apt-get install {paste the list, then edit the list to remove
brackets, versions, alternatives)

Now you can compile

cd src
./autogen.sh
./configure
make
sudo make setuid

This will be a run-in-place, so then

. ../scripts rip-environment
linuxcnc


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread Rod Webster
Andy, now the bug that caused you to write these docs is fixed, how does a
raspberry pi user on Bookworm update his version of linuxcnc?
There is not a v 2.9 buildbot for the Pi so I think it requires building
from source.

Rod Webster
*1300 896 832*
+61 435 765 611
Vehicle Modifications Network
www.vehiclemods.net.au


On Wed, 19 Jul 2023 at 00:36, Petter Reinholdtsen  wrote:

> [Hans Unzner]
> > I think you have to add that file to the po4a config file.
>
> Absolutely.  And I recommend to create it in adoc format under
> docs/src/man/ instead of in roff format under docs/man/.
>
> --
> Happy hacking
> Petter Reinholdtsen
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-18 Thread Petter Reinholdtsen
[Hans Unzner]
> I think you have to add that file to the po4a config file.

Absolutely.  And I recommend to create it in adoc format under
docs/src/man/ instead of in roff format under docs/man/.

-- 
Happy hacking
Petter Reinholdtsen


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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-17 Thread andy pugh
On Mon, 17 Jul 2023 at 19:21, Hans Unzner  wrote:
>
> I think you have to add that file to the po4a config file.

It seems that was the problem, docs now build:
http://linuxcnc.org/docs/2.9/html/drivers/hal_pi_gpio.html
-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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


Re: [Emc-developers] Sorry, I broke the builds.

2023-07-17 Thread Hans Unzner
I think you have to add that file to the po4a config file.

Am Montag, 17. Juli 2023 schrieb andy pugh :
> It looks like there is more to adding a new manpage than I thought.
>
> The docs built cleanly on my own system, so I thought I had fixed the
problem.
>
> But:
https://github.com/LinuxCNC/linuxcnc/actions/runs/5570182837/jobs/10174043254
>
> Do I need to create files for every language, and add them into the
makefile?
>
> Is there a page somewhere describing the steps to adding a new page to
> the docs?
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

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


[Emc-developers] Sorry, I broke the builds.

2023-07-16 Thread andy pugh
It looks like there is more to adding a new manpage than I thought.

The docs built cleanly on my own system, so I thought I had fixed the problem.

But: 
https://github.com/LinuxCNC/linuxcnc/actions/runs/5570182837/jobs/10174043254

Do I need to create files for every language, and add them into the makefile?

Is there a page somewhere describing the steps to adding a new page to
the docs?

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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