On 9/28/2016 5:10 AM, Unai Antero wrote:
> Dear all,
> 
> trying to use a SeeedStudio BeagleBone Green Wireless (+ the CRAMPS board) to 
> run machinekit, but without much success...
> 
> Tried using the SD image on 
> https://rcn-ee.com/rootfs/bb.org/testing/2016-09-18/machinekit/bone-debian-8.6-machinekit-armhf-2016-09-18-4gb.img.xz
>  
> , but although it works fine on a Beagle Bone Black, the BB Green Wireless 
> refuses to boot (seems it doesn't like the 3.8 kernel...).
> 
> On a second attempt, was able to start from a fresh Debian Jessie on the 
> BeagleBone Green Wireless (that uses the 4.4.9 kernel), installed 
> the 4.4.9-bone-rt-r10 kernel, and installed machinekit-rt-preempt (apt-get 
> install from packages at http://deb.machinekit.io/debian)
> 
> Machinekit tries to start the CRAMPS setup, but fails as it expects things to 
> be 
> in /sys/devices/bone_capemgr.*/slots .... and on this kernel, seems things 
> are 
> on /sys/devices/platform/bone_capemgr/slots (among other changes...)
> 
> Has anyone been able to run machinekit on the BeagleBone Green Wireless?

I haven't worked with the Green.  All of the cape and I/O
configuration is handled before machinekit really starts by launching
the "setup.sh" script at the top of the HAL file.  You can edit this
script to work with the new kernel and/or just comment it from the HAL
file and setup things manually.  To run the example CRAMPS setup, you
need the uio PRU driver loaded, the ADC driver loaded, and the I/O
pins setup to the appropriate mode (typically GPIO input or output).

Potential problems are with the PRU driver (some kernels have the uio
driver and some have the remoteproc version) and maybe the ADC (the
sysfs files for the ADC might have moved around in newer kernels, I'm
not sure).  The I/O setup should be straight-forward, as the universal
overlay I use for the CRAMPS board is now included in all the
BeagleBone kernels.  You may need to tweak something to get the
overlay loaded, but the same config-pin commands should work to setup
the I/O.

-- 
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