-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have prepared the first beta machinekit release of LinuxCNC for the BeagleBone.
Unlike the previous images released by Michael Haberler, this image is built automatically from the ground up. [1] ========================= = QUICK AND DIRTY HOWTO = ========================= STEP 1: Write the SD card ========================= Grab the machinekit image: http://www.machinekit.net/deb/rootfs/wheezy/debian-7.0.0-machinekit-armhf-2013-06-11.tar.xz Untar the image, and run the setup_sdcard.sh script in the resulting directory, selecting the 3.8 dtb kernel: sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone_dtb If you need more hand-holding, see the elinux Debian page: http://elinux.org/BeagleBoardDebian STEP 2: One-time setup ====================== The image build scripts are not yet perfect, so there's some minor tweaking you have to do once per image. BeagleBone Black Only: Edit /boot/uboot/uEnv.txt to disable HDMI and the on-board eMMC: optargs=capemgr.disable_partno=BB-BONELT-HDMI,BB-BONE-EMMC-2G Reboot Start here if you've got a BBW: cd ~/configs/pru-examples sudo ./dtc.sh STEP 3: Each Reboot =================== Some hardware setup needs to be done once per reboot: cd ~/linuxcnc/configs/pru-examples sudo su -c "echo BB-LCNC-BEBOPR > /sys/devices/bone_capemgr.*/slots" sudo ./BeBoPr.setup.sh STEP 4: Each Shell ================== Now you just have to setup LinuxCNC and run it. Make sure you have X11 forwarding enabled, or have set the DISPLAY variable to point to an open X server: cd ~/linuxcnc . scripts/rip-environment linuxcnc & STEP 5: HELP IMPROVE THE EXPERIENCE =================================== I am hopefully going to be releasing this on the 3D crowd soon, and this could very well be their first exposure to LinuxCNC. I would *REALLY* like some help from the community to insure their experience is a good one. I will be tweaking the image so the above setup steps are not required. What I need help with is the LinuxCNC configuration side of things. If you can't think of anything to help with: * A GUI that is more familiar to the 3D crows than Axis (and hopefully a lot less CPU intensive) would be *VERY* useful and *GREATLY* appreciated!!!! * A "LinuxCNC 101" that reviews the basics of LinuxCNC targeted at users who have no machining background. For example current 3D printer software has no concept of different coordinate spaces, so homing, touch-off, and similar are very confusing in LinuxCNC until you realize what's going on under the hood. If something like this exists already, please send me a link! * LinuxCNC ini/hal configuration tweaks that make LinuxCNC easier to use for the targeted audience. For instance, when I first started using LinuxCNC, I got lots of errors like "You can't do that when not homed". On the typical 3D firmware, you just start it up and start moving around. I think there are ways to configure LinuxCNC to be more like that, but I'm not sure exactly how. I'm going to hold off posting outside the LinuxCNC community for a bit to get a bit better out-of-box experience. But I'm not going to wait too long, and I'm not really the guy you would assign to "user experience" tweaking (I'm more the hardware/device-driver guy). So jump right in and help out if you're good with LinuxCNC integration! - -- Charles Steinkuehler char...@steinkuehler.net [1] So you want to make your own image files? Grab my modified version of Robert C Nelson's build scripts from github: https://github.com/cdsteinkuehler/omap-image-builder Make sure you've got several GB free both in /tmp and where you download the build scripts. Change to the working directory and run: ./build_image.sh ...the grab a coffee, go for a stroll, watch a movie, walk the dog, and when you get back you won't have too long to wait (it takes a while to build from scratch). :) Builds are supported on the armv7l (native) and x86 (uses qemu-arm-static for transparent emulation) architectures. The image I released above was created on an x86 system, including the LinuxCNC compile. AFAIK, the only magic black-box binary blob getting pulled in is Michael's xenomai kernel, and he's got the bits needed to rebuild it online. There are some other tools pulled in by the RCN scripts, but I believe all of those have their own source repositories (all of them I've checked on so far do) should you wish to rebuild totally from scratch. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG3QaAACgkQLywbqEHdNFzrbQCgqI7eQer+bCD5q7GmbbVPBW3O d+AAoIGTtOVEYEgz4I5Ghj/aUXzVLoTQ =RsY3 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users