I have been working through this more over time.
My main goal is to create a MainsailOS image (See: MainsailOS repo).
This uses a released version of armbian built through Mainsail Armbian Builds repo
I can get an image built, work through the Mainsail release, and that all works ok, but the touch screen issue remains.
I have looked at the ./compile/sh tool as described here: armbian build tool
It seems that the bananapicm4io does not have the capacitive touchscreen kernel modules enabled by default. This is from running ./compile/sh and choosing to modify the kernel. Then looking into (from memory, so it may not be the exact path) Device Drivers > Input Devices > Miscellaneous and checking the capacitive touch screen (ASD78...something) and I also checked the ADXL option since we use that in 3D printers as well. Currently, I am burning another image with them enabled, to see if that cures the issue.
So, my question is, can I fork armbian build and adjust the kernel options to suit my use case? If so, how would I do that?
Thanks a bunch.