LinuxCNC on Raspberry Pi 5
- cakeslob
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 922
- Thank you received: 275
			
	
						11 Feb 2025 15:16				#321237
		by cakeslob
	
	
		
			
	
	
			 		
													
	
				Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5			
			
					
		The following user(s) said Thank You: jairobbo 	
			Please Log in or Create an account to join the conversation.
- jairobbo
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 18
- Thank you received: 4
			
	
						12 Feb 2025 16:08		 -  12 Feb 2025 16:11		#321352
		by jairobbo
	
	
		
			
	
	
			 		
													
	
				Replied by jairobbo on topic LinuxCNC on Raspberry Pi 5			
			
				I spent some hours..
1) flashed the octopus MCU with dfu-util
2) draft version of HAL and INI files done
3) wiring pi5 correctly to the octopus
4) pi5 is running remora flexi os
The error is from linux cnc when it loads my config: joint.5.scale pin doesnt exist. If I do a show pin with halcmd it shows a bunch of joints unit joint.4.
HAL file
INI file
					1) flashed the octopus MCU with dfu-util
2) draft version of HAL and INI files done
3) wiring pi5 correctly to the octopus
4) pi5 is running remora flexi os
The error is from linux cnc when it loads my config: joint.5.scale pin doesnt exist. If I do a show pin with halcmd it shows a bunch of joints unit joint.4.
HAL file
INI file
		Last edit: 12 Feb 2025 16:11  by jairobbo.			
			Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 922
- Thank you received: 275
			
	
						12 Feb 2025 16:56				#321354
		by cakeslob
	
	
		
			
	
	
			 		
													
	
				Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5			
			
				bring your remora related discussion into this thread
www.forum.linuxcnc.org/18-computer/42276...rocontroller-via-spi
and upload your hal/ini files using the forums attachments please
					www.forum.linuxcnc.org/18-computer/42276...rocontroller-via-spi
and upload your hal/ini files using the forums attachments please
		The following user(s) said Thank You: jairobbo 	
			Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 659
- Thank you received: 408
			
	
						08 Oct 2025 16:12		 -  08 Oct 2025 16:14		#336104
		by meister
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by meister on topic LinuxCNC on Raspberry Pi 5			
			
					Attachments:
		Last edit: 08 Oct 2025 16:14  by meister.			
			Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 659
- Thank you received: 408
			
	
						08 Oct 2025 18:49		 -  08 Oct 2025 18:51		#336111
		by meister
	
	
		
			
	
	
			 		
													
	
				Replied by meister on topic LinuxCNC on Raspberry Pi 5			
			
				to make the NVME working on the original linuxcnc rpi image,
i need to add this options to /boot/broadcom/cmdline.txt:
the 2nd ethernet-port works out of the box (eth1)
i used this for the normal network and eth0 for the FPGA connection:
			
					i need to add this options to /boot/broadcom/cmdline.txt:
nvme_core.default_ps_max_latency_us=0 pcie_aspm=offcnc@raspberrypi:~$ cat /boot/broadcom/cmdline.txt
console=serial0,115200 console=tty1 root=PARTUUID=a27d77aa-02 rootfstype=ext4 fsck.repair=yes loglevel=5 nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off net.ifnames=0 processor.max_cstate=1 isolcpus=2,3 firmware_class.path=/lib/firmware/updates/brcm rootwaitthe 2nd ethernet-port works out of the box (eth1)
i used this for the normal network and eth0 for the FPGA connection:
cnc@raspberrypi:~$ cat /etc/network/interfaces
# Interfaces
source /etc/network/interfaces.d/*
# Loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
    address 192.168.11.11
    netmask 255.255.255.0
    hardware-irq-coalesce-rx-usecs 0
auto eth1
iface eth1 inet dhcp
		Last edit: 08 Oct 2025 18:51  by meister.			
			Please Log in or Create an account to join the conversation.
- meister
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 659
- Thank you received: 408
			
	
						11 Oct 2025 17:54				#336285
		by meister
	
	
		
			
	
			
			 		
													
	
				Replied by meister on topic LinuxCNC on Raspberry Pi 5			
			
				i build a new component to use the I2C port on the RPI4/5 for extra Digital-IO's and ADC's
can be used standalone, no rio needed: github.com/multigcs/riocore/blob/dev/rio...ins/rpii2c/rpii2c.py
					can be used standalone, no rio needed: github.com/multigcs/riocore/blob/dev/rio...ins/rpii2c/rpii2c.py
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 717
- Thank you received: 236
			
	
						11 Oct 2025 21:45				#336298
		by unknown
	
	
		
			
	
			
			 		
													
	
				Replied by unknown on topic LinuxCNC on Raspberry Pi 5			
			
				First of all I really want to say thanks for all the work you've put into your projects, you really deserve a couple of beers, if that's your poison  or a least a good coffee, damn mate whatever you like to drink. Honestly thanks.
 or a least a good coffee, damn mate whatever you like to drink. Honestly thanks.
Haven't had a chance to use it or try it out but it looks great. One of the things that has been missing for the RPi IMHO, would be great to see in the mainline Linuxcnc tree.
Would be great if you could add this to the RPi "mega thread" and I'll add a link in the index.
Now a request for an extra feature, any chance for ADC support. Would be great for things that a user wants or needs an analogue input.
					 or a least a good coffee, damn mate whatever you like to drink. Honestly thanks.
 or a least a good coffee, damn mate whatever you like to drink. Honestly thanks.Haven't had a chance to use it or try it out but it looks great. One of the things that has been missing for the RPi IMHO, would be great to see in the mainline Linuxcnc tree.
Would be great if you could add this to the RPi "mega thread" and I'll add a link in the index.
Now a request for an extra feature, any chance for ADC support. Would be great for things that a user wants or needs an analogue input.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 717
- Thank you received: 236
			
	
						14 Oct 2025 06:19				#336409
		by unknown
	
	
		
			
	
			
			 		
													
	
				Replied by unknown on topic LinuxCNC on Raspberry Pi 5			
			
				D'oh
really got to stop trying to use forum on my phone.
					really got to stop trying to use forum on my phone.
Please Log in or Create an account to join the conversation.
		Time to create page: 0.215 seconds	
 
													 
	 
	 
	