Gameboy pocket zero (Gaboze Pocaio) - screen issue ili9342
I've build a gameboy pocket zero using the gaboze pociao open source project and it's running great under Retropie using the github premade image from the creator of the gaboze.
The point is that I'd like to use recalbox as I love it so much more than retropie, but I am unable to make the screen working.
It is a generic 2.6 inches ili9342 screen bought on Aliexpress (https://fr.aliexpress.com/item/NoEnName-Null-2-6-inch-TFT-touch-screen-ILI9342-8-bit-16-bit-3-wire-4/32827359467.html?spm=a2g0s.9042322.214.171.124696c37Ue7UEM) and I was not able to find any documentation to set it properly. All my attempts result in a white screen of death.
Any hint would be much appreciated!!
Thanks and yes, I've been through this already but I have no clue on which dtoverlay to use, all seems to be suited for ili9341 and not ili9342, unless I missed something?
So I've tested every combinations, none worked
@acris your link seems to be the only solution to make this screen work.
@SuperPuissant please read the doc from https://github.com/32teeth/Generic-ILI9342 and use the debian way , and adapt it to recalbox.
If you have problems, il will check each step with you,
@ian57 not sure how to do that, I've added the file fbcp-ili9342 to /usr/bin, then chmod +x ili9342
I have added a file S13fbcpili9342 in /etc/init.d, same chmod +x
modified the /boot/config.txt and recalbox.conf
no results, white screen...
@SuperPuissant I can't do more than that, I don't own this screen sorry. try to run the bcp-ili9342 file directly from a ssh console to see if the programme is running on your Pi.
SuperPuissant last edited by SuperPuissant
Hey @ian57 , I did, it worked.
My question would be more to have an example of the script to make it run at startup as I am not very knowledgeable with debian. Even a skeleton will do.
I've managed to make both ili9341 and ili9342 running at 60fps with juj drivers on retropie so there is no reason not to do it on recalbox!
Hi @ian57, any hint please on how to run executable at startup with recalbox?
@SuperPuissant as /etc/rc.local does not exists in RB, you'll need to modifie the /etc/init.d/S11fbcp or /etc/init.d/S13fbcp and modify the following line to run your fbcp program
start) printf "Starting fbcp ... " start-stop-daemon -S -q -m -b -p /var/run/fbcp.pid --exec /usr/bin/fbcp-ili9342 -- -n echo "done.
don't forget to activate the tft support in recalbox.conf :
## for support and configuration details needed by /boot/config.txt system.fbcp.enabled=1
j'ai le même problème sur ma gaboze pocaio,
j'ai un écran 2.4 tft avec un driver ili9341 mais je n'arrive pas à l'installer sur Recalbox !
@SuperPuissant as tu réussi?
Peux tu m'expliquer comment tu as fait ?
@arm this is an english topic. Please speak english here. Thanks
I have the same problem on my gaboze pocaio,
I have a 2.4 tft screen with a driver ili9341 but I can not install it on Recalbox!
@SuperPuissant did you succeed?
Can you explain to me how did you do it?
@ian57 Is it possible?
Thank you Armand
@arm Please give the link to your screen to see specs. seems that it's this one http://www.lcdwiki.com/2.4inch_SPI_Module_ILI9341_SKU:MSP2402
it should work, but you need to wire correctly the screen on the raspbarry pi. After read the page https://github.com/recalbox/recalbox-os/wiki/TFT-Screen-SPI-Bus-(EN). You can try the 2.8 config on this page seem to be ok for 2.4 too according to https://learn.adafruit.com/adafruit-2-4-pitft-hat-with-resistive-touchscreen-mini-kit/easy-install.
no I finally gave up and stuck to the retropie. As far as I remember I've managed to compile juj drivers for ili9342 and bootup correctly but for some reason it was not consistent (sometime it was booting with the image sometimes it was remaining blank). I've never managed to figure out why.
I need to dig up a little bit to find the right option to compile juj drivers for both screens, I'll let you know if I manage to find it back.
it is this screen : https://fr.aliexpress.com/item/32854563773.html?spm=a2g0s.90423126.96.36.199426c37D3zv1j
there is no shield or touch
I just tried the tutorial TFT Screen SPI Bus (EN) for 2.8 with mk_arcade_joystick_rpi and it does not work!
I think we need the file ili9341.dtbo , but I do not find it ...