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
Merge request reports
Activity
added 1 commit
- 476f7498 - Fix deviceinfo_name in deviceinfo and remove CHANGEME in modules-initfs
By Federico Amedeo Izzo on 2024-01-23T19:42:21
- Resolved by Administrator
I can't figure out why CI job #1148732032 has failed. Can you help me fix the CI?
By Federico Amedeo Izzo on 2024-01-29T10:01:15
Edited by Ghost User
- Resolved by Administrator
I supported the Raspberry CM4 edition, as it's what I have. I think other editions can be added as variants in the future.
Perhaps rename to
clockworkpi-uconsole-cm4
?By f_ on 2024-01-28T18:55:13
Edited by Ghost User
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added category::device device-category::testing type::feature labels
added 1 commit
- e37e3f60 - clockworkpi-uconsole-cm4: new device
By Federico Amedeo Izzo on 2024-01-28T18:51:22
- Resolved by Administrator
Update on the display issue:
I switched from the patches provided by Clockwork Tech to the improved version from this arch port.
- The good news: the display now initializes properly and we now have Linux 6.1.74
- The bad news: WiFi stopped working
I had to adapt the new patches because they were meant for the Raspberry Pi CM3 which uses the external WiFi/BT module (On the uConsole motherboard), while the CM4 uses the internal one (on the CM4).
I removed the dts patches related to the WiFi/BT module but I might have missed something.
WiFi is the last thing missing from making this port complete I think.
By Federico Amedeo Izzo on 2024-01-29T08:01:18
Edited by Administrator
added 1 commit
- 81bde9cd - clockworkpi-uconsole-cm4: Removed dts overlay lines breaking WiFi. Change boot to FAT32
By Federico Amedeo Izzo on 2024-01-29T07:51:42
added 39 commits
-
81bde9cd...5e7ab9f3 - 37 commits from branch
postmarketOS:master
- 75335715 - clockworkpi-uconsole-cm4: new device
- 5fb151c0 - clockworkpi-uconsole-cm4: Removed dts overlay lines breaking WiFi. Change boot to FAT32
By Federico Amedeo Izzo on 2024-01-29T07:52:09
-
81bde9cd...5e7ab9f3 - 37 commits from branch