Difference between revisions of "UDOO Getting started"

From eLinux.org
Jump to: navigation, search
(Added page to UDOO category.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File:UDOO_getting_started.jpeg]]
 
== Overview ==
 
== 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).
+
This easy step by step guide will lead you through the procedure to boot your UDOO for the very first time.
+
 
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.
+
== Step by step procedure ==
+
=== 1. Insert the micro SD card===
For each image we provide a direct .zip download.
+
UDOO has no internal storage or built-in boot code, OS and storage are on microSD so you need to plug a pre-loaded microSD to boot. If you didn’t get a pre-loaded microSD card, you should follow our step by step guide about [http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_precompiled_image creating a bootable Micro SD card from precompiled image].
== Let’s Start – Creating a micro SD card ==
+
 
# Download any SD images (Ubuntu or Yocto) available from the [http://www.udoo.org/downloads/ UDOO download page].
+
=== 2. Connect the HDMI cable ===
# Extract in a folder the .img file from the .zip file you downloaded.
+
UDOO features full HD video output on standard HDMI connector. Plug your full-size ‘male’ HDMI cable to UDOO, then plug it to your monitor or digital TV.
 +
 
 +
=== 3. Connect network (optional) ===
 +
If you want, you can plug your RJ-45 ethernet cable now, but you can do it later when the board is booted or you can just use the WiFi to connect wirelessly to your network.
 +
 
 +
=== 4. Connect input ===
 +
Every keyboard and mouse should work with UDOO. The board provides 5V 500mAmp so you don’t need an USB hub unless you need to power up high power consumption devices. Wireless keyboard/mouse should work as well.
 +
 
 +
=== 5. Power up ===
 +
UDOO starter kits and pre-orders come with a 12V and 2Amp switching DC supply with a standard 5.5mm/2.1mm barrel jack. This supply is designed to work anywhere in the world, 100V-240V AC wall power but you may need a plug adapter. More info about power supply.
  
=== Write the image on micro SD card Using Linux ===
+
UDOO will boot as soon as you connect the power supply. You’re now good to go to start explore, learn and make with your UDOO board!
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=<img_file_path> of=/dev/<sd_name>
 
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/<user_name>/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/<sd_label>
 
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/<sd_name>
 
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 ===
 
# Numbered list item
 
# Download the Win32DiskImager software [http://sourceforge.net/projects/win32diskimager/files/Archive/win32diskimager-v0.7-binary.zip/download here]
 
# Unzip it and now you have a new folder called “win32diskimager-v0.7-binary”
 
# 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 the file named Win32DiskImager.exe (in Windows Vista, 7 and 8 right-click this file and choose “Run as administrator”).
 
# 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!
 
# In the Image File box, choose the .img file that you downloaded and click “Write”. Note: if a warning message appears click YES.
 
Your micro SD card is ready to be used. Just insert it in UDOO and boot the system.
 
  
 +
==References==
 +
# http://www.udoo.org/getting-started/
 +
 
[[Category:UDOO]]
 
[[Category:UDOO]]

Latest revision as of 08:09, 10 October 2013

UDOO getting started.jpeg

Overview

This easy step by step guide will lead you through the procedure to boot your UDOO for the very first time.

Step by step procedure

1. Insert the micro SD card

UDOO has no internal storage or built-in boot code, OS and storage are on microSD so you need to plug a pre-loaded microSD to boot. If you didn’t get a pre-loaded microSD card, you should follow our step by step guide about creating a bootable Micro SD card from precompiled image.

2. Connect the HDMI cable

UDOO features full HD video output on standard HDMI connector. Plug your full-size ‘male’ HDMI cable to UDOO, then plug it to your monitor or digital TV.

3. Connect network (optional)

If you want, you can plug your RJ-45 ethernet cable now, but you can do it later when the board is booted or you can just use the WiFi to connect wirelessly to your network.

4. Connect input

Every keyboard and mouse should work with UDOO. The board provides 5V 500mAmp so you don’t need an USB hub unless you need to power up high power consumption devices. Wireless keyboard/mouse should work as well.

5. Power up

UDOO starter kits and pre-orders come with a 12V and 2Amp switching DC supply with a standard 5.5mm/2.1mm barrel jack. This supply is designed to work anywhere in the world, 100V-240V AC wall power but you may need a plug adapter. More info about power supply.

UDOO will boot as soon as you connect the power supply. You’re now good to go to start explore, learn and make with your UDOO board!

References

  1. http://www.udoo.org/getting-started/