Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5
- Wierzbowski
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
09 Feb 2024 00:24 #292898
by Wierzbowski
Replied by Wierzbowski on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
hi, could You please make step-by-step video guide for newbies how to setup raspberry pi 400/4b in order to controll cnc machine?
Please Log in or Create an account to join the conversation.
09 Feb 2024 02:10 - 09 Feb 2024 02:11 #292903
by rodw
Download the iamge
Burn do a SD card using Balena Etcher (free download windows and linux)
Boot the pi using the SD card
Log in with username/password cnc/cnc
open a terminal
type: sudo menu-config
and set up your wifi if required, locale and time zone etc. You can also change your password.
After that you have a computer with linuxcnc installed so simply refer to the docs on the LinuxCNC web site. There is a specific gpio driver for the Pi that is documented there. There is also a pi specific Mesa card but I would recommend you use a Mesa Ethernet card for future flexibility.
You can also install ethercat if you want to use it but thats not a beginners path
sudo apt install linuxcnc-ethercat (from memory)
Replied by rodw on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
I can't cos I don't have a pi. But do this:hi, could You please make step-by-step video guide for newbies how to setup raspberry pi 400/4b in order to controll cnc machine?
Download the iamge
Burn do a SD card using Balena Etcher (free download windows and linux)
Boot the pi using the SD card
Log in with username/password cnc/cnc
open a terminal
type: sudo menu-config
and set up your wifi if required, locale and time zone etc. You can also change your password.
After that you have a computer with linuxcnc installed so simply refer to the docs on the LinuxCNC web site. There is a specific gpio driver for the Pi that is documented there. There is also a pi specific Mesa card but I would recommend you use a Mesa Ethernet card for future flexibility.
You can also install ethercat if you want to use it but thats not a beginners path
sudo apt install linuxcnc-ethercat (from memory)
Last edit: 09 Feb 2024 02:11 by rodw.
The following user(s) said Thank You: Wierzbowski
Please Log in or Create an account to join the conversation.
- xenon-alien
- Offline
- Premium Member
Less
More
- Posts: 131
- Thank you received: 3
16 Apr 2024 16:13 #298382
by xenon-alien
Replied by xenon-alien on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)
My config.txt file
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)
My config.txt file
arm_64bit=1
initramfs initrd.gz followkernel
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1200
# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1920 1200 60 5 0 0 0
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
# camera
#start_x=1
#gpu_mem=128
# automatically load overlays for detected cameras
#camera_auto_detect=1
# automatically load overlays for detected DSI displays
#display_auto_detect=1
# uncomment to overclock: https://www.tomshardware.com/how-to/overclock-any-raspberry-pi
#arm_freq=
#gpu_freq=
#core_freq=
#over_voltage=
#force_turbo=1
# uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# additional overlays and parameters are documented /boot/overlays/README
# enable audio (loads snd_bcm2835)
dtparam=audio=on
# enable uart
enable_uart=0
# disable wifi and bluetooth
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt
# remove test rainbow
disable_splash=1
# disables the warning overlays
#avoid_warnings=1
[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1
[pi4]
# enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-kms-v3d
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
arm_boost=1
max_usb_current=1
Please Log in or Create an account to join the conversation.
16 Apr 2024 16:28 #298385
by elovalvo
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=190#298380
Replied by elovalvo on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=190#298380
Please Log in or Create an account to join the conversation.
03 Aug 2024 18:56 #306872
by cncmiljc
Replied by cncmiljc on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
Could anyone help, I made the image for the pi4 following the image on the official page, but it doesn't have the area for ethernet configuration, how can I solve this problem?
Please Log in or Create an account to join the conversation.
03 Aug 2024 21:57 #306884
by rodw
I am not sure if the pi is supported in their repos for Debian 12 at all
Also I doubt that a linuxcnc-ethercat driver is built for the pi either
Right now your option is to build from source
I have raised an issue with Ethercat to explore a solution for this.
Replied by rodw on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
The current 2.9.2 image needs updating to 2.9.3 but we no longer install Ethercat repositories for the Raspberry pi.Could anyone help, I made the image for the pi4 following the image on the official page, but it doesn't have the area for ethernet configuration, how can I solve this problem?
I am not sure if the pi is supported in their repos for Debian 12 at all
Also I doubt that a linuxcnc-ethercat driver is built for the pi either
Right now your option is to build from source
I have raised an issue with Ethercat to explore a solution for this.
Please Log in or Create an account to join the conversation.
03 Aug 2024 22:51 #306886
by cncmiljc
Replied by cncmiljc on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
In my case, it would be ethernet, I need the configuration area for the IP/Gateway address, that way, I can study the connection with ethernet cards.
Please Log in or Create an account to join the conversation.
03 Aug 2024 22:59 #306887
by rodw
Replied by rodw on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
read the comments on the downloads page. menu-config should do it for you.
Please Log in or Create an account to join the conversation.
12 Aug 2024 12:02 #307541
by rodw
Replied by rodw on topic Linuxcnc 2.9.2 for Raspberry Pi 4 & 5 images
updated for Linuxcnc 2.9.3
Newer kernel 6.6.44
Better screen support for the Pi5
Now includes ethercat repos. Following the sticky in th eethercat section to install/
Pi 5 Image drive.google.com/file/d/1iwQpbMoNdI6wnv7...MyZ/view?usp=sharing
Pi4 Image drive.google.com/file/d/1Fg2CPTezUyrRFrO...ytT/view?usp=sharing
Newer kernel 6.6.44
Better screen support for the Pi5
Now includes ethercat repos. Following the sticky in th eethercat section to install/
Pi 5 Image drive.google.com/file/d/1iwQpbMoNdI6wnv7...MyZ/view?usp=sharing
Pi4 Image drive.google.com/file/d/1Fg2CPTezUyrRFrO...ytT/view?usp=sharing
The following user(s) said Thank You: Aciera, flyingbrick
Please Log in or Create an account to join the conversation.
12 Aug 2024 12:12 #307542
by rodw
Replied by rodw on topic Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5
The first post has been updated to include images for 2.9.3.
The Pi 5 is tested and working.
Any feedback about the Pi4 would be appreciated
The Pi 5 is tested and working.
Any feedback about the Pi4 would be appreciated
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds