5 Replies Latest reply on Jun 24, 2016 9:08 AM by Intel Corporation

    galileo G2, devkit 20160606: does it talk to Arduino IDE?

    mjcrank

      I'm following the "Linux Totorial for Intel Galileo Gen 2",

      https://communities.intel.com/docs/DOC-23764. I chose to use the "Iot

      Devkit Image", followed links to download the image. I used instructions in

      https://software.intel.com/en-us/get-started-galileo-linux-step1

      and used 'dd' to load iot-devkit-prof-dev-image-galileo-20160606.direct to a

      32G SD card.  I mounted the volume and found the files that were said to be

      there. 

       

      Back to the "Linux Tutorial...", step 2, Ethernet direct connection, I

      plugged in the Ethernet cable and the SD card, applied power, waited for

      lights, plugged in the USB cable, and tried to load the GetIP sketch.

      However, there was no /dev/ACM? for Arduino IDE to talk to. I restarted the

      IDE, no change. 

       

      I purchased this machine with happy expectation that linux would provide

      wifi, web, scheduling and logging for the many sensors and actuators

      that interface so easily --and inexpensively--to Arduino.  I've spent much

      of the day looking for a way to ssh to this machine.  I've found that the

      'kit' I bought really wants a 17$ FTDI cable, an extension for the N6502(?)

      half-size wifi card, and the antennas that I find I had to buy seperately.

      I just can't wait to find out if I guessed at and bought the right one(s).

       

      This is not the first day I worked with this, but it is the longest.

      I spent it following broken links, reading unclear descriptions, walking

      multiple paths, looking at glossy marketing pages, but not finding a single

      comprehensive quick-start that gets this machine to do more than 'blink'.

      I've upgraded my firmware, and I've begun to look for a way to configure

      yocto through the system() facility in arduino code.  BTW...I haven't found

      much. 

       

      Sorry to bitch, but primal-scream hasn't helped, and maybe, just maybe,

      someone here would have worked through the same issues.  Any help better

      than a shotgun blast of glancingly useful URLs will be greatly appreciated

      after coffee and four aspirin tomorrow morning.

        • 1. Re: galileo G2, devkit 20160606: does it talk to Arduino IDE?
          FGT

          Hi mjcrank,

           

          Unfortunately I'm not currently developing under Linux so my suggestions would not be very specific. But bear with me...

           

          Yes, there are broken links. I reported several, some of which have been solved, some other/s is/are still broken.

          mjcrank wrote:

          ...

          I purchased this machine with happy expectation that linux would provide

          wifi, web, scheduling and logging for the many sensors and actuators

          that interface so easily --and inexpensively--to Arduino. I've spent much

          of the day looking for a way to ssh to this machine. I've found that the

          'kit' I bought really wants a 17$ FTDI cable, an extension for the N6502(?)

          half-size wifi card, and the antennas that I find I had to buy seperately.

          I just can't wait to find out if I guessed at and bought the right one(s).

          ...

          If you send the specs. of the ones you have bought, several people here know a lot, and will be able to check and/or confirm whether they will be useful.

           

          mjcrank wrote:

           

          I'm following the "Linux Totorial for Intel Galileo Gen 2",

          https://communities.intel.com/docs/DOC-23764.

          ...

          I did not know about this tutorial (and I've seen broken and/or "obsolete/deprecated" material)... my suggestion (maybe the only useful one...) is that you follow the path starting at

          IoT - Intel® Galileo Board Get Started Guide | Intel® Software

          Maybe many or all of the steps are already known by you, but I've not seen reports of problems (at least not solved ones) on this step-by-step (starting) guide. In case you find a problem, I suggest you send your step-by-step tasks including several screen captures so people in this forum would be able to help (I've seen a lot of help here).

           

          mjcrank wrote:

           

          ...

          Back to the "Linux Tutorial...", step 2, Ethernet direct connection, I

          plugged in the Ethernet cable and the SD card, applied power, waited for

          lights, plugged in the USB cable, and tried to load the GetIP sketch.

          However, there was no /dev/ACM? for Arduino IDE to talk to. I restarted the

          IDE, no change.

           

          Just my guess: in Windows, the corresponding port appears after a while (sometimes even after aroud 2 minutes or maybe more, I did not specifically check... I just waited until de port is recognized...), and it was always after the corresponding light is on, the USB green light on does not imply the port will be "quickly" recognized once you plug in the USB cable. If the port (/dev/ACM? in your case) is not recognized, then there is a problem... and I think there are so many sources that I think it's better if you start from scratch starting at the link above.

           

          HTH,

           

          Fernando.

          • 2. Re: galileo G2, devkit 20160606: does it talk to Arduino IDE?
            mjcrank

            First, thanks for taking the time to respond. Before starting, I want to reiterate that I need wifi, web, scheduling (cron), and logging (syslog). Nowhere have I found documentation on the on-board OS, but I have seen several instances that mention that the OS has no wifi. A non-starter.

             

            This is long, you asked for detail, but here's the Executive Summary: Intel's commitment to the documentation of this board is not what I expected from the company I've respected for years. It is confusing, incomplete, un-tested and appears to use user forum material as official information. Moreover, using specific recommendation from what I imagine is an Intel representative, I find a dead end. This thread is decidedly not answered.


            Starting with your suggestion for a entry point, I began with:

             

            https://software.intel.com/en-us/iot/library/galileo-getting-started

            - chose my OS: linux

            - chose my IDE: Arduino

            - step 3 gives me a button: “hook it up”. The new window tells me to update my firmware. That's been done. Then it tells me to install the Arduino IDE, which has been done. Ultimately it tells me to run the Arduino sketch, 'blink'.

            - Nowhere does it tell me to update Galileo's linux. That doesn't work for me. I want wifi. Dead End.

             

            Next, I'm going back to the “Linux tutorial for Intel Galileo Gen 2”. After many attempts to find if the Iot Devkit image will work with Arduino IDE, I've decided that it does not. BTW, I took your suggestion and waited more than 30 minutes for the port to be found but it was never found.


             

            https://communities.intel.com/docs/DOC-23764

            - This time, I'll choose the “SD-Card image”. The paragraph says that it has the wifi drivers and more. The download link is http://www.intel.com/content/www/us/en/support.html , which tells me that Intel is testing my resolve, and maybe my patience. Here we go:

            - Choose “Download Drivers and Software”, https://downloadcenter.intel.com/

            - choose “Select a Product”, use the pulldown to select “Boards and Kits”, which takes you to: https://downloadcenter.intel.com/product/78586/Boards-and-Kits

            - Since you've been given no guidance on the Download Type, and you don't know what they'll call the operating system, you just start down the never-ending page. Show More, Show More, Show More, Show More, and at the top of the fifth page you see “Intel Galileo Board Software Package”. But because you didn't know what you were looking for, Is this it? Let's try. That gets you to: https://downloadcenter.intel.com/download/24355/Intel-Galileo-Board-Software-Package?product=78586

            - There is a box on the page that is titled “Detailed Description” in which you're told that “This download record installs the software package release version 1.0.8 for …..”. Huh? The 'download record installs' …? Getting picky, maybe, but it's like being told that something will cost “400% less”...makes the mind reel. Now I'm told to see “getting started guide for step by step information on installing the software...”. Finally...

            https://software.intel.com/en-us/get-started-edison-linux , But this is about the Edison and I've been on a Galileo thread. Dead End.

            - ...and I should see the release notes, http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-galileo-boards/000006235.html , But this is about the Arduino IDE software, not the SDCard image. No help. Back to the Tutorial.

            - There's a link after the one for the download page, it says that installation instructions, I still assume for the SDCard image, can be found “here”: https://communities.intel.com/thread/52284. The paragraph goes on to say that the installation is easy...extract the archive onto the SD card and power up the board. The URL doesn't look promising as it's not an Intel doc page, it's a user forum titled “Booting SD card in...Galileo...”. Still hopeful...The poster has gone through the Intel guide document but needs more information. There is no URL to the guide doc he mentions. The “answer” to this guy's question is: update the firmware. But, below this, JPMontero_Intel goes deeper:

            - Format the SDCard to Fat32

            - get the “LINUX IMAGE FOR SD...” from https://communities.intel.com/thread/52284 which bears an exact resemblance to http://www.intel.com/content/www/us/en/support.html cited above. I suppose the same many-window-later exercise would get you to the SDCard image.

            - Montero says “Extract the file and then put all the content inside the SD card. Put the SD in the socket and power up the board and you are ready.” Inside the SD card...anywhere? But wait, there's more to consider.

            - the expanded contents of the SDCard.1.0.8.tar.bz2 are in ./image-full-falileo. Should that directory be copied to the card, or just its contents?  That directory contains:

               drwxr-xr-x 3 mjc mjc 4.0K May 10 17:43 boot

               -rw-r--r-- 1 mjc mjc 1.9M May 10 17:45 bzImage

               -rw-r--r-- 1 mjc mjc 1.7M May 10 17:45 core-image-minimal-initramfs-clanton.cpio.gz

               -rw-r--r-- 1 mjc mjc 274K May 10 17:22 grub.efi

               -rw-r--r-- 1 mjc mjc 300M May 10 17:45 image-full-galileo-clanton.ext3

            - bzImage appears to be a boot partition...a partition, not a simple file.

            - core-image-minimal-initramfs-clanton.cpio.gz: By its size, file type and what 'file' says about it, this is the root filesystem, the second partition I would expect to see on a bootable drive.

            - Image*.ext3 sure looks like something to do with the ext3 filesystem I'd expect to find on linux system.

            - With these in mind, it seems unlikely that slapping this directory, as is, onto the root of the new SD card's fat32 filesystem is gonna boot a new linux. Just a guess, but I'd bet coffee that I need to use 'dd' –or something similar-- to put these files on that card.

             

            So, with patience thin, no confidence in Intel's commitment to documentation—this board's been out for what, 2 years?-- and no confidence in the only answer I've seen so far on building the bootable disk....Anyone want to buy this board?

            • 3. Re: galileo G2, devkit 20160606: does it talk to Arduino IDE?
              FGT

              Let's see...

               

              I agree with many of your complaints.

               

              I think right now you should decide whether you need help or you sell your Intel Galileo Gen2 card.

               

              Regarding your decision: I can try to help (and maybe others in this forum, some of them working at Intel), I will not buy any Intel Galileo Gen2 card.

               

              Fernando.

              • 4. Re: galileo G2, devkit 20160606: does it talk to Arduino IDE?
                Intel Corporation
                This message was posted on behalf of Intel Corporation

                We’re sorry to hear you’re having an unpleasant experience using the Galileo board. We’ll try to guide you through the proper links and steps you need to complete in order to work with your board.

                 

                First, there are two different kind of images available, the uclibc image and the eglibc image. For each of these there are different versions. The eglibc image can be downloaded from here https://software.intel.com/en-us/iot/hardware/galileo/downloads  with the name iot-devkit-prof-dev-image-galileo-20160606.zip. If you want to boot from this image you should follow https://software.intel.com/en-us/get-started-galileo-linux-step1 .

                 

                Now, for the uclibc image, which can be downloaded from here https://downloadcenter.intel.com/download/24355/Intel-Galileo-Board-Software-Package , the direct download link is https://downloadmirror.intel.com/24355/eng/SDCard.1.0.8.tar.bz2 .
                To boot from this image you have to first, format the SD card to fat 32, and then extract the contents of the image to the root folder of the SD card. There’s no need to run the dd command in order to boot from this image, just copy the files to the root folder. It should look like this:          


                The uclibc image comes with the firmware for the Intel Centrino N-135. If you’re using this image and you have a different adapter you can get the drivers from https://wireless.wiki.kernel.org/en/users/Drivers/iwlwifi. Make sure to download the right version according to the kernel.

                 

                In the eglibc image, most of the wireless drivers are already installed by default but in case it’s not, you can also download it from the website posted above.

                 

                Please let us know if you’re able to boot after following these instructions, if you encounter any issue please send a screenshot and post it so we can provide further assistance. Once you’re able to boot the board, we’ll proceed to help you with the WiFi setup.

                 

                -Sergio

                • 5. Re: galileo G2, devkit 20160606: does it talk to Arduino IDE?
                  Intel Corporation
                  This message was posted on behalf of Intel Corporation

                  Do you still need assistance with this thread, were you able to follow the steps we provided?

                  -Sergio