Raspberry Pi 4

For information, Recalbox IS NOT compatible with Raspberry Pi 4 yet.
Pour information, Recalbox N'EST PAS encore compatible avec le Raspberry Pi 4.

The Recalbox Team.

Freeplay CM3 GBA clone Kit.


  • Banned

    This post is deleted!

  • Staff
    Moderator
    Creator
    Team

    @Dragu sorry my bad... I did not count the parameters;.. thought you were using the old master config style (only 12 parameters), the 13st one was -1 for not configuring the HK.

    are you sure that controllers.gpio.args="map=5 gpio=4,17,6,5,19,26,16,24,23,18,15,14,23"is working, because I made these tests without success, I had to add variable in S26recalboxsystem to deal with map parameters.


  • Banned

    @ian57
    Not your bad, but some pieces of software too much simple in error handling. So it should work with parameters as it is feeded up, or giving a clear error feedback.
    Now, I think that I also modified everything backward, but I have no ideas about cache's in the package. I will make in the afternoon a fresh install and tell back :)


  • Banned

    @Substring
    @ian57
    I am back and tested with a fresh install on release 180330 that I use everywhere, not to introduce other error.

    And I can confirm you, all engines running. The custom parameter in recalbox.conf is accepted and processed, as you see also in recalbox.log, without any modification on the kernel part and also without file mk_arcade_joystick.conf in /etc/modprobe.d ! The winner take's it all.

         15.50] updated wifi settings : ssid=
    [       15.54] setting keyboard layout to de
    [       15.57] [       15.53] : loading module mk_arcade_joystick_rpi args = map=5 gpio=4,17,6,5,19,26,16,24,23,18,15,14,23
    [       15.57] updated wifi settings : ssid=Lounge 2,4G AM
    

    So you can put this ko in the next release.
    Next digging from my part will be on ili934x driver, I think that Subs also was meaning this one for 60fps.


  • Staff
    Moderator
    Creator
    Team

    @Dragu tha'ts a good news.


  • Banned

    @Substring
    @ian57
    As you can see, the AlekFULL theme comes pretty well under this small screen. I will at a certain moment make some improvement on the fonts (text that is hidden for the moment.)

    alt text

    Why you dont see it? Because the GBA has a cutout frame off 3" and display has 3.2". Original GBA display had 2.8".

    Main problem from waveshare32b.dtbo driver is low speed but also no possibility to shift the viewing area or compress.
    Therefore, next step is ili9341 that has all this features and is also already in the Recalbox package.



  • @dragu i remember @Flavor was colplaining about kodi ...


  • Banned

    @Substring
    But Kodi I am able to load. Now in general I dont use it, so maybe something.
    But I have another question for you. The line in config.txt

    dtparam=spi=on
    

    does this line load's spi-bcm2835.ko ? Or something else, its in relation with the fb-ili9341 driver.



  • @dragu no the libe triggers some hardware functionnality, which can in turn make the kernel load the required ko in a.plug-n-play style


  • Banned

    @Substring
    With the ili9341 driver I may have reached my limits, but I also cannot find the executable con2fbmap in the recalbox bin.



  • @dragu prolly it doesn't exist


  • Banned



  • @dragu what's the point of it ?


  • Banned

    @Substring
    I found a copy now. It's an utility that should write a framebuffer to the device by a certain driver. So more for testing. ili9341 is writing only newly changed parts of the framebuffer to the display, as waveshare driver is doing the whole. This should be about real 60fps instead of 30fps. As I am not able to compile and have no Linux system for this, I will just use what exists without special branches for my toy.





  • you shouldn't have THAT many framebuffer devices ! just /dev/fb0 or /dev/fb1. The latter is usually the SPI one, so make a dirty assumption ;)


  • Banned

    @Substring
    WIth fbcp-ili9341 you are totaly right, as Juj has a working version of this, but you find no compiled executable for Freeplay from him. Perhaps I can ask him for this, if he want to share.


  • Banned

    @Substring
    Anyway I get more and more confused about this, just a copy of dmesg. Means that waveshare32b.dtbo load fb-ili9340, with in config

    dtoverlay=waveshare32b:rotate=270,speed=99999999,fps=60
    
    [    2.361892] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
    [    2.370502] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
    [    2.370951] fbtft_of_value: buswidth = 8
    [    2.370958] fbtft_of_value: debug = 0
    [    2.370963] fbtft_of_value: rotate = 270
    [    2.370968] fbtft_of_value: fps = 60
    [    2.370973] fbtft_of_value: txbuflen = 32768
    [    2.378627] hid-generic 0003:1241:1233.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 1241:1233] on usb-3f980000.usb-1.4/input0
    [    2.459203] input: HID 1241:1233 as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:1241:1233.0002/input/input2
    [    2.528989] hid-generic 0003:1241:1233.0002: input,hidraw1: USB HID v1.11 Device [HID 1241:1233] on usb-3f980000.usb-1.4/input1
    [    2.529208] usbcore: registered new interface driver usbhid
    [    2.529214] usbhid: USB HID core driver
    [    2.631365] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 32 KiB DMA buffer memory, fps=100, spi0.0 at 99 MHz
    


  • @dragu have you read https://github.com/juj/fbcp-ili9341/blob/master/README.md#installation ? No dtoverlay should be specified, the driver handles everything


  • Banned

    @Substring
    Yes. More than 10x :D
    But we have not fbcp-ili9341, and my head too much small to build this.
    There is also this page that described the display area with new adapted viewport :
    https://github.com/juj/fbcp-ili9341/blob/master/freeplaytech_waveshare32b.h


Log in to reply
 

Want to support us ?

173
Online

62212
Users

18659
Topics

140155
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.