RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Odroid c2

    Scheduled Pinned Locked Moved Help and Support
    14 Posts 3 Posters 4.7k 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.
    • A
      alpha_one_x86
      last edited by

      Hello,

      I try setup on odroid c2, I can give ssh access.
      I have:
      cc: error: unrecognized command line option -mfpu=neon-vfpv4
      cc: error: unrecognized command line option -mfloat-abi=hard
      cc: error: unrecognized command line option -marm
      I use the shipped ubuntu 16, gcc version is: gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2.1)
      Can you add: odroid-c2 and odroid-c2-64?

      Cheers,

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by BuZz

        as mentioned on the issue tracker, I can't just "add" it - I would need a board to test.

        How are you launching it currently - did you try with the armv7-mali platform ?

        I would need a full log (via pastebin.com or similar).

        However, unless the c2 gpu is compatible with the gpu on the c1, it isn't going to work (it may well though). You may also have dependency issues depending on the packages available for the c2.

        also what is the output of cc -V as although you have a newer gcc, cc seems to not like some parameters which should be ok (unless they were renamed for gcc 5.x)

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • A
          alpha_one_x86
          last edited by

          Yes I have test armv7-mali,

          Full log will not help because it block on compilation option.
          /root/RetroPie-Setup/tmp/build/sdl2/2.0.4+4mali/src/video/mali-fbdev/SDL_malivideo.h:42:25: error: field 'native_display' has incomplete type

          root@odroid64:~# cc -V
          cc: error: unrecognized command line option â-Vâ
          cc: fatal error: no input files
          compilation terminated.
          root@odroid64:~# cc -v
          Using built-in specs.
          COLLECT_GCC=cc
          COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper
          Target: aarch64-linux-gnu
          Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.3.1-14ubuntu2.1' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
          Thread model: posix
          gcc version 5.3.1 20160413 (Ubuntu/Linaro 5.3.1-14ubuntu2.1)

          I thinks the best way it's give you a ssh access. Send me in private your ssh public key.

          Cheers,

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @alpha_one_x86
            last edited by

            @alpha_one_x86 It might be that it is broken on the odroid-c1 currently based on the error above. I will need to look into that first - probably happened with the last SDL update I made.

            I don't know if I will have time to look into porting for the Odroid-C2, nor if it is worth the effort. Although SSH access would help, I really would need a board locally to test stuff.

            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by

              You should also try building with sudo __platform=armv7-mali __default_gcc_version=4.9 ./retropie_setup.sh (not it will switch your default gcc on your system, but you can switch it back with the same commandline)

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • A
                alpha_one_x86
                last edited by

                I note some package like libsdl2-dev, then maybe some package don't need to be compìled from source on this platform.

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by BuZz

                  You mean using the ubuntu one ? that won't have the correct framebuffer driver. If you have h/w accelerated opengl on desktop, (not gles), you can try the generic-x11 platform.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  roleoR 1 Reply Last reply Reply Quote 0
                  • A
                    alpha_one_x86
                    last edited by

                    I use the official ubuntu from odroid: ubuntu64-16.04lts-mate-odroid-c2-20160525 I try...

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by BuZz

                      I don't think that includes the mali framebuffer driver we have in our SDL. If you want to try it with the system sdl, you need to build for X11 target (which needs opengl) - I don't think that will work on the Mali GPU

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by BuZz

                        sdl2 built fine on the 14.04 toolset on the Odroid-c1 (just tested) - so using gcc 4.9 might get you past that point.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • roleoR
                          roleo @BuZz
                          last edited by

                          @BuZz
                          Hi, I'm a new user.
                          I'm trying to compile emulationstation with option __platform=generic-x11
                          The compilation seems to be ok and the program starts successfully inside x11.
                          I compiled retroarch, lr-imame4all and lr-mamelibretro too but when I try to run a game doesn't work.
                          Any news about the compilation without x11?

                          Thank you.
                          roleo

                          BuZzB 1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators @roleo
                            last edited by

                            @roleo unsupported. Also Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            roleoR 1 Reply Last reply Reply Quote 0
                            • roleoR
                              roleo @BuZz
                              last edited by

                              Yes, I already read the rules but this doesn't change my post.
                              I know that is unsupported but I was hoping that someone is still working on it.

                              Bye

                              BuZzB 1 Reply Last reply Reply Quote 0
                              • BuZzB
                                BuZz administrators @roleo
                                last edited by BuZz

                                @roleo it does change your post - since you mentioned nothing about your setup/OS.

                                Assuming ODroid-C2 with Ubuntu - it is unsupported and I am not working on it. I don't have one of the boards.

                                If you are a developer you can start by forcing platform "odroid-c1" as a starting point.

                                To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                1 Reply Last reply Reply Quote 0
                                • 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.