Raspberry Pi 3.5" LCD (MPI3501)

wondering if anybody managed to get this to work with F33. I’m still digging around, curious if anybody ever managed to get it to work.

http://www.lcdwiki.com/3.5inch_RPi_Display

1 Like

I wonder if it works similar to Architectures/ARM/Raspberry Pi/HATs - Fedora Project Wiki

Alternative is to use the downstream raspberrypi kernel for fedora. See also:
https://rpmfusion.org/Howto/RaspberryPi

Please report your finding.

1 Like

So … an update so far …

Apparently there’s a kernel module for this in 5.10.13-200, under the name ili9486.

Using the step from Pi HAT page from the wiki alongside what I understood by reading LCD-show/LCD35-show at master · goodtft/LCD-show · GitHub, i managed to get /dev/fb1 up.

However, screen is still showing white blank screen, and echo /dev/urandom > /dev/fb1 doesn’t seem to do anything. I’m wondering if it is an issue with the kernel module, or the tft35a dtb file i took from the github page, or something else together.

Any pointers on how to check?

1 Like

additional thing i noticed:

[   30.391925] [drm] Initialized ili9486 1.0.0 20200118 for spi0.0 on minor 1
[   30.406632] ili9486 spi0.0: [drm] fb1: ili9486drmfb frame buffer device

but /dev/spi0.0 doesn’t exist

1 Like

update …

Using the dwrobel Fedora Server spin image linked at rpmfusion (fda-images - Generic - Bintray), I managed to get the framebuffer to work using tft35-overlay.dtb from goodtft/LCD-show/ .

While upstream kernel 5.10 carry ili9486 kernel module, it however do not carry fbtft_device module, apparently fbtft was removed at kernel 5.4 for some reason, but without a clear alternative available.

Steps to make things work:

  • write fedora server image from dwrobel into the sdcard, arm-image-installer seems unable to work with this image well, so you could not conveniently resize the partition nor set ssh key. I could not get the system to boot into the rpi kernel if i used official image and dnf install the rpi kernel.

  • if you need ssh key, you can mount the sdcard root partition , and create /root/.ssh/authorized_keys yourself

  • in /boot/config.txt, add following lines above [pi4] block (ie: implicit [all] block)

    hdmi_force_hotplug=1
    dtparam=i2c_arm=on
    dtparam=spi=on
    dtoverlay=tft35a:rotate=90

  • download https://github.com/goodtft/LCD-show/raw/master/usr/tft35a-overlay.dtb as /boot/efi/overlays/tft35a.dtbo

  • add “fbcon=map:10 fbcon=font:ProFont6x11” at the end of /boot/efi/cmdline.txt

Yet to try the touchscreen nor X, but at least some progress.

1 Like

I’ve compiled the steps here:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.