-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'/sys/devices/bone_capemgr.*/slots': No such file or directory #48
Comments
Yes, the Beaglebone has changed these things around a little in recent years; also the software interface to the PRU needs to be adapted. I kept the operating system version on my 'production' BeagleG CNC machines so things might be a bit 'crusty' depending on older Kernels.. In paritcular I found that at some point the whole software interface to the PRU (formly Having said that, getting BeagleG working on a modern kernel on a Beaglebone would be highly appreciated, and we're ready to accept a pull request for that. Possibly the folks over at https://forum.beagleboard.org/ might be able to give a hand. (Currently I am working on some more platform independent version of BeagleG that will also run on other platforms). |
Yeah, I'd love to answer a few questions to help this along! |
Thanks for chiming in Jason! As you know, BeagleG is a few years old now, and I have it running on my home CNC machines (and soon also my laser cutter), but the kernel interfaces to the hardware changed over time and while I was waiting for things to settle, I just pinned some older version on my Beagleboards. Bringing this up to a state that it is usable for a current operating system would be the goal. There are mostly two toplevel questions (at this point):
|
Thanks for your reply! Even though it is a few years old, I think BeagleG is still quite relevant in terms of what is available for open-source CNC applications. I was able to clone the repo and compile successfully, but ran into issues with the device overlay script and not understanding how to properly edit the /boot/uEnv.txt to accept the CRAMPS .dtbo file that I compile myself. I am not using a cape at the moment. I wanted to use existing device tree overlay for use with my external DM542 NEMA23 drivers (wired via a level shifter IC). I think it could be a common use-case that people to want to use these bigger drivers for CNC, not necessarily using a cape. I just got a copy of Derek Molloy's book on the Beaglebone as I'm pretty new to embedded linux. I think I can make some progress on getting the device tree overlay process updated, particularly if I ask on the Beaglebone forum. Not so sure on the PRU interface however or how much of the code needs to be modified. |
Yes, I have heard from people using BeagleG successfully with a Xylotex db25 cape that plugs on a Beaglebone and outputs a level-shifted signal on a DB25 connector, often used in CNC machines, but I am not sure if they still sell it. But something like that is quick to make. |
Hey @jadonk - do you know someone who can help with these questions ? |
What is your objective? Can I help you get to a newer baseline? |
Objective is to get BeagleG running on a fresh operating sytem install on a Beaglebone. So my personal objective is to get this going on a current operating system while avoiding pitfalls due to finding conflicting old and new information on the 'net by asking someone who knows the current state of the art who can guide or provide pull requests to get this to the latest state. |
So there are two parts to this
|
I've ordered a CRAMPS board, so that I can test with it. |
Cool. If you want to get on the latest images, come on to the Slack (bbb.io/gsocmeet) and work with rcn-ee and myself. Also, we have a 3d printing channel that is just getting started. |
Good news:
Getting closer. |
I am trying to get started with the CRAMPS tree overlay. My kernel version from /boot/uEnv.txt is
uname_r=4.19.94-ti-r42
When I run sudo
./start-devicetree-overlay.sh CRAMPS/BeagleG-CRAMPS.dts
I get the following output:
It seems that the
bone_capemgr
directory is no longer present. It seems that for newer kernel versions the we might not compile and load the device tree overlays in this way. I will try to read more to understand how this updated process works but wondering if someone else has had this issue.The text was updated successfully, but these errors were encountered: