7 inch WaveShare RGB LCD HAT for Raspberry Pi CM4

Following our phone conversation, I'm starting a thread on the forum. The problem concerns Android version 14 and higher. I need to get my device running with the "7-inch WaveShare RGB LCD HAT for Raspberry Pi CM4" display working. A year ago, I was using Android version 13 on this device, and after making the appropriate changes to the /boot/config.txt file, the display worked without any problems. Now, on Android version 14, after making the same changes to the same file, the display is "dead." The entries we added to this file in Android 13 are:

dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-DPI-7inch
dtoverlay=waveshare-7dpi

After the changes, the file looked like this (/boot/config.txt):

# This file is generated and maintained by emteria
# Please do not modify it manually, as your changes will be overwritten during the next OS update
# If you need to add or overwrite something, please add your changes to config-overrides.txt file

# audio
dtparam=audio=on

# Following definitions only apply when booted on Compute Module 4
[cm4]
dtoverlay=dwc2,dr_mode=host
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-DPI-7inch
dtoverlay=waveshare-7dpi

# Following definitions always apply to all devices
[all]
kernel=u-boot.bin
arm_64bit=1

# audio
hdmi_force_edid_audio=1

# disable kms audio path and force bcm2835 card  0 = hdmi card 1 = headphone jack
dtoverlay=vc4-kms-v3d,cma-384
dtoverlay=cma,cma-384
dtoverlay=rpivid-v4l2
disable_overscan=1

# add support for official 7" touchscreen
dtoverlay=rpi-backlight
display_auto_detect=1
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-DPI-7inch
dtoverlay=waveshare-7dpi

# add overlay for camera sensor and use firmware with codecs
dtoverlay=imx219
camera_auto_detect=1
start_x=1

# temporarily increase the CPU frequency on boot
initial_turbo=60

# enable serial console and pin core clock fixed to 500MHz
enable_uart=1

# load user-defined overrides for this config
include config-overrides.txt

Thank you in advance for any help.

Comments

  • Hi @Nexwell. Let's break it down into different parts and solve step by step. First, we need to make sure you have a working version on your side - doesn't matter which version. Since you already know that Android 13 was working fine, I will try to find that release in our archive and send it to you.

  • I found our release for CM4IO version 13.1.0 in our legacy installer. This is the same image you used, but in a different package format. You need to install it through our installer application right away.

    First, please open our Downloads page and pick an installer for your OS:

    Second, login into the installer and pick the correct device and version:

    Here are some knowledge base articles to help you:

    Please let me know if you can successfully boot the device with Android 13 by using your screen. If yes, we can continue with the next step of making it work on Android 16 or 17.

Sign In or Register to comment.