Wiki/Doc to build CoreELEC?


For Odroid C2, should I use
PROJECT=Amlogic DEVICE=S905 ARCH=aarch64 ?




Thank you!


Hi TheCoolest (remember me? you helped me get my abox a95x box working!) -

Along the lines of your answer - the selection of ARCH=arm instead of aarch64. I’ve done some reading and found that CoreElec runs a 64-bit kernel, but userspace is 32-bit. Hence the ARCH=arm instead of aarch64, I assume.

Recently, the bounty to complete an aarch64 dynarec was merged into the libretro-mupen64plus core, so I wanted to see if I could get my S905 or S912 box to try this out.

My first idea was to see if I could compile an entire CoreElec image as aarch64. Over in the LE forums, there is a user that releases aarch64 builds - - so my gut feeling is that it could work, but it would be a lot to build, probably more than necessary if I’m just trying to use a single aarch64 libretro core.

So my next option was to compile just retroarch with Project=Amlogic Arch=aarch64, but then I ran into some errors with libhybris not supporting aarch64. I found this was a package included for the Amlogic project. Is this required if I want to compile retroarch too? If so, this library’s lack of support for aarch64 would be a roadblock to getting this to work.

If somebody could help confirm whether or not I’m chasing the impossible, it would be much appreciated, thanks!


libhybris is needed for S912 builds, without it you would have no GUI


Thanks adamg - so if I’m understanding this right, libhybris does not support aarch64, so even though we have a chipset that supports 64 bit, it is not currently possible to create any aarch64 binaries (with GUI) that would run on our S912 Amlogic boxes.

It sounds like I won’t be able to test the aarch64 dynarec on my S912 box at all - can you confirm?


Yes that is correct, libhybris is needed because we have no fbdev mali binary for the GPU inside the S912 devices, so we use libhybris to use the Android gralloc for S912 for the UI.