- Posts: 887
- Thank you received: 323
Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
1 year 1 week ago #336810
by unknown
Replied by unknown on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
Cheers
Ok that worked, funny thing is the RPi5 that runs with the official image, with the kernel I built, does have /sys/kernel/realtime present.
Ahh that's right my kernel guru explained it earlier.
forum.linuxcnc.org/38-general-linuxcnc-q...6-12?start=10#315437
Now, since you mentioned 6.12.47 seemed to crash, would you think it would be an idea the pin the kernel to 6.12.34 ?
Tho there does seem to to be 6.12.54.........natively ran a build using the sources pacakge from the raspi kernel repo.
But me thinks I'll stick to the basics for the time being.
Ok that worked, funny thing is the RPi5 that runs with the official image, with the kernel I built, does have /sys/kernel/realtime present.
Ahh that's right my kernel guru explained it earlier.
forum.linuxcnc.org/38-general-linuxcnc-q...6-12?start=10#315437
Now, since you mentioned 6.12.47 seemed to crash, would you think it would be an idea the pin the kernel to 6.12.34 ?
Tho there does seem to to be 6.12.54.........natively ran a build using the sources pacakge from the raspi kernel repo.
But me thinks I'll stick to the basics for the time being.
Please Log in or Create an account to join the conversation.
1 year 1 week ago #336858
by unknown
Replied by unknown on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
Bit of an update:
Images have been created for bookworm, the only issue being:
Have to include a /etc/profile.d/linuxcnc-force-realtime.sh script to set up realtime as discussed above.
This one is the breaker for any real testing, booting to first login is to the terminal, has to be manually set for booting to desktop, then rebooted, after that everything is ok. Seeking answers via github so stay tuned.
Goal is for RPi users to feel more at home, except from the desktop change from LXDE to XFCE.
On the creators side, no having to build kernels, kernels come form the rpi repo.
Images have been created for bookworm, the only issue being:
Have to include a /etc/profile.d/linuxcnc-force-realtime.sh script to set up realtime as discussed above.
This one is the breaker for any real testing, booting to first login is to the terminal, has to be manually set for booting to desktop, then rebooted, after that everything is ok. Seeking answers via github so stay tuned.
Goal is for RPi users to feel more at home, except from the desktop change from LXDE to XFCE.
On the creators side, no having to build kernels, kernels come form the rpi repo.
Please Log in or Create an account to join the conversation.
1 year 1 week ago #336924
by unknown
Just built linuxcnc-2.9.7 on trixie, still appears to need the export, no big issue really.
Don't know if XFCE is the way to go or the LXDE version that comes with raspios.
Replied by unknown on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
which version of LinuxCNC you're on? before 2.9.5 (I think) it required /sys/kernel/realtime to be present, which is not the case in the Pi kernels. if you're on 2.9.4, you can work around it by setting LINUXCNC_FORCE_REALTIME env var to 1 (I just do 'echo "export LINUXCNC_FORCE_REALTIME=1" >/etc/profile.d/linuxcnc-force-realtime.sh'), or update to a later version.
Just built linuxcnc-2.9.7 on trixie, still appears to need the export, no big issue really.
Don't know if XFCE is the way to go or the LXDE version that comes with raspios.
Please Log in or Create an account to join the conversation.
1 year 1 week ago #336934
by f355
Replied by f355 on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
interesting, the check was removed
quite a while ago
. I wonder what else does it want.
as to LXDE vs XFCE, I'd probably go with the latter, it's true and tried, and almost no one uses the former - Pi OS uses Wayland and some Wayland-based desktop environment by default, I don't think many people switch to Xorg apart from us.
as to LXDE vs XFCE, I'd probably go with the latter, it's true and tried, and almost no one uses the former - Pi OS uses Wayland and some Wayland-based desktop environment by default, I don't think many people switch to Xorg apart from us.
Please Log in or Create an account to join the conversation.
1 year 1 week ago #336938
by unknown
Replied by unknown on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
I got pretty reasonable results on the RPi5 even with Wayland and LXDE.
Enough that software step generation might be an option for a mill. I was surprised by that.
I've had to go back to the basics with pi-gen, was having issues with it deciding to switch from the graphical target to multiuser.
I've got a bunch of images to test, so stay tuned.
But I think once this is nailed it will be easier to get reproducible results. You've convinced me regarding the kernels. So much easier. Thanks
Enough that software step generation might be an option for a mill. I was surprised by that.
I've had to go back to the basics with pi-gen, was having issues with it deciding to switch from the graphical target to multiuser.
I've got a bunch of images to test, so stay tuned.
But I think once this is nailed it will be easier to get reproducible results. You've convinced me regarding the kernels. So much easier. Thanks
The following user(s) said Thank You: f355
Please Log in or Create an account to join the conversation.
1 year 1 week ago #336975
by unknown
Replied by unknown on topic Proposal RPi Linuxcnc Image Based on Raspi OS All welcome/encoraged to comment
Image version Twenty Three gazillion.
Standard raspios desktops included plus XFCE, changed lightdm chooser to the gtk-greeter, auto login is enabled, easiest way to change desktop environment is to logout and select the desktop prior to logging in. Still working with Bookworm ATM. Needs a little polishing, need to add the environment variable for realtime, will include a config for XFCE terminal that had a few options setup. And yes I will keep Midnight commander in there, great clone of the old Norton commander dos file manager, the included editor is pretty good as well.
Standard raspios desktops included plus XFCE, changed lightdm chooser to the gtk-greeter, auto login is enabled, easiest way to change desktop environment is to logout and select the desktop prior to logging in. Still working with Bookworm ATM. Needs a little polishing, need to add the environment variable for realtime, will include a config for XFCE terminal that had a few options setup. And yes I will keep Midnight commander in there, great clone of the old Norton commander dos file manager, the included editor is pretty good as well.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds