To get access to more interesting functionality, you need to boot Intel Galileo from an SD-card.
The on-board Linux version running on the Galileo is very limited. So to get access to things like WiFi communication (through Mini-PCIe), you need to install a proper Linux version on an SD-card.
This will also give you access to lots of other libraries, so that you can create programs for example in Python or Node.js.
Another advantage is that if you boot from an SD-card, the sketch you upload to the board does not get erased when you power off the board (as it does if you are using the on-board Linux).
I wanted to try this, because I wanted to build a more advanced weather station than my simple weather station. When booting from an SD-card, I can easily create a web server that runs in the background. Then give easy access to sensor values from an external computer.
To install a bootable Linux for Intel Galileo, you need:
First download the latest OS image. You can find it here:
The first time I tried to extract the file, I got an error message. No explanation, just a message saying there was an error.
So, I tried downloading and installing 7-zip and used this tool to extract instead, and it worked!
Now, format your SD card to FAT32. If you don’t know how to do that, check out one of the following links:
On Windows you can use the Win32DiskImager to write to your SD-card.
On Linux and Mac you can use the “dd” command. But be careful that you choose the right disk, so that you don’t overwrite your own hard drive.
sudo dd if=iot-devkit-version-mmcblkp0.direct of=/dev/diskname bs=3M conv=fsync
Learn how to write to SD card with Linux:
Learn how to write to SD card with Mac:
Learn how to write to SD card with Windows:
Next, put the SD card into the Intel Galileo and power it up.
Does it work?
That’s hard to know…
You need to have a way to communicate with the Intel Galileo, to check if it’s working.
One option is the debug port. It’s a 3.5 mm stereo mini jack plug, that looks like an audio output. But it’s actually an RS-232 port.
To use it, you need to create a cable with a 3.5 mm plug. Then connect it to a RS-232 to USB cable.
I didn’t have that.
BUT, I found a sketch you can upload to access the Linux console through the Arduino Serial Monitor. The following discussion thread shows you how to do that:
It works, but I read that it’s a bit buggy, so it’s probably better to get a proper cable or connect with ethernet before trying to install things like a web server.
In my next tutorial, I’ll show you how to install a web server on the Intel Galileo when it is running from the SD-card.