Raspberry Pi 4 with Mesa 7c81

More
13 Jan 2021 06:31 #195184 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
I should have asked what is /dev/spidev0.0?

Thanks again

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

More
13 Jan 2021 06:34 #195185 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
Linuxcnc 2.8.1

Unsure what version of Mesaflash and not sure how to tell. It does list the 7c81 in the help file (which I know is only recently added...)

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

More
13 Jan 2021 06:35 #195186 by PCW
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81
That's the kernel spi device (for access to the SPI hardware via the kernel driver)
Do you have SPI enabled in the RPI?

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

More
13 Jan 2021 06:38 #195187 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
I will reboot

Cable is less than 2”
Attachments:

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

More
13 Jan 2021 06:42 #195188 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
SPI is disabled in raspi_config as recommended here:

linuxcnc.org/docs/2.8/html/man/man9/hm2_rpspi.9.html

I did manually toggle leds on and off using halcmd. I assume that was over spi??

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

More
13 Jan 2021 06:47 - 13 Jan 2021 06:47 #195189 by PCW
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81
Mesaflash needs the device driver enabled

I have in enabled in my config, I dont see that that's
actually an issue unless you are running some application
that accesses SPI (other than LinuxCNC)
Last edit: 13 Jan 2021 06:47 by PCW.

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

More
13 Jan 2021 06:53 #195190 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
That did it! Can’t thank you enough.

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

More
15 Jan 2021 04:48 #195400 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
Just getting into pncconf for the first time. I am not sure how to setup and modify the configuration as suggested to get the 7c81 with g540x2d up and running. Any help would be greatly appreciated.

Am I trying to “Modify a configuration already created with this program”? Is so please help with how to do this. Thank you!

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

More
15 Jan 2021 06:08 #195406 by PCW
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81
I would create a suitable configuration for a 5I25 + G540
then hand edit the created hal and ini files to change
the driver and card names

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

More
15 Jan 2021 07:52 #195414 by JohnG
Replied by JohnG on topic Raspberry Pi 4 with Mesa 7c81
How do I go about editing the Hal and ini files?

What driver would the 7c81 use and is it already installed?

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

Moderators: PCWjmelson
Time to create page: 0.135 seconds
Powered by Kunena Forum