clockworkpi-uconsole: new device
I ported postmarketOS to the ClockworkPi uConsole.
I supported the Raspberry CM4 edition, as it's what I have. I think other editions can be added as variants in the future.
There is already a postmarketOS wiki page created by someone else.
The source of information from this port is ClockworkPi's GitHub repositories:
- Patches to Raspberry Pi kernel (code, DTB and configuration)
- Arch port for uConsole CM3 with improved patches (better panel driver, updated to Linux 6.1)
- How ClockworkPi adapt OS image from DevTerm to uConsole
- How DevTerm OS image is built
I included the patch file in the linux-clockworkpi-uconsole
package, removing the patch section that applies to the kernel configuration and applying it directly to the kernel configuration file.
The port works but there is a single annoying bug with the display. It seems to work only when the uConsole is booted with a microHDMI cable connected to an external display, otherwise the display stays black. This seems to happen only in pmOS and not in the original OS.
I am out of ideas to fix the display bug, so I'd like to submit the current port, and hopefully someone can carry on and troubleshoot the display.
Update: I found an improved version of the kernel patches here uconsole-cm3 and was able to make all the hardware work on the latest 6.1.y Raspberry Pi kernel.
See https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4751#note_1746826602