ubuntu@arm:~/linuxcnc/machinekit/src$ uname -a
Linux arm 4.1.28-bone-rt-r22 #1 PREEMPT RT Sun Jul 17 13:09:38 CST 2016 armv7l armv7l armv7l GNU/Linux
ubuntu@arm:~$ sudo sh -c "echo 'BB-BONE-PRU-01' > /sys/devices/platform/bone_capemgr/slots"
sh: echo: I/O error
ubuntu@arm:~$ dmesg
[84997.711528] bone_capemgr bone_capemgr: part_number 'BB-BONE-PRU-01', version 'N/A'
[84997.711559] bone_capemgr bone_capemgr: slot #5: override
[84997.711573] bone_capemgr bone_capemgr: Using override eeprom data at slot 5
[84997.711587] bone_capemgr bone_capemgr: slot #5: 'Override Board Name,00A0,Override Manuf,BB-BONE-PRU-01'
ubuntu@arm:~$ cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
halcmd: loadrt hal_pru_generic prucode=/home/ubuntu/machinekit/rtlib/xenomai/pru_generic.bin pru=1 num_stepgens=3 num_pwmgens=1
<stdin>:2: insmod failed, returned -1:
rtapi_app_main(hal_pru_generic): -1 Operation not permitted
See /var/log/linuxcnc.log for more information.
Jul 25 11:39:55 arm msgd:0: hal_lib:1844:rt prussdrv_init
Jul 25 11:39:55 arm msgd:0: hal_lib:1844:rt prussdrv_open
Jul 25 11:39:55 arm msgd:0: hal_lib:1844:rt hpg: ERROR: failed to initialize PRU
Jul 25 11:39:55 arm msgd:0: rtapi_app:1844:user rtapi_app_main(hal_pru_generic): -1 Operation not permitted
ubuntu@arm:/sys/devices/bone_capemgr.9$ cat slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
ubuntu@arm:~$ cat /sys/devices/bone_capemgr.9/slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
[ 1.626520] bone-capemgr bone_capemgr.9: slot #6: Requesting firmware 'cape-boneblack-hdmin-00A0.dtbo' for board-name 'Bone-Black-HDMIN', version '00A0'
[ 1.640792] bone-capemgr bone_capemgr.9: slot #6: dtbo 'cape-boneblack-hdmin-00A0.dtbo' loaded; converting to live tree
[ 1.652228] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN conflict P8.45 (#5:BB-BONELT-HDMI)
[ 1.661778] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[ 1.668513] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 BB-BONELT-HDMIN:00A0 (prio 2)
sudo sh -c "echo '-5' > /sys/devices/bone_capemgr.9/slots" ubuntu@arm:~$ sudo sh -c "echo '-5' > /sys/devices/bone_capemgr.9/slots"
[sudo] password for ubuntu:
Segmentation fault
[ 831.197663] Unable to handle kernel NULL pointer dereference at virtual address 0000001b
[ 831.206185] pgd = de4b4000, hw pgd = de4b4000
[ 831.210743] [0000001b] *pgd=00000000
[ 831.214496] Internal error: Oops: 5 [#1] THUMB2
[ 831.219216] Modules linked in: omap_rng g_ether libcomposite
[ 831.225136] CPU: 0 Not tainted (3.8.13-xenomai-r79 #1)
[ 831.230871] PC is at omap_device_idle+0xa/0x38
[ 831.235502] LR is at _od_runtime_suspend+0x15/0x18
[ 831.240499] pc : [<c0020b02>] lr : [<c0020b45>] psr: 200e0033
sp : df07bd58 ip : fffffffe fp : 00000000
[ 831.252473] r10: 00000000 r9 : c089d380 r8 : c089d380
[ 831.257917] r7 : 00000000 r6 : c0020b31 r5 : df369610 r4 : 00000000
[ 831.264722] r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : df369600
[ 831.271532] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment user
[ 831.279153] Control: 50c5387d Table: 9e4b4019 DAC: 00000015
[ 831.285145] Process sh (pid: 1512, stack limit = 0xdf07a238)
[ 831.291034] Stack: (0xdf07bd58 to 0xdf07c000)
[ 831.295574] bd40: 00000000 c0020b45
[ 831.304104] bd60: 00000000 df369610 df369680 c02e75dd df369610 00000000 00000000 c02e78d1
[ 831.312633] bd80: 00000000 df07a000 df07bda8 00000003 c08e8bdc df4acb88 c08a0c6c 00000000
[ 831.321167] bda0: 00000000 df369610 00000000 df369680 00000000 df34d0a0 00100100 df0b2a18
[ 831.329697] bdc0: beeea370 c02e8723 00000000 df369610 df369680 c00202c9 00000000 c02e51a1
[ 831.338228] bde0: df369610 c02e75dd df369610 00000004 00000004 c02e7d2f df369610 00000004
[ 831.346750] be00: df369680 00000000 df34d0a0 c02e7e63 00000006 df369610 c08df0e4 df049600
[ 831.355283] be20: c08be738 c0431437 df369610 c02e2d31 c02e2d25 c02e1e9b df054ac0 df369644
[ 831.363814] be40: df369610 c02e1ee5 00000000 df04963c df369610 c02e1bab 00000002 df369600
[ 831.372334] be60: df369610 df095410 00000000 c02e085d df369600 df095400 00000000 c02e2f8d
[ 831.380870] be80: df369600 c02e3121 df36bd40 c03ef2d9 df35aa54 df36bd40 df34d0d8 00200200
[ 831.389399] bea0: df34d0d8 c03ef3b7 df054ac0 df34d050 00000001 df34d0a8 df0b2a10 df0b2a10
[ 831.397923] bec0: df342018 c03ef673 df34d810 00000000 de4c2bd8 c02f238d df054ac0 df342020
[ 831.406451] bee0: 00000005 de4c2bd8 de280000 c02f3539 c04e3f89 de4c2bec c08e6f08 22222222
[ 831.414987] bf00: 22222222 22222222 00000000 c02f3351 de4c2bc0 de4c2bd8 df07bf80 df350c08
[ 831.423514] bf20: c0532cc4 df0b2a18 beeea370 c02dfc2b 00000003 c0138df9 de31ce00 b6f32300
[ 831.432047] bf40: 00000003 df07a000 df07bf80 00000003 00000000 c00f892b de48e680 c010211f
[ 831.440569] bf60: df054ac0 00000000 00000000 de31ce00 00000000 b6f32300 00000003 c00f8b31
[ 831.449104] bf80: 00000000 00000000 00000000 00000003 b6f32300 b6f2ed08 00000004 c000ca48
[ 831.457628] bfa0: df07a000 c000c841 00000003 b6f32300 00000001 b6f32300 00000003 b6f2f034
[ 831.466155] bfc0: 00000003 b6f32300 b6f2ed08 00000004 00000270 000001cc 00000000 beeea370
[ 831.474690] bfe0: 00000000 beeea134 b6f161ff b6e781d6 20030030 00000001 00000000 00000000
[ 831.483230] [<c0020b02>] (omap_device_idle+0xa/0x38) from [<c0020b45>] (_od_runtime_suspend+0x15/0x18)
[ 831.492947] [<c0020b45>] (_od_runtime_suspend+0x15/0x18) from [<c02e75dd>] (__rpm_callback+0x1d/0x40)
[ 831.502560] [<c02e75dd>] (__rpm_callback+0x1d/0x40) from [<c02e78d1>] (rpm_suspend+0xb5/0x428)
[ 831.511537] [<c02e78d1>] (rpm_suspend+0xb5/0x428) from [<c02e8723>] (__pm_runtime_suspend+0x37/0x4c)
[ 831.521079] [<c02e8723>] (__pm_runtime_suspend+0x37/0x4c) from [<c02e51a1>] (pm_generic_runtime_idle+0x1d/0x24)
[ 831.531598] [<c02e51a1>] (pm_generic_runtime_idle+0x1d/0x24) from [<c02e75dd>] (__rpm_callback+0x1d/0x40)
[ 831.541565] [<c02e75dd>] (__rpm_callback+0x1d/0x40) from [<c02e7d2f>] (rpm_idle+0x9f/0x150)
[ 831.550278] [<c02e7d2f>] (rpm_idle+0x9f/0x150) from [<c02e7e63>] (__pm_runtime_idle+0x37/0x4c)
[ 831.559272] [<c02e7e63>] (__pm_runtime_idle+0x37/0x4c) from [<c0431437>] (davinci_mcasp_remove+0x1b/0x28)
[ 831.569249] [<c0431437>] (davinci_mcasp_remove+0x1b/0x28) from [<c02e2d31>] (platform_drv_remove+0xd/0x10)
[ 831.579319] [<c02e2d31>] (platform_drv_remove+0xd/0x10) from [<c02e1e9b>] (__device_release_driver+0x3b/0x70)
[ 831.589657] [<c02e1e9b>] (__device_release_driver+0x3b/0x70) from [<c02e1ee5>] (device_release_driver+0x15/0x20)
[ 831.600265] [<c02e1ee5>] (device_release_driver+0x15/0x20) from [<c02e1bab>] (bus_remove_device+0x77/0x94)
[ 831.610336] [<c02e1bab>] (bus_remove_device+0x77/0x94) from [<c02e085d>] (device_del+0x95/0xf0)
[ 831.619410] [<c02e085d>] (device_del+0x95/0xf0) from [<c02e2f8d>] (platform_device_del+0xd/0x30)
[ 831.628571] [<c02e2f8d>] (platform_device_del+0xd/0x30) from [<c02e3121>] (platform_device_unregister+0x9/0x14)
[ 831.639107] [<c02e3121>] (platform_device_unregister+0x9/0x14) from [<c03ef2d9>] (of_overlay_device_entry_change.isra.0+0x35/0xd0)
[ 831.651354] [<c03ef2d9>] (of_overlay_device_entry_change.isra.0+0x35/0xd0) from [<c03ef3b7>] (of_overlay_revert_one+0x43/0x174)
[ 831.663318] [<c03ef3b7>] (of_overlay_revert_one+0x43/0x174) from [<c03ef673>] (of_overlay_revert+0x27/0x3c)
[ 831.673487] [<c03ef673>] (of_overlay_revert+0x27/0x3c) from [<c02f238d>] (bone_capemgr_remove_slot_no_lock+0x5d/0xa8)
[ 831.684556] [<c02f238d>] (bone_capemgr_remove_slot_no_lock+0x5d/0xa8) from [<c02f3539>] (slots_store+0x1e9/0x29c)
[ 831.695258] [<c02f3539>] (slots_store+0x1e9/0x29c) from [<c02dfc2b>] (dev_attr_store+0xb/0x14)
[ 831.704246] [<c02dfc2b>] (dev_attr_store+0xb/0x14) from [<c0138df9>] (sysfs_write_file+0xe5/0x10c)
[ 831.713591] [<c0138df9>] (sysfs_write_file+0xe5/0x10c) from [<c00f892b>] (vfs_write+0x5f/0xf8)
[ 831.722579] [<c00f892b>] (vfs_write+0x5f/0xf8) from [<c00f8b31>] (sys_write+0x29/0x4c)
[ 831.730845] [<c00f8b31>] (sys_write+0x29/0x4c) from [<c000c841>] (ret_fast_syscall+0x1/0x46)
[ 831.739645] Code: 4604 b108 f8d0 41c8 (7ee3) 2b01
[ 831.751090] ---[ end trace 7406d7aaafe2fcfe ]---
Jul 29 14:14:15 arm rtapi:0: rtapi_app_main(hal_pru_generic): -1 Operation not permitted
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt prussdrv_init
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt prussdrv_open
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt prussdrv_pruintc_init
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt prussdrv_map_prumem
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt PRU data ram mapped
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt num_pwmgens : 1
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt num_stepgens: 3
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt num_encoders: 0
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt Init pwm
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hpg_pwm_init
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt Init stepgen
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hpg_stepgen_init
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hal_pin_newfv:28 HAL error: length 49 invalid for name starting 'hal_pru_generic.stepgen.00.dbg_pos_minus_'
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hpg: stepgen 00: Error adding pin 'dbg_pos_minus_prev_cmd', aborting
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hal_pru_generic: ERROR: failed to export stepgen 0: -12
Jul 29 14:14:15 arm msgd:0: hal_lib:1414:rt hpg: ERROR: stepgen init failed: -1
Jul 29 14:14:15 arm msgd:0: rtapi_app:1414:user rtapi_app_main(hal_pru_generic): -1 Operation not permitted
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/qncQ_Dh7V9s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
ubuntu@arm:~/machinekit$ halrun
msgd:0 stopped
rtapi:0 stopped
halcmd: loadrt hal_pru_generic prucode=/home/ubuntu/machinekit/rtlib/xenomai/pru_generic.bin pru=1 num_stepgens=3 num_pwmgens=1
<stdin>:1: module 'hal_pru_generic' not loaded
Jul 30 00:05:07 arm msgd:0: zeroconf: unregistering 'Log service on arm.local pid 1408'
Jul 30 00:05:07 arm msgd:0: log buffer hwm: 0% (17 msgs, 1215 bytes out of 524288)
Jul 30 00:05:07 arm msgd:0: normal shutdown - global segment detached
Jul 30 00:05:11 arm msgd:0: startup pid=4268 flavor=xenomai rtlevel=1 usrlevel=1 halsize=524288 shm=Posix gcc=5.4.0 20160609 version=unknown
Jul 30 00:05:11 arm msgd:0: ^ MQ=4.2.0 czmq=3.0.3 protobuf=2.6.1 libwebsockets=1.5 4bc6f95
Jul 30 00:05:11 arm msgd:0: configured: sha=abfa33d
Jul 30 00:05:11 arm msgd:0: built: Jul 27 2016 14:26:04 sha=abfa33d
Jul 30 00:05:11 arm msgd:0: register_stuff: actual hostname as announced by avahi='arm.local'
Jul 30 00:05:11 arm msgd:0: zeroconf: registering: 'Log service on arm.local pid 4268'
Jul 30 00:05:11 arm msgd:0: rtapi_app:4273:user accepting commands at ipc:///tmp/0.rtapi.a42c8c6b-4025-4f83-ba28-dad21114744a
Jul 30 00:05:11 arm msgd:0: zeroconf: registered 'Log service on arm.local pid 4268' _machinekit._tcp 0 TXT "uuid=a42c8c6b-4025-4f83-ba28-dad$
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt prussdrv_init
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt prussdrv_open
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt prussdrv_pruintc_init
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt prussdrv_map_prumem
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt PRU data ram mapped
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt num_pwmgens : 1
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt num_stepgens: 3
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt num_encoders: 0
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt Init pwm
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt hpg_pwm_init
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt Init stepgen
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt hpg_stepgen_init
Jul 30 00:05:29 arm msgd:0: hal_lib:4273:rt Init encoder
halcmd: show pin
Component Pins:
Comp Inst Type Dir Value Name Epsilon Flags
73 s32 OUT 0 hpg.capture-position.time 0
73 u32 IN 0x00000080 hpg.pru_busy_pin 0
73 bit IN FALSE hpg.pwmgen.00.out.00.enable 0
73 u32 IN 0x00000011 hpg.pwmgen.00.out.00.pin 0
73 float IN 1 hpg.pwmgen.00.out.00.scale 0.0000100
73 float IN 0 hpg.pwmgen.00.out.00.value 0.0000100
73 u32 IN 0x00989680 hpg.pwmgen.00.pwm_period 0
73 bit IN FALSE hpg.stepgen.00.control-type 0
73 s32 OUT 0 hpg.stepgen.00.counts 0
73 float OUT 0 hpg.stepgen.00.dbg_err_at_matc 0.0000100
73 float OUT 0 hpg.stepgen.00.dbg_ff_vel 0.0000100
73 float OUT 0 hpg.stepgen.00.dbg_pos_minus_p 0.0000100
73 float OUT 0 hpg.stepgen.00.dbg_s_to_match 0.0000100
73 s32 OUT 0 hpg.stepgen.00.dbg_step_rate 0
73 float OUT 0 hpg.stepgen.00.dbg_vel_error 0.0000100
73 u32 IN 0x00000064 hpg.stepgen.00.dirhold 0
73 u32 IN 0x00000011 hpg.stepgen.00.dirpin 0
73 u32 IN 0x00000064 hpg.stepgen.00.dirsetup 0
73 bit IN FALSE hpg.stepgen.00.enable 0
73 float IN 1 hpg.stepgen.00.maxaccel 0.0000100
73 float IN 0 hpg.stepgen.00.maxvel 0.0000100
73 float IN 0 hpg.stepgen.00.position-cmd 0.0000100
73 float OUT 0 hpg.stepgen.00.position-fb 0.0000100
73 float IN 1 hpg.stepgen.00.position-scale 0.0000100
73 bit IN FALSE hpg.stepgen.00.stepinvert 0
73 u32 IN 0x00000064 hpg.stepgen.00.steplen 0
73 u32 IN 0x00000011 hpg.stepgen.00.steppin 0
73 u32 IN 0x00000064 hpg.stepgen.00.stepspace 0
73 s32 OUT 0 hpg.stepgen.00.test1 0
73 s32 OUT 0 hpg.stepgen.00.test2 0
73 s32 OUT 0 hpg.stepgen.00.test3 0
73 float IN 0 hpg.stepgen.00.velocity-cmd 0.0000100
73 float OUT 0 hpg.stepgen.00.velocity-fb 0.0000100
73 bit IN FALSE hpg.stepgen.01.control-type 0
73 s32 OUT 0 hpg.stepgen.01.counts 0
73 float OUT 0 hpg.stepgen.01.dbg_err_at_matc 0.0000100
73 float OUT 0 hpg.stepgen.01.dbg_ff_vel 0.0000100
73 float OUT 0 hpg.stepgen.01.dbg_pos_minus_p 0.0000100
73 float OUT 0 hpg.stepgen.01.dbg_s_to_match 0.0000100
73 s32 OUT 0 hpg.stepgen.01.dbg_step_rate 0
73 float OUT 0 hpg.stepgen.01.dbg_vel_error 0.0000100
73 u32 IN 0x00000064 hpg.stepgen.01.dirhold 0
73 u32 IN 0x00000011 hpg.stepgen.01.dirpin 0
73 u32 IN 0x00000064 hpg.stepgen.01.dirsetup 0
73 bit IN FALSE hpg.stepgen.01.enable 0
73 float IN 1 hpg.stepgen.01.maxaccel 0.0000100
73 float IN 0 hpg.stepgen.01.maxvel 0.0000100
73 float IN 0 hpg.stepgen.01.position-cmd 0.0000100
73 float OUT 0 hpg.stepgen.01.position-fb 0.0000100
73 float IN 1 hpg.stepgen.01.position-scale 0.0000100
73 bit IN FALSE hpg.stepgen.01.stepinvert 0
73 u32 IN 0x00000064 hpg.stepgen.01.steplen 0
73 u32 IN 0x00000011 hpg.stepgen.01.steppin 0
73 u32 IN 0x00000064 hpg.stepgen.01.stepspace 0
73 s32 OUT 0 hpg.stepgen.01.test1 0
73 s32 OUT 0 hpg.stepgen.01.test2 0
73 s32 OUT 0 hpg.stepgen.01.test3 0
73 float IN 0 hpg.stepgen.01.velocity-cmd 0.0000100
73 float OUT 0 hpg.stepgen.01.velocity-fb 0.0000100
73 bit IN FALSE hpg.stepgen.02.control-type 0
73 s32 OUT 0 hpg.stepgen.02.counts 0
73 float OUT 0 hpg.stepgen.02.dbg_err_at_matc 0.0000100
73 float OUT 0 hpg.stepgen.02.dbg_ff_vel 0.0000100
73 float OUT 0 hpg.stepgen.02.dbg_pos_minus_p 0.0000100
73 float OUT 0 hpg.stepgen.02.dbg_s_to_match 0.0000100
73 s32 OUT 0 hpg.stepgen.02.dbg_step_rate 0
73 float OUT 0 hpg.stepgen.02.dbg_vel_error 0.0000100
73 u32 IN 0x00000064 hpg.stepgen.02.dirhold 0
73 u32 IN 0x00000011 hpg.stepgen.02.dirpin 0
73 u32 IN 0x00000064 hpg.stepgen.02.dirsetup 0
73 bit IN FALSE hpg.stepgen.02.enable 0
73 float IN 1 hpg.stepgen.02.maxaccel 0.0000100
73 float IN 0 hpg.stepgen.02.maxvel 0.0000100
73 float IN 0 hpg.stepgen.02.position-cmd 0.0000100
73 float OUT 0 hpg.stepgen.02.position-fb 0.0000100
73 float IN 1 hpg.stepgen.02.position-scale 0.0000100
73 bit IN FALSE hpg.stepgen.02.stepinvert 0
73 u32 IN 0x00000064 hpg.stepgen.02.steplen 0
73 u32 IN 0x00000011 hpg.stepgen.02.steppin 0
73 u32 IN 0x00000064 hpg.stepgen.02.stepspace 0
73 s32 OUT 0 hpg.stepgen.02.test1 0
73 s32 OUT 0 hpg.stepgen.02.test2 0
73 s32 OUT 0 hpg.stepgen.02.test3 0
73 float IN 0 hpg.stepgen.02.velocity-cmd 0.0000100
73 float OUT 0 hpg.stepgen.02.velocity-fb 0.0000100
73 s32 OUT 0 hpg.update.time 0
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
--- You received this message because you are subscribed to a topic in the Google Groups "Machinekit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/machinekit/qncQ_Dh7V9s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
ubuntu@arm:~/machinekit$ halrun
msgd:0 stopped
rtapi:0 stopped
halcmd: loadrt hal_pru_generic prucode=/home/ubuntu/machinekit/rtlib/xenomai/pru_generic.bin pru=1 num_pwmgens=1
<stdin>:1: module 'hal_pru_generic' not loaded
halcmd: exit
<commandline>:0: Realtime threads stopped
<commandline>:0: Realtime threads stopped
<commandline>:0: error unloading realtime module 'hpg': rc=-1
<commandline>:0: unload: 'hpg' not loaded
<commandline>:0: unloadrt failed
...
Loading BB-LCNC-BEBOPR overlay
sudo: no askpass program specified, try setting SUDO_ASKPASS
Error loading device tree overlay file: BB-LCNC-BEBOPR
BeBoPr.hal:10: program './setup.sh' failed, returned 1
machinekit@beaglebone:~$ cat /sys/devices/bone_capemgr.9/
slots
0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-L Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
7: ff:P-O-L Override Board Name,00A0,Override Manuf,cape-universal
8: ff:P-O-L Override Board Name,00A0,Override Manuf,cape-bone-iio
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI
cape_disable=capemgr.disable_partno=BB-BONE-EMMC-2G
cape_disable=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G
ubuntu@arm:~/machinekit$ linuxcnc
MACHINEKIT - 0.1
Machine configuration directory is '/home/ubuntu/machinekit/configs/ARM/BeagleBone/BeBoPr'
Machine configuration file is 'BeBoPr.ini'
Starting Machinekit...
io started
halcmd loadusr io started
Loading BB-LCNC-BEBOPR overlay
Loading cape-bone-iio overlay
BeBoPr.hal:28: module 'hal_pru_generic' not loaded
Shutting down and cleaning up Machinekit...
<commandline>:0: error unloading realtime module 'hpg': rc=-1
<commandline>:0: unload: 'hpg' not loaded
<commandline>:0: unloadrt failed
<commandline>:0: error unloading realtime module 'hpg': rc=-1
<commandline>:0: unload: 'hpg' not loaded
<commandline>:0: unloadrt failed
Cleanup done
Machinekit terminated with an error. You can find more information in the log:
/home/ubuntu/linuxcnc_debug.txt
and
/home/ubuntu/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
ubuntu@arm:~/machinekit$ export DEBUG=5
ubuntu@arm:~/machinekit$ linuxcnc
MACHINEKIT - 0.1
Machine configuration directory is '/home/ubuntu/machinekit/configs/ARM/BeagleBone/BeBoPr'
Machine configuration file is 'BeBoPr.ini'
Starting Machinekit...
io started
<commandline>:0: Component 'iocontrol' ready
<commandline>:0: Program 'io' started
halcmd loadusr io started
BB-LCNC-BEBOPR overlay found
cape-bone-iio overlay found
BeBoPr.hal:10: Program './setup.sh' finished
BeBoPr.hal:18: Realtime module 'trivkins' loaded
BeBoPr.hal:22: Realtime module 'tp' loaded
BeBoPr.hal:23: Realtime module 'motmod' loaded
BeBoPr.hal:27: Realtime module 'hal_bb_gpio' loaded
BeBoPr.hal:28: module 'hal_pru_generic' not loaded
Shutting down and cleaning up Machinekit...
<commandline>:0: Realtime threads stopped
<commandline>:0: error unloading realtime module 'hpg': rc=-1
<commandline>:0: unload: 'hpg' not loaded
<commandline>:0: Realtime module 'hal_bb_gpio' unloaded
<commandline>:0: Realtime module 'motmod' unloaded
<commandline>:0: Realtime module 'tp' unloaded
<commandline>:0: Realtime module 'trivkins' unloaded
<commandline>:0: unloadrt failed
<commandline>:0: Realtime threads stopped
<commandline>:0: error unloading realtime module 'hpg': rc=-1
<commandline>:0: unload: 'hpg' not loaded
<commandline>:0: unloadrt failed
Cleanup done
Machinekit terminated with an error. You can find more information in the log:
/home/ubuntu/linuxcnc_debug.txt
and
/home/ubuntu/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Linux beaglebone 3.8.13-xenomai-r79 #1 Wed Jun 15 22:12:09 UTC 2016 armv7l GNU/Linux
xzcat bone-debian-8.5-machinekit-armhf-2016-06-19-4gb.img.xz | sudo dd of=/dev/sdX
dd: writing to `/dev/sdb': Input/output error
> Am 03.08.2016 um 09:15 schrieb Chen Cheng Xi <crazyin...@gmail.com>:
>
> Hi,
>
> I tried to load other configurations, such as configs/sim/axis, it works fine.
> So i think it might not be related to self-build kernel.
In fact it supports what I suspect.
Would you kindly follow my suggestions from below. Thanks.
> > > > To unsubscribe from this group and all its topics, send an email to machinekit+unsubscribe@googlegroups.com.
> > > > Visit this group at https://groups.google.com/group/machinekit.
> > > > For more options, visit https://groups.google.com/d/optout.
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards!
> > > > 陈成细
> > > > R&D Engineer
> > > > (\__/)
> > > > (='.'=) This is Bunny. Copy and paste bunny into your
> > > > (")_(") signature to help him gain world domination.
> > > >
> > > > --
> > > > website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
> > > > ---
> > > > You received this message because you are subscribed to the Google Groups "Machinekit" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscribe@googlegroups.com.
> > > > Visit this group at https://groups.google.com/group/machinekit.
> > > > For more options, visit https://groups.google.com/d/optout.
> > >
> > >
> > >
> > >
> > > --
> > > Best regards!
> > > 陈成细
> > > R&D Engineer
> > > (\__/)
> > > (='.'=) This is Bunny. Copy and paste bunny into your
> > > (")_(") signature to help him gain world domination.
> > >
> > > --
> > > website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
> > > ---
> > > You received this message because you are subscribed to the Google Groups "Machinekit" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscribe@googlegroups.com.
> > > Visit this group at https://groups.google.com/group/machinekit.
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> >
> >
> > --
> > Best regards!
> > 陈成细
> > R&D Engineer
> > (\__/)
> > (='.'=) This is Bunny. Copy and paste bunny into your
> > (")_(") signature to help him gain world domination.
> >
> >
> >
> > --
> > Best regards!
> > 陈成细
> > R&D Engineer
> > (\__/)
> > (='.'=) This is Bunny. Copy and paste bunny into your
> > (")_(") signature to help him gain world domination.
>
>
>
>
> --
> Best regards!
> 陈成细
> R&D Engineer
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+unsubscribe@googlegroups.com.
> Visit this group at https://groups.google.com/group/machinekit.
> For more options, visit https://groups.google.com/d/optout.