RPI4 Raspbian 64 bit & LinuxCNC

More
4 years 7 months ago - 4 years 7 months ago #238115 by Elco
Thanks for the image. There was an error message about cmdline.txt, easy to fix. Works on an SD card, but is there anything particular that it will not run from an SSD? Tried at least 10 times the usual procedure, but no luck.

Thanks.

Update: Fixed by - after using the SD copy utility - manually changing in the SSD the the partition name (rootfs -> root) and the root PARTUUID in boot/cmdline.txt. Then use sudo raspi-config to reset USB as primary boot and reboot the system.
Last edit: 4 years 7 months ago by Elco.
The following user(s) said Thank You: elovalvo

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

More
4 years 7 months ago #238319 by elovalvo

Thanks for the image. There was an error message about cmdline.txt, easy to fix. Works on an SD card, but is there anything particular that it will not run from an SSD? Tried at least 10 times the usual procedure, but no luck.

Thanks.
Can you tell me how to get rid of the error on cmdline.txt so I can fix the image?

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

More
4 years 7 months ago #238347 by Elco
Hello elovalvo,
I installed the image in linucnc-2.9.0pre-bullseye_arm64rt.zip on my RPi4B (8 GB).
At boot it complained (message in top right of screen) that it could not access
/boot/5.15.27-rt35-v8+/cmdline.txt
I found the same cmdline.txt in /boot so I copied that over the one in /boot/5.15.27-rt35-v8+/
At reboot the message did not show up anymore. Could have been my SD card that dropped a bit.

Elco
The following user(s) said Thank You: elovalvo

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

More
4 years 7 months ago #238460 by Elco
After I installed linucnc-2.9.0pre-bullseye_arm64rt.zip on my RPi, I have made many attempts to get something running. Except for the built-in sim.axis version, unfortunately every test ended up as an error.
Since all the debug reports start with
Debug file information:
Can not find -sec TRAJ -var TPMOD -num 1
Can not find -sec EMCMOT -var HOMEMOD -num 1
Note: Using POSIX realtimemotmod: dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch

There is probably a configuration problem. According to the (draft) 2.9 manual, the parameters TPMOD and HOMEMOD are optional, but the system complains about not seeing them.  Linuxcnc.report attached.

E

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

More
4 years 7 months ago #238464 by dgarrett
> dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch

report not attached?

Suspect use of an out-of-tree kinematics module that
needs updating for master branch to include macro
KINS_NOT_SWITCHABLE

Ref:
linuxcnc.org/docs/devel/html/getting-sta...dating-linuxcnc.html

"13.5.5. Motion

The motion module supports kinematics modules that
define new functions kinematicsSwitchable() and
kinematicsSwitch() to switch their kinematics type. A
hal pin, motion.switchkins-type, is provided for use of
such kinematics modules.

Provided kinematics modules that implement kinematics
switching use the switchkins.o object to supply the
required rtapi_main() and related functions. Kinematics
modules that do not support kinematics switching use
the macro "KINS_NOT_SWITCHABLE" provided by
kinematics.h."

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

More
4 years 7 months ago #238466 by tommylight
@ Elco,
Please do not edit the title when replying, it makes a mess for people who are helping and for those trying to find the topic.
Thank you.

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

Time to create page: 0.433 seconds
Powered by Kunena Forum