RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Armbian with Panfrost

    Scheduled Pinned Locked Moved General Discussion and Gaming
    retropieallwinnerorangepirk3399panfrost
    8 Posts 3 Posters 3.1k Views
    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.
    • G
      gleam2003
      last edited by

      Armbian mainline with panfrost can run Retropie.

      https://github.com/arnaldovalente/RetroPie-Setup/

      This is my fork.
      For now I test it with H3 and RK3399 devices.
      Probably Amlogic devices and other chipset can support it but i don't own any of this devices.

      Allwinner H3 when run at 1080p don't run emulationstation at full speed. Emulator work fine (from 8bit to 32bit).

      Instruction like any other RetroPie installation:

      Write Image to microsd and boot, configure armbian with first boot wizard.
      After login with no root account:

      git clone https://github.com/arnaldovalente/RetroPie-Setup/
      cd RetroPie-Setup
      sudo ./retropie-setup.sh
      

      Tell me what you think and if is possible to merge to RetroPie.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @gleam2003
        last edited by

        Thanks for taking a stab at this. What Armbian release and variant have you used ? Have SBC have you tested this with ?

        In it's current form, I'm not sure it would be added to RetroPie - some of the flags used are not 100% correct and IMHO it's missing the Armbian specific handling for kernel packages (headers are needed for additional drivers installation).

        G 2 Replies Last reply Reply Quote 0
        • G
          gleam2003 @mitu
          last edited by gleam2003

          @mitu
          Tested with orangepi H3 board (orangepi lite, orange pi ecc.)
          Tested with orangepi 4 rk3399

          Tested with orange pi one plus H6 (hdmi audio not recognized in H6 now)

          Probably work with small changes with H5 and Amlogic cpu and work with other manufactured board.

          Kernel Headers is avviable via apt.

          Can tell me what flags is wrong?

          I can build ready to work image with kernel headers and few tweak. But build on my PC is a pain.

          Sorry for my english.

          1 Reply Last reply Reply Quote 0
          • G
            gleam2003 @mitu
            last edited by

            Sorry, work with any armbian server image from mainline branch

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              @gleam2003 said in Armbian with Panfrost:

              Kernel Headers is available via apt.

              Yes, but the naming is different on Armbian vs. Raspbian or Ubuntu. In RetroPie, the dependency for the kernel headers is handled depending on the distro - see here.

              Can tell me what flags is wrong?

              In general, when you want a feature to be enabled depending on the capabilities of the platform, you don't test the distro flag (i.e. isPlatform armbian), but on the capability of the board (i.e. hasFlags gles or hasFlags rk3399). For instance, when you compile EmulationStation, you don't test for armbian to build with -DGLES=On, but just test if you're on a GLES capable platform; the same for sdl2.

              Also, the armbian flag should not be added to the platform_xyz functions, but be dynamically added based on the detected distribution (i.e. check for /etc/armbian-info or another way to determine whether you're on Armbian).

              Sorry, work with any armbian server image from mainline branch

              AFAIK, Armbian provides both Ubuntu and Debian based images - which one have you used ?

              G 2 Replies Last reply Reply Quote 0
              • G
                gleam2003 @mitu
                last edited by

                @mitu said in Armbian with Panfrost:

                hasFlags

                Work with both, Ubuntu and Debian.

                I can fix the flags.

                1 Reply Last reply Reply Quote 0
                • G
                  gleam2003 @mitu
                  last edited by gleam2003

                  Removed armbian flags and -DGLES=On (not needed)
                  Add custom armbian linux headers. Work with mainline branch but need to be updated to latest version.

                  1 Reply Last reply Reply Quote 0
                  • R
                    ralves84
                    last edited by ralves84

                    I'm trying to install retropie on armbian bullseye on a oprangpi+ with this script, but the package "mali-fbdev" is missing!

                    You have this package?

                    1 Reply Last reply Reply Quote 0
                    • RenetroxR Renetrox referenced this topic on
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.