UDOO Getting started

Overview
This guide will allow you to create a bootable micro SD card for your UDOO with an image file. The image file contains the main operative system of UDOO, which runs on the i.MX6 processor. Without it you can only use UDOO like a normal Arduino DUE (only SAM3X processor). Using an image is quite simple: you need to unzip the image and write it on your SD card using dd tool for UNIX users or Win32DiskImager for Windows users. You cannot drag & drop the image without using dd or Win32DiskImager because it won’t work. Please note that the minimum size micro SD card you have to use is 8GB, bigger memory cards may be used but only 8GB will be available at the end of the procedure. For each image we provide a direct .zip download.

Let’s Start – Creating a micro SD card

 * 1) Download any SD images (Ubuntu or Yocto) available from the UDOO download page.
 * 2) Extract in a folder the .img file from the .zip file you downloaded.

Write the image on micro SD card Using Linux
From the terminal run df -h If your computer has a slot for SD cards (SD to micro SD adapter needed), insert the card. If not, insert the card into an SD card reader, then connect the reader to your computer. Note: must be formatted in FAT32! Run again df -h The device that wasn’t there last time is your micro SD card. The left column gives the device name of your micro SD card. It will be listed as something like “/dev/mmcblk0p1″ or “/dev/sdd1″. The last part (“p1″ or “1″ respectively) is the partition number, but you want to write to the whole micro SD card, not just one partition, so you need to remove that part from the name (getting for example “/dev/mmcblk0″ or “/dev/sdd”) as the device for the whole SD card. If your SD card shows up more partitions, you should unmount all of these partitions (using the right name found earlier followed from letters and numbers that identify the partitions) using the command: e.g: sudo umount /dev/sdd1 Write the image into the micro SD card using the command: sudo dd bs=1M if= of=/dev/ Make sure you replace the input file if= argument with the path to your .img file, and the “/dev/“ in the output file of= argument with the right device name (this is very important: you will lose all data on the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole micro SD card as described above, not just a partition of it (e.g. sdd, not sdds1 or sddp1, or mmcblk0 not mmcblk0p1) sudo dd bs=1M if=/home//Download/2013-5-28-udoo-ubuntu.img of=/dev/sdd After the command dd finishes run as root the command sync or if a normal user run sudo sync (this will ensure the write cache is flushed and that it is safe to unmount your micro SD card) and after run sudo umount /media/ Your micro SD card is ready to be used. Just insert it in UDOO and boot the system.

Write the image on micro SD card Using Mac OSX
From the terminal run df -h If your computer has a slot for SD cards (SD to micro SD adapter needed), insert the card. If not, insert the card into an SD card reader, then connect the reader to your computer. Note: must be formatted in FAT32! Run again df -h The device that wasn’t there last time is your micro SD card. Record the device name of the filesystem’s partition, for example, /dev/disk3s1. Using the device name of the partition work out the raw device name for the entire disk, by omitting the final “s1″ and replacing “disk” with “rdisk” (this is very important:you will lose all data on the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole micro SD card as described above, not just a partition of it (for example, rdisk3, not rdisk3s1. Similarly you might have another SD drive name/number like rdisk2 or rdisk4, etc. recheck by using the df -h command both before & after you insert your micro SD card reader into your Mac if you have any doubts!): e.g., /dev/disk3s1 => /dev/rdisk3 if your micro SD card shows up more partitions, you should unmount all of these partitions (using the right name found earlier followed from letters and numbers that identify the partitions) using the command: sudo diskutil unmount /dev/disk3s1 Write the image into the micro SD card using the command: sudo dd bs=1m if=path_del_file_img of=/dev/ Make sure you replace the input file if= argument with the path to your .img file, and the “/dev/“ in the output file of argument with the right device name (this is very important: you will lose all data on the hard drive on your computer if you get the wrong device name). Make sure the device name is the name of the whole micro SD card as described above, not just a partition of it (for example, rdisk3, not disk3s1) sudo dd bs=1m if=/home/user_name/Download/2013-5-28-udoo-ubuntu.img of=/dev/rdisk3 After the command dd finishes run as root the command sync or if a normal user run sudo sync (this will ensure the write cache is flushed and that it is safe to unmount your micro SD card) and after run sudo diskutil eject /dev/rdisk3 Your micro SD card is ready to be used. Just insert it in UDOO and boot the system.

Write the image on micro SD card Using Windows
Your micro SD card is ready to be used. Just insert it in UDOO and boot the system.
 * 1) Numbered list item
 * 2) Download the Win32DiskImager software here
 * 3) Unzip it and now you have a new folder called “win32diskimager-v0.7-binary”
 * 4) If your computer has a slot for SD cards (SD to micro SD adapter needed), insert the card. If not, insert the card into an SD card reader, then connect the reader to your computer. Note: must be formatted in FAT32!
 * 5) Run the file named Win32DiskImager.exe (in Windows Vista, 7 and 8 right-click this file and choose “Run as administrator”).
 * 6) If the micro SD card (Device) you are using is not found automatically then click on the drop down box on the right and select the micro SD card letter you just plugged in (e.g. [H:\]). Note: must be formatted in FAT32!
 * 7) In the Image File box, choose the .img file that you downloaded and click “Write”. Note: if a warning message appears click YES.