Advanced Search

Search Results (Searched for: raspberry)

  • behai
  • behai
11 Feb 2025 03:04

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

No always 4 cores.

For some reason the RPi docs say to use -j6.
 


Thank you Rob.
  • unknown
  • unknown
11 Feb 2025 01:33

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

No always 4 cores.

For some reason the RPi docs say to use -j6.
  • behai
  • behai
11 Feb 2025 00:28

Raspberry Pi OS PREEMPT RT 6.13 Kernel Cookbook

Category: Installing LinuxCNC

Hi gene_weber,

Thank you for the info. Back in November, 2024, I did managed to build and install a PREEMPT_RT kernel to my Raspberry Pi 4B:

[
Linux picnc 6.6.59-rt45-v8-behai-rt-build+ #1 SMP PREEMPT_RT Sat Nov 2 10:20:46 AEDT 2024 aarch64 GNU/Linux
]

But I did not know how to make other configurations as you have done: I did not know we have different displays, etc.

I have also built LinuxCNC from source and installed it from the build: only last week, I have found out that I have done a simulated-realtime version of LinuxCNC. PnCConf reports:

[
"You are using a simulated-realtime version of LinuxCNC, so testing / tuning of hardware is unavailable."
]

I did not know we can install LinuxCNC from a prebuilt package to a Raspbian OS as you have done.

Might I have a question, please? You use -j6 in the command:

[
make -j6 Image.gz modules dtbs 2>&1 | tee make.log
]

On my Raspberry Pi 4B, nproc reports 4, I use -j4.

So is it true that later Pi 4B revisions have more cores? I bought mine back in middle 2023. I don't have Pi 5 yet.

Thank you and best regards,

...behai.

 
  • DanSta1988
  • DanSta1988
10 Feb 2025 19:54
Pixeled screen on remote desktop was created by DanSta1988

Pixeled screen on remote desktop

Category: General LinuxCNC Questions

Hi all, 

This is my fist post on the forum.

I have a CNC setup running on an old PC. I wanted to have a go at it and try to go to a rapsberry pi 4B to run it. much more compact etc. 
I have ordered from byte2 bot a board to make the raspberry pi with an serial connection connecting to a CNC break out board. 

I have installed this  LinuxCNC 2.9.4  Raspberry Pi 4 OS based on Debian Bookworm  Raspberry Pi 4 Uspace compatible with Mesa Ethernet and SPI interface boards.

I have also installed  xrdp and tight vncserver

When I connect from my home computer on windows 11 I am able to find the raspberry pi via my home network but when I log in I get a pixeled image. (see attachment.)

Is there something that has had the same issue and has an idea how to get rid of it? 

Thanks in advance!
  • meister
  • meister
10 Feb 2025 19:13

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

# Installer-Script (debian-bookworm only)

if you have a Debian-Bookworm installation (e.g. from the LinuxCNC ISO or the LinuxCNC raspberry image) you can simply use this script to install all depends and the icestorm and gowin toolchain (gowin only on Intel/AMD)

wget -O- www.multixmedia.org/riocore-installer.sh | bash
  • unknown
  • unknown
09 Feb 2025 23:24
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

sudo ping -i 0.001 -c 1000000 -f 192.168.1.1

This was pinging my router, for about 15 minutes, and I did not get a failed packet, no lockups.
  • unknown
  • unknown
09 Feb 2025 23:02 - 09 Feb 2025 23:19

unable to get gpio to work on Raspberry Pi 5 using latest image

Category: Advanced Configuration

It does work, 2 users have had a couple of users have confirmed it.
I've also confirmed myself that loading of the driver as given in the docs also works.

Taking GPIO8 out of the input list allows the driver to load correctly. Which makes sense as GPIO08 as well as GPIO07 seemed to be claimed.

section lifted from gpioinfo
"GPIO7"   "spi0 CS1"  output   active-low [used]
"GPIO8"   "spi0 CS0"  output   active-low [used]

Commenting out spi out in /boot/broadcom/config.txt "fixes" the issue.
 
halcmd: loadrt hal_gpio inputs=GPIO18,GPIO23,GPIO24,GPIO25,GPIO8 outputs=GPIO4,GPIO17,GPIO27,GPIO22,GPIO10,GPIO9,GPIO26
Note: Using POSIX realtime
halcmd: show pin
Component Pins:
Owner   Type  Dir         Value  Name
     4  bit   IN          FALSE  hal_gpio.GPIO10-out
     4  bit   IN          FALSE  hal_gpio.GPIO17-out
     4  bit   OUT         FALSE  hal_gpio.GPIO18-in
     4  bit   OUT         FALSE  hal_gpio.GPIO18-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO22-out
     4  bit   OUT         FALSE  hal_gpio.GPIO23-in
     4  bit   OUT         FALSE  hal_gpio.GPIO23-in-not
     4  bit   OUT         FALSE  hal_gpio.GPIO24-in
     4  bit   OUT         FALSE  hal_gpio.GPIO24-in-not
     4  bit   OUT         FALSE  hal_gpio.GPIO25-in
     4  bit   OUT         FALSE  hal_gpio.GPIO25-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO26-out
     4  bit   IN          FALSE  hal_gpio.GPIO27-out
     4  bit   IN          FALSE  hal_gpio.GPIO4-out
     4  bit   OUT         FALSE  hal_gpio.GPIO8-in
     4  bit   OUT         FALSE  hal_gpio.GPIO8-in-not
     4  bit   IN          FALSE  hal_gpio.GPIO9-out
     4  s32   OUT             0  hal_gpio.read.time
     4  s32   OUT             0  hal_gpio.write.time
  • daleroyer
  • daleroyer's Avatar
09 Feb 2025 20:51

Jogging not working properly when not on preview tab

Category: AXIS

Old thread but just wanted to add/archive that this (xset -r) fixed jogging irregularities using a standard USB keyboard on a Raspberry PI 5 install with the PREEMPT_RT kernel.

I am gearing up for an MPG build shortly but the difference in function from an x86 machine and .iso install was concerning me that there were underlying issues with the OS.  I doubt that is the case now.
 
  • andypugh
  • andypugh's Avatar
09 Feb 2025 18:44

unable to get gpio to work on Raspberry Pi 5 using latest image

Category: Advanced Configuration

It is possible that hal_gpio is not working because libgpiod is not installed

What does: sudo apt-get install libgpiod say?
  • jhandel
  • jhandel
09 Feb 2025 18:07
Replied by jhandel on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

sudo chrt 99 ping -i .001 10.10.10.10 -c [count I am testing]
  • unknown
  • unknown
09 Feb 2025 11:52

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

Thunar has a plugin that lets you create shares directly from the Thunar file manager, which is the default for XFCE4. No need to manipulate the smb.conf file. Unfortunately debian doesn't provide a package for this.
  • unknown
  • unknown
09 Feb 2025 11:11
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

The thing is if you had of asked you would do have been advised on the limitations of software step generation. It's not a finding, it is something that is known. And I could have directed you on how run 7c81 firmware on a $40 spartan 6 dev board, or been directed to one of the other projects.
  • unknown
  • unknown
09 Feb 2025 11:01
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I fail how your last post explains what I questioned.

If you want to delve into industry standard, what ever that may mean, you'll have to realise that the RPi isn't certified for industrial applications.

Furthermore I'd like to see the reference to that quote. None of it makes sense. It would appear you chose the wrong hardware setup for for application. Did you realise max step rate was related to latency and therefore the base thread ?
  • jairobbo
  • jairobbo
09 Feb 2025 10:52
Replied by jairobbo on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

I mean by that you need additional hardware to get good results. The Pi alone even the 5 cannot handle it is my finding and conclusion.
  • unknown
  • unknown
09 Feb 2025 10:47
Replied by unknown on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

""I think this was mentioned in the instructions that the PREEMT linux kernel was compatible only, but not recommended as 'industry standard'.""

What do you mean by this ?

I guess you haven't seen this:
github.com/ozzyrob/Linuxcnc-FPGA
Displaying 286 - 300 out of 922 results.
Time to create page: 0.686 seconds
Powered by Kunena Forum