×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI and PHD2 on RPi 1?

  • Posts: 1
  • Thank you received: 0
Hi

I'm helping a friend setup INDI and PHD2 on an RPi, noteably a RPi 1B (which I think is going to be the important bit here)

I downloaded the raspbian INDI packages for RPi from here: indilib.org/download/raspberry-pi/category/6-raspberry-pi.html and installed them. No dpkg errors (the first time you run dpkg -i *.deb, there are some errors because of the order the packages happen to get installed in, and there was libftdi was missing, which I installed using apt. Second time around running dpkg -i *.deb, all packages installed without error)

I downloaded PHD2 from github, and followed the build instructions here:
github.com/OpenPHDGuiding/phd2/wiki/BuildingPHD2OnLinux

When I run the binary for phd2, I get Illegal Instruction, which I'm guessing is because RPI 1B is ARM6, vs more modern RPIs which are ARM7. I don't think this is coming from phd2 itself, as it was compiled on the raspberry pi, so I'm assuming cmake detected the correct cpu architecture. Is it possible the problem is coming from the binary INDI I installed? Should that work on ARM6, or do I have to compile it from scratch for ARM6?

Is there any known problems running either PHD2 or INDI on RPi 1?
3 years 7 months ago #37501

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

  • Posts: 1942
  • Thank you received: 418
I have no experience with running INDI or PHD2 or any software on RPi 1 but I do have experience trying to run software on different architectures. The fact that RPi 1 is ARM6 and not ARM7 indeed means that you'll need to compile all binaries yourself.


HTH, Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 7 months ago #37507

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

  • Posts: 983
  • Thank you received: 375
I would add one thing to what Wouter already said - PHD2 uses binary libraries to support various cameras (e.g. ZWO). It might be that these libs are compiled for arm7 and you cannot recompile them... cause they're binary.
A workaround would be to use PHD2 in INDI CCD mode - this way you actually use INDI driver for a camera and connect to it from PHD2. However, no guarantee that INDI drivers will handle it because they probably use the same binary libs.
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
3 years 7 months ago #37514

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

  • Posts: 207
  • Thank you received: 103
To not include this proprietary binary in PHD2 add this option to cmake: -DOPENSOURCE_ONLY=1

But do not expect good performance for any graphical application when running on a Rpi1 with a single core and only 512MB of RAM.
The Rpi2 is what make PHD2 to run OK, and the Rpi3 (or better a board with at least 2GB of memory) to also run the imaging application.
3 years 7 months ago #37547

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

Time to create page: 0.327 seconds