Top pHat For Raspberry Pi Problems - Kernal 5.4 fbtft_device

Hi there, I also have a similar problem. My 2.4" LCD could work initially, but recently it can’t work after I reinstall a new RPI4 image 2020-05-27. I did some research and I found out the fbtft_device is no longer work in kernel 5.4 which is needed for the LCD. Please refer to: https://www.raspberrypi.org/forums/view … p?t=280676. Is it the reason of it? Are you able to provide support on kernel 5.4?

Hello,

Firstly, I’ve split this topic from the original post: viewtopic.php?f=166&t=53483. This is a new issue and we’re looking into it. We sincerely appreciate you bringing this to our attention. We are working on allocating resources to address this issue but we don’t have a tentative ETA for a solution.

You are correct that the fbtft_device isn’t working for Kernel 5.4. On our end, we will look for another device tree overlay. You can try to find a solution in the meantime as well and if you do please let us know.

Hello,

Update: We’ve added revisions in the hookup guide to address this issue. Thank you to everyone who have helped point out and investigate this issue.

https://learn.sparkfun.com/tutorials/sp … -54-update

Hello,

I followed the linked instructions to try and get the Top pHat display running on a rasberry Pi 3 b+ (running Linux raspberrypi 5.4.51-v7+) without any success.

The backlight for the monitor is on but the display isn’t showing anything and /proc/fb only shows the default framebuffer (0 BCM2708 FB).

Everything else on the board worked with minimal issue.

dcdanko:
Hello,

I followed the linked instructions to try and get the Top pHat display running on a rasberry Pi 3 b+ (running Linux raspberrypi 5.4.51-v7+) without any success.

The backlight for the monitor is on but the display isn’t showing anything and /proc/fb only shows the default framebuffer (0 BCM2708 FB).

Everything else on the board worked with minimal issue.

Hey dcdanko,

I found your post when searching for the same issue. I did eventually figure it out, so hopefully this will help you.

I found that I needed to comment out the dt-overlay for the wm8960 sound card on it, for the screen to load. Note the # in the config.txt below.

SO the end of my /boot/config.txt looks like

[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2

[all]
#dtoverlay=vc4-fkms-v3d
dtoverlay=i2s-mmap
#dtoverlay=wm8960-soundcard

dtoverlay=rpi-display,speed=32000000,rotate=90

Now I can’t explain WHY this works (I’m fairly new to this hobby, so I hope to learn), but hopefully something similar helps you. I think I need to learn about overlays, and I assume this change makes the speaker not function properly, so I have some experimentation ahead.

Good luck!