Hi All,
Having finally received my Pi 5 on Boxing day, I wondered if this device could be used in the PiDP11. One of the most obvious changes from previous models is the the GPIO register map has changed as there is a new interface chip (RP1) on this board. However, the kernel developers have caught up with this and implemented a driver that may be used via libgpiod.
I have re-written the two GPIO interface apps ... scanswitch and pidp1170_blinkenlightd to use this library. The updated files are available via this link:
The apps have been tested using Bookwork 64.
Initially, I was concerned about the performance of this interface method in contrast to direct access to the GPIO registers as per the current build. But, I must say that it is not bad at all. This is partly offset by the Pi 5 performance which is such that the whole system now runs at ludicrous speed!!!!
In addition, it is quite possible that these updated apps may work at least on the Pi4 as the the kernel presents /dev/gpiochip0 which exposes the relevant GPIO lines. This would require a change of gpiochip4 to gpiochip0 in the apps.
NB: If you do decide to try a Pi5 in the PiDP11 case, I strongly recommend a heat sink with a fan! (Add some washers between the board and the nylon spacers or the fan may hit the PCB.)
Any feedback welcome, Ian.