Re: [Emc-developers] wiped out lcnc on my pi

2023-09-19 Thread gene heskett
On 9/18/23 23:32, Rod Webster wrote: Gene, Use this link. https://drive.google.com/drive/folders/1Bv4ceKAa0nYwDvc5eVNYFtU24PQGjKfQ I rebuilt the image last night as there was an update to the PREEMPT_RT patch. Got it coming in now, thanks Rod. Got it. It will be interesting to see what debian

Re: [Emc-developers] wiped out lcnc on my pi

2023-09-19 Thread Rod Webster
Gene, You don't miss much! But there is a reason. The last release of the 6.1 PREEMPT_RT patch was for kernel 6.1.46. We pull the Raspberry kernel code at the commit that merged that version of the kernel into their mainline. I think they are up to about 6.1.53 or so now in their mainline. We ha

Re: [Emc-developers] wiped out lcnc on my pi

2023-09-19 Thread gene heskett
On 9/17/23 18:18, andy pugh wrote: On Sun, 17 Sept 2023 at 22:24, gene heskett wrote: Try libgpiod2 for Buster. The gpiod team have done some rather odd things with their versioning. https://packages.debian.org/buster/libs/libgpiod2 Same error, not available. It's right there! If Apt can't

Re: [Emc-developers] wiped out lcnc on my pi

2023-09-19 Thread gene heskett
On 9/19/23 11:22, gene heskett wrote: On 9/17/23 18:18, andy pugh wrote: On Sun, 17 Sept 2023 at 22:24, gene heskett wrote: Try libgpiod2 for Buster. The gpiod team have done some rather odd things with their versioning. https://packages.debian.org/buster/libs/libgpiod2 Same error, not avai

Re: [Emc-developers] wiped out lcnc on my pi

2023-09-19 Thread Rod Webster
>I may do better than that, Rod W, has been kind enough to make me a >bookworm image to try. But ATM I have another iron in the fire so it >will be another couple of days to see how it works, Gene, just to clarify, my image is pure Debian 12 so anything in Debian will be available. But the kernel

Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-09-19 Thread Alec Ari via Emc-developers
The kernel switched to GNU11 with 5.18. RTAI is still 4.19 and 5.4, meaning all kernel space needs to be gnu89: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=linux-4.19.y&id=dd5638bc06a6bf3f5ca1a134960911dc49484386#n375 https://git.kernel.org/pub/scm/linux/kern

Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-09-19 Thread andy pugh
On Tue, 19 Sept 2023 at 23:12, Alec Ari via Emc-developers wrote: > LinuxCNC may set -std=gnu11 however that covers userspace only (i.e. > PREEMPT_RT builds.) > > All kernel modules are still gnu89. Do you know where that is configured? And can it be changed? According to https://www.kernel.o

Re: [Emc-developers] RTAI broken again with LinuxCNC

2023-09-19 Thread Alec Ari via Emc-developers
See the links I posted, they link to the lines in the kernel Makefile, that's where the gnu89 is coming from. Seriously though, the proper way to fix this is to not use c11/gnu11 with 4.19 or 5.4 kernel sources. It probably won't even work and shouldn't be tried. 4.19 and 5.4 use gnu89. https: