Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flicd binary does not run on ARMv8 64-bit (Odroid C2) #62

Open
ristomatti opened this issue Jun 17, 2017 · 7 comments
Open

flicd binary does not run on ARMv8 64-bit (Odroid C2) #62

ristomatti opened this issue Jun 17, 2017 · 7 comments

Comments

@ristomatti
Copy link

Recently I purchased an Odroid C2 to replace Raspberry Pi 3 as my home automation hub as it has received many good reviews as a more performant but similarly priced alternative to Raspberry Pi 3.

I even bought a BT dongle recommended in the README to make sure I'd still be able to use Flics with it. But to my surprise it does not seem to be compatible with the flicd binary:

$ bin/armv6l/flicd 
-bash: bin/armv6l/flicd: No such file or directory

Since flicd is not open source I cannot fix the issue by compiling the binary myself.

I understand there can be various reasons why the source is not available but would it be possible to release a binary for ARMv8? I'd be happy to help if there's something I could do (beta test for example).

Odroid C2 has an Amlogic S905 Quad Core Cortex™-A53 1.5GHz 64bit ARMv8 processor and the preinstalled OS is Ubuntu 16.04.

@Emill
Copy link
Collaborator

Emill commented Jun 17, 2017

Could you try https://uploads.intercomcdn.com/i/o/19079167/2b97ccc25aa761b109c009ef/flicd-aarch64.tar.gz?

@ristomatti
Copy link
Author

Wow that was REALLY fast response! Actually I managed to solve the issue. I realized ARMv8 should be backwards compatible with older versions and got the ARMv6 flicd binary working with:

sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install -y libc6:armhf libstdc++6:armhf

But of course a matching binary is even better. I'll give it a try!

@ristomatti
Copy link
Author

Works like a charm. Thank you! :)

@ristomatti
Copy link
Author

ristomatti commented May 2, 2018

Could this binary be made available and the issue then closed? I see the binaries haven't been updated in over a year. I hope the development of flicd hasn't discontinued with the new Hub...

@Emill
Copy link
Collaborator

Emill commented May 2, 2018

The opposite - a slightly modified version of the flicd is running inside the Flic hub. Once we get some time over we'll update the public SDKs also.

@ristomatti
Copy link
Author

Good to hear!

@PelleRavn
Copy link

PelleRavn commented Apr 26, 2020

So you never got around to add the ARM64 (and others) version to the SDK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants