×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Cross compile Ekos and its dependencies for RPi target

  • Posts: 109
  • Thank you received: 8
Hi all,
pretty much what the title say: can I setup an environment where I can compile everything needed from git and/or sources to get Ekos up and running on the RPi, without using the RPi?

Thanks!
2 years 7 months ago #74805

Please Log in or Create an account to join the conversation.

  • Posts: 349
  • Thank you received: 107
Any particular reason why? Because compiling directly on RPi is not that bad. Full build takes about hour on my RPi4
2 years 7 months ago #74812

Please Log in or Create an account to join the conversation.

  • Posts: 109
  • Thank you received: 8
Well, I only have this one RPi and I need it in the field, so in part is to preserve it for the job I bought it for.
But also, out of curiosity, just to see if it's feasible at all.
2 years 7 months ago #74818

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109
The arm architecture is compiled for Fedora with a cross-compilation, so it certainly can be done. It is just a question of where you want to spend your time to keep the build configuration up to date vs. building natively.

copr.fedorainfracloud.org/coprs/xsnrg/ks...eding/build/2618948/

If you are so inclined, there are compilation logs linked in there that may help with cross-compiler flags to use.
2 years 7 months ago #74820

Please Log in or Create an account to join the conversation.

  • Posts: 104
  • Thank you received: 21
Buy another SD card and switch these, or buy another RPi4. I would believe the price point is not that prohibitive.
I compile / develop on a RPi3.
2 years 6 months ago #75006

Please Log in or Create an account to join the conversation.

Time to create page: 0.635 seconds