Clockwork uconsole cm5 horizontal lines on screen

uconsole_cm4_v3.0_64bit_cm5_test2.img.7z

Finally I got a working image with my new arrived CM5 lite + 8G ram version

the first thing is the boot problem

If you plugged uConsole+CM5 with HDMI cable,then you will see normally the first time RPI cm5 reported

SD card not detected 

then I waited about 1 minute, suddenly CM5 got booted…

And it turns out that ,this is the problem with eeprom config,see Rex’s thread

but never mind ,finally you will get into cm5 to get eeprom configed

About the screen problem:
In the test1 img, actually it can work
just remove spi related lines in /boot/firmware/config.txt

since the newest lcd screen use GPIO 8 to be the id_gpio

GPIO 8 is also the SPI0 CE0

so that is why screen can not be turned on

in dmesg it shows:

[    4.221720] panel-cwu50 1f00130000.dsi.0: failed to request reset GPIO (-16)
[    4.221726] panel-cwu50 1f00130000.dsi.0: probe with driver panel-cwu50 failed with error -16

so in test2 image ,I edited config.txt as below:

dtparam=spi=on
dtoverlay=spi0-0cs
gpio=10=ip,np
gpio=9=op,dh

to avoid ce0(gpio8) conflict

I am not sure other CM5 type will work as we expected, but I think HDMI is a real necessary tool to debug

5 Likes