[LinuxCNC/linuxcnc PR#649] Hm2 rpspi update for RPi4 and 64bit

未分类 bolang 5个月前 (10-15) 50次浏览

Issue #649 | 状态: 已关闭 | 作者: BsAtHome | 创建时间: 2019-09-28


The hostmot2 RPi SPI driver update to support the new Raspberry Pi 4 and will also run properly on 64-bit linux kernels. Additionally, the 7C80 and 7C81 Mesa cards (specific cards for the RPi) are now recognised and functional.
The changes do away with the detection of the RPi version and uses IO register hardware address resolution the same way as the libbcm_host by reading the appropriate /proc/device-tree entries from the kernel’s architecture defined DTS configuration files. The changes are confirmed to function on RPi3 and RPi4 on the forum thread.

The change should probably be added to both master branch as well as the 2.8 branch.


评论 (3)

#1 – andypugh 于 2019-09-29

I think you are right that it should go in 2.8 (though mozmck should have the final say)
But this pull request is against master…


#2 – BsAtHome 于 2019-09-29

Yes, this request is for master.
Should I create a separate pull request for 2.8 branch? Basically, just two files changed, so that should be trivial to create in a PR.


#3 – andypugh 于 2019-10-03

Merged to 2.8, so we will wait for a merge up from there rather than having a separate commit.


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/649

喜欢 (0)