Advanced Search

Search Results (Searched for: raspberry)

19 Nov 2023 23:13

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I'm new here. You guys are amazing to be honest.

On the fence about buying a Pi5 rather than using one of my existing PC's for my first controller, I guess I'll wait a few weeks (need to truck my new machine home) and see how we are going then.

Thanks again, what a great community here.
19 Nov 2023 21:51

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Only by building Linuxcnc yourself and patching the code for the hm2_spi driver.
I think it’s going to be a low priority for the devs unless someone who’s name ain’t mud makes some noise about it.

So mate it looks like it’s going to be up to you.
19 Nov 2023 18:16
Replied by Calysto on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Does that mean we can use a mesa-spi card together with a rpi5? Tomorrow I will try mine (7c80). The image rodw made, looks and works promising!
On a Rpi4 a could not make use of USB3 speed together with my SSD, now I can!
18 Nov 2023 10:54

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Update to forum.linuxcnc.org/9-installing-linuxcnc...pi-5?start=20#285814

patched hm2_spi to force 8 bit words and driver does load.
18 Nov 2023 10:47

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Neither does hm2_spi work.
alcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_spi spidev_path=/dev/spidev0.1 
probe 24000000
hm2/hm2_7i90.0: Low Level init 0.15
hm2/hm2_7i90.0: invalid IDROM PortWidth 0, this board has 24 pins per connector, aborting load
hm2/hm2_7i90.0: IDRom:
hm2/hm2_7i90.0:     IDRom Type: 0x9009374D
hm2/hm2_7i90.0:     Offset to Modules: 0x00184803
hm2/hm2_7i90.0:     Offset to Pin Description: 0x00400400
hm2/hm2_7i90.0:     Board Name: 
hm2/hm2_7i90.0:     FPGA Size: 0
hm2/hm2_7i90.0:     FPGA Pins: 0
hm2/hm2_7i90.0:     Port Width: 0
hm2/hm2_7i90.0:     IO Ports: 0
hm2/hm2_7i90.0:     IO Width: 0
hm2/hm2_7i90.0:     Clock Low: 0 Hz (0 KHz, 0 MHz)
hm2/hm2_7i90.0:     Clock High: 0 Hz (0 KHz, 0 MHz)
hm2/hm2_7i90.0:     Instance Stride 0: 0x00000000
hm2/hm2_7i90.0:     Instance Stride 1: 0x00000000
hm2/hm2_7i90.0:     Register Stride 0: 0x00000000
hm2/hm2_7i90.0:     Register Stride 1: 0x00000000
hm2_spi: rtapi_app_main: Invalid argument (-22)
<stdin>:2: waitpid failed /home/cnc/linuxcnc-dev/bin/rtapi_app hm2_spi
<stdin>:2: /home/cnc/linuxcnc-dev/bin/rtapi_app exited without becoming ready
<stdin>:2: insmod for hm2_spi failed, returned -1

I had to patch the mesaflash code to use 8 bit words to even get that to talk to a 7i90
18 Nov 2023 10:06 - 18 Nov 2023 11:42
Replied by Calysto on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

What's the difference between hm2_rpspi and hm2_spi? As far as I know I only use hm2_spi.

edit:
answer:"The hm2_rpspi HAL driver does not use /dev/spi, instead it enables and
talks to the SPI hardware directly, so it works even if the Linux kernel
doesn't know about the SPI hardware."

But why shouldn't you use the linux-kernel for talking to your mesa card? Speed?
18 Nov 2023 09:08

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Going by my experience the Linuxcnc hm2_rpspi driver needs a rework. So far I haven't been able to get it to work. Hopefully it shouldn't be too much or require a major rewrite.
18 Nov 2023 08:46
Replied by Calysto on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I have a Mesa 7C80, I will test SPI. Are there certain test-commands?
My Pi5 will arrive soon. I hope the 7C80 will give enough power for it. Only 2.5A according to the manual, and there is an SSD connected to it.

And then there are the Elo Touch drivers, hope they work too....

I didn't make life easy by buying a 7C80............... but it looks cool :-)
17 Nov 2023 20:55

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

I've seen that message on my RP-400 but it still boots and runs fine.
I'm going to go out on a limb and judging by "seat of the pants" the RPi-5 is just about on par with a low-end x86 system that is capable of running Linuxcnc.
17 Nov 2023 20:46 - 17 Nov 2023 20:50

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

The patches haven't been causing any issues yet. My Pi has been on for hours at a time, compileda few kernels and did a 6 minute RIP build of Linuxcnc.
Once I sort the driver out I can run a few Configs. Sims seem to be ok.

Once I've sorted my issues out I'll test your image Rod. I'm not ignoring your efforts just need to sort things out at my end.
17 Nov 2023 20:43

Debian 12 - 2.10 master branch image for the Raspberry Pi 4b/400

Category: Installing LinuxCNC

Yes, use X86. I have never used the Pi for linuxcnc. I did spend days trying in the past which is why I built ths installer so there was an easy way and none of the Linuxcnc devs had a working image. 
17 Nov 2023 20:42

Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

Category: Installing LinuxCNC

As I mentioned in my woes post I had to force mesaflash to 8 bit word length as 32 bit wasn't communicating.
17 Nov 2023 20:15
Replied by rodw on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I reported on another thread.
Yesterday, I built a Pi5 version of the Official Linuxcnc image and shared it here
drive.google.com/file/d/1H_q0Ra-27ZDOhqu...x1f/view?usp=sharing
Upstream have included support for the pi5 but its untested due to lack hardware
Please give it a go and report back.
user = cnc 
password = cnc
run sudo menu-config to congigure wifi, locales, and user credentials
This time I added network-manager which should allow networks to be configured from the desktop

My concern here is I had to use the Raspberry 6.61 kernel to get Pi5 support but the latest RT patch is only for 6.54 so this could introduce bugs.

 
17 Nov 2023 20:03

Comparison between Raspian 12 Bookworm on Raspberry Pi 4 and Raspberry Pi 5

Category: Installing LinuxCNC

Also read today that the graphics drivers for the Pi5 won't b ereleased until kernel 6.8. I don't think that will be a big issue for CNC.
17 Nov 2023 19:46

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Love your work guys
Joco seems to be doing such a job job testing that I'm standing back a bit.

Once this is almost ready to run I can test it on my 6 ton machine.
Displaying 886 - 900 out of 1060 results.
Time to create page: 1.615 seconds
Powered by Kunena Forum