maybe try updating the firmware?
This was one of the first things I did; having installed the Serial Driver from within a new Galileo Arduino IDE install folder, ran the Arduino IDE and updated the firmware.
It's at version 1.0.4 I believe.
Or do you mean with the SD Card in the machine?
Let’s check that you are using the latest Linux Image for SD-Card, also verify that you have selected the correct port and board on your IDE.
I downloaded the SD Card files only a few days ago, the board is a version 1.0 I think - how do I verify that?
Arduino seems to auto-detect a version 1; there didn't seem to be a choice of SD card images on the Intel Galileo Software Downoads website either.
I'm using COM20 on Windows (for USB Client port on the Galileo) with Aurduino IDE to upload sketches and with Putty for talk to *nix.
The problem is that when the SD-Card with Linux is in the Galileo, I can't upload sketches. When the SD card is out I can upload sketches..
This is Galileo Gen1
This is Galileo Gen2
Check that you are using the correct one in the IDE.
If you were using the correct one, verify that you have all the files that you need in the SDCard, you must have in there:
Also, did you try using another sketch? If it's the same result for all the sketches, do again the Getting Started Guide without the SDcard and the other cables that you were using (just to discard some reasons) . After you finished that, try again with the SDcard in the board and upload again the Blink sketch. Let me know about the results.
I found that sometimes the error info came with "transfer complete" but it works properly, still don't know why.
But if you want to run the sketch via your linux terminal, you can try
in your terminal. I'm still discovering this, because I found sometimes the number followed by "/dev/pts/"is different.
By the way if you switch the verbose mode of Arduino IDE you can find the temporary folder which stored the *.elf file which you can use them in linux to let the galileo behave like an arduino.
Hi there CMata, apologies for the delayed response.
I didn't have grub.efi on the SD card as I didn't know what it did, and it wasn't there on a screenshot from one of those tutorials.. now I do.
Also, before I tried, I formatted my SD Card to NTFS instead of FAT32 - don't know if this or grub.efi was the anwer.. likely grub.efi; bootloadery things. What was I thinking?
Okay I tried my BlinkWithoutDelayPlusTelEthernet.ino with the card in and it works! It's blinking and I have telnet'ed in over 169.254.x.x
I go to /dev/ and I see mmblck0 and mmblck0p1. One of these is probably my SD card right..?
I'm booting from the SD card?
.. And now I've gone back to FAT32.
With grub.efi in there I can now upload sketches, while the SD card with linux on is there.
Thus I can telnet in - no python though, so I think there must be something wrong with the card - does it need to be formatted to some ext3, ext4 or something?
If you are only using the Yocto which Intel provided, you don't have to format to ext3 or other. I met this problem a few hours ago. Still confused. Now I'm installed a Ubuntu and preparing to create a image by myself.
If you want to do so, follow Intel Galileo - Building Linux Image - Malinov Family Web Presence, you can build a Yocto with any feature you want.
Best of luck,
1 of 1 people found this helpful
You need your SDcard in FAT32 or FAT format
In terminal, if you type:
You will see the content data of your SDcard.
So here's the contents of my SD card - does it being named mmcblk0p1 mean that it is the Linux that is actually running?
So I can copy this:
telnetd -l /bin/sh
ifconfig eth0 169.254.1.1 netmask 255.255.0.0 up
into some magic boot file somewhere, right? Then I can connect to the board via ethernet and I'm free to upload other, persistent, sketches to it via COM20, right?
If so maybe my problem may just be that I want some debianness - Stark, I think you might have the way to go.. I will check that out as step 2! *Ahh rootstock, where are you now..*
This makes it blink also:
... Uploading blink,the board is blinking as expected, and for some reason telnet is still possible.. (I didn't change any files!).. mmcblk0p1 is present and correct:
So now I should reboot the galileo,and it should blink quickly given that I've since shortened the delay in that screenshot..
So far so good.. except I now can't connect via COM20, and obviously trying to connect via ethernet times out.. grub.rc or something, to 'up' eth0?
Just no consistency!
What happened before it stopped working?
Could you attach the log that appears in the IDE when the uploading process fails?
Sorry for this basic question but is just to discard some options, Are you sure you are selecting the right port in the IDE?