Thanks Charles,

That helps explain how things work. I probably screwed up when I started a new 
thread (bone-debian-9.5-machinekit-armhf-2018-08-30-4gb.img not working). But 
maybe that points to something with the new image as well. 

In the new thread, I posted a copy of my uEnv.txt that shows it is using
uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo already.

Is there a way to pull the two threads together?

Thanks again,
Alan

> On Sep 5, 2018, at 5:51 AM, Charles Steinkuehler <[email protected]> 
> wrote:
> 
> 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.

Reply via email to