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

Nix for arm64 platform #1

Open
dragonlost opened this issue Feb 13, 2019 · 3 comments
Open

Nix for arm64 platform #1

dragonlost opened this issue Feb 13, 2019 · 3 comments

Comments

@dragonlost
Copy link

Hello
I would like to know if NIX is compatible with the platform aarch64 / arm64? I would like to be able to use "Tic Stepper Motor Controller software" on a card on a form armv8 / aarch64 / arm64 (nanopi-m4 and rockpi 4).

thanks

@DavidEGrayson
Copy link
Member

DavidEGrayson commented Feb 13, 2019

I have not tried running Nix itself on a 64-bit ARM machine.

Nixcrpkgs has no support for 64-bit ARM currently, but it should be possible to add it if we can figure out the right options for configuring GCC. This would allow you to use a normal x64 Linux machine to cross-compile software for your 64-bit ARM machine. Can you run gcc -v on your 64-bit ARM boards and post the results here?

Also, can you try downloading the Tic software for Raspberry Pi from the Tic user's guide and running that on your boards? What happens when you try to do that?

The fastest way to get the Tic software running on your boards would be to compile it from source using the native development tools running on the boards.

@dragonlost
Copy link
Author

OK, I'll watch this.
Like that, it will be more accessible. It would be great if the first version of sofware TIC is available in arm64 !

@DavidEGrayson
Copy link
Member

DavidEGrayson commented Feb 13, 2019

Just to be clear: it's definitely worthwhile for you to try running the Tic software that we compiled for the Raspberry Pi, since there is a chance it might just work for you.

Also, again, you can probably get the Tic software working today if you compile it from source without using nix or nixcrpkgs. See the instructions in BUILDING.md in the section "Building from source on Linux (for Linux)".

If you do want to use nixcrpkgs, I might be able to help with that if you answer the questions from my last post.

Please let me know what you try and what results you get!

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

2 participants