BeagleBone Black and PRU Driver for Linuxcnc? Or switch to RP-4 / Mesa?

More
5 years 2 months ago #216873 by cakeslob


(*) What is also nice is that there seems to be support for BBAI as well.


That might still be work in progress, as I havent seen them close the issue. Pretty sure this was done by the folks at PocketNC. they have their main driver repo on their github. I think they redid the whole driver from scratch
github.com/machinekit/machinekit-hal/issues/284

github.com/PocketNC/bb_gpio

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216900 by MalteS
Thanks, that was an insightful read. Based on this info I have the suspicion that the current driver in the machinekit-hal project is WIP and in an unclear state right now. I have therefore dropped this approach.

I did look at the driver in the (old, archived but stable) machinekit project. The issue here seems to be around the rtapi lib which differs quite a bit between linuxcnc and machinekit. I think this is an issue that needs more time then I'm willing to spend on this (*).

I have ordered a Raspberry PI and a Mesa card now.

(*) This is because I'd still be stuck with the following downsides of the solution in this case
- a board that just barely handles the load
- a board that is _very_ limited from a Graphics perspective
- a I/O board that is essentially flying wires

Thanks for all the support
Malte

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216908 by andypugh

Now I get undefined types. Is e.g. "u32" defined somewhere in linuxcnc? 
u32 is defined in <linux/types.h> which refers to <asm/types.h>

You could try using hal_u32_t  instead, which should be portable between uspace and kernel code, etc. 


 

Please Log in or Create an account to join the conversation.

Time to create page: 0.298 seconds
Powered by Kunena Forum