3 Replies Latest reply on Jul 13, 2014 5:52 PM by Dmitrii

    Intel galileo eglibc image

    Dmitrii

      Hello,

      I am trying run python opencv on galileo and have problems.

      I don't have serial cable, and use micro-usb cable and some code snippets. [Poor man's telnet for Galileo, https://learn.sparkfun.com/tutorials/galileo-getting-started-guide/all#using-the-terminal]

      I understood that opencv is not working under official big linux, and I need to build own image with eglibc instead .

      I built an image, but galileo didn't want to start with new image. I tried different images from alexgalileo, image with devtools, but all the same. I understood that my firmware is wrong and I need to update firmware to 1.0.0. After updating firmware, images from Alex starts fine, but opencv failed with the same error. But all the other images, and the image that was built manually doesn't want to start (the /dev/ttyACM0 doesn't appear).

      If opencv failed for this Alex images it means that it's uclibc image? How can I check if it's uclibc or eglibc?

      Could someone put in the Internet eglibc image for the Intel Galileo firmware 1.0.0?

      And I am disturbed with the sentence "Note that supplied Arduino IDE cross compiles sketches with uClibc and they will not work with eglibc." from this post. LAN is not working in the initial stage (no default ip) and if sketches are not working too, does that mean that I can't connect to the board without serial cable (if I am succeed with eglibc image)?

        • 1. Re: Intel galileo eglibc image
          mhahn

          I think there is another thread which describes how to use OpenCV also on uclibc (python bindings won't work).

          However, eglibc might be generally a good choice if you want to go for OpenCV.

          You could build an image from devkit-daisy-multilibc on meta-intel-iot-devkit - Intel IoT Developer Kit metadata which comes with OpenCV pre-installed and supports Arduino uclibc sketches.

          • 2. Re: Intel galileo eglibc image
            AlexT_Intel

            If opencv failed for this Alex images it means that it's uclibc image?

            Yes, all my ones are uClibc-based, I've added a note to README files about that.

            You can check the image's libc implementation by running the below command and looking for the output listed.

            root@quark:~# opkg list-installed|grep uclibc
            uclibc - 0.9.33+git0+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4
            uclibc-dbg - 0.9.33+git0+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4
            uclibc-dev - 0.9.33+git0+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4

            Right now, AFAIK, Python bindings indeed don't work on the uClibc image, just like already mentioned by mhahn. One can still use C++, it works fine.

            • 3. Re: Intel galileo eglibc image
              Dmitrii

              Dmitrii wrote:

              Could someone put in the Internet eglibc image for the Intel Galileo firmware 1.0.0?

              http://iotdk.intel.com/images/iot-devkit-201402201605-mmcblkp0.direct.bz2

              Dmitrii wrote:

              And I am disturbed with the sentence "Note that supplied Arduino IDE cross compiles sketches with uClibc and they will not work with eglibc." from this post. LAN is not working in the initial stage (no default ip) and if sketches are not working too, does that mean that I can't connect to the board without serial cable (if I am succeed with eglibc image)?

              DHCP client is working. So just connect galileo to router with DHCP or run DHCP server on own machine, and it's okey without serial cable.