Bookworm 6.6.y for the uConsole and DevTerm

I am sure that all the hardware installations are correct.

so the official image works?

No it doesn’t work still

Then you either have a dead component or something is assembled wrong.
I’d make a new post or contact clockwork.

How did you burn the image? I used the Raspberry pi imager, and had the same problem until I found out I had to select “no” when it asked if I wanted to “apply OS customization settings”. After that, it worked fine.

I now suspect that my CM4 core is faulty. I’m waiting for the new core to arrive, and I’ll give it another try once I get it.

Not able to get my CM5 to work with ClockworkPi-Bookworm-6.6.73.img.

  • Boot never completes, screen remains blank
  • The image boots fine using a CM4
  • Plugging in an external monitor, I get the boot error shown below.
  • CM5 is a CM5104000, 4GB Wireless, no eMMC

I haven’t modified config.txt from the image, so it still looks like this:

[all]
ignore_lcd=1
max_framebuffers=2
disable_overscan=1
dtparam=audio=on
dtoverlay=audremap,pins_12_13
dtoverlay=dwc2,dr_mode=host
dtparam=ant2

[pi4]
#dtoverlay=clockworkpi-devterm
#dtoverlay=clockworkpi-uconsole
#dtoverlay=vc4-kms-v3d-pi4,cma-384
#dtparam=spi=on

[pi5]
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtoverlay=spi0-0cs
dtparam=pciex1=off

##only edit the section of the pi you have, other section will be ignored.
##if you have a devterm uncomment devterm and comment out entries with uconsole.

I assume I’m doing something dumb somewhere.

1 Like

Have you tried a separate SD card?
It looks like it’s trying to boot from nvme.
Maybe a reflash and there’s no need to edit the config.txt at all the cm5 will ignore the pi4 section.

I’ll try out a different SD card.

I am convinced that everyone needs to order a cm4/5 carrier board and test their pi before trying it in devterm or uconsole.

2 Likes

Fair point, and I hadn’t tested the CM5s. I have now – tried both on a CM4 I/O board with a regular Raspberry Pi OS install on the SD card, and they both worked fine. Took that same SD card, imaged it again with ClockworkPi-Bookworm-6.6.73.img and… it worked.

So looks like Rex called it. And thanks for the work on the image, Rex!

1 Like

Could anyone tell me what model of SD card you are using for storage? Someone told me that the issue might be due to my TF card. I am using a Samsung V30 TF card. What about you guys in Dalian?

Have you guys used this TF card on the Uconsole?

1 Like

Hi @Rex, thanks for the amazing OS image!

I found an issue with the uconsole-4g-cm4.service file, where several warning appear in logs:

/etc/systemd/system/uconsole-4g-cm4.service:16: Unknown key 'After' in section [Install], ignoring.
/etc/systemd/system/uconsole-4g-cm4.service:3: Unknown key 'ConditionFileExecutable' in section [Unit], ignoring.

According to the documentation, After= key belongs in the [Unit] section, not in the [Install] section. And, it should be ConditionFileIsExecutable (Is is missing).

Here’s the script with the fixes:

[Unit]
Description=uConsole raspberry pi cm4 4G control daemon
ConditionFileIsExecutable=/usr/local/bin/uconsole-4g-cm4.sh
After=NetworkManager.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/uconsole-4g-cm4.sh enable
ExecStop=/usr/local/bin/uconsole-4g-cm4.sh disable

Restart=on-failure
RestartSec=2

[Install]
WantedBy=multi-user.target
2 Likes

What settings in config.txt did you use for the display? I’ve got everything working on my CM5 but the damn screen lol. I haven’t been lucky enough to get the 20 percent screen booting up.

hehe nevermind

4 Likes

Wondering what the status of this is, anything beyond audio not working?

The screen doesn’t work quite right yet. It fails to start about 20% of the time.

1 Like

Well if that’s all that’s wrong, that’s not too bad at all.

What a weird issue though, any logs for that?

Haven’t bought it yet but going to end of the week

I’ve spun of a Splunk Server to injest uconsole logs today to start processing for system profiling. Here’s what I’ve come up with to log. If anyone has anything to add please let me know.

#!/bin/bash

LOG_DIR=“/var/log/cm5_diagnostics”
TIMESTAMP=$(date “+%Y-%m-%d_%H-%M-%S”)
LOG_FILE=“$LOG_DIR/cm5_diag_$TIMESTAMP.log”

Ensure log directory exists

mkdir -p $LOG_DIR

Collect System and Hardware Info

echo “=== SYSTEM INFORMATION ===” > $LOG_FILE
uname -a >> $LOG_FILE
echo >> $LOG_FILE

echo “=== CPU INFORMATION ===” >> $LOG_FILE
lscpu >> $LOG_FILE
echo >> $LOG_FILE

echo “=== MEMORY INFORMATION ===” >> $LOG_FILE
free -h >> $LOG_FILE
echo >> $LOG_FILE

echo “=== STORAGE INFORMATION ===” >> $LOG_FILE
lsblk -a >> $LOG_FILE
echo >> $LOG_FILE

echo “=== PCI DEVICES ===” >> $LOG_FILE
lspci -vvv >> $LOG_FILE
echo >> $LOG_FILE

echo “=== USB DEVICES ===” >> $LOG_FILE
lsusb -v >> $LOG_FILE
echo >> $LOG_FILE

echo “=== GPIO AND I2C DEVICES ===” >> $LOG_FILE
gpio readall 2>/dev/null || echo “GPIO utility not installed” >> $LOG_FILE
i2cdetect -y 1 2>/dev/null || echo “I2C bus not found” >> $LOG_FILE
echo >> $LOG_FILE

echo “=== LOADED KERNEL MODULES ===” >> $LOG_FILE
lsmod >> $LOG_FILE
echo >> $LOG_FILE

echo “=== KERNEL LOGS ===” >> $LOG_FILE
dmesg >> $LOG_FILE
echo >> $LOG_FILE

echo “=== INTERRUPTS ===” >> $LOG_FILE
cat /proc/interrupts >> $LOG_FILE
echo >> $LOG_FILE

echo “=== SYSTEM LOGS (LAST 50 LINES) ===” >> $LOG_FILE
tail -n 50 /var/log/syslog >> $LOG_FILE
echo >> $LOG_FILE

echo “=== SYSTEM RESOURCE USAGE ===” >> $LOG_FILE
top -b -n1 | head -n20 >> $LOG_FILE

echo “Diagnostics saved to $LOG_FILE”