I started with Michaels's BBW work here:

http://static.mah.priv.at/public/beaglebone/

The BBW 3.2 kernel won't work on the BBB, so I had to build a kernel.  Here's a 
working 3.8.10 kernel for BBB:

kernel-3.8.10-vanilla.tgz

It's a vanilla kernel; there's no xenomai for 3.8 yet, so you're not going to 
get proper realtime yet.


Procedure:
download beaglebone_sd4GB.img from Michael's site above
flash that image onto a 4G or bigger uSD card
download kernel tarball above 
mount the root partition of the uSD card, untar kernel tarball into the root.  
It contains uImage, the dtb file, and all the kernel modules.
unmount and boot on BBB.

Now you have a running debian system.  Michael's image comes with two different 
source trees of linuxcnc; I believe they're mainline and Charles's pru branch.  
If you want to try my gpio driver, you can switch to my branch and check it out:

from within one of the linuxcnc source dirs:
git pull
git checkout -b bb-hal-gpio origin/bb-hal-gpio

now you need to build linuxcnc without realtime threads (since we don't have an 
RT kernel yet), enabling hardware drivers and BB platform:
./configure --with-threads=posix --enable-drivers --with-platform=bb
make
sudo make setuid

should do it.

Note that it takes awhile to build on the BBB :)


Hope this helps, shoot me an email if you have any further questions!
Ian



On May 8, 2013, at 10:13 AM, Eric Keller <[email protected]> wrote:

> On Sun, May 5, 2013 at 4:12 AM, Ian McMahon 
> <[email protected]>wrote:
> 
>> I started a repository of test code here:
>> 
>> https://bitbucket.org/imcmahon/beagleboneblack-gpio_driver
>> 
>> Is there a concise discussion somewhere of how to get a development system
> for linuxcnc running for BBB?
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
> their applications. This 200-page book is written by three acclaimed 
> leaders in the field. The early access version is available now. 
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to