# Bookworm 6.6.y for the uConsole and DevTerm

**URL:** <https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235>\
**Category:** uConsole\
**Tags:** devterm, uconsole, os-image, cm4\
**Created:** [May 5, 2024, 3:28am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235 "2024-05-05T03:28:26Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [May 5, 2024, 3:28am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/1 "2024-05-05T03:28:26Z")

</div>

# Don’t post in this thread, refer to this thread !

> [@Bookworm 6.12.y for the uConsole and DevTerm](https://forum.clockworkpi.com/t/bookworm-6-12-y-for-the-uconsole-and-devterm/15847):
>
> UPDATE: 6.12.45 Image Updated and enabled PCIE and Ethernet to get it ready for the new adapter boards that are coming out. This will also be the last release of Bookworm. Debian is one of the oldest operating systems based on the Linux kernel, and is the basis of many other Linux distributions. The Debian Project is an association of individuals, sharing a common goal: We want to create a free operating system, freely available for everyone. Now, when we use the word “free”, we’re not talking …

# UPDATE: 6.6.78 Image

Updated image, firmware, kernel, and tweaks to help the CM5 work better in the hardware. This image does not need any of the tweaks below. This image the FS will not auto expand, with people having problem with the sd card on the CM5 I thought best to leave it out for now. If you have problems with your sd card try adding `sdhci.debug_quirks2=4` to you cmdline.txt file.

# UPDATE: CM5 Audio Now Available!

CM5 audio is here! Kernel 6.6.77 now has a experimental PWM audio driver. It’s currently out of tree so it won’t be added to my GitHub kernel yet. You’ll need to update your config.txt file to enable it. Here’s a current copy of how it should look [HERE](https://pastebin.com/raw/P4zpHDjm) or add `dtoverlay=test-rp1-audio-out` to the `[pi5]` section of the config.txt  
I have also included a newer panel driver for the CM5. It is a little more reliable but not 100% yet. I do have a hack way of making it even more reliable but it requires a systemd service to manually kick on the backlight when it fails to start. Download [backlight.service](https://pastebin.com/raw/V4ZbK5KE) and name it `blacklight.service` then place it in `/etc/systemd/system/` then activate it by `sudo systemctl enable backlight` if a image fails to display then a restart is required.

# Features: ClockworkPi-CM4-Bookworm-6.6.y

- Desktop, Lite, and RetroPie images available.
- Image built using Pi-Gen.
- APT repo added for LTS kernel updates.
  - Bleeding edge repo available for the latest kernel 6.10.y. You need to add the bleeding repo.

- Dark mode for all screens (first boot, login, desktop)
- Sane charging defaults applied.
- External WiFi antenna already set in config.txt.
- A few clockworkpi images for wallpapers.
- Activate 4g card by `uconsole-4g enable` and `uconsole-4g disable`
- linux-headers included with kernel
- Works with both DevTerm and uConsole.
- Updated driver overlays - easier config.txt management.
  - Just follow the instructions at the bottom of the config.txt

Raspberry Pi Imager will cause image not to boot if you apply custom settings.

 ![IMG_20250216_220124732_HDR](https://canada1.discourse-cdn.com/flex029/uploads/clockworkpi/original/2X/0/0be1008ea17d2fa886ab92c94d01cb7065866466.jpeg)

I have added a few working/testing images and kernels with the \*.deb files to install in the mega folder if you want for different OSs.

> **[File folder on MEGA](https://mega.nz/folder/LSInGD6J#0YezWX8xC4PkbyForgl1Hw)**

Google Drive link for the main image if Mega doesn’t work for you.

> **[ClockworkPi - Google Drive](https://drive.google.com/drive/folders/1tw2uPVPsFDhQ5Onx4mlllYexUDmDp0eK?usp=sharing)**

  

Here’s my Github with the rpi-6.6.y branch if you’d like to compile yourself. All the ClockworkPi drivers are pre-marked to compile in bcm2711\_defconfig or bcm2712\_defconfig. Also the APT repo with kernels and hardware scripts for ClockworkPi devices

> **[ak-rex - Overview](https://github.com/ak-rex)**
>
> Amateur programmer/tinkerer. ak-rex has 7 repositories available. Follow their code on GitHub.

  

Support my work and buy me a coffee here.

> **[Rex](https://buymeacoffee.com/ak.rex)**
>
> I'm a passionate open-source programmer, dedicated tinkerer, disabled veteran, and proud father. I served 8 years in the U.S. Army as a truck driver and communications expert.Transitioning to civilian

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 3:52am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/2 "2024-05-05T03:52:57Z")

</div>

Is this image already has pre-disabled kernel update(as it was on 6.1)?

---

<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:** [May 5, 2024, 3:56am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/3 "2024-05-05T03:56:24Z")

</div>

Yes it does and I’m going to work on a repository to apt update the kernel. I’ll set a build script up to do it once a month. I’ll post here when I get that completed. You’ll just have to add the repository when I’m done.

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 3:58am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/4 "2024-05-05T03:58:30Z")

</div>

Solid work, thank you! installing the image)

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 5:59am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/5 "2024-05-05T05:59:31Z")

</div>

have succeed to apply rotation for plasma login screen? as i can set rotation within desktop, but not when do first power on(

---

<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:** [May 5, 2024, 6:03am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/6 "2024-05-05T06:03:37Z")

</div>

The login screen is the only screen I have no F’n clue whats going on. I can rotate the console, lightDM first boot, desktop. but I’ve been looking and looking but cant figure out how to do it. If you figure that out let me know.

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 6:30am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/7 "2024-05-05T06:30:03Z")

</div>

fixed it.

1. add next line

xrandr --output DSI-1 --rotate right

to the file

/usr/share/sddm/scripts/Xsetup

1. Add next lines

[X11]  
DisplayCommand=/usr/share/sddm/scripts/Xsetup

to the file

/var/lib/sddm/state.conf

reboot.

after i got correct rotation right after boot. maybe it will help

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 9:12am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/8 "2024-05-05T09:12:42Z")

</div>

The last small issue is with the sound while play VCMI. Small glitches appears when on stock clockwork image everything is fine and audio is clear

disappeared when selected pulse-audio and rebooted in raspi-config

---

<div class="post-metadata">

**Author:** ![yatli](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/yatli/32/6253_2.png) [@yatli](https://forum.clockworkpi.com/u/yatli)\
**Post date:** [May 5, 2024, 9:12am UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/9 "2024-05-05T09:12:50Z")

</div>

For Arch, usually this is enough:

> <https://github.com/yatli/arch-linux-arm-clockworkpi/blob/ff5b553ff25b39ef296e2f048c83c97533b756f7/README.md?plain=1#L158-L165>

---

<div class="post-metadata">

**Author:** ![Mykhailo\_Chuha](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/mykhailo_chuha/32/8423_2.png) [@Mykhailo\_Chuha](https://forum.clockworkpi.com/u/Mykhailo_Chuha)\
**Post date:** [May 5, 2024, 4:38pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/10 "2024-05-05T16:38:45Z")

</div>

does retropie works with wayland anyone?

---

<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:** [May 5, 2024, 4:42pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/11 "2024-05-05T16:42:13Z")

</div>

I know retroarch and emulationstation does.

---

<div class="post-metadata">

**Author:** ![ladyerrant](https://avatars.discourse-cdn.com/v4/letter/l/7bcc69/32.png) [@ladyerrant](https://forum.clockworkpi.com/u/ladyerrant)\
**Post date:** [May 5, 2024, 5:16pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/12 "2024-05-05T17:16:50Z")

</div>

Thank you for this! The 6.6.30 kernel fixed the problems I had with hardware accelerated video decode.

---

<div class="post-metadata">

**Author:** ![OE4DNS](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@OE4DNS](https://forum.clockworkpi.com/u/OE4DNS)\
**Post date:** [May 5, 2024, 8:22pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/13 "2024-05-05T20:22:33Z")

</div>

It would be great to integrate your work in [Armbian](https://www.armbian.com/) - only I have no clue how to get it in there.

It would also take care of the distribution - Mega is, well, not so Mega 😉

---

<div class="post-metadata">

**Author:** ![Sticknui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sticknui/32/7018_2.png) [@Sticknui](https://forum.clockworkpi.com/u/Sticknui)\
**Post date:** [May 5, 2024, 9:01pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/14 "2024-05-05T21:01:06Z")

</div>

I downloaded the 6.6 kernel file from Mega. I thought the zips were going to be .deb files but they are just folders with a lot of subfiles. how is that supposed to be installed? I already have the previous image with the 6.1 kernel running own my console. and I would lie to update the kernel rather than redeploying a new OS on the system. is that possible to do with the files in that download?

---

<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:** [May 5, 2024, 9:22pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/15 "2024-05-05T21:22:03Z")

</div>

Yes, the contents of the “out” folder needs to be dumped in the boot partition and the other folder gets dumped in the root partition.

```auto
cp -r out/* $bootfs/
cp -r lib/* $roofs/lib/

```

Something like that

---

<div class="post-metadata">

**Author:** ![Sticknui](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sticknui/32/7018_2.png) [@Sticknui](https://forum.clockworkpi.com/u/Sticknui)\
**Post date:** [May 5, 2024, 9:25pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/16 "2024-05-05T21:25:54Z")

</div>

Thanks I’ll make a backup of this SD card and then give that a shot.

---

<div class="post-metadata">

**Author:** ![SandDanGlokta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sanddanglokta/32/6101_2.png) [@SandDanGlokta](https://forum.clockworkpi.com/u/SandDanGlokta)\
**Post date:** [May 5, 2024, 10:25pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/17 "2024-05-05T22:25:30Z")

</div>

Appears gpio isn’t working thus breaking the 4G extension script.

The brightness keys are easily fixed with brightnessctl as mentioned in one of the previous image threads.

---

<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:** [May 5, 2024, 10:30pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/18 "2024-05-05T22:30:43Z")

</div>

The original patches used now deprecated commands. I had to rework the audio patch to work. I can take a look and see what’s going on but I don’t have a the 4g card or a uConsole. So I can’t test it.

---

<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:** [May 5, 2024, 10:31pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/19 "2024-05-05T22:31:50Z")

</div>

What commands are you using for the gpio?

---

<div class="post-metadata">

**Author:** ![SandDanGlokta](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/sanddanglokta/32/6101_2.png) [@SandDanGlokta](https://forum.clockworkpi.com/u/SandDanGlokta)\
**Post date:** [May 5, 2024, 10:36pm UTC](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235/20 "2024-05-05T22:36:46Z")

</div>

> <https://github.com/yatli/arch-linux-arm-clockworkpi/blob/main/uconsole-4g-clockworkpi-cm4/uconsole-4g-cm4>

Here’s the script.

[Next page](https://forum.clockworkpi.com/t/bookworm-6-6-y-for-the-uconsole-and-devterm/13235.md?page=2)
