On 9/4/2018 5:02 PM, mugginsac wrote: > I am working on a CRAMPS config for Stretch. It is blowing out with the > error msg > PRU control files not found in /sys/class/uio/uio0 > > That comes from the following code it setup.sh: > if [ ! -r /sys/class/uio/uio0 ] ; then > echo PRU control files not found in /sys/class/uio/uio0 >&2 > exit 1; > fi > > If CRAMPS setup.sh is not finding the uio files, where do they come from?
The are created when the uio_pruss driver gets loaded. Your dmesg output indicates you're using a TI kernel (4.14.67-ti-rt-r73) which usually means the remote-proc PRU driver is supported (and indeed, further along dmesg shows the remoteproc driver is loaded). Robert Nelson has done some magic to make the UIO drivers and remote-proc drivers somewhat switchable, but I haven't really started using any of the 4.x kernels myself. I think you need to update your uEnv.txt and change the device-tree to load the UIO driver and not the remoteproc driver: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_PRU_Options ...you want the last option (PRU via uio). -- Charles Steinkuehler [email protected] -- 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.
