Hi All.

 

I am working on building LinuxCNC on the BeagleBone Black.  It does build,
but the test sequence does not complete and I see some fails in the output,
and the test sequence hangs.

 

Questions

1.      Do these test fails indicate known issues or point to problems that
I need to address before going further?
2.      When I perform the configure, is there a way to specify the BBB?
I'm trying to figure out how the compile process would bring in
src/hal/driver/hal_bb_gpio.c
3.      Has anyone set up a configuration (hal/ini) for the BBB that I can
use as a guide?  
4.      Does operation on the beaglebone black require a dtb file to be
loaded to specify the needed pins as input/output?

 

Any help would be most appreciated.  

 

Best Regards,

Alan

 

Background:  We currently use Machinekit on a BeagleBoneBlack using an image
from 2019.  There are some issues, for instance sometimes we see a shared
memory error.  So, my hope was to be able to compile from source.

 

 

######################################################################

#                LinuxCNC - Enhanced Machine Controller              #

######################################################################

#                                                                    #

#   LinuxCNC is a software system for computer control of machine    #

#   tools such as milling machines. LinuxCNC is released under the   #

#   GPL.  Check out http://www.linuxcnc.org/ for more details.       #

#                                                                    #

#                                                                    #

#   It seems that ./configure completed successfully.                #

#   This means that RT is properly installed                         #

#   If things don't work check config.log for errors & warnings      #

#                                                                    #

#   Next compile by typing                                           #

#         make                                                       #

#         sudo make setuid                                           #

#          (if realtime behavior and hardware access are required)   #

#                                                                    #

#   Before running the software, set the environment:                #

#         . (top dir)/scripts/rip-environment                        #

#                                                                    #

#   To run the software type                                         #

#         linuxcnc                                                   #

#                                                                    #

######################################################################

 

 

 

hostname = BeagleBone

uname -m = armv7l

uname -r = 5.15.73-bone-rt-r31

uname -s = Linux

uname -v = #1bullseye PREEMPT_RT Thu Oct 27 18:39:34 UTC 2022

 

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/rtapi-app-main-fails

loadrt found the test component, and it failed to load

Running test: /home/debian/linuxcnc-dev/tests/module-loading/siggen/1-names

Running test: /home/debian/linuxcnc-dev/tests/module-loading/siggen/16-names

Running test: /home/debian/linuxcnc-dev/tests/module-loading/siggen/17-names

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/siggen/num_chan=0

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/siggen/num_chan=1

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/siggen/num_chan=16

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/siggen/num_chan=17

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/1-names

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/8-names

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/9-names

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/num_chan=0

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/num_chan=1

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/num_chan=8

Running test:
/home/debian/linuxcnc-dev/tests/module-loading/sim_encoder/num_chan=9

Running test: /home/debian/linuxcnc-dev/tests/motion-logger/basic

*** /home/debian/linuxcnc-dev/tests/motion-logger/basic: XFAIL: test run
exited with 1

Running test: /home/debian/linuxcnc-dev/tests/motion-logger/mountaindew

--- expected.motion-logger      2022-11-25 20:11:28.150811564 +0000

+++ out.motion-logger   2023-08-01 02:20:50.498826487 +0000

@@ -7,6 +7,15 @@

SET_MAX_FEED_OVERRIDE 1

SETUP_SET_PROBE_ERR_INHIBIT 0 0

SET_WORLD_HOME x=0, y=0, z=0, a=0, b=0, c=0, u=0, v=0, w=0

+SET_NUM_JOINTS 3

+SET_NUM_SPINDLES 1

+SET_VEL vel=0, ini_maxvel=120

+SET_VEL_LIMIT vel=400

+SET_ACC acc=1e+99

+SETUP_ARC_BLENDS

+SET_MAX_FEED_OVERRIDE 1

+SETUP_SET_PROBE_ERR_INHIBIT 0 0

+SET_WORLD_HOME x=0, y=0, z=0, a=0, b=0, c=0, u=0, v=0, w=0

SET_JOINT_BACKLASH joint=0, backlash=0

SET_JOINT_POSITION_LIMITS joint=0, min=-40, max=0

SET_JOINT_POSITION_LIMITS joint=0, min=-40, max=40

*** /home/debian/linuxcnc-dev/tests/motion-logger/mountaindew: XFAIL:
checkresult exited with 1

Running test:
/home/debian/linuxcnc-dev/tests/motion-logger/startup-gcode-abort

--- expected.motion-logger      2023-08-01 02:20:59.418350606 +0000

+++ out.motion-logger   2023-08-01 02:21:03.298143615 +0000

@@ -7,6 +7,15 @@

SET_MAX_FEED_OVERRIDE 1

SETUP_SET_PROBE_ERR_INHIBIT 0 0

SET_WORLD_HOME x=0, y=0, z=0, a=0, b=0, c=0, u=0, v=0, w=0

+SET_NUM_JOINTS 3

+SET_NUM_SPINDLES 1

+SET_VEL vel=0, ini_maxvel=1.2

+SET_VEL_LIMIT vel=4

+SET_ACC acc=1e+99

+SETUP_ARC_BLENDS

+SET_MAX_FEED_OVERRIDE 1

+SETUP_SET_PROBE_ERR_INHIBIT 0 0

+SET_WORLD_HOME x=0, y=0, z=0, a=0, b=0, c=0, u=0, v=0, w=0

SET_JOINT_BACKLASH joint=0, backlash=0

SET_JOINT_POSITION_LIMITS joint=0, min=-40, max=0

SET_JOINT_POSITION_LIMITS joint=0, min=-40, max=40

*** /home/debian/linuxcnc-dev/tests/motion-logger/startup-gcode-abort:
XFAIL: checkresult exited with 1

Running test: /home/debian/linuxcnc-dev/tests/motion/g0

 

!!HANGS AT THIS POINT!!

 

Attachment: config.log
Description: Binary data

Attachment: configure_output_20230731
Description: Binary data

Attachment: make_output_20230731
Description: Binary data

Attachment: make_setuid_output_20230731
Description: Binary data

Attachment: runtests_output_20230731
Description: Binary data

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to