Jump to content

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


hazza64

Recommended Posts

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
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines