8 Replies Latest reply on Mar 30, 2015 8:50 PM by rgb

    Another boot problem with SD and Galileo Gen 1 - what can I do next?

    ABIX_PL

      I got Galileo gen 1 today. First of all, I just connect it to ethernet and saw on my roueter, that it gets ip via dhcp. OK. Nothing more, all Digital PINs were HIGH (leds lights).

      Nither sshd or web server on Galileo. No open ports. Just ip.

       

      So, I get Arduino IDE 1.5.3 and upgrade firmware to 1.0.0 and I see in my PC kernel logs:

       

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.404201] usb 2-2: new high-speed USB device number 4 using ehci-pci

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.538268] usb 2-2: New USB device found, idVendor=8086, idProduct=babe

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.538280] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.538287] usb 2-2: Product: Gadget Serial v2.4

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.538294] usb 2-2: Manufacturer: Linux 3.8.7-yocto-standard with pch_udc

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.547734] cdc_acm 2-2:1.0: This device cannot do calls on its own. It is not a modem.

      Mar 24 09:49:58 adasiek-ThinkPad-X200 kernel: [ 1441.547980] cdc_acm 2-2:1.0: ttyACM0: USB ACM device

      Mar 24 09:49:58 adasiek-ThinkPad-X200 mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"

      Mar 24 09:49:58 adasiek-ThinkPad-X200 mtp-probe: bus: 2, device: 4 was not an MTP device

      Mar 24 09:49:58 adasiek-ThinkPad-X200 modem-manager[1266]: <info>  (ttyACM0) opening serial port...

       

      then, I can put LED 13 blink into Galileo and it is blinking. Also, I can download via IDE code:

       

      void setup()

      {

        system("cp /etc/inittab /etc/inittab.bak");  // Back up inittab

        // Replace all "S:2345" with "S0:2345"'s (switching serial ports):

        system("sed -i 's/S:2345/S0:2345/g' /etc/inittab");

        // Replace all "ttyS1" with "ttyGS0"'s (switching serial ports):

        system("sed -i 's/ttyS1/ttyGS0/g' /etc/inittab");

        // Replace all "grst" with "#grst"'s to comment that line out:

        system("sed -i 's/grst/#grst/g' /etc/inittab");

        // Replace all "clld" with "#clld"'s to comment that line out:

        system("sed -i 's/clld/#clld/g' /etc/inittab");

        system("kill -SIGHUP 1");

      }

      void loop()

      {

       

       

      }

       

      I can connect via USB cable and command : screen /dev/ttyACM0 115200 or putty

      putty_login.png

      But when I press ENTER, nothing happens - I can write ps or pwd, but no reaction from Galileo is diplayed ...

       

      And the last thing - I prepared SD Card 1 GB with fat32 formatted 1 partition and files from http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v1.0.0.7z

       

      ls -laR

      .:

      razem 311080

      drwxrwxr-x  3 adasiek adasiek      4096 mar 24 13:40 .

      drwxrwxr-x 10 adasiek adasiek      4096 mar 24 17:26 ..

      drwx------  3 adasiek adasiek      4096 maj 19  2014 boot

      -rw-rw-r--  1 adasiek adasiek   1974224 maj 15  2014 bzImage

      -rw-rw-r--  1 adasiek adasiek   1695878 maj 15  2014 core-image-minimal-initramfs-clanton.cpio.gz

      -rw-rw-r--  1 adasiek adasiek    279670 maj 15  2014 grub.efi

      -rw-rw-r--  1 adasiek adasiek 314572800 maj 15  2014 image-full-galileo-clanton.ext3

       

       

      ./boot:

      razem 12

      drwx------ 3 adasiek adasiek 4096 maj 19  2014 .

      drwxrwxr-x 3 adasiek adasiek 4096 mar 24 13:40 ..

      drwx------ 2 adasiek adasiek 4096 maj 19  2014 grub

       

       

      ./boot/grub:

      razem 12

      drwx------ 2 adasiek adasiek 4096 maj 19  2014 .

      drwx------ 3 adasiek adasiek 4096 maj 19  2014 ..

      -rw-rw-r-- 1 adasiek adasiek  690 maj 15  2014 grub.conf

       

       

      My problem is that when I run Galileo, it does NOT get ip from router - the card is NOT starting.

      Can anybody helps me, what shoud I test now?

       

      Adam

        • 1. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
          JPMontero_Intel

          Hi ABIX_PL,

           

          I suggest you not to use the sketch you mentioned, I also got errors using the terminal that way it hangs. The best way to get into the console is by using a serial console cable like the one mentioned in this site, because you can see the booting process, you can also build one by following this guide . There are other methods to get into the terminal by using a Wireless or Ethernet connection by ssh or telnet, all of them are in mentioned in this document http://www.intel.com/support/galileo/sb/CS-035042.htm. Also I suggest you to update your board’s firmware to 1.0.4 by using the Galileo Firmware updater, you can get it from here, in there is also the User Guide which include steps to update the firmware with this tool. About the image version you are using, there is also a 1.0.4 image which is available in here. Regarding wireless have you tried following this guide?  Let me know if these suggestions work.

           

          Regards,
          JPMontero_Intel

          • 2. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
            ABIX_PL

            Dear JPMontero_Intel - I tried to update firmware, but without of luck....

             

            firmware_update104-error1.png

            Full text of application logs:

             

            adasiek@adasiek-ThinkPad-X200:~/Galileo/firmware104$ sh firmware-updater-1.0.4

            zmodemOperationWithTimeout

            Output was: 0x01000000

            Transfer complete

            mar 25, 2015 8:02:58 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Przerwany potok

            mar 25, 2015 8:03:46 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Uploading: /home/adasiek/.galileo/firmware.cap

            mar 25, 2015 8:03:46 AM com.intel.galileo.flash.tool.AbstractZmodemService sendFile

            INFO: [/home/adasiek/.galileo/lsz, --escape, --binary, --overwrite, --verbose, firmware.cap]

            mar 25, 2015 8:07:32 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Checking uploaded file: md5sum /firmware.cap

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: MD5 result: f9d79a6813dede6f7f184b5460a32718  /firmware.cap

            Transfer complete

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Integrity good, preparing for upgrade...

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: mkdir -p /tmp/spi_upgrade

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: mkdir -p /lib/firmware/tmp/spi_upgrade

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Przerwany potok

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: mv /firmware.cap /tmp/spi_upgrade/galileo_firmware.bin

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: cp /tmp/spi_upgrade/galileo_firmware.bin /lib/firmware/tmp/spi_upgrade/galileo_firmware.bin

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Preparations complete!

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: ./opt/cln/galileo/start_spi_upgrade.sh

            mar 25, 2015 8:07:33 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Stream closed

            mar 25, 2015 8:07:34 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: reboot

            mar 25, 2015 8:07:34 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Updating firmware...This may take up to 5 minutes.

            mar 25, 2015 8:10:34 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  1

            mar 25, 2015 8:10:34 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:10:39 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  2

            mar 25, 2015 8:10:39 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:10:44 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  3

            mar 25, 2015 8:10:44 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:10:49 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  4

            mar 25, 2015 8:10:49 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:10:54 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  5

            mar 25, 2015 8:10:54 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:10:59 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  6

            mar 25, 2015 8:10:59 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:11:04 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  7

            mar 25, 2015 8:11:04 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:11:09 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  8

            mar 25, 2015 8:11:09 AM com.intel.galileo.flash.tool.JsscZmodemService openSerialTransport

            SEVERE: Port name - /dev/ttyACM0; Method name - openPort(); Exception type - Port not found.

            mar 25, 2015 8:11:14 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: poll ...  9

            zmodemOperationWithTimeout

            Output was:

            zmodemOperationWithTimeout

            mar 25, 2015 8:11:19 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Przerwany potok

            Output was:

            zmodemOperationWithTimeout

            mar 25, 2015 8:11:19 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Przerwany potok

            Process timed out

            Output was:

            zmodemOperationWithTimeout

            mar 25, 2015 8:11:19 AM com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe run

            SEVERE: null

            java.io.IOException: Stream closed

              at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)

              at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)

              at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

              at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)

              at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)

              at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)

              at java.io.InputStreamReader.read(InputStreamReader.java:184)

              at java.io.BufferedReader.fill(BufferedReader.java:161)

              at java.io.BufferedReader.readLine(BufferedReader.java:324)

              at java.io.BufferedReader.readLine(BufferedReader.java:389)

              at com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe.run(Unknown Source)

              at java.lang.Thread.run(Thread.java:745)

             

             

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Stream closed

            mar 25, 2015 8:11:19 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialOutputPipe run

            SEVERE: Stream closed

            Process timed out

            Output was:

            zmodemOperationWithTimeout

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialOutputPipe run

            SEVERE: Stream closed

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe run

            SEVERE: null

            java.io.IOException: Stream closed

              at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)

              at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)

              at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

              at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)

              at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)

              at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)

              at java.io.InputStreamReader.read(InputStreamReader.java:184)

              at java.io.BufferedReader.fill(BufferedReader.java:161)

              at java.io.BufferedReader.readLine(BufferedReader.java:324)

              at java.io.BufferedReader.readLine(BufferedReader.java:389)

              at com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe.run(Unknown Source)

              at java.lang.Thread.run(Thread.java:745)

             

             

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Stream closed

            Process timed out

            Output was:

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe run

            SEVERE: null

            java.io.IOException: Stream closed

              at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)

              at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)

              at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

              at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)

              at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)

              at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)

              at java.io.InputStreamReader.read(InputStreamReader.java:184)

              at java.io.BufferedReader.fill(BufferedReader.java:161)

              at java.io.BufferedReader.readLine(BufferedReader.java:324)

              at java.io.BufferedReader.readLine(BufferedReader.java:389)

              at com.intel.galileo.flash.tool.AbstractZmodemService$RemoteOutputPipe.run(Unknown Source)

              at java.lang.Thread.run(Thread.java:745)

             

             

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialOutputPipe run

            SEVERE: Stream closed

            mar 25, 2015 8:11:20 AM com.intel.galileo.flash.tool.GalileoFirmwareUpdater updateFirmwareOnBoard

            INFO: Update failed version check

            Exception in thread "serial-input" java.lang.NullPointerException

              at com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe.run(Unknown Source)

              at java.lang.Thread.run(Thread.java:745)

             

             

            My system is Ubuntu with XFCE:

            adasiek@adasiek-ThinkPad-X200:~/Galileo/firmware104$ uname -a

            Linux adasiek-ThinkPad-X200 3.13.0-48-generic #80~precise1-Ubuntu SMP Thu Mar 12 19:30:36 UTC 2015 i686 i686 i386 GNU/Linux

            adasiek@adasiek-ThinkPad-X200:~/Galileo/firmware104$ lsb_release -a

            No LSB modules are available.

            Distributor ID: Ubuntu

            Description: Ubuntu 12.04.5 LTS

            Release: 12.04

            Codename: precise

             

            It looks like port was closed. I investigate syslog:

             

            Mar 25 08:07:32 adasiek-ThinkPad-X200 lsz[6878]: [adasiek] firmware.cap/ZMODEM: 7300496 Bytes, 32279 BPS

            Mar 25 08:07:57 adasiek-ThinkPad-X200 kernel: [ 3465.946614] usb 2-2: USB disconnect, device number 4

            After upload firmware port was closed, but I don't know why....

             

            Next in log - but this is after error screen in time line:

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.728131] usb 2-2: new high-speed USB device number 5 using ehci-pci

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.861188] usb 2-2: New USB device found, idVendor=8086, idProduct=babe

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.861200] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.861207] usb 2-2: Product: Gadget Serial v2.4

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.861214] usb 2-2: Manufacturer: Linux 3.8.7-yocto-standard with pch_udc

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.862642] cdc_acm 2-2:1.0: This device cannot do calls on its own. It is not a modem.

            Mar 25 08:11:11 adasiek-ThinkPad-X200 kernel: [ 3659.862833] cdc_acm 2-2:1.0: ttyACM0: USB ACM device

            Mar 25 08:11:11 adasiek-ThinkPad-X200 mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"

             

            I have restarted device:

             

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.096198] usb 2-2: new high-speed USB device number 6 using ehci-pci

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.229626] usb 2-2: New USB device found, idVendor=8086, idProduct=babe

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.229637] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.229645] usb 2-2: Product: Gadget Serial v2.4

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.229651] usb 2-2: Manufacturer: Linux 3.8.7-yocto-standard with pch_udc

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.231191] cdc_acm 2-2:1.0: This device cannot do calls on its own. It is not a modem.

            Mar 25 08:36:34 adasiek-ThinkPad-X200 kernel: [ 5183.231386] cdc_acm 2-2:1.0: ttyACM0: USB ACM device

            Mar 25 08:36:34 adasiek-ThinkPad-X200 mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2"

            Mar 25 08:36:34 adasiek-ThinkPad-X200 mtp-probe: bus: 2, device: 6 was not an MTP device

             

            It shows, that firmware is updated (even if there is some kind of error in backgroud):

             

            adasiek@adasiek-ThinkPad-X200:~/Galileo/firmware104$ sh firmware-updater-1.0.4

            zmodemOperationWithTimeout

            Output was: 0x01000400

            Transfer complete

            mar 25, 2015 8:37:32 AM com.intel.galileo.flash.tool.JsscZmodemService$SerialInputPipe run

            SEVERE: Przerwany potok

            firmware_update104-done.png

             

            I will try to make another SD card with Linux on it ....

             

            I get Sandisk 1 GB card and make fat32 partition on it:

            gparted_new_fat32-done.png

            Then, I copy files with Linux:

            linux_done_sd.png

            I put it into Galileo and.... still nothing.

             

            SD LED blinks few more times than before, but ethernet still does not get ip from dhcp (I checked out on my router dhcp client table).

            Now, I will look for elements to make Jack to RS cable, and I think in next few hours I will post here screnns from BOOT process of Galileo....

             

            Adam

            • 3. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
              ABIX_PL

              But... there is also a success!

               

              Debian form galileo-debian | SourceForge.net WORKS !!!!!

               

              debian_on_galileo.png

              Now, I will check if this is problem specific to SD card (type, size) or to md5 sum of files..... please be patient.

              • 4. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
                ABIX_PL

                OK, now some more info....

                 

                1. Look of partition on card with Debian:

                 

                adasiek@adasiek-ThinkPad-X200:~/Galileo/debian$ sudo parted /dev/sdb print

                Model: RICOH R5U880FlashMedia (scsi)

                Dysk /dev/sdb: 1967MB

                Rozmiar sektora (logiczny/fizyczny): 512B/512B

                Tablica partycji: gpt    <<<----- That is strange for me GPT!

                 

                Numer  Początek  Koniec  Rozmiar  System plików  Nazwa  Flaga

                1     17,4kB    100MB   100MB    fat16                 ładowalna

                2     100MB     1966MB  1866MB   ext3                  msftdata

                 

                It works - under Galileo:

                 

                root@galileo:~# df -h

                Filesystem      Size  Used Avail Use% Mounted on

                rootfs          1.8G  383M  1.3G  23% /

                udev             10M     0   10M   0% /dev

                tmpfs            23M  104K   23M   1% /run

                /dev/mmcblk0p2  1.8G  383M  1.3G  23% /

                tmpfs           5.0M     0  5.0M   0% /run/lock

                tmpfs            46M     0   46M   0% /run/shm

                 

                I tried to make another Intel's Linux:

                linux_done_sd-test.png

                 

                Now, I tried on GPT with boot flag set - it does not start anymore... I give up with this. I will stay with Debian, which works. Maybe some other day I will try to make Serial cable to investigate boot process.

                 

                Thanks for help. Adam

                • 5. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
                  ABIX_PL

                  My friend made for me RS cable ;-) So I can give a screen, what is going on with Intel's Clayton SD Card.

                  In shell I investigate a liitle....

                  JPMontero_Intel - Maybe this will tell something to you.

                   

                  / # mount

                  rootfs on / type rootfs (rw)

                  proc on /proc type proc (rw,relatime)

                  sysfs on /sys type sysfs (rw,relatime)

                  none on /dev type devtmpfs (rw,relatime,size=118060k,nr_inodes=29515,mode=755)

                  / # dmesg | grep mmc

                  [    4.880166] mmc0: SDHCI controller on PCI [0000:00:14.0] using ADMA

                  [    5.050142] mmc0: new SD card at address e624

                  [    5.761013] mmcblk0: mmc0:e624 SU01G 968 MiB

                  [    5.810661]  mmcblk0: p1

                   

                  Przechwycenie obrazu ekranu - 26.03.2015 - 21:25:42.png

                  • 6. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
                    rgb

                    Hi Abix

                    Looking at all of your posts, it seems you have a problem updating the firmware, using Yocto Linux and connecting to the Internet.

                    Regarding the firmware, when you do an update you need to boot without an SD card, however it seems from the information provided by the update tool your are already at 1.0.4, so I don't think this is a problem.

                     

                    As for the OS, what you use depends on what you want to do. The Debian versions are fine, as long as you don't want to use the Arduino IDE and are ok with limited support. I have used is the one put out by EmuTek www.emutexlabs.com, but mostly for the Python support.

                    Regarding Yocto Linux. First make sure you have a good SD card - cat 10 - format the entire card as Fat32 and probably get at least 4GB. Your last image looks like the Galileo couldn't find the image file so you may have a corrupt card.

                    Instead of the standard Yocto package I use a version put out by AlexT http://alextgalileo.altervista.org/blog/updated-galileo-devtools-image/ which includes development tools and access to a repository (use opkg to update and install new packages). I also use it with the wiring_x86 by emutex so can control devices with Python. You can also try IoT IDK if you are interested in using Node.js. https://software.intel.com/en-us/iot

                    Once you have a stable version running, you can connect using the serial cable and get the IP address by running ifconfig, or use a tool like Angry IP Scanner, so you can SSH in and check your configuration. (I run a small Python program on startup that displays the IP address on a i2c LCD screen). By default, if you use one of the standard OS versions I mentioned, it should automatically get an IP address.

                    Hope this is of some help.

                    rgb

                    • 7. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
                      ABIX_PL

                      Dear rgb - I have Debian works and running, also I discover that libc shoud not be updated, because of segfault's errors in libpthread-2.13.so. I discovered that this happend in Galileo (i found some post here on forum among tons of other posts I've read) in some cases.

                      I will not try anymore with Intel's Image of linux, because I need https server, python and other normal linux packages.I think this can finnish this thread.

                      • 8. Re: Another boot problem with SD and Galileo Gen 1 - what can I do next?
                        rgb

                        Hi Abix

                        As long as you are up and running, that is all that matters.

                        You can mark your last posting as the correct answer and close this posting so it doesn't continue to show up as unanswered.

                        regards

                        rgb