Difference between revisions of "UDOO"

From eLinux.org
Jump to: navigation, search
(typo)
(41 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[File:UDOO_quad.jpg|200px|thumb|right|UDOO]] This page collects information about UDOO [http://www.udoo.org www.udoo.org] the first ever small sized computer that merges in one single board an ARM cortex-A9 iMX.6 CPU and an Arduino compatible board embedded with a dedicated ARM SAM3X CPU. [http://www.kickstarter.com/projects/435742530/udoo-android-linux-arduino-in-a-tiny-single-board UDOO project has been funded trough Kickstarter], rising $641,614 in sixty days thanks to 4,172 backers.
+
:'''''Notice:''' The UDOO Pi Wiki pages on this site is collaborative work - the UDOO Team is '''not''' responsible for content on these pages.''
 +
{{TOC right}}
  
''Notice: The UDOO Wiki pages on this site is collaborative work - the UDOO team is not responsible for content on these pages.''
+
This page collects information about [http://www.udoo.org UDOO] the first ever small sized computer that merges in one single board an ARM cortex-A9 iMX.6 CPU and an Arduino Due compatible board embedded with a dedicated ARM SAM3X8E CPU. [http://www.kickstarter.com/projects/435742530/udoo-android-linux-arduino-in-a-tiny-single-board UDOO project has been funded through Kickstarter], raising $641,614 in sixty days thanks to 4,172 backers.
 +
 
 +
 
 +
<!--[[File:UDOO_quad.jpg|200px|thumb|right|UDOO]]-->
 +
[[File:UDOO-icons2.png|600px|UDOO]]
  
 
= What's UDOO? =
 
= What's UDOO? =
UDOO is a mini PC that could run either Android or Linux, with an Arduino-compatible board embedded. It is a powerful prototyping board for software development and design, it’s easy to use and allows to create projects with minimum knowledge. UDOO merges different computing worlds in one; each world has its strengths and weaknesses, and all of them are useful today in education as well as Do-It-Yourself (DIY) and rapid prototyping endeavours. UDOO is an open hardware, low-cost computer equipped with an ARM i.MX6 Freescale processor for Android and Linux, alongside  Arduino DUE’s ARM SAM3X, both CPU integrated on the same board!
+
UDOO is a single board computer that can be used both with Android and Linux, paired with an Arduino-compatible processor. It is a powerful prototyping board for software development and design; it’s easy to use and allows developing projects with minimum knowledge of hardware design. UDOO merges different computing worlds together: each one has its proper strengths and weak points, but all of them are useful in todays life for educational purposes as well as Do-It-Yourself (DIY) and quick prototyping. UDOO is an open hardware, low-cost platform equipped with an ARM i.MX6 Freescale processor, and an Arduino Due compatible section based on ATMEL SAM3X8E ARM processor, all this available on the same board!
  
 
== UDOO goals: ==
 
== UDOO goals: ==
* Develop an innovative product for a growing market
+
*Develop an innovative product for a growing market
* Give a new vision to the educational framework: the idea is to train up a new generation of engineers, designers and software developers skilled in digital technology: physical computing, multi-media arts, interactive arts, IoT...
+
*Give a new vision to the educational framework, with the idea of training up a new generation of engineers, designers and software developers skilled in digital technology: physical computing, multi-media arts, interactive arts, IoT...
* Boost up the DIY world
+
*Give a boost to the DIY world
* Offer a low cost embedded platform for interactive art with powerful tools: Processing, OpenCV, PureData, openFramework
+
*Offer a low cost embedded platform for interactive arts with powerful tools: Processing, OpenCV, PureData, openFramework
* Provide companies with a great tool for fast prototyping
+
*Provide companies with a great tool for fast prototyping
  
 
= Specifications =
 
= Specifications =
UDOO retail line up consist of three models that share most features with just slightly differences in term of connections and CPU power. All the three models features an embedded Arduino compatible board based on Arduino DUE schematic. UDOO’s size are 4.33 inch x 3.35 inch (11 cm x 8.5 cm).
+
UDOO retail line up consists of three models, sharing most of the features and different only for connectivity and i.MX6 processor used. All three models feature an embedded Arduino compatible section based on Arduino Due schematic. UDOO’s dimensions are: 4.33 inch x 3.35 inch (11 cm x 8.5 cm).
  
== GPIO features ==
 
[Description needed]
 
Current version, UDOO rev. C, has these additional features:
 
* S/PDIF digital audio in & out through pin headers;
 
* I2S/AC97/SSI digital audio multiplexer through pin headers;
 
* FlexCAN (Flexible Controller Area Network) through pin headers, you will be able to choose if you want to switch this function to the iMX6 or the SAM3X;
 
* Second SD card support through pins header: this means you can plug an external controller for a second SD card or an external controller for an eMMC module
 
  
==UDOO Quad ==
 
[Description needed]
 
* Freescale i.MX 6 ARM Cortex-A9 CPU Quad core 1GHz with ARMv7A instruction set
 
* GPU Vivante GC 2000 for 3D + Vivante GC 355 for 2D (vector graphics) + Vivante GC 320 for 2D (composition)
 
* Accelerators for 2D, OpenGL® ES2.0 3D and OpenVG™
 
* Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino DUE)
 
* RAM DDR3 1GB
 
* 76 fully available GPIO with Arduino-compatible R3 1.0 pinout
 
* HDMI and LVDS + Touch
 
* 2 Micro USB (1 OTG type a+b)
 
* 2 USB type A (x2) and 1 USB connector (requires a specific wire)
 
* Analog Audio and Mic
 
* CSI Camera Connection
 
* on board Micro SD card reader reader (boot device)
 
* Power Supply (6-15V) and External Battery connector
 
* Ethernet RJ45 (10/100/1000 MBit)
 
* WiFi Module
 
* SATA connector with power plug
 
  
==UDOO Dual ==
+
{|
[Description needed]
+
|-
* Freescale i.MX 6 ARM Cortex-A9 CPU Dual core 1GHz with ARMv7A instruction set
+
| [[File:Udoo.versions.jpg|500px|UDOO]] ||
* GPU Vivante GC 880 for 3D and 2D (vector graphics) + Vivante GC 320 for 2D (composition)
+
*Freescale i.MX6Quad, 2\4 x ARM® Cortex™-A9 core @ 1GHz with ARMv7A instruction set
* Accelerators for 2D, OpenGL® ES2.0 3D and OpenVG™
+
*GPU Vivante GC 2000 for 3D + Vivante GC 355 for 2D (vector graphics) + Vivante GC 320 for 2D
* Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino DUE)
+
*Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
* RAM DDR3 1GB
+
*RAM DDR3 1GB
* 76 fully available GPIO with Arduino-compatible R3 1.0 pinout
+
*76 fully available GPIO with Arduino compatible R3 1.0 pinout
* HDMI and LVDS + Touch
+
*HDMI and LVDS + Touch
* 2 Micro USB (1 OTG type a+b)
+
*2 Micro USB (1 OTG)
* 2 USB type A (x2) and 1 USB connector (requires a specific wire)
+
*2 USB 2.0 type A and 1 USB 2.0 internal pin header (requires adapter cable)
* Analog Audio and Mic
+
*Analog Audio and Mic jacks
* CSI Camera Connection
+
*CSI Camera Connection
* on board Micro SD card reader reader (boot device)
+
*on board Micro SD card reader (boot device)
* Power Supply (6-15V) and External Battery connector
+
*Power Supply (6-15V) and External Battery connector
* Ethernet RJ45 (10/100/1000 MBit)
+
*Ethernet RJ45 (10/100/1000 MBit)
* WiFi Module
+
*WiFi Module
* SATA connector with power plug
+
*SATA connector with power header
 +
|}
  
==UDOO Dual Basic ==
+
'''Warning: The UDOO I/O pins are 3.3V compliant. Higher voltages (like 5V) would damage the board.'''
[Description needed]
 
* Freescale i.MX 6 ARM Cortex-A9 CPU Dual core 1GHz with ARMv7A instruction set
 
* GPU Vivante GC 880 for 3D and 2D (vector graphics) + Vivante GC 320 for 2D (composition)
 
* Accelerators for 2D, OpenGL® ES2.0 3D and OpenVG™
 
* Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino DUE)
 
* RAM DDR3 1GB
 
* 76 fully available GPIO with Arduino-compatible R3 1.0 pinout
 
* HDMI and LVDS + Touch
 
* 2 Micro USB (1 OTG type a+b)
 
* 2 USB type A (x2) and 1 USB connector (requires a specific wire)
 
* Analog Audio and Mic
 
* CSI Camera Connection
 
* on board Micro SD card reader reader (boot device)
 
* Power Supply (6-15V) and External Battery connector
 
  
 +
Learn more about [http://www.udoo.org/faq-items/what-are-the-wrong-uses-that-invalidate-the-warranty/ wrong uses that invalidate the warranty].
  
 +
==Board Overview==
  
= Tutorials =
+
[[File:Schema UDOO Wiki.jpg|900px|frameless|center]]
 +
<!--
 +
== Micro SD Card (to be verified) ==
 +
Physical Type: microSD<br />
 +
Maximum Capacity:  ?? GB<br />
 +
Transfer rate read:  ?? MB/s<br />
 +
Transfer rate write:  ?? MB/s<br />
 +
Recommended SD Class: ??<br />
 +
See http://en.wikipedia.org/wiki/Secure_Digital#Speed_class_rating for more information.
 +
-->
 +
== GPIO features ==
 +
UDOO's GPIO's can be used in different configurations, if set to SAM3X or IMX6:
 +
*S/PDIF digital audio in & out through pin headers;
 +
*I2S/AC97/SSI digital audio multiplexer through pin headers;
 +
*FlexCAN (Flexible Controller Area Network) through pin headers, it is possible to switch this function’s management between i.MX6 processor and SAM3X8E processor;
 +
*External SD card support through pins header: plug an external controller for an additional SD card slot or for an eMMC module.
 +
[[UDOO_GPIO_Pinout|More informations about UDOO_GPIO_Pinout]]
  
 +
<!--
 +
==UDOO Quad ==
 +
*Freescale i.MX6Quad, 4 x ARM® Cortex™-A9 core @ 1GHz with ARMv7A instruction set
 +
*GPU Vivante GC 2000 for 3D + Vivante GC 355 for 2D (vector graphics) + Vivante GC 320 for 2D (composition)
 +
*Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
 +
*RAM DDR3 1GB
 +
*76 fully available GPIO with Arduino compatible R3 1.0 pinout
 +
*HDMI and LVDS + Touch
 +
*2 Micro USB (1 OTG)
 +
*2 USB 2.0 type A  and 1 USB 2.0 internal pin header (requires adapter cable)
 +
*Analog Audio and Mic jacks
 +
*CSI Camera Connection
 +
*on board Micro SD card reader (boot device)
 +
*Power Supply (6-15V) and External Battery connector
 +
*Ethernet RJ45 (10/100/1000 MBit)
 +
*WiFi Module
 +
*SATA connector with power header
  
== Creating a bootable Micro SD card from image ==
+
==UDOO Dual ==
 +
*Freescale i.MX6DualLite, 2x ARM® Cortex™-A9 core @ 1GHz with ARMv7A instruction set
 +
*GPU Vivante GC 880 for 3D and 2D (vector graphics) + Vivante GC 320 for 2D (composition)
 +
*Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
 +
*RAM DDR3 1GB
 +
*76 fully available GPIO with Arduino compatible R3 1.0 pinout
 +
*HDMI and LVDS + Touch
 +
*2 Micro USB (1 OTG)
 +
*2 USB 2.0 type A and 1 USB 2.0 internal pin header (requires adapter cable)
 +
*Analog Audio and Mic jacks
 +
*CSI Camera Connection
 +
*on board Micro SD card reader (boot device)
 +
*Power Supply (6-15V) and External Battery connector
 +
*Ethernet RJ45 (10/100/1000 MBit)
 +
*WiFi Module
  
This guide will allow you to create a bootable micro SD card for your UDOO board using an image file. The image file contains the UDOO Operating system, which runs the i.MX6 processor. Without the O.S., you can only use UDOO like a normal Arduino DUE (only SAM3X processor).
+
==UDOO Dual Basic ==
   
+
*Freescale i.MX6DualLite, 2x ARM® Cortex™-A9 core @ 1GHz with ARMv7A instruction set
Using an image is quite simple: you need to unzip the image and write it to your SD card using the dd tool for UNIX/MAC users or Win32DiskImager for Windows users. It is not possible to create a bootable card with drag and drop. Please note that the micro SD must be at least 8GB; bigger memory cards may be used but only 8GB will be available at the end of the procedure.
+
*GPU Vivante GC 880 for 3D and 2D (vector graphics) + Vivante GC 320 for 2D (composition)
 +
*Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
 +
*RAM DDR3 1GB
 +
*76 fully available GPIO with Arduino compatible R3 1.0 pinout
 +
*HDMI and LVDS + Touch
 +
*2 Micro USB (1 OTG)
 +
*2 USB 2.0 type A and 1 USB 2.0 internal pin header (requires adapter cable)
 +
*Analog Audio and Mic jacks
 +
*CSI Camera Connection
 +
*on board Micro SD card reader (boot device)
 +
*Power Supply (6-15V) and External Battery connector
 +
-->
 +
= Tutorials =
 +
== Getting started ==
 +
An easy step by step guide that will lead you through the procedure to [http://www.elinux.org/UDOO_Getting_started boot your UDOO for the very first time].
  
# Download any SD images (Ubuntu or Yocto) available from the image section of the website http://www.udoo.org/downloads/.
+
== Creating a bootable Micro SD card from precompiled image ==
# Extract the .img file from the .zip file you downloaded into a folder of your choice (this path will be referred to as <img_file_path> in the guide).
+
How to [http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_precompiled_image create a bootable micro SD card for UDOO] board, starting from a precompiled image file containing the UDOO Operating system, which runs using the i.MX6 processor.
# Follow the instructions below for the OS you use:
 
  
=== Write the image on micro SD card Using Linux: ===
+
== Creating a bootable Micro SD card from binaries ==
 +
How to [http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_precompiled_binaries create a bootable Micro SD card from precompiled binaries].
  
* From the terminal run
+
== Creating a bootable Micro SD card from source ==
df -h
+
How to [http://www.elinux.org/UDOO_creating_a_bootable_Micro_SD_card_from_source create a bootable Micro SD card from sources].
  
* 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!
+
== How to program the embedded Arduino microcontroller ==
+
How to [http://www.elinux.org/UDOO_programming_the_embedded_Arduino_microcontroller program the embedded Arduino microcontroller]
* Run again
 
df -h
 
  
* The device that wasn’t there previously is your Micro SD card.
+
== How to install Debian with debootstrap ==
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 (for example “/dev/mmcblk0″ or “/dev/sdd”) to work with the entire Micro SD card.
+
How to [http://www.elinux.org/UDOO_Installing_Debian_With_Debootstrap install Debian with debootstrap]
  
* If your Micro SD card contains more partitions, you should unmount all of these partitions (using the right name found earlier followed by the letters and numbers that identify the partitions) using the command:
+
== How to boot from a SATA drive ==
e.g. sudo umount /dev/sdd1
+
How to [http://www.elinux.org/UDOO_boot_from_sata boot from SATA drive]
  
* Write the image into the Micro SD card using the command:
+
== How to create a Virtual Machine for UDOO Development ==
sudo dd bs=1M if=<img_file_path> of=/dev/<sd_name>
+
How to [http://www.elinux.org/UDOO_create_a_Virtual_Machine_for_UDOO_Development create a Virtual Machine for UDOO Development]
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 correct 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.  (e.g. sdd, not sdds1 or sddp1, or mmcblk0 not mmcblk0p1)
 
e.g. sudo dd bs=1M if=/home/<user_name>/Download/2013-5-28-udoo-ubuntu.img of=/dev/sdd
 
  
* Once dd completes, run the sync command as root or run sudo sync as a normal user (this will ensure the write cache is flushed and that it is safe to unmount your micro SD card) and then run:
+
== How to compile Android 4.2.2 from sources ==
sudo umount /media/<sd_label>
+
How to [http://www.elinux.org/UDOO_compile_android_4-2-2_from_sources compile android 4.2.2 from sources]
  
* Your micro SD card is ready to be used. Just insert it in UDOO and boot the system.
+
== Switch between adb Debug and ADK connection ==
 +
How to [http://www.elinux.org/UDOO_Switch_between_adb_Debug_and_ADK_connection Switch between adb Debug and ADK connection]
  
=== Write the image on micro SD card Using Mac OSX ===
+
== How to configure Ethernet under Android==
 +
How to [http://www.elinux.org/UDOO_configure_Ethernet_under_Android configure Ethernet under Android]
  
* From the terminal run
+
== node-udoo - a Node.js library==
df -h
+
node-udoo is an abstraction library for Node.js complete with command line tools (callback, promise, and synchronous styles supported)
  
* 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!
+
[https://www.youtube.com/watch?v=tjS-Fe-7dDA Introductory/demo video]
  
* Run again
+
[https://github.com/pilwon/node-udoo Project homepage]
df -h
 
  
* The device that wasn’t there previously is your Micro SD card.
+
[http://www.udoo.org/forum/viewtopic.php?f=8&t=431&p=3595#p3595 Installing the latest node.js is covered in this forum post]
Remember 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 (for example, rdisk3, not rdisk3s1. Similarly you might have another SD drive name/number like rdisk2 or rdisk4, etc. recheck it 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 contains more partitions, you should unmount all of these partitions (using the correct name found previously, followed by letters and numbers that identify the partitions) using the command:
+
== How to setup the LVDS panels==
sudo diskutil unmount /dev/disk3s1
+
How to [http://www.elinux.org/UDOO_setup_lvds_panels setup lvds panels]
  
* Write the image into the Micro SD card using the command:
+
= Resources =
sudo dd bs=1m if=path_del_file_img of=/dev/<sd_name>
+
[Description needed]
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 (for example, rdisk3, not disk3s1).
 
e.g. sudo dd bs=1m if=/home/user_name/Download/2013-5-28-udoo-ubuntu.img of=/dev/rdisk3
 
  
* Once dd completes, run the sync command as root or run sudo sync as a normal user (this will ensure the write cache is flushed and that it is safe to unmount your micro SD card) and then run:
+
= Community =
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 ===
 
 
 
* 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!
 
'''Be careful to select the correct drive; if you get the wrong one you can destroy your data on the computer's hard disk!'''
 
 
* 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.
 
 
 
== Creating a bootable Micro SD card from the sources ==
 
 
 
The following are instructions for a Linux system. A different way to create a bootable SD card is to compile the sources.
 
 
 
A bootable SD card has 3 different elements:
 
 
 
*File System (Ubuntu Linaro, Yocto)
 
*Kernel
 
*U-Boot (Universal Bootloader)
 
 
 
The following are the required steps to create a bootable SD card starting from the sources and using an unformatted SD card:
 
 
 
=== Download Binaries and Sources. ===
 
 
 
First you need to download the necessary Binaries and/or Sources
 
 
 
* Create a development folder
 
mkdir <custom_path>/udoo-dev
 
 
 
If the folder is created in home the command will be:
 
 
 
cd
 
mkdir udoo-dev
 
 
 
* then move inside the folder
 
  cd udoo-dev
 
 
 
* Download inside the “udoo-dev” folder the '''file system''' for UDOO Dual or Quad following this link http://www.udoo.org/downloads/
 
 
 
* Download inside the “udoo-dev” folder the compiled '''Kernel''' (uImage) for UDOO Dual or Quad from the binaries section of the website http://www.udoo.org/downloads/.
 
 
 
It’s also possible to download and compile the Kernel sources from the github repository https://github.com/UDOOboard/Kernel_Unico. If you decide to compile the sources you also need to download (and extract) the cross-compiler from the sources section of the website http://www.udoo.org/downloads/
 
 
 
*  Download inside the “udoo-dev” folder the '''U-Boot''' file (u-boot.bin) from the binaries section http://www.udoo.org/downloads/
 
 
 
Once completed these steps in “udoo-dev” you should have 3 binary files: File System, U-Boot and Kernel (in case you downloaded the Kernel compiled binary), while you should have 2 binaries: File System and U-Boot plus 2 folders containing the Kernel sources (from the github link) and the cross-compiler.
 
 
 
=== Compiling the Kernel.  ===
 
'''(NOTE: If you choose the Kernel Binary skip this point).'''
 
 
 
* Move inside the folder udoo-dev/kernel/
 
   
 
* Check the build configuration of the Kernel executing:
 
 
 
make menuconfig
 
 
 
and make sure the following entry is checked:
 
 
 
      System Type  ---->
 
              Freescale MXC Implementations  ---> 
 
                      [*] Support i.MX 6 Quad and DualLite SECO UDOO platform
 
  
* Start compiling with the command:
+
'''Forums'''
make -j8 CROSS_COMPILE=<CROSS_COMPILER_FOLDER>/bin/arm-fsl-linux-gnueabi- ARCH=arm uImage
+
The official UDOO forums can be found at http://www.udoo.org/forum
  
You may be prompted to install some packages to successfully compile the kernel.
+
The forum search facility has been tweaked to allow more general searching. '''Please''' do a search before making a post as the issue may already have been raised and answered.
  
E.g. in Ubunt 10.04 you need to install the following packages:
 
  
sudo apt-get install ncurses-dev uboot-mkimage
+
'''IRC'''
 
+
There is an (unofficial) UDOO discussion channel on IRC.  
(This operation could take up to 20 minutes)
+
Using the IRC client of your choice, use server information: irc.freenode.net. Room name is #udoo.
 
 
The compiled Binary (uImage) will be available in the arch/arm/boot/ folder.
 
 
 
=== Preparing the partitions on the sd card ===
 
 
 
* Insert the SD card in the card reader.
 
 
 
* Launch gparted:
 
sudo gparted
 
 
 
* Select the right Micro SD label from the drop down menù
 
'''(NOTE: Be sure you’re using the correct label otherwise you’ll lose every data on the hard drive on your computer if you get the wrong device name)'''
 
e.g.  /dev/sdc
 
 
 
* Unmount and delete the eventual Micro SD partitions
 
(If necessary you need to create a partition table. Select from the top menù: Device → Create Partition Table... → Apply)
 
 
 
* Create a new partition with the following parameters and press Add.
 
 
 
Free space preceding (MiB): 10
 
New size (MiB): based to the SD size
 
Free space following (MiB): 10
 
Create as: Primary partition
 
File system: ext3
 
(NOTE: ext 4 not yet supported)
 
Label: <UDOO_MICROSD_LABEL>
 
 
 
* Press the green V form, wait for the partition to be done and exit gparted.
 
 
 
=== Copy the file on Micro SD card ===
 
 
 
* File System. Move Inside udoo-dev and extract the tar.gz file containing the filesystem inside the Micro SD with the following command:
 
 
 
tar -xzvpf <NAME_OF_TAR_FS> -C /media/<UDOO_MICROSD_LABEL>/
 
(This operation could take up to 30 minutes)
 
 
 
* Kernel. Move inside the folder where you previously downloaded or compiled the uImage file and copy the binary inside the Micro SD boot folder using the following command:
 
sudo cp uImage /media/<UDOO_MICROSD_LABEL>/boot
 
 
 
* U-Boot. Move Inside udoo-dev and copy the u-boot.bin file inside the Micro SD with the following command:
 
sudo dd if=u-boot.bin of=/dev/sdc bs=512 seek=2 skip=2
 
'''(NOTE: Be sure you’re using the correct label otherwise you could lose data on the hard drive on your computer if you get the wrong device name)'''
 
 
 
* Unmount the partition you previously created using the following command:
 
umount /media/<UDOO_MICROSD_LABEL>
 
 
 
* The Micro SD card is ready, you can now insert it on UDOO and boot the system.
 
 
 
== Programming the Sam3x ==
 
 
 
In order to upload sketches to the SAM3X, the flash memory needs to be erased before being re-programmed. While Arduino DUE uses an ATmega16U2 microcontroller to perform this procedure, UDOO uses the iMx6 processor which is directly linked to the erase and reset pins of the Sam3x managed during the program phase.
 
 
 
There are 3 ways to program the Sam3x processor: With an external PC/MAC using the mini-usb cable connected to the CN6 port without any mirco SD inserted; Using the mini-usb cable connected to the CN6 port with mirco SD inserted and OS booted; Directly from UDOO under Ubuntu OS.
 
 
 
'''NOTE: At this stage the only way to program the Sam3x is to manually erase and reset the processor (method number 1):'''
 
 
 
 
=== With an external PC using the mini-usb cable connected to the CN6 port without any mirco SD inserted ===
 
 
 
Using this method '''the iMx6 processor doesn’t boot any kernel or file system'''. UDOO is used as a simple Arduino DUE.
 
 
 
In this case you just need a '''working Arduino IDE 1.5.2''' installed on your PC/MAC (http://arduino.cc/en/main/software).
 
 
 
Once the sketch is defined, you need to follow these steps:
 
* The '''micro SD''' with the OS installed must be '''removed''';
 
* The jumper in the '''j18 connector must be unplugged''', this allows the communication with the programming port of Sam3x;
 
* Insert the '''jumper in the j22 connector''' for 1 second and remove it (to erase the old sketch in SAM3X);
 
* Insert the '''jumper in the j16 connector''' for 1 second and remove it (to reset the SAM3X);
 
* Select from the IDE: Tools –> Board –> Arduino DUE programming port
 
* Select the correct serial COM from the IDE;
 
* Send the sketch using the IDE upload button.
 
 
===Using the mini-usb cable connected to the CN6 port with mirco SD inserted and OS booted ===
 
At this stage the board doesn’t support this option.
 
 
=== Directly from UDOO under Ubuntu OS ===
 
At this stage the board doesn’t support this option.
 
 
 
= Resources =
 
[Description needed]
 
 
 
= Community =
 
[Description needed]
 
  
 
= References =
 
= References =

Revision as of 09:04, 24 July 2014

Notice: The UDOO Pi Wiki pages on this site is collaborative work - the UDOO Team is not responsible for content on these pages.

This page collects information about UDOO the first ever small sized computer that merges in one single board an ARM cortex-A9 iMX.6 CPU and an Arduino Due compatible board embedded with a dedicated ARM SAM3X8E CPU. UDOO project has been funded through Kickstarter, raising $641,614 in sixty days thanks to 4,172 backers.


UDOO

What's UDOO?

UDOO is a single board computer that can be used both with Android and Linux, paired with an Arduino-compatible processor. It is a powerful prototyping board for software development and design; it’s easy to use and allows developing projects with minimum knowledge of hardware design. UDOO merges different computing worlds together: each one has its proper strengths and weak points, but all of them are useful in todays life for educational purposes as well as Do-It-Yourself (DIY) and quick prototyping. UDOO is an open hardware, low-cost platform equipped with an ARM i.MX6 Freescale processor, and an Arduino Due compatible section based on ATMEL SAM3X8E ARM processor, all this available on the same board!

UDOO goals:

  • Develop an innovative product for a growing market
  • Give a new vision to the educational framework, with the idea of training up a new generation of engineers, designers and software developers skilled in digital technology: physical computing, multi-media arts, interactive arts, IoT...
  • Give a boost to the DIY world
  • Offer a low cost embedded platform for interactive arts with powerful tools: Processing, OpenCV, PureData, openFramework
  • Provide companies with a great tool for fast prototyping

Specifications

UDOO retail line up consists of three models, sharing most of the features and different only for connectivity and i.MX6 processor used. All three models feature an embedded Arduino compatible section based on Arduino Due schematic. UDOO’s dimensions are: 4.33 inch x 3.35 inch (11 cm x 8.5 cm).


UDOO
  • Freescale i.MX6Quad, 2\4 x ARM® Cortex™-A9 core @ 1GHz with ARMv7A instruction set
  • GPU Vivante GC 2000 for 3D + Vivante GC 355 for 2D (vector graphics) + Vivante GC 320 for 2D
  • Atmel SAM3X8E ARM Cortex-M3 CPU (same as Arduino Due)
  • RAM DDR3 1GB
  • 76 fully available GPIO with Arduino compatible R3 1.0 pinout
  • HDMI and LVDS + Touch
  • 2 Micro USB (1 OTG)
  • 2 USB 2.0 type A and 1 USB 2.0 internal pin header (requires adapter cable)
  • Analog Audio and Mic jacks
  • CSI Camera Connection
  • on board Micro SD card reader (boot device)
  • Power Supply (6-15V) and External Battery connector
  • Ethernet RJ45 (10/100/1000 MBit)
  • WiFi Module
  • SATA connector with power header

Warning: The UDOO I/O pins are 3.3V compliant. Higher voltages (like 5V) would damage the board.

Learn more about wrong uses that invalidate the warranty.

Board Overview

Schema UDOO Wiki.jpg

GPIO features

UDOO's GPIO's can be used in different configurations, if set to SAM3X or IMX6:

  • S/PDIF digital audio in & out through pin headers;
  • I2S/AC97/SSI digital audio multiplexer through pin headers;
  • FlexCAN (Flexible Controller Area Network) through pin headers, it is possible to switch this function’s management between i.MX6 processor and SAM3X8E processor;
  • External SD card support through pins header: plug an external controller for an additional SD card slot or for an eMMC module.

More informations about UDOO_GPIO_Pinout

Tutorials

Getting started

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

Creating a bootable Micro SD card from precompiled image

How to create a bootable micro SD card for UDOO board, starting from a precompiled image file containing the UDOO Operating system, which runs using the i.MX6 processor.

Creating a bootable Micro SD card from binaries

How to create a bootable Micro SD card from precompiled binaries.

Creating a bootable Micro SD card from source

How to create a bootable Micro SD card from sources.

How to program the embedded Arduino microcontroller

How to program the embedded Arduino microcontroller

How to install Debian with debootstrap

How to install Debian with debootstrap

How to boot from a SATA drive

How to boot from SATA drive

How to create a Virtual Machine for UDOO Development

How to create a Virtual Machine for UDOO Development

How to compile Android 4.2.2 from sources

How to compile android 4.2.2 from sources

Switch between adb Debug and ADK connection

How to Switch between adb Debug and ADK connection

How to configure Ethernet under Android

How to configure Ethernet under Android

node-udoo - a Node.js library

node-udoo is an abstraction library for Node.js complete with command line tools (callback, promise, and synchronous styles supported)

Introductory/demo video

Project homepage

Installing the latest node.js is covered in this forum post

How to setup the LVDS panels

How to setup lvds panels

Resources

[Description needed]

Community

Forums The official UDOO forums can be found at http://www.udoo.org/forum

The forum search facility has been tweaked to allow more general searching. Please do a search before making a post as the issue may already have been raised and answered.


IRC There is an (unofficial) UDOO discussion channel on IRC. Using the IRC client of your choice, use server information: irc.freenode.net. Room name is #udoo.

References

Home site and community

  1. Official web site http://www.udoo.org
  2. Official forum http://www.udoo.org/forum/index.php

Social account

  1. Facebook fan page http://www.facebook.com/udooboard
  2. Twitter http://twitter.com/UDOO_Board
  3. Google+ https://plus.google.com/u/0/110742692974455430878/posts
  4. YouTube http://www.youtube.com/channel/UCXv5UyGn5jArK8xOAmuSeHg