Raspberry Pi 4

More
7 years 1 month ago #146034 by Bertho
Replied by Bertho on topic Raspberry Pi 4

PCW wrote: I dont get that message
is it the hostmot2 debug settings I need to change?

You can set the "spi_debug" parameter on the hm2_rpspi driver in the configuration to 3 (INFO level) or, if you are adventurous, 4 (DEBUG level). That should get you a noisy log file. Setting it to 5 will enable any and all messages generated by any hal component. Note that this parameter will affect the entire hal message setting, so all modules will start spewing extra information.

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

More
7 years 1 month ago - 7 years 1 month ago #146126 by cakeslob
Replied by cakeslob on topic Raspberry Pi 4
This is working with the 7c81 and rpi4, thanks
Last edit: 7 years 1 month ago by cakeslob.

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

More
7 years 1 month ago #146129 by Bertho
Replied by Bertho on topic Raspberry Pi 4

cakeslob wrote: This is working with the 7c81 and rpi4, thanks

Success! Thanks for the feedback.

There is probably nothing preventing a pull request now to get this change in the main repo. I guess this should be added to both 2.7, 2.8 and 2.9 branches.

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

More
7 years 1 month ago #146169 by acondit
Replied by acondit on topic Raspberry Pi 4
I got linux-5.2.14-rt7 running on my RockPro64. So, I used John Thornton's instruction for the raspberry pi4b and built linuxcnc (userspace) .

I was able to start linuxcnc via ssh from my mac and got the config selector window. I didn't have my 7i76e plugged in because I haven't bought a USB3 to ethernet converter. Now that I have rt_preempt and linuxcnc both apparently running I will have to do that.

Thank you John.

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

More
7 years 1 month ago #146558 by Chris D
Replied by Chris D on topic Raspberry Pi 4
" the 7C80 still needs its inmux firmware module support added to the hostmot2 driver"

What does that mean?

Chris D

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

More
7 years 1 month ago #146591 by andypugh
Replied by andypugh on topic Raspberry Pi 4

Chris D wrote: " the 7C80 still needs its inmux firmware module support added to the hostmot2 driver"
What does that mean?


It sounds like the 7C80 uses a Hostmot2 module that is not currently supported by the LinuxCNC driver.
Hostmot2 defines a number of modules, with an identifying code:
github.com/LinuxCNC/linuxcnc/blob/master...tmot2/hostmot2.h#L92
(I suspect that some marked as "not supported" are actually now supported. But "inmux" is not even listed.)

Each GTAG type has its own driver file, for example GTAG 128, led, is handled by led.c
github.com/LinuxCNC/linuxcnc/blob/master.../mesa-hostmot2/led.c
(I chose that one as it is the simplest of them, but all the driver files follow the same structure)

The very first thing I did with LinuxCNC coding was write the tp_pwmgen driver to enable use of the 7i49 card. If you fancy a project....

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

Time to create page: 0.251 seconds
Powered by Kunena Forum