SpiderElectron

Electronic Engineering Blog

IoT DevKit Linux build, SD Card Image

I have now uploaded a copy of the SD Card image. You can find it here. It is compressed using bzip2 compression. It is designed for an 8GB SDHC Card. It will work on larger cards, but part of your card will be unused. This blog post explains how to burn it to an SD Card for use in Galileo.

Before you can do anything with the image, you need to decompress the file. On Linux / Mac OS X you would use this command from a terminal window:

bzip2 -d iot-devkit-201405011703-mmcblkp0.direct.bz2

Note that this is a disk image, not a file copy. So you need to ‘burn’ this image to your SD Card. Instructions for doing that vary depending on which operating system you are using.

Burning the disk image using Linux or Mac OS X

On Linux or Mac OS X you can use command in the terminal window to burn the image file to the SD Card. First you need to know the mount point of the SD Card, which you can find using:

$diskutil list

This will give you some output something like this (yours will be different) :

$diskutil list
/dev/disk0
 #: TYPE NAME SIZE IDENTIFIER
 0: GUID_partition_scheme *1.0 TB disk0
 1: EFI EFI 209.7 MB disk0s1
 2: Apple_HFS Macintosh HD 999.3 GB disk0s2
 3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
 #: TYPE NAME SIZE IDENTIFIER
 0: FDisk_partition_scheme *16.0 GB disk1
 1: Windows_FAT_32 NO NAME 16.0 GB disk1s1
/dev/disk3
 #: TYPE NAME SIZE IDENTIFIER
 0: GUID_partition_scheme *2.0 TB disk3
 1: EFI EFI 209.7 MB disk3s1
 2: Apple_HFS Time Machine Backups 2.0 TB disk3s2

On my system I have a 16GB SD Card mounted at /dev/disk1 – your path may be different. You must get the right  path or you could destroy the contents of your hard disk! You have been warned.

Now, unmount the SD Card by entering:

$sudo diskutil unmountDisk /dev/<your path>

And now burn the image file you extracted from the bz2 file to the SD Card with this command:

$sudo dd if=iot-devkit-201405011703-mmcblkp0.direct of=/dev/<your path> bs=8m

This will take some time, on my Mac it took about 1 hour to burn the image, during which time you will not see anything happen in the terminal window.

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.