[all]
BOOT_UART=1
# Switch off PMIC outputs on HALT
POWER_OFF_ON_HALT=1
# Try boot on SDCard repeatly
BOOT_ORDER=0xf1
SD_BOOT_MAX_RETRIES=2
# Slow down SDCard SDR Mode on bootloader
SD_QUIRKS=1
I dont know enough about the nature of the display issue, but I think since my system is consistently booting the display panel is a different issue?
Tried the SD card and kernel fixes on my clockwork uconsole and all seems ok other then the battery showing zero, which is to be expected. Side note I’m running a SanDisk 128GB High Endurance and CM5 lite 8gb, Thanks !
Did some tests with power. Removed batteries and connected a power supply to the battery connectors. On full load (cpu and gpu) + full backlight on 4 volts at battery connectors it pulls 2.8A. At 3.7v it pulls 3.2A and eventually crashes (black screen with backlight on). Interestingly enough, even with black screen freeze it still continues to pull same current, so my initial assumption that two fuses on the battery board could be the culprit is wrong. Also looking at specs of APX228 (if I read it right) in all DCDC sections the input current limits are 2.2A for 3.3v and 3A for 1.1v. So, maybe it simply can’t work on anything below 3.9-4V from the battery on full steam.
Hello
I just bought the clockworkpi 4g product and installed it. Since there was no cm4 available, I had to buy cm5 emmc 32gb. My device did not turn on, it does not have a battery, I am trying to start it with an adapter. When I plug the HDMI cable into the monitor, the image appears. I installed 4 SD cards, I cannot insert a keyboard into the product, it cannot be read from the computer. How do you install or change the cmdline.txt file? I would like your help. Is the device broken?
qq and forgive me for not going through the whole thread if this has been answered.
Is sound expected to work now? I’m still getting nothing. That and battery indicator are only two things I notice issues with.
Sound works now, thanks!
Until battery applet issue resolved, I am able to monitor battery status using btop.
I am noticing that rebooting from desktop takes a LONG time now, it hangs saying plymouth-reboot service on the screen for 1+ minutes before continuing. Not a big deal, just different.
Doing a power off instead is quick, no delay.
To clarify, do I have to do anything other than sudo rpi-eeprom-config -e to update EEPROM?
I already have the SD_QUIRKS and flashed that last time
alex@clockworkpi:~ $ sudo rpi-eeprom-config
[all]
BOOT_UART=1
# Switch off PMIC outputs on HALT
POWER_OFF_ON_HALT=1
# Default BOOT_ORDER for provisioning
# SD -> NVMe -> USB -> Network
#BOOT_ORDER=0xf2461
# Try boot on SDCard repeatly
BOOT_ORDER=0xf1
SD_BOOT_MAX_RETRIES=2
# Slow down SDCard SDR Mode on bootloader
SD_QUIRKS=1
I edited and reflashed it to be sure anyways.
I installed test build 3
indeed audio is working now
power off → boot → panel? backlight? usb power → yes display | yes backlight battery → no display | yes backlight
no panel or no backlight → reboot with ssh → boot → panel? backlight? usb power → now yes display | yes backlight battery → still no display | yes backlight
power off long time → boot → panel? backlight? I’ll edit after I wait a long time
force shut-off with power key → boot? → panel? backlight? I can’t seem to power off the device with holding the power button
When I hold the power button, the screen goes blank, backlight still on, but I can no longer ssh and must remove the battery to turn off the device.
The device still seems to be unable to turn on the display consistently when powered by battery, when plugged in it seems to work fine?
It might be worth mentioning I have a RTLSDR attached to an internal usb port I tapped from the blank expansion board (non-4g I soldered to the pins on the blank board)
Every time the device boots without screen, I can always ssh in, so it’s really just the display I think.
Also I’ve been rebooting/shutdown with the following commands
On battery, I spammed ssh reboot until it booted with the display, 2/10 tries the display turns on.
One time the screen went black, backlight/kblight on, no ssh access, had to pull battery.
I tried myself 3 times on battery, and every time, it would boot but I got no screen. I can double tap power to turn it off no problem. On the 4th try, still on battery, I plugged in my external monitor via HDMI and this time the units screen came up fine also. It’s rotated 90 degrees but fine. Unplugging my external rotates it back to normal.
So in short, if I boot with my external monitor plugged in, the screen works.
…
Then my next 3 normal boots, on battery, no external monitor, booted just fine
screen came up every time…
I’ve added the 6.12.16 kernel to the bleeding edge repo. I’ve got the battery meter working on 6.12.y. You no longer need the backlight.service enabled or installed but it wont hurt anything if you leave it. The panel is still having problems but I’ve made to where the backlight will always come on.
Here’s how to add the bleeding edge repo to test the kernel: sudo add-apt-repository -y "deb [arch=arm64] https://raw.githubusercontent.com/ak-rex/ClockworkPi-apt/main/bleeding bleeding main"
If someone could test on a CM4 a report back how it work that would be great.
You have to sudo apt-get install software-properties-common
before add-apt-repository
I added repository then did a apt-update and apt upgrade -y and saw this:
trying to overwrite '/boot/System.map-6.12.16-v8-16k+', which is also in package linux-image-6.12.16-v8-16k+ 6.12.16-g944b6979a23d-58
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/clockworkpi-kernel_6.12.16-v8-16k+_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Broke my install trying to apply this. Rebooted and now I just see SD error issue being repeated over and over again on external screen and I can’t power off.