Jump to content

Recommended Posts

Posted

Hello. I feel like this is a really basic stupid question, but for the life of me I can't find an answer. Every thread that I read about getting a display XYZ to work in Armbian references using fbtft. But apparently fbtft is now deprecated and cannot be used anymore. So.. what do I do now?

 

I'm mainly looking to get ILI9341 -based 3.2" TFT and MPI3508 3.5" TFT to work with Armbian. Mainly testing with an Orange Pi Lite2 and Orange Pi 3 currently.

I've read this: 

 

downloaded, compiled and installed the .dts.

 

Also modified/added line to boot.cmd to use lcd as display according to https://docs.armbian.com/Hardware_Allwinner/

that page also mentions that a kconfig setting of CONFIG_VIDEO_LCD_MODE is required, but nowhere does it say how to do it, nor can I find it via Google (that might be on me, but "armbian kconfig CONFIG_VIDEO_LCD_MODE" does not result in any meaningful answers, except OTHER people asking the same question.

 

Posted
40 minutes ago, Anna Vahtera said:

 CONFIG_VIDEO_LCD_MODE

 

Not an display expert but AFAIK this is only for LVDS displays. FBTFT displays are mainly SPI/I2C. 

 

43 minutes ago, Anna Vahtera said:

But apparently fbtft is now deprecated and cannot be used anymore.


They didn't go anywhere https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config#L6135-L6166 but you need to find latest manual how to use them.

Posted
On 4/28/2020 at 12:01 AM, Igor said:

 

Not an display expert but AFAIK this is only for LVDS displays. FBTFT displays are mainly SPI/I2C. 

 


They didn't go anywhere https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config#L6135-L6166 but you need to find latest manual how to use them.

I mean this:

"fbtft_device and flexfb are gone in 5.4"

from https://github.com/notro/fbtft/wiki

 

meaning now you have to you DT and cannot just use the fbtft device (like every tutorial out there says). That's the problem. "You have to use it with DT", but nowhere does it say HOW to do that.

Posted (edited)


That post that I made is the result of the same frustation that you have.

With my DT you atleast need to edit the gpio and spi controller used.

Try using 5.4+ kernel too, because between 4.9 and 5.4 there are change regarding pin polarity. In my case it happen to the reset line. I have to debug this with logic analyzer

 

Another option is to use old kernel where fbtft_device still available. I switch between 4.9 and 5.4 when doing research about this. Atleast I can be sure that my lcd is actually working

Edited by Nuha Arina Rafiuddin
add info using old kernel
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines