# RPI CM5 support with stock raspberry pi os

**URL:** <https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960>\
**Category:** uConsole\
**Tags:** linux, cm5\
**Created:** [July 14, 2026, 11:43am UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960 "2026-07-14T11:43:47Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 14, 2026, 11:43am UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/1 "2026-07-14T11:43:47Z")

</div>

Hello! I was asked on reddit to write a small post here about my small project, maybe someone would find it useful.

Recently got a uConsole with a CM5 board. While looking into available OS options, it turned out that neither ClockworkPi’s nor stock Pi OS supports the device out of the box — so I decided to make a small project based on the stock image + DKMS for the drivers that aren’t included. And here it is.

The idea is to keep the kernel stock and updatable, with hardware support living in out-of-tree DKMS modules + device-tree overlays instead of a custom kernel. Nothing here is tied to Raspberry Pi OS specifically — it builds against the stock Raspberry Pi kernel, so the same approach should work on other Pi distros (Ubuntu, Debian, etc.). I’ve tested it on Raspberry Pi OS (Trixie); on other distros the installer would need small tweaks, since it currently assumes `apt` and RPi OS package/paths.

**How to use it:**

1. Flash the latest Raspberry Pi OS with the Imager tool (set hostname, user/password and Wi-Fi in the Imager settings)

2. SSH into the device

3. Copy the project over (`scp -r`) and run `./install.sh`

After a reboot you get a fully working device: display, backlight, keyboard/trackball, audio (with headphone auto-mute), volume control, battery reporting, and the power button.

Also it was tested that updating rex kernel to stock one + installing the drivers works too, so you don’t have to reflash your device.

Project: [GitHub - yota9/uconsole-cm5: DKMS drivers for stock rpi OS support on clockwork uConsole with rpi CM5 · GitHub](https://github.com/yota9/uconsole-cm5)

Thank you!

---

<div class="post-metadata">

**Author:** ![monad](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/monad/32/16885_2.png) [@monad](https://forum.clockworkpi.com/u/monad)\
**Post date:** [July 14, 2026, 3:29pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/2 "2026-07-14T15:29:36Z")

</div>

Used this last night on a fresh uconsole build. Went extremely smooth. Thank you for your work!

---

<div class="post-metadata">

**Author:** ![TheNavyBear](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/thenavybear/32/16130_2.png) [@TheNavyBear](https://forum.clockworkpi.com/u/TheNavyBear)\
**Post date:** [July 14, 2026, 4:10pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/3 "2026-07-14T16:10:37Z")

</div>

Will this work on CM4 as well?

---

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 14, 2026, 4:37pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/4 "2026-07-14T16:37:47Z")

</div>

\>\> Will this work on CM4 as well?

No, currently unfortunately not. The overlay files of CM5 are incompatible with CM4, and I don’t have CM4 board to write and test them. Maybe someone can do it, pull requests are velcomed 🙂

---

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 20, 2026, 7:46pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/5 "2026-07-20T19:46:55Z")

</div>

Good news, recently PR was added to support ubuntu 26.04 with kernel 7.0 support!

---

<div class="post-metadata">

**Author:** ![Toml\_12953](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/toml_12953/32/11925_2.png) [@Toml\_12953](https://forum.clockworkpi.com/u/Toml_12953)\
**Post date:** [July 21, 2026, 6:16pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/6 "2026-07-21T18:16:29Z")

</div>

Where? It’s not on Rex’s image site.

---

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 21, 2026, 7:06pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/7 "2026-07-21T19:06:50Z")

</div>

What do you mean? It has nothing to do with Rex’s image site, it is separate project, github link in first post

---

<div class="post-metadata">

**Author:** ![Toml\_12953](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/toml_12953/32/11925_2.png) [@Toml\_12953](https://forum.clockworkpi.com/u/Toml_12953)\
**Post date:** [July 22, 2026, 6:04am UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/8 "2026-07-22T06:04:23Z")

</div>

OK, my bad. How would I go about running Ubuntu 26.04 on uConsole? The RPi Imager doesn’t allow you to enter WiFi info when flashing Ubuntu.

---

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 22, 2026, 12:25pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/9 "2026-07-22T12:25:34Z")

</div>

No problem 🙂 Well I might assume you can try to use usb ethernet then 🙂 Or you might connect HDMI cable and usb keyboard for example, I assume it shall work without problems. Or as I know using /boot/firmware/user-data you might try to execute script right on boot placing it on SD card.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [July 22, 2026, 12:40pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/10 "2026-07-22T12:40:31Z")

</div>

USB on the device will not work until the overlays and stuff are added.

---

<div class="post-metadata">

**Author:** ![och95v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/och95v/32/13999_2.png) [@och95v](https://forum.clockworkpi.com/u/och95v)\
**Post date:** [July 22, 2026, 5:12pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/11 "2026-07-22T17:12:54Z")

</div>

@Rex I’ve asked the guy who’s made ubuntu support PR, he said he used usb keyboard + hdmi and it worked out for him.

Anyway it is still possible to make script autorun using boot features, although changes in script might be needed 🙂 PRs are always welcomed.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [July 22, 2026, 5:31pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/12 "2026-07-22T17:31:48Z")

</div>

The USB ports on a stock uConsole need to be activated by the PMU using and overlay to work, that’s why with a stock RPi image the USB don’t work.

---

<div class="post-metadata">

**Author:** ![Rex](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/rex/32/16852_2.png) [@Rex](https://forum.clockworkpi.com/u/Rex)\
**Post date:** [July 22, 2026, 5:32pm UTC](https://forum.clockworkpi.com/t/rpi-cm5-support-with-stock-raspberry-pi-os/22960/13 "2026-07-22T17:32:36Z")

</div>

Making it auto setup everything should be trivial.
