Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-28 Thread Andy Pugh


> On 28 Dec 2023, at 12:55, gene heskett  wrote:
> 
> Any chance of updating the buildbots page yellow table?

I can’t. I have no access to the buildbot. 

Anyway, the buildbot doesn’t build anything for arm64. 



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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-28 Thread gene heskett

On 12/28/23 06:46, andy pugh wrote:

On Thu, 28 Dec 2023 at 03:24, gene heskett  wrote:


All packages are up to date.
W: Skipping acquire of configured file '2.9-rt/source/Sources' as
repository 'https://www.linuxcnc.org bookworm InRelease' does not seem
to provide it (sources.list entry misspelt?)


There isn't a 2.9-rt for Pi, only a 2.9-uspace.
You can remove 2.9-rt from the sources.list.d if that message bothers you.

Any chance of updating the buildbots page yellow table?, I'd druther get 
the daily builds of master in uspace mode.


Thanks Andy.

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



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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-28 Thread Rob M
Ahhh I've given up on anything happening for the RPi5 regarding the SPI
stuff.
Going my own way with a "roll my own" EPP card, got a little HP T610 Plus
that should be fine for running the
'53 based Myford ML7\Super 7 abomination. Or a J dual core celeron
board that gathering dust after jumping onto
the Odroid bandwagon.

On Thu, Dec 28, 2023 at 7:54 PM gene heskett  wrote:

> On 12/28/23 02:34, Rod Webster wrote:
> > The Pi image is forked from here
> https://github.com/pyavitz/rpi-img-builder
> > It is based on the official Raspberry Pi kernel
> > https://github.com/raspberrypi/linux (rpi-6.1-y branch ) with Debian
> > Bookworm wrapped around it. It uses a cross compilation environment so it
> > gets built on x86 hardware.
> > It has a good scripting environment that allows us to install linuxcnc as
> > part of the build process..
> > The download page desperately needs a paragraph outlining the username
> > (cnc) and password (cnc) and the need to run sudo menu-config to complete
> > the build.
> > I have no idea where the source is for that page or I would do a PR.
> > Builds for both the pi4b/400 and the pi5 are supported by setting the
> board
> > parameter at build time. The Pi4 version supports the gpiod driver which
> is
> > documented. https://linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
> Humm, apparently rpspi.ko is still part of linuxcnc. My lathe is running
> just fine but the gpio driver it is running on to drive a mesa 7i90HD is
> not this new one but the rpspi.ko that Bertho Stultans wrote back in
> 2017 or 2018, then rewrote in 2020 for the rpi4b when I got an rpi4b.
> And he was nice enough 4 yeas ago, and could probably update it for
> rpi5's if asked and has the data for the version in the rpi5.
>
> Running it from my buster config, it runs well and claims its master
> 2.10-pre which would be an armhf build. But its ONLY my config copied
> back into the sdcard after Rod's image was written to it. Its the
> linuxcnc Rod put in the image.
>
> So, what do I need to do to put the the
> /etc/apt/sources.list.d/linuxcnc.list for linuxcnc back on the arm64
> master build version AND get and install the proper keyfiles so apt will
> accept it?
>
> The install instructs stops coming forward at buster. Definitely out of
> date now.
>
> > Preempt_rt patches are supported but the challenge here is always to
> match
> > the kernel being built with the patched RT version. We can specify the
> > commit to pull so we can match to the RT patch but currently, the latest
> > kernels that have been patched have not been merged into the pi source.
> >
> > As far as spi and gpio on the pi5 go, that board was never in scope. It
> is
> > up to the devs to devise appropriate drivers as its out of scope of the
> > installer.
>
> Expected.
>
> > Rod Webster
> > *1300 896 832*
> > +61 435 765 611
> > Vehicle Modifications Network
> > www.vehiclemods.net.au
>
> 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
>
>
>
> ___
> 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] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-28 Thread gene heskett

On 12/28/23 02:34, Rod Webster wrote:

The Pi image is forked from here https://github.com/pyavitz/rpi-img-builder
It is based on the official Raspberry Pi kernel
https://github.com/raspberrypi/linux (rpi-6.1-y branch ) with Debian
Bookworm wrapped around it. It uses a cross compilation environment so it
gets built on x86 hardware.
It has a good scripting environment that allows us to install linuxcnc as
part of the build process..
The download page desperately needs a paragraph outlining the username
(cnc) and password (cnc) and the need to run sudo menu-config to complete
the build.
I have no idea where the source is for that page or I would do a PR.
Builds for both the pi4b/400 and the pi5 are supported by setting the board
parameter at build time. The Pi4 version supports the gpiod driver which is
documented. https://linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
Humm, apparently rpspi.ko is still part of linuxcnc. My lathe is running 
just fine but the gpio driver it is running on to drive a mesa 7i90HD is 
not this new one but the rpspi.ko that Bertho Stultans wrote back in 
2017 or 2018, then rewrote in 2020 for the rpi4b when I got an rpi4b. 
And he was nice enough 4 yeas ago, and could probably update it for 
rpi5's if asked and has the data for the version in the rpi5.


Running it from my buster config, it runs well and claims its master 
2.10-pre which would be an armhf build. But its ONLY my config copied 
back into the sdcard after Rod's image was written to it. Its the 
linuxcnc Rod put in the image.


So, what do I need to do to put the the 
/etc/apt/sources.list.d/linuxcnc.list for linuxcnc back on the arm64 
master build version AND get and install the proper keyfiles so apt will 
accept it?


The install instructs stops coming forward at buster. Definitely out of 
date now.



Preempt_rt patches are supported but the challenge here is always to match
the kernel being built with the patched RT version. We can specify the
commit to pull so we can match to the RT patch but currently, the latest
kernels that have been patched have not been merged into the pi source.

As far as spi and gpio on the pi5 go, that board was never in scope. It is
up to the devs to devise appropriate drivers as its out of scope of the
installer.


Expected.


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


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



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


Re: [Emc-developers] RPi5 + Raspbian + LinuxCNC latency tests-firstimpressions

2023-12-27 Thread gene heskett

On 12/27/23 23:44, gene heskett wrote:

On 12/27/23 22:33, Rob M wrote:

Gene are you after a PC image or a Pi image ?

rpi4 here.

Or have you made a type with the amd64 bit ?

No, arm64.


I must admit with the "role your image utility" rod uses the locale 
things

is a bit messy & seems to do what it wants.
I've made images usingthe same method and it's felt a bit "hit & miss"
getting the locale thing correct. Half the issue is a that you expect 
it to

work like an RPi image but it's not based on any of the RPi images by
"The Foundation", tho the kernel and some utilities come from there there
does seem to be some "magic sauce" missing.


Yes they are very against anything realtime. Mention it the 3rd time and 
get banned from thier forum for life. So when I first did this in about 
late 2017 on an rpi3b, I built my own 4.19-rt kernel but had no clue how 
to install it. So I pulled a tarball together that was only the lib and 
/boot stuff from those 2 directories of the build, which I actually did 
on the pi. The plain, no gzip tarball is about 28 megs, and I installed 
it by mounting the sd-card in a reader, and using mc, copied the lib 
subdir of the tarball to the /lib of the card, and the same with the 
/boot stuff. Put the card back in the pi's socket, it booted my kernel & 
ran that way till the rpi4 came out, 2 years or so.  Since I do my 
building on an SSD, much faster than the SD card and it mounted to the 
rpi4 with a usb to sata cable, installing on the rpi4 was essentially a 
wash, rinse and repeat but much faster with the 4's usb 3 sockets. That 
was in Feb 2020.


Its been running an updated master of linuxcnc since.  And doing stuff 
it could not do when assembled in Chicago in the late '40's.
But the image now on the card has the first 2.9 release and I'd like to 
go back to master & continue with what I call the canary in the coal 
mine duties for linuxcnc.  When I get that done, trixie will probably be 
out, and the buster on my 3 wintel machines is getting stale so I'll 
bring them up to trixie, if I don't miss roll call first, a possibility 
since my next b-day will be the 90th. Got hardware keeping me alive now, 
pacemaker and a TAVR valve in my heart. 5 or 6 years left on each ;o)>




So I goto linuxcnx.org & hunt up the 291 announcement, and the first 
thing I see when I find the build bot link is to install its key which 
is different foom the other one.  But on execing the get key phrase, I'm 
greeted with:
cnc@rpi4:/etc$ sudo apt-key adv --keyserver hkp://keys.openpgp.org 
--recv-key EF1B07FEE0EE663E
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d 
instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.xOf7G6JcDy/gpg.1.sh --keyserver 
hkp://keys.openpgp.org --recv-key EF1B07FEE0EE663E

gpg: key EF1B07FEE0EE663E: new key but contains no user ID - skipped
gpg: Total number processed: 1
gpg:   w/o user IDs: 1

Reading the above its been deprecated, the man page agrees but offers 
NDA while the other man pages still say to use it. but no one has told 
the other apt man 8 pages. So how is this done now?


On Thu, Dec 28, 2023 at 1:53 PM gene heskett  
wrote:



On 12/27/23 20:18, andy pugh wrote:

On Thu, 28 Dec 2023 at 01:15, andy pugh  wrote:




http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_raspberry_pi_image


Sorry, the link to the image is higher up the same page:


http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html#_normal_download



Sorry, I went there and not wanting to waste the pi's card, I installed
zsync on this machine too, then copy/pasted the download line, but it
quickly failed:
gene@coyote:~$ zsync
https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso
failed on url 
https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso

could not read control file from URL
https://www.linuxcnc.org/iso/linuxcnc_2.9.1-amd64.hybrid.iso

What do I do next?

Thanks all

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



___
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.


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



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net