PnCConf with RPI 4 and Mesa 7C81

More
5 years 11 months ago #189615 by smogol
Hello every one,
I am quite new with LinuxCNC, I managed once to setup linuxcnc 2.5.5 on an old PC running ubuntu 10.04 with a parallel port.
My goal is to replace this old lady with a raspberry pi 4 and a MESA 7C81.
Until now, the installation of linucCNC was a success thank to the post :
forum.linuxcnc.org/9-installing-linuxcnc...it-linuxcnc?start=10

I also could manage to compile the mesaflash and can "talk" to the 7C81 over the command:
mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --readhmid

My next step is to configure the MESA 7C81 over th PnCConf utility.
Unfortunately, I'm blocked with the warning "You have no hostmot2 firmware downloaded in folder:
/lib/firmware/hm2/"

I guess I have to install hostmot2, in some sort, but I don't find any further information.

Any help is welcome
Best regards

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

More
5 years 11 months ago #189620 by tommylight

smogol wrote:
My next step is to configure the MESA 7C81 over th PnCConf utility.
Unfortunately, I'm blocked with the warning "You have no hostmot2 firmware downloaded in folder:
/lib/firmware/hm2/"

That is pertaining to firmware for some other/older Mesa boards that required uploading the firmware at LinuxCNC start, new ones have that on board so you can safely ignore that and move on.

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

More
5 years 11 months ago #189658 by andypugh
If it refuses to continue without the firmware package:

sudo apt-get install hostmot2-firmware

Though I am not 100% sure that PnCConf knows about the 7C81.

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

More
5 years 11 months ago - 5 years 11 months ago #189661 by PCW
PNCConf does not support the 7C81.
The easiest path to creating a working hal/ini file for the 7C81 is probably:

1. Run pncconf and select 5I25/G540 firmware
2. Edit the created hal file and replace hm2_pci with hm2_rpspi
3. Replace all instances of "5i25" in the hal/ini files with "7c81" **
4. GPIO used for inputs and outputs will need to be hand edited in the hal file.

** if you select "Use INI substitution for Mesa board names." in pncconf
there will be just on instance of the board name in the ini file. If you do not
select this option, the board name will appear throughout the main hal file.
Last edit: 5 years 11 months ago by PCW.
The following user(s) said Thank You: smogol

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

More
5 years 11 months ago - 5 years 11 months ago #189662 by PCW
Sorry for double post...
Last edit: 5 years 11 months ago by PCW.

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

More
5 years 11 months ago #189716 by smogol
Thanks andypugh for your advice,
unfortunately, the RPI 4 does not have this package.

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

Moderators: cmorley
Time to create page: 0.206 seconds
Powered by Kunena Forum