Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Trying to get 3.5" LCD working on Armbian 21.02.3 Focal (5.10.43-sunxi) on a Banana Pi M2 Zero

Featured Replies

Hello all, 

 

I've been having a *fun* old time getting this 3.5" LCD (http://www.lcdwiki.com/MHS-3.5inch_RPi_Display) I have laying around working with my "new" BananaPi M2 Zero (http://wiki.banana-pi.org/Banana_Pi_BPI-M2_ZERO).

I know fbtft_device has been dropped as of kernel 5.4 and have been researching into how others have done it. I now know it requires custom overlays, (dts files, etc) and using 

sudo armbian-add-overlay xxx.dts

as well as having a conf defined under /usr/share/X11/xorg.conf.d/ (attached).

I'm *real, real* close (got the LCD flickering!), but I think I need some guidance with the dts file (attached).

 

I've seen others trying to get similar screens working post 5.4 using OrangePis etc and have shaped my progress off that, but thought I'd reach out for help.

 

$ dmesg | grep spi
[    3.548563] [drm] Initialized ili9486 1.0.0 20200118 for spi0.0 on minor 2
[    5.436435] ili9486 spi0.0: [drm] fb0: ili9486drmfb frame buffer device
[   14.303783] ads7846 spi0.1: supply vcc not found, using dummy regulator
[   14.311471] ads7846 spi0.1: touchscreen, irq 67
[   14.312205] input: ADS7846 Touchscreen as /devices/platform/soc/1c68000.spi/spi_master/spi0/spi0.1/input/input1
$ dmesg | grep touch
[   14.311471] ads7846 spi0.1: touchscreen, irq 67
$ dmesg | grep tft
[    2.578895] tft35a-ts@1 enforce active low on chipselect handle
[   14.112100] fbtft: module is from the staging directory, the quality is unknown, you have been warned.

 

waveshare35a.dts 50-fbtft.conf

Edited by hazza64
Added dmesg outputs

Guest
This topic is now closed to further replies.

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.