2014-10-17

Serial Communication from UDOO to builtin Arduino Due

http://www.udoo.org/forum/viewtopic.php?p=5631#p5631

Specs for the UDOO Quad

Source: http://elinux.org/UDOO#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

Component Details inspected using Linux

UDOO quad component details inspected using Arch Linux ARM

UDOO quad component details inspected using Linaro 12.04

Installing Linaro Ubuntu 12.04 LTS

http://www.udoo.org/downloads/ and http://www.udoo.org/getting-started/creating-a-bootable-micro-sd-card-from-image/

Installing Arch Linux ARM

http://archlinuxarm.org/platforms/armv7/freescale/udoo

Insert the SD card into the UDOO, connect ethernet, and apply 6-12V power.

Use the serial console (CN6 micro USB connector) or SSH to the IP address given to the board by your router. The default root password is ‘root’.

then:

Audio

to specify which soundcard to use when playing back via sox, do:

This will play back with sound card #2 as found by cat /proc/asound/cards.

To record with the built-in mic-jack:

To record with the built-in mic-jack and play back with an external USB audio card:

Setting the profile for a UCA202 with pulseaudio:

Record audio with arecord from built-in soundcard:

Adding an SATA HDD and Formatting it with BTRFS

https://wiki.archlinux.org/index.php/Btrfs

External SATA Disk / Spindown

So what can you do when the noise of the external drive is annoying you? It could spin down and if you don’t write a lot to the disk, write changes into a RAM disk. This is what aufs could provided. Every other day you could then let the disk spin up and sync the filesystem with brsync.

Also read
http://blog.philippklaus.de/2011/05/manipulation-safe-linux-account/

Of course, this is only good if you could live with a (possibly big) data loss in case of a power failure.

For the spindown, add the following line to /etc/udev/rules.d/11-sda-spindown.rules and reboot or run sudo udevadm trigger:

See here for more info.

mjpg_streamer with Logitech QuickCam Pro 9000 on Arch Linux

http://wiki.ubuntuusers.de/MJPG-Streamer

install:

run:

and go to http://udoo-hostname:8081/?action=stream

Also see this and that on my previous posts.
Or read this on motion with ALARM.

Resources

http://www.heise.de/hardware-hacks/artikel/Hybrides-Multitalent-2039271.html

UDOO Hard Disk LED & IMX6 GPIO Basics in Joshua Solanes’s blog

Open Source Graphics Driver for the GPU: etna_viv

UDOO on eLinux

Show more