Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Freeplay CM3 GBA clone Kit.

    Your discoveries
    freeplay cm3 clone kit
    5
    104
    30797
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dragu
      Dragu Banned last edited by

      Ok, I also found this cmake option
      "-DDMA_RX_CHANNEL=<num>: Specifies the DMA channel number to use for SPI receive commands. Change this if you find a DMA channel conflict."
      What would you propose, Master ?

      Substring 1 Reply Last reply Reply Quote 0
      • Dragu
        Dragu Banned last edited by acris

        Yes, we can. I used DMA channel 4 for RX, and the result

        I will try to stretch a little the sides if possible, but already very nice

        1 Reply Last reply Reply Quote 0
        • Substring
          Substring @Dragu last edited by

          @dragu To recompile, the best is to make clean

          Regarding the values, the best is probably to ask Flavor

          Former dev - Please reply with @substring so that i am notified when you answer me
          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

          1 Reply Last reply Reply Quote 0
          • Dragu
            Dragu Banned last edited by

            @Substring
            I was more brutal using rm -r 😉
            But @Flavor dont use fbcp-ili9341, there is even no word about in the forum. Anyway, I am near the end with this one also. Pretty well working all this with standard Recalbox and just small addons. When I am finished with scaling here, there is just staying one point to close the thread.

            1 Reply Last reply Reply Quote 0
            • Dragu
              Dragu Banned last edited by acris

              Vive la France, so I hope everybody recuperate for tomorrow.... 😉
              Ok, concerning fbcp-ili9341, I am finished and adjust now the TFT screen to the viewport matching the physical window in the GBA shell. After 2 dozens of recompilations, and I have a version for all other people that will buy this kit. As you can see in the fotos, this fit. That they are round is fault of the lens. 🙂

              So this story also over.

              Now only thing what stays is the software for the brightness controller of the display background.

              1 Reply Last reply Reply Quote 0
              • Dragu
                Dragu Banned last edited by Dragu

                @Substring
                @ian57
                But with the automatic starting I will need some help.
                I tried first to put it in custom.sh to not meddle in the Recalbox system, my driver in
                /recalbox/share/system/fbcp-ili9341/fbcp-ili9341
                custom.sh :

                #!/bin/bash
                
                start() {
                
                /recalbox/share/system/fbcp-ili9341/fbcp-ili9341 &
                }
                
                stop() {
                
                }
                
                case "$1" in
                  start)
                        start
                        ;;
                  stop)
                        stop
                        ;;
                esac
                

                after no effect, I added fbcp-ili4391 to /usr/bin/fbcp-ili9341 and replaced start line with ./fbcp-ili9341 &
                again no result
                After this I created S02fbcp-ili9341 inside /etc/init.d

                #!/bin/bash
                
                /recalbox/share/system/fbcp-ili9341/fbcp-ili9341 &
                esac
                exit $?
                

                and also with ./fbcp-ili9341 &
                Both fbcp-ili9341 have the flag 755

                Not working. What is my error ?

                Substring 1 Reply Last reply Reply Quote 0
                • Substring
                  Substring @Dragu last edited by

                  @dragu Make sur your binary is in /usr/bin + also make sure it has executable rights. Then simply create a /etc/init.d/S02ili9341
                  which should hold:

                  #!/bin/bash
                  
                  #!/bin/bash
                  
                  start() {
                  
                  /usr/bin/fbcp-ili9341 &
                  }
                  
                  stop() {
                  
                  }
                  
                  case "$1" in
                    start)
                          start
                          ;;
                    stop)
                          stop
                          ;;
                  esac
                  

                  You should use an absolute path to the file. Easy way to test it : in SSH, just run /etc/init.d/S02ili9341 start and tell us about the output

                  The next good idea would be to daemonize the fbcp thing, but that's absolutely not mandatory

                  Former dev - Please reply with @substring so that i am notified when you answer me
                  Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                  1 Reply Last reply Reply Quote 0
                  • ian57
                    ian57 Staff last edited by

                    @Dragu S02fbcp-ili9341 seems to be e bit early to try to start fbcp... you should try S13 after S12populateshare

                    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                    1 Reply Last reply Reply Quote 0
                    • Dragu
                      Dragu Banned last edited by Dragu

                      @Substring
                      @ian57
                      The script give me an error with ...... start

                      /etc/init.d/S02fbcp-ili9341: line 10: syntax error near unexpected token `}'
                      

                      line 10 is just the closing accolade for stop (because no content ?)

                      }
                      
                      stop() {
                      
                      }
                      
                      Substring 1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring @Dragu last edited by

                        @dragu ah yeah indeed. Just add a echo -n ""

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 0
                        • Dragu
                          Dragu Banned last edited by

                          @Substring
                          @ian57
                          Yes, echo -n"" helped 🙂 Starting in ssh was ok, but not as S02.... in /etc/init.d
                          So, I put the lines into custom.sh started automatic by S99custom. And it works just after the loading screen. So takes some time. Do you think it could be loaded before splash screen, or not possible ?

                          Substring 1 Reply Last reply Reply Quote 0
                          • Substring
                            Substring @Dragu last edited by

                            @dragu as ian said, and i forgot about it : the usual fbcp is started rather late (somewhere in S13) most probably due to device setup time. So rename it to S13blabla

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            1 Reply Last reply Reply Quote 0
                            • Dragu
                              Dragu Banned last edited by

                              @Substring
                              @ian57
                              Ok, guys, thanks alot. S13... was the solution. So, I will not bother you anymore,

                              till tomorrow 😄

                              1 Reply Last reply Reply Quote 0
                              • pm87100
                                pm87100 last edited by

                                Bonjour étant extrêmement nul en anglais serait-il possible de savoir ou en est la possibilité de faire fonctionner un freeplay avec recalbox ?? Est ce ça mise en œuvre est compliqué et faut il que je me tourne vers retropie ???

                                1 Reply Last reply Reply Quote 0
                                • acris
                                  acris last edited by acris

                                  @ian57 une idée ?

                                  @pm87100 non ce type de projet n'est pas facile à mettre en oeuvre il faut avoir certains compétences.
                                  Avant d'acheter un kit il faut se renseigner sur la faisabilité et la compatibilité.
                                  En l'état, le kit n'est pas plug and play.

                                  ian57 1 Reply Last reply Reply Quote 0
                                  • ian57
                                    ian57 Staff @acris last edited by ian57

                                    @acris je sais même pas ce que c'est ce matos 😄 faut que je regarde / I don't even know what this stuff is: I have to look at it.

                                    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post

                                    Want to support us ?

                                    85
                                    Online

                                    99.7k
                                    Users

                                    28.1k
                                    Topics

                                    187.1k
                                    Posts

                                    Copyright © 2021 recalbox.com