User avatar
HermannSW
Posts: 2945
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: How to enable ili9341 display during boot? (and ili9481)

Tue Apr 28, 2020 9:52 am

Normally I would say "create issue" on repo:
https://github.com/notro/fbtft
But last commit on that repo is from 2015 ...

FRAMEBUFFER=... does not work, but the file I provided allows to start X11 on the framebuffer configured, so no need to use the FRAMEBUFFER= method. In case you want to change the framebuffer used, just edit that file, and next startx will start X11 on the changed framebuffer.
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

Ebben
Posts: 21
Joined: Wed Mar 18, 2020 10:44 pm

Re: How to enable ili9341 display during boot? (and ili9481)

Tue Apr 28, 2020 8:04 pm

I'm sorry, I didn't get it there is a lot of files. Am I supposed to read them all?
Have you read my error? If you did how can I fix it? I just want to use FRAMEBUFFER with one screen (I have disconnected the other one).Help, please! I still am a beginner in this.

User avatar
HermannSW
Posts: 2945
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: How to enable ili9341 display during boot? (and ili9481)

Wed Apr 29, 2020 7:23 am

FRAMEBUFFER= does not work.
Take the file I addatched here:
viewtopic.php?f=44&t=194423&start=25#p1650605
And copy it into "/usr/share/X11/xorg.conf.d" directory on your Pi.
Change

Code: Select all

  Option "fbdev" "/dev/fb2"
to

Code: Select all

  Option "fbdev" "/dev/fb1"
in that file now that you have only one display.
Then do "startx" and X11 should appear on your SPI display.
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

Ebben
Posts: 21
Joined: Wed Mar 18, 2020 10:44 pm

Re: How to enable ili9341 display during boot? (and ili9481)

Wed Apr 29, 2020 10:16 am

Hi,
It's already like that:

Code: Select all

cat /usr/share/X11/xorg.conf.d/99-fbdev.conf
Section "Device"  
  Identifier "myfb"
  Driver "fbdev"
  Option "fbdev" "/dev/fb1"
EndSection
It gives me the same result.
Am I missing somthing??
I tried deleting all the written code in"/etc/rc.lcoal" and deleted everything to stop the screen from starting at boot but it still does and gives a white screen.

User avatar
HermannSW
Posts: 2945
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: How to enable ili9341 display during boot? (and ili9481)

Wed Apr 29, 2020 6:23 pm

When I boot, then the display shows the /dev/fbx indicator image copied to display in /etc.local first.
Does that happen for you as well?
If not, you likely have connectivity issue.

Did you run "sudo apt-get install xserver-xorg-video-fbdev" once?
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

Ebben
Posts: 21
Joined: Wed Mar 18, 2020 10:44 pm

Re: How to enable ili9341 display during boot? (and ili9481)

Wed Apr 29, 2020 6:42 pm

HermannSW wrote:
Wed Apr 29, 2020 6:23 pm
When I boot, then the display shows the /dev/fbx indicator image copied to display in /etc.local first.
Does that happen for you as well?
No, because I deleted the codes I wrote I only get a White screen when booted.

Did you run "sudo apt-get install xserver-xorg-video-fbdev" once?
Yes, I did run it. So is it a connectivity issue? How can I fix it?

User avatar
HermannSW
Posts: 2945
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: How to enable ili9341 display during boot? (and ili9481)

Thu Apr 30, 2020 3:53 pm

Please readd the stuff that enabled that one display, so that you see the giraffe /dev/fb1 indicator.
Then do "startx".
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

User avatar
HermannSW
Posts: 2945
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: How to enable ili9341 display during boot? (and ili9481)

Sun May 10, 2020 3:21 pm

Funny, normally I use logic analyzers, but today I used small oscilloscope I have since years.
Booting it says it has 9341 TFT controller -- looks like the SPI displays, but has a parallel interface:
20200510_171154.15%.jpg
20200510_171154.15%.jpg
20200510_171154.15%.jpg (224.19 KiB) Viewed 317 times
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264

Return to “Interfacing (DSI, CSI, I2C, etc.)”