Hi all,
Gene already mentioned that he received a newer version for the hm2_rpspi driver from me. The changes in that version are in my localtree:
github.com/BsAtHome/linuxcnc/blob/hm2_rp...hostmot2/hm2_rpspi.c
and
github.com/BsAtHome/linuxcnc/blob/hm2_rp...2/spi_common_rpspi.h
The change should fix the RPi detection dependency away from /proc/cpuinfo, which lacks information in the 64-bit arch. The fix gets the IObase address from /proc/device-tree/soc/ranges and functions in a similar way as libbcm_host. It also does away with RPi 1/2/3/4 distinction entirely because it is a none-issue. LCNC only works well on 3 and 4 anyway (maybe slowly on a 2). It will, however, note the hardware version by logging the content of /proc/device-tree/model.
The bad news is that I have not been able to test the code. The changes are entirely academic at the moment. Gene has been working on getting infrastructure up and running to test it. However, there are some challenges with the RPi4, so it takes time

I am reasonable convinced that the changes are correct, but there might be small issues yet.
If more have a running setup on RPi3 and RPi4, please see if the change works correctly. The changes in the driver reduce the underlying linux version and bitsize dependency and get the info directly from the kernel. That should be a good thing.
--
Greetings Bertho