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

More
3 years 5 days ago #283920 by rodw
QTVCP don't have debs for the pi in their repository so it was a dead end there.
Ethercat have pi debs in their repo and I built the linuxcnc ethercat driver for the pi and put it up on my repo. But neither have been tested.

Note we are not installing anything, just configuring apt so these companion prodcuct\s can be installed with sudo apt-get if the user wants to use them. Ethercat while open source has some pecuilar licensing requirements preventing linuxcnc from including it as we are a community, not a registered company..

Please Log in or Create an account to join the conversation.

More
3 years 2 days ago #284141 by mbondaz
Thank's for the answer.
I have used linuxcnx → by_interface→parport →stepper →stepper_mm
I have modified the file  standard_pinout.hal with
# standard pinout config file for 3-axis steppers
# using a parport for I/O
#
# first load the parport driver
#loadrt hal_parport cfg="0x0378"
# Pour les GPIO
#loadrt hal_pi_gpio dir=67108751 exclude=0
loadrt hal_pi_gpio dir=35390224 exclude=31718639

# next connect the parport functions to threads
# read inputs first
#addf parport.0.read base-thread 1
# Je fais la même chose pour les GPIO
addf hal_pi_gpio.read base-thread

# write outputs last
#addf parport.0.write base-thread -1
addf hal_pi_gpio.write base-thread
#
# finally connect physical pins to the signals
#net Xstep => parport.0.pin-03-out
#net Xdir  => parport.0.pin-02-out
#net Ystep => parport.0.pin-05-out
#net Ydir  => parport.0.pin-04-out
#net Zstep => parport.0.pin-07-out
#net Zdir  => parport.0.pin-06-out

net Xstep           => hal_pi_gpio.pin-23-out
net Xdir            => hal_pi_gpio.pin-19-out
net Ystep           => hal_pi_gpio.pin-13-out
net Ydir            => hal_pi_gpio.pin-15-out
net Zstep           => hal_pi_gpio.pin-38-out
net Zdir            => hal_pi_gpio.pin-40-out

# create a signal for the estop loopback
# ça ne change pas
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in

It seams to be easy to understand, except the first line
loadrt hal_pi_gpio dir=35390224 exclude=31718639

for this i used
forum.linuxcnc.org/18-computer/43353-rpi...tion?start=10#226664
to load rpi-gpio_1.0_arm64.deb

rpi--gpio -> the pins i used -> Get HAl -> loadrt hal_pi_gpio dir=35390224 exclude=31718639

That's all. Everything works as I need.
Thank's again.

For information, with a fresh install, I have always latency warnings. With halrun or linuxcnc
Unexpected realtime delay on task 0 with period 50000
I have tried to find something. It always appear at the very beginning of a task, never again...

Cordially

 

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #284322 by ckuecker
Hi - I tried installing LinuxCNC according to this thread - it's up and running as Linux, good latency. Problem is - I cannot get WiFi working. raspi-config seems to be missing? Any ideas?

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #284323 by ckuecker
Also, pncconf wizard shows errors - something about unsupported locale setting - happens right after setting up the Mesa board at the X Motor screen.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #284367 by ckuecker
Found a thread on install troubles - got WiFi working. Jitter about doubled to 130590 on servo. Still get the locale error in pncconf after a reboot.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #284416 by rodw
try running sudo menu-config
That lets you set locale and wifi
The following user(s) said Thank You: mwiktowy, ckuecker

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum