When you run pncconf, you choose the machine name.
When you have finished creating a configuration, the hal/ini files
will be stored in your home directory/linuxcnc/configs/machine_name/.
The ini and main hal files will be named "machine_name.ini and
machine_name. hal.
For example, I just ran a pncconf session and created
a configuration for a machine called "bob-jones", here
are the files in the created directory:
peter@pcw-HP-EliteDesk-800-G1-USDT:~/linuxcnc/configs/bob-jones$ ls
backups custom_gvcp.hal postgui_call_list.hal
bob-jones.hal custom.hal shutdown.hal
bob-jones.ini custom_postgui.hal tool.tbl
The card name is in the bob-jones.ini file:
[HMOT]
CARD0=hm2_5i25.0
You would need to change this to
[HMOT]
CARD0=hm2_7c81.0
The driver is specified in the bob-jones.hal file:
loadrt hm2_pci config=" num_encoders=0 num_pwmgens=1 num_stepgens=5"
You would need to change this to
loadrt hm2_rpspi config=" num_encoders=0 num_pwmgens=1 num_stepgens=5"
BTW the main card setup I used was:
config (note that I have chosen 5 stepgens since 1 is used to drive the G540s charge-pump)
connector 3 (which would be P1 on a 7C81)