# Arch Linux ARM for uConsole w/ RPi CM5

**URL:** <https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382>\
**Category:** uConsole\
**Tags:** archlinux, cm5\
**Created:** [March 29, 2025, 11:05pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382 "2025-03-29T23:05:54Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![PeterCxy](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petercxy/32/11395_2.png) [@PeterCxy](https://forum.clockworkpi.com/u/PeterCxy)\
**Post date:** [April 26, 2025, 1:48pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/41 "2025-04-26T13:48:44Z")

</div>

> [@mterencelao](#):
>
> You mean, version `6.12.22.r1316782.202504250215.aff0059-1`? I can disable your `systemd` service for a while to test.

Yes, but it is only applied to the CM5 device tree. CM4/CM3 use the BCM2835 audio driver and that doesn’t support what I did on CM5.

---

<div class="post-metadata">

**Author:** ![PeterCxy](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petercxy/32/11395_2.png) [@PeterCxy](https://forum.clockworkpi.com/u/PeterCxy)\
**Post date:** [April 26, 2025, 7:01pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/42 "2025-04-26T19:01:33Z")

</div>

Another small update: the `axp20x_battery` driver now reports `energy_now` based on what the PMIC reports, not just the design capacity.

You can now also customize your battery’s capacity with

```auto
dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=<full charge in uAh>,energy_full_design_uwh=<full charge in uWh>

```

_after_ the `dtoverlay=clockworkpi-uconsole-*` line.

For example I added an extra 2040mAh battery to my uConsole with 2 existing 3500mAh batteries, I would write:

```auto
dtoverlay=clockworkpi-custom-battery,charge_full_design_uah=9040000,energy_full_design_uwh=32544000

```

`energy_full_design_uwh` assumes a 3.6V typical voltage.

Both of these changes will be PR’d back to Rex’s kernel soon.

---

<div class="post-metadata">

**Author:** ![mterencelao](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mterencelao/32/9066_2.png) [@mterencelao](https://forum.clockworkpi.com/u/mterencelao)\
**Post date:** [June 8, 2025, 4:38am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/43 "2025-06-08T04:38:06Z")

</div>

The 6.12.30 kernel is out, which brings back the charging light. An update would be appreciated.

---

<div class="post-metadata">

**Author:** ![PeterCxy](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petercxy/32/11395_2.png) [@PeterCxy](https://forum.clockworkpi.com/u/PeterCxy)\
**Post date:** [June 8, 2025, 12:41pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/44 "2025-06-08T12:41:30Z")

</div>

It was updated yesterday to 6.12.32. Didn’t pay attention to charging light though, but if it’s back without special config / userspace components then it should be back.

---

<div class="post-metadata">

**Author:** ![YoelFievelBenAvram](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yoelfievelbenavram/32/10088_2.png) [@YoelFievelBenAvram](https://forum.clockworkpi.com/u/YoelFievelBenAvram)\
**Post date:** [June 18, 2025, 2:50am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/45 "2025-06-18T02:50:23Z")

</div>

Just a heads up. Building from source with @Rex’s latest branch merge breaks keyboard and trackball input.

---

<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:** [June 18, 2025, 2:53am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/46 "2025-06-18T02:53:02Z")

</div>

Did it? I was about to compile and test it to upload the new package. I should get on that ASAP see what’s wrong.

---

<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:** [June 18, 2025, 3:44am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/47 "2025-06-18T03:44:52Z")

</div>

You are correct, not sure what happened but looking now.

---

<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:** [June 18, 2025, 4:00am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/48 "2025-06-18T04:00:44Z")

</div>

Not sure, the only changes from the RPi kernel was the same changes that’s been there I reverted the merge from RPi earlier today for now till I look into it.

---

<div class="post-metadata">

**Author:** ![YoelFievelBenAvram](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yoelfievelbenavram/32/10088_2.png) [@YoelFievelBenAvram](https://forum.clockworkpi.com/u/YoelFievelBenAvram)\
**Post date:** [June 18, 2025, 4:06pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/49 "2025-06-18T16:06:49Z")

</div>

Rebuilt just now and it still didn’t work, but I’m not sure if it’s my fault because I forgot my sd card reader at home and can’t see what happened. When I get home I’ll try again and let you know how it goes. Thanks for looking into it so quickly though.

---

<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:** [June 18, 2025, 4:29pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/50 "2025-06-18T16:29:08Z")

</div>

I looked it’s nothing on my end is wrong but they did make several changes to `dwc2` here’s just 2 of the many.

> <https://github.com/raspberrypi/linux/commit/d75a2fffa2120cc7042e004e7f0780a1692906b1>
>
> The HFNUM register increments on every microframe in HS mode, and USB
> device dri…vers expect the returned frame count to relate to the overall
> frame. Right-shift the returned value by 3 to drop the microframe bits.
> 
> Signed-off-by: Jonathan Bell \<jonathan@raspberrypi.com\>

> <https://github.com/raspberrypi/linux/commit/781f2e0cf8c9281c9b60dfbc5cfc7a243a0894be>
>
> Masquerading Interrupt split transfers as Control puts the transfer into
> the non…-periodic handler in the hub. This stops the hub dropping
> complete-split data in the microframe after a CSPLIT should have
> arrived, improving resilience to host IRQ latency. Devices are none the
> wiser - the handshake tokens are the same.
> 
> Originally devised by Hans Petter Selasky @ FreeBSD.
> 
> Signed-off-by: Jonathan Bell \<jonathan@raspberrypi.com\>

I suspect one of the changes broke USB for us. I’ll go over them later and see what needs reverted and do a PR to get it fixed.

---

<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:** [June 18, 2025, 4:33pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/51 "2025-06-18T16:33:05Z")

</div>

I just seen there are 2 new commits for dwc2, I just merged them. Going to compile and test to see if RPi fixed it already.

---

<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:** [June 18, 2025, 7:37pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/52 "2025-06-18T19:37:10Z")

</div>

![20250618_15h34m21s_grim](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/9/94d732cb69f541e04bd957eccc18e16088cbe379.png)

One of the 2 changes they made this morning fixed the issue, USB works again with 6.12.33.

---

<div class="post-metadata">

**Author:** ![YoelFievelBenAvram](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yoelfievelbenavram/32/10088_2.png) [@YoelFievelBenAvram](https://forum.clockworkpi.com/u/YoelFievelBenAvram)\
**Post date:** [June 18, 2025, 10:12pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/53 "2025-06-18T22:12:55Z")

</div>

Can confirm! Working great.

---

<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:** [June 19, 2025, 1:54pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/54 "2025-06-19T13:54:13Z")

</div>

I found another problem with 6.12.33 USB storage is not working for me.

---

<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:** [June 23, 2025, 9:16pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/55 "2025-06-23T21:16:54Z")

</div>

RPi fixed the issue, it’s not merged yet mainline yet but I’ve fixed the issue in my fork. Build away!

---

<div class="post-metadata">

**Author:** ![YoelFievelBenAvram](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yoelfievelbenavram/32/10088_2.png) [@YoelFievelBenAvram](https://forum.clockworkpi.com/u/YoelFievelBenAvram)\
**Post date:** [June 24, 2025, 12:18am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/56 "2025-06-24T00:18:36Z")

</div>

Thanks as always! Seems to be working.

---

<div class="post-metadata">

**Author:** ![mterencelao](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mterencelao/32/9066_2.png) [@mterencelao](https://forum.clockworkpi.com/u/mterencelao)\
**Post date:** [June 26, 2025, 2:42am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/57 "2025-06-26T02:42:38Z")

</div>

By the way, the recent Arch Linux update [has the `linux-firmware` package split by vendor](https://archlinux.org/news/linux-firmware-2025061312fe085f-5-upgrade-requires-manual-intervention/), and Arch Linux ARM is also affected by the change. [Updating the package now pulls in a motherload of firmware bloat.](https://archlinuxarm.org/packages/any/linux-firmware) Can somebody update the kernel package to accept only the minimum firmware?

---

<div class="post-metadata">

**Author:** ![trinity](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/trinity/32/16167_2.png) [@trinity](https://forum.clockworkpi.com/u/trinity)\
**Post date:** [June 26, 2025, 5:51am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/58 "2025-06-26T05:51:56Z")

</div>

I’ve been daily driving this image since a bit after it was posted and now I’ve (re-)made an account to post here. Thank you very much for this. Today I’ve upgraded to kernel version 6.12 and through some trial and error once again have a working system.

I have a novice question: How do I configure this kernel for [Waydroid](https://wiki.archlinux.org/title/Waydroid)? I’ve been feeling my way towards a working setup but this feels relevant given the audience and if you could give me any tips you would help me out a lot.

---

<div class="post-metadata">

**Author:** ![mterencelao](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mterencelao/32/9066_2.png) [@mterencelao](https://forum.clockworkpi.com/u/mterencelao)\
**Post date:** [June 26, 2025, 6:43am UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/59 "2025-06-26T06:43:27Z")

</div>

Glad you asked.

It used to be that older versions of `linux` required you to [install an additional `binder_linux-dkms` package](https://aur.archlinux.org/packages/binder_linux-dkms/). But the standard wiki suggests that [the `binder` kernel module necessary for Android to work is now included as standard](https://wiki.archlinux.org/title/Waydroid#Kernel_Modules), so feel free to get Waydroid in one of the following ways:

1. [Create and install your own package](https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages) [using AUR here](https://aur.archlinux.org/packages/waydroid/). You may [install the `yay` helper first](https://aur.archlinux.org/packages/yay-bin) if prolonged exposure to the terminal scares you.
2. [Add the `archlinuxcn` repository to your `/etc/pacman.conf` file](https://wiki.archlinux.org/title/Unofficial_user_repositories#archlinuxcn), and install the keyring using `pacman -Sy archlinuxcn-keyring`. Afterwards, install the app itself using `pacman -Syu waydroid`.

I happen to have Waydroid installed on my install, and what few apps I ran it with worked. Mostly.

---

<div class="post-metadata">

**Author:** ![YoelFievelBenAvram](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yoelfievelbenavram/32/10088_2.png) [@YoelFievelBenAvram](https://forum.clockworkpi.com/u/YoelFievelBenAvram)\
**Post date:** [June 26, 2025, 2:03pm UTC](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382/60 "2025-06-26T14:03:07Z")

</div>

Were you not able to build the standard aur waydroid package? I didn’t have any problem using stock everything, but I admittedly didn’t play with it long before uninstalling it.

[Previous page](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382.md?page=2)

[Next page](https://forum.clockworkpi.com/t/arch-linux-arm-for-uconsole-w-rpi-cm5/16382.md?page=4)
