×

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

Bi-monthly release with minor bug fixes and improvements

Atik driver for armv8?

  • Posts: 2247
  • Thank you received: 223
Hi Polakovic,

Would you have an atik driver for the armv8 please?
www.indilib.org/forum/general/1142-odroid-c2.html
7 years 11 months ago #7471

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

  • Posts: 712
  • Thank you received: 174
Hi, I don't have arm v8 machine, but I believe v7 will work as well:

download.cloudmakers.eu/atikccd-1.0-v7-armhf.deb

Peter
7 years 11 months ago #7711

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

Hi ,
Just got my C2 this morning running 64bit ubuntu (the standard image for the C2 on eMMC). (spot the fun) "Wrong ELF Class: ELFCLASS64" for the indi_atik_ccd drivers when it attempts to resolve libcfitsio (compiled 64bit)

Pulled the kstars & indi from the standard repo - these work well just need that last element.

I could rebuild a 32bit version of libcfitsio then use the search path specific to the indi server for the driver(s) in a shell.

Scratch that - it can't compile to create the executables without a parallel install of 32bit libraries..
ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #7986

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

Interesting bit here: forum.odroid.com/viewtopic.php?t=19855&p=130186
Seems there's also a GCC version difference too which may cause issues.

It should be possible to use the existing library however all the dependencies would need to have a 32bit version installed, the 32bit armhf is 'considered a foreign architecture' so basically things need cross compiling to 32bit (or installed from the PPAs with :armhf after. However for the libcfitsio.so.3 dependency that isn't resolved just configuring the NASA source configuration for armhf and running may work. It may also need the armhf linker and tools.
ODROID C2 Ubuntu
7 years 10 months ago #8018

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

So: forum.odroid.com/viewtopic.php?f=135&t=18806

I'll try the following tonight:
odroid:$ sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install *:armhf

I'm hoping that works.
ODROID C2 Ubuntu
7 years 10 months ago #8019

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

Ok just about to test this but...

0. Use "Engrampa" to extract the indi_atik_ccd drivers etc
1. Go to this location and get the 32 bit libcfitsio deb package: launchpad.net/ubuntu/trusty/armhf/libcfitsio3/3.340-2ubuntu2
2. Use the "Engrampa" archive tool to extract the /usr/lib directory into the local directory. This is the 32bit of the shared library. Copy this to your local atik driver directory.
3. Go to the directory you've extracted and use "ln -s libcfitsio.so.3.340 libcfitsio.so.3" at the command line to create a symbolic link (the atik driver looks for ...so.3)
4. "export LD_LIBRARY_PATH=." at the command line - this tells the system to add the current directory on the path to look for shared directories (i.e. finds 32 bit version)
5. Then run the indiserver -vv ./indi_atik_ccd ... and bingo the system searches the local directory and find the 32 bit version of the library first.
ODROID C2 Ubuntu
7 years 10 months ago #8034

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

So.. using atik_ccd_test the 383L clicks into life!
ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #8035
Attachments:

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

C2 + Ekos + ATIK ...




ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #8036
Attachments:

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

Hmm.. not sure why but the 383L isn't capturing. I hear it initialise, and I can see the temps are set - I've disabled the temps for immediate image using preview.

Tried disconnecting and reconnecting but that doesn't work.
ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #8037

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

after a power cycle... and using "ATIK CCD" for the device name.

ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #8038
Attachments:

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

  • Posts: 712
  • Thank you received: 174
So does it finally work? :)
7 years 10 months ago #8040

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

  • Posts: 77
  • Thank you received: 10

Replied by NickK on topic Atik driver for armv8?

Finally got the camera connected, image download verified in the indi logs. This it's the flushing if there's a problem ;)

I'm probably in the weird position that I have 4 atik cameras.. so I'm hoping that the device identifier allows the USB bus address or something to differentiate between them. I'll be using the other cameras (not the guiders) for two 300mm lenses on the top of the scope.

Next stop is the Pentax's robo focuser.. I'll have a look at the indi focuser support...
ODROID C2 Ubuntu
Last edit: 7 years 10 months ago by NickK.
7 years 10 months ago #8041

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

Time to create page: 1.445 seconds