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