Dear All, I am trying to test pru with machinekit on Beaglebone Black. The issue is when i compile machinkit from source, I can not find pru_generic.bin in the whole system as this post (https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!searchin/machinekit/pru$20bin|sort:relevance/machinekit/WaLAhcWKoVU/t_JTv4leGkkJ ).
My system is: 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 I thought my system have to do some correct setting before compile machinekit. I did following tryings: 1. build and install capemgr: v4.1.x+ refer to ( https://eewiki.net/display/linuxonarm/BeagleBone+Black) and ( https://github.com/beagleboard/bb.org-overlays/blob/master/readme.md). OK, and modprobe uio_pruss works well. 2.build and install AM335x PRU PACKAGE ( https://github.com/beagleboard/am335x_pru_package). There is an error as below when i try this hello world test( http://mythopoeic.org/bbb-pru-minimal/) to Enable the PRU 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 As I am understanding, I have to set my system compile environment correctly , then it is possible to build hal_pru_generic module. I am appreciated that anyone can give any advise about how to check or set up system environment to build PRU? Thanks in advance! -chengxi -- 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 [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
