Bookworm 6.6.y for the uConsole and DevTerm

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

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 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 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.

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.

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


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


Support my work and buy me a coffee here.

63 Likes
New Distro Poll
Android apps running on the uConsole CM4 via Waydroid
Sunvox on Uconsole CM4
Retropie on uconsole
What’s is the current state of the hardware and software?
New uConsole won't boot up
Initial Impressions (with CM4-108000)
Raspbian OS, sudo apt update failed
Favorite OS and applications to use on the uConsole?
Guide to configure your own OS for uConsole-CM4
CM5 for DevTerm
How to make an OS image from vanilla Raspbian OS?
Update to uConsole
Initial Impressions (with CM4-108000)
Cellular Modem Service
Update: uConsole shipping related
Uconsole infinite reboot
Speakers stopped working
CM4 Adapter does not work
About R-01, software and difference
Newer kernel than 5.4.61+?
How do I prevent kernel updates from bricking my CM4 DevTerm?
New uConsole and already has screen burn-in
SunVox on uConsole
Cm5 help o.s image
uConsole-Sleep v1.3
Uconsole turns off after few minutes of use
Updated guide for Bookworm : encrypted root partition on uConsole
Should I get a CM4 or CM5?
Should I get a CM4 or CM5?
So how do I do... anything?
Confused on updates
I have some questions. please
uPico Expansion Card
Disable Autologin for CM4?
EXT Cartridge Module
uConsole os Images
Setting DevTerm as a writer deck
uConsole-Sleep v1.3
Retropie on uconsole
RPi OS Bookworm CM4 ........i think i have cracked getting new custom OS recipe
Raspberry pi os build with some pre-installed apps
Id like to upgrade my OS
Brand new uconsole no picture on lcd
Brand new uconsole no picture on lcd
Android apps running on the uConsole CM4 via Waydroid
A couple weeks with the uConsole
Update: uConsole shipping related
Unable to launch Chromium after apt upgrade
The screen remains unlit after assembling the UConsole

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

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.

9 Likes

Solid work, thank you! installing the image)

3 Likes

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

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.

1 Like

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

1 Like

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

For Arch, usually this is enough:

3 Likes

does retropie works with wayland anyone?

I know retroarch and emulationstation does.

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

It would be great to integrate your work in Armbian - 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 :wink:

1 Like

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?

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.

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

Something like that

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

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.

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.

What commands are you using for the gpio?

Here’s the script.