Odroid: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
[http://magazine.odroid.com/ Odroid Magazine]
= XU4 =
= Running Linux programs under Android =
* http://www.hardkernel.com/main/products/prdt_info.php
* http://www.bitkistl.com/2015/08/odroid-xu4-features-in-detail.html
 
= [http://magazine.odroid.com/ Odroid Magazine] =
== Running Linux programs under Android ==
A guide to Linux chroot. Jan 2014
A guide to Linux chroot. Jan 2014


= IO ports on U3 =
== IO ports on U3 ==
You can use any generic C/C++ or Python libraries to access the GPIOs in your program. [http://firmata.org Firma] can be used to make an interactive interface between U3 and ATmega328P. Jan 2014.
You can use any generic C/C++ or Python libraries to access the GPIOs in your program. [http://firmata.org Firma] can be used to make an interactive interface between U3 and ATmega328P. Jan 2014.


= Playing youtube on Linux =
== Playing youtube on Linux ==
Jan 2014
Jan 2014


= Use as a Wifi router =
== Use as a Wifi router ==
by using '''hostapd'''. Feb 2014.  
by using '''hostapd'''. Feb 2014.  


= IO/O Shield access & Arduino =
== IO/O Shield access & Arduino ==
Feb 2014
Feb 2014


= Game emulator =
== Game emulator ==
Feb 2014
Feb 2014


From least powerful to most powerful: GB < GBC < NES < SMS < GAMEGEAR < GENESIS < SNES < GBA < PSI < PSP
From least powerful to most powerful: GB < GBC < NES < SMS < GAMEGEAR < GENESIS < SNES < GBA < PSI < PSP


= Communicate Odroid with PC via USB =
== Communicate Odroid with PC via USB ==
The following 3 functions may be used simulaneously
The following 3 functions may be used simulaneously
* Emulate a mass storage device
* Emulate a mass storage device
Line 27: Line 31:
Feb 2014
Feb 2014


= Sensors and Odroid xu =
== Sensors and Odroid xu ==
Mar 2014  
Mar 2014  


= Portable Linux tablet =
== Portable Linux tablet ==
Apr 2014
Apr 2014


= Build Android from source =
== Build Android from source ==
Apr 2014
Apr 2014


= Build Ubuntu from scratch =
== Build Ubuntu from scratch ==
Cross compile. Apr 2014
Cross compile. Apr 2014


= Install oracle JDK version 8=
== Install oracle JDK version 8 ==
Apr 2014
Apr 2014


= Monitor your Linux with NMON =
== Monitor your Linux with NMON ==
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
sudo apt-get install nmon
sudo apt-get install nmon
Line 49: Line 53:
May 2014
May 2014


= Introduction to Odroid-show =
== Introduction to Odroid-show ==
Using bash scripts to show texts or images.  
Using bash scripts to show texts or images.  
May 2014
May 2014


= Sort by file size =
== Sort by file size ==
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
find . -type f -exec ls -s {} \; | sort -n -r | head -5
find . -type f -exec ls -s {} \; | sort -n -r | head -5
Line 77: Line 81:
May 2014
May 2014


= Pipe viewer and dd =
== Pipe viewer and dd ==
See the progress of your operation.
See the progress of your operation.
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
Line 85: Line 89:
May 2014
May 2014


= Android boot process =
== Android boot process ==
May 2014.
May 2014.


= Openbox =
== Openbox ==
Openbox can be run by itself or within another desktop environment. The main focus of Openbox is speed. It comes with only a terminal and web browser, and is perfect for embedded systems. Jun 2014.
Openbox can be run by itself or within another desktop environment. The main focus of Openbox is speed. It comes with only a terminal and web browser, and is perfect for embedded systems. Jun 2014.


= Lego case for Odroid U3 =
== Lego case for Odroid U3 ==
Jun 2014
Jun 2014


= Step motor and Odroid U3 =
== Step motor and Odroid U3 ==
using a bash script. Jun 2014
using a bash script. Jun 2014


= Resize Android partitions =
== Resize Android partitions ==
with gparted. Jun 2014.
with gparted. Jun 2014.


= Explore Android img files =
== Explore Android img files ==
Jun 2014
Jun 2014


= If X11 stops working =
== If X11 stops working ==
Ctrl + Alt + F1[1-6] to switch to a resident framebuffer terminal console.
Ctrl + Alt + F1[1-6] to switch to a resident framebuffer terminal console.


To switch back to X11, click Ctrl + Alt + F7.
To switch back to X11, click Ctrl + Alt + F7.


= Create deb files - checkinstall =
== Create deb files - checkinstall ==
Jun 2014
Jun 2014


= Using wiimote =
== Using wiimote ==
Jun 2014
Jun 2014


= High performance computing at home =
== High performance computing at home ==
Jan 2014, Feb 2014, Mar 2014, Apr 2014, Jul 2014.
Jan 2014, Feb 2014, Mar 2014, Apr 2014, Jul 2014.


LDAP, NFS/AutoFS. With LDAP (Lightweight Active Directory Protocol) configured, we will be able to have users log into any node of the cluster with the same credentials and permissions whcih, when combined with NFS/AutoFS, will permit us to configure network mounted home directories and shares, creating a uniform user experience when connecting to any node in our cluster.
LDAP, NFS/AutoFS. With LDAP (Lightweight Active Directory Protocol) configured, we will be able to have users log into any node of the cluster with the same credentials and permissions whcih, when combined with NFS/AutoFS, will permit us to configure network mounted home directories and shares, creating a uniform user experience when connecting to any node in our cluster.


= Using Xbox 360 controllers with Android =
== Using Xbox 360 controllers with Android ==
Jul 2014.
Jul 2014.


= Control your bandwidth =
== Control your bandwidth ==
Jul 2014.
Jul 2014.
<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
Line 128: Line 132:
</syntaxhighlight>
</syntaxhighlight>


= Deny some users to access your machine via SSH =
== Deny some users to access your machine via SSH ==
Jul 2014.
Jul 2014.


= OS: GameStation Turbo =
== OS: GameStation Turbo ==
which is a Linux frontend for both games and media playback.
which is a Linux frontend for both games and media playback.


Jul 2014.
Jul 2014.


= Portable solar computing =
== Portable solar computing ==
Jul 2014
Jul 2014


= Odroid weather board + Qt application =
== Odroid weather board + Qt application ==
Odroid-show + PC/Odroid host.  
Odroid-show + PC/Odroid host.  
Jul 2014
Jul 2014


= Building native Android applications with RED =
== Building native Android applications with RED ==
Jul 2014
Jul 2014


= Remote Desktop Connection =
== Remote Desktop Connection ==
using '''x11vnc''' server.  If we also want to use Microsoft RDP to access, you will need to also install the '''xrd''' service.
using '''x11vnc''' server.  If we also want to use Microsoft RDP to access, you will need to also install the '''xrd''' service.


Jul 2014.  
Jul 2014.  


= Robotic Operating System =
== Robotic Operating System ==
Jul 2014.
Jul 2014.


= Mupen64 and Retroarch =
== Mupen64 and Retroarch ==
Pocket rocket and couch potato. Aug 2014
Pocket rocket and couch potato. Aug 2014


= ODROID-VU 9 inch 1280x800 touchscreen lcd =  
== ODROID-VU 9 inch 1280x800 touchscreen lcd ==
for android, linux and windows. Aug 2014
for android, linux and windows. Aug 2014


= Home web server =
== Home web server ==
using lighttpd & nginx. Aug 2014
using lighttpd & nginx. Aug 2014


= Youtube player alternative =
== Youtube player alternative ==
Tampermonkey. Aug 2014
Tampermonkey. Aug 2014


= Linux kernel compilation =
== Linux kernel compilation ==
The article provides details on starting with natively building a kernel using only the odroid itself. It does not addres cross-compiling.
The article provides details on starting with natively building a kernel using only the odroid itself. It does not addres cross-compiling.


Aug 2014
Aug 2014


= All about emmc modules =
== All about emmc modules ==
Aug 2014
Aug 2014


= Fix android overscan =
== Fix android overscan ==
Aug 2014.
Aug 2014.


= ODROID-W =
== ODROID-W ==
a miniature raspberry pi compatible wearable computer. A diy smartwatch was used as an example. It can run a full raspbian desktop environment on its own. Qt 4 and applications were used to display he clock and sms/mail/call notification.
a miniature raspberry pi compatible wearable computer. A diy smartwatch was used as an example. It can run a full raspbian desktop environment on its own. Qt 4 and applications were used to display he clock and sms/mail/call notification.


Aug 2014
Aug 2014


= Mouting sd card as extra storage when booting from emmc =
== Mouting sd card as extra storage when booting from emmc ==
instead of a USB drive.
instead of a USB drive.


Aug 2014
Aug 2014


= Android development using the linux kernel =
== Android development using the linux kernel ==
Aug 2014
Aug 2014


= Pepperflash chrome plugin =
== Pepperflash chrome plugin ==
Aug 2014
Aug 2014


= Robot =
== Robot ==
Sep 2014
Sep 2014


= Wicd - network manager =
== Wicd - network manager ==
Sep 2014
Sep 2014


= Freedomotic - home automation =
== Freedomotic - home automation ==
Sep 2014
Sep 2014


= Bash script =
== Bash script ==
* do something every time the os boots
* do something every time the os boots
* do math and concatenate strings
* do math and concatenate strings
Line 211: Line 215:
Sep 2014.
Sep 2014.


= Linux Gaming =
== Linux Gaming ==
Sep 2014
Sep 2014


= Conky =
== Conky ==
Oct 2014
Oct 2014


= I2C connection between U3 and Arduino module =
== I2C connection between U3 and Arduino module ==
Oct 2014.
Oct 2014.


= KVM =
== KVM ==
Really, with 1GB memory! Nov 2014.  
Really, with 1GB memory! Nov 2014.  


= Node.js =
== Node.js ==
Nov 2014.
Nov 2014.


= Odroid C1 vs Raspberry Pi B+ =
== Odroid C1 vs Raspberry Pi B+ ==
Including an introduction to C1. Dec 2014.
Including an introduction to C1. Dec 2014.


= Manage your software packages with automatic updates using apt-get =
== Manage your software packages with automatic updates using apt-get ==
Kernel updates using apt-get.
Kernel updates using apt-get.


Jan 2015.
Jan 2015.


= ownCloud =
== ownCloud ==
Jan 2015.
Jan 2015.


= Remote Desktop =
== Remote Desktop ==
Using Guacamole. All you need is a web browser with HTML5 support since no plugin or client-side software is required. Guacamole supports VNC, SSH and RDP.  
Using Guacamole. All you need is a web browser with HTML5 support since no plugin or client-side software is required. Guacamole supports VNC, SSH and RDP.  


Feb 2015.  
Feb 2015.  


= Docker on ARMv7 =
== Docker on ARMv7 ==
Jan, Feb and March 2015.
Jan, Feb and March 2015.


= Android Kitkat and Odroid C1 =
== Android Kitkat and Odroid C1 ==
March 2015.
March 2015.


= Android Development =
== Android Development ==
Dissecting and modifying the APK file
Dissecting and modifying the APK file


Sep 2014, March 2015.
Sep 2014, March 2015.


= Installing Linux on an external USB drive =
== Installing Linux on an external USB drive ==
Mar 2014 & April 2015 issue. The boot partition is required to reside on a microSD card or emmc module. However, the root partition can be moved to a USB drive.
Mar 2014 & April 2015 issue. The boot partition is required to reside on a microSD card or emmc module. However, the root partition can be moved to a USB drive.


= GPIO shutdown =
== GPIO shutdown ==
April 2015 issue.
April 2015 issue.


= Triple boot Odroid C1 =
== Triple boot Odroid C1 ==
Pack Ubuntu, Android and Openelec.
Pack Ubuntu, Android and Openelec.


April 2015 issue.
April 2015 issue.


= Dashing =
== Dashing ==
May 2015 issue.
May 2015 issue.


= USB GPS and OBDII to track vehicles =
== USB GPS and OBDII to track vehicles ==
June 2015.
June 2015.


= Nintendo 64 emulation =
== Nintendo 64 emulation ==
Jun 2015.
Jun 2015.


= 3.2" touchscreen driver installation =
== 3.2" touchscreen driver installation ==
Jun 2015.
Jun 2015.


= Karaoke =
== Karaoke ==
Jun 2015
Jun 2015


= Popcorn time =
== Popcorn time ==
Popcorn Time uses sequential downloading to play copies of films listed by the website yts.to (YIFY). Jul 2015.
Popcorn Time uses sequential downloading to play copies of films listed by the website yts.to (YIFY). Jul 2015.


= PS3 controller =
== PS3 controller ==
Aug 2015
Aug 2015


= Building Android Kitkat on Odroid C1 =
== Building Android Kitkat on Odroid C1 ==
Aug 2015
Aug 2015


= Stepmania =
== Stepmania ==
Dancing entertainment. Aug 2015
Dancing entertainment. Aug 2015


= Netflix under Linux + Odroid C1 =
== Netflix under Linux + Odroid C1 ==
Chromium is used. Sep 2015
Chromium is used. Sep 2015


= Android Debian =
== Android Debian ==
Sep 2015
Sep 2015


= Qt5 =
== Qt5 ==
Sep 2015
Sep 2015


= ownCloud =
== ownCloud ==
Oct 2015.
Oct 2015.


= apt-get =
== apt-get ==
* Kernel update
* Kernel update
* Package list
* Package list
Line 309: Line 313:
Oct 2015
Oct 2015


= Zygote and Android development =
== Zygote and Android development ==
Oct 2015
Oct 2015


= Seafile =
== Seafile ==
A cloud service that allows you to create and share a private cloud library of files with friends or colleagues. Files get synced for all users. Oct 2015.
A cloud service that allows you to create and share a private cloud library of files with friends or colleagues. Files get synced for all users. Oct 2015.


= Docker =
== Docker ==
Oct 2015
Oct 2015


= Get more out of U-boot =
== Get more out of U-boot ==
It include boot rootfs from different partition or USB drive. Nov 2015
It include boot rootfs from different partition or USB drive. Nov 2015


= Logical volume management =
== Logical volume management ==
Sep 2015, Nov 2015
Sep 2015, Nov 2015


= Linux Gaming using GLshim =
== Linux Gaming using GLshim ==
ODroid devices do not support OpenGL but only OpenGL ES, which is an optimized subset of OpenGL designed for embedded systems.  
ODroid devices do not support OpenGL but only OpenGL ES, which is an optimized subset of OpenGL designed for embedded systems.  


GLshim is a OpenGL to OpenGL ES wrapper, which means it's possible to translate certain OpenGL functions into OpenGL ES functions. Nov 2015
GLshim is a OpenGL to OpenGL ES wrapper, which means it's possible to translate certain OpenGL functions into OpenGL ES functions. Nov 2015


= LFTP and CRON =
== LFTP and CRON ==
LFTP allows segmented & parallel downloads. Nov 2015
LFTP allows segmented & parallel downloads. Nov 2015


= Cloudshell home server =
== Cloudshell home server ==
Oct 2015, Nov 2015
Oct 2015, Nov 2015


= RuneAudio music player =
== RuneAudio music player ==
* LXDE auto-login
* LXDE auto-login
* Setup kiosk
* Setup kiosk
Line 343: Line 347:
Nov 2015
Nov 2015


= ODroid-VU7 800x480 multi-touch screen for C1+ =
== ODroid-VU7 800x480 multi-touch screen for C1+ ==
boot.ini file needs to be configured to support 800x480 resolution and DVI output mode. Nov 2015
boot.ini file needs to be configured to support 800x480 resolution and DVI output mode. Nov 2015

Revision as of 20:50, 27 December 2015

XU4

Odroid Magazine

Running Linux programs under Android

A guide to Linux chroot. Jan 2014

IO ports on U3

You can use any generic C/C++ or Python libraries to access the GPIOs in your program. Firma can be used to make an interactive interface between U3 and ATmega328P. Jan 2014.

Playing youtube on Linux

Jan 2014

Use as a Wifi router

by using hostapd. Feb 2014.

IO/O Shield access & Arduino

Feb 2014

Game emulator

Feb 2014

From least powerful to most powerful: GB < GBC < NES < SMS < GAMEGEAR < GENESIS < SNES < GBA < PSI < PSP

Communicate Odroid with PC via USB

The following 3 functions may be used simulaneously

  • Emulate a mass storage device
  • Emulate a serial link
  • Emulate a ethernet link - the speed can be faster than 100Mbps

Feb 2014

Sensors and Odroid xu

Mar 2014

Portable Linux tablet

Apr 2014

Build Android from source

Apr 2014

Build Ubuntu from scratch

Cross compile. Apr 2014

Install oracle JDK version 8

Apr 2014

Monitor your Linux with NMON

sudo apt-get install nmon
nmon -f -s 30 -c 120  # ~/<hostname>_date_time.nmon will be created

May 2014

Introduction to Odroid-show

Using bash scripts to show texts or images. May 2014

Sort by file size

find . -type f -exec ls -s {} \; | sort -n -r | head -5

Find fils that are larger than 100MB

find - -size +100M

Dual boot Android and Ubuntu

  1. Modify the Android source code for the MTP.
  2. Copy the Xubuntu root file system
    1. Modify the odroid-config script
    2. Check the u-boot version
  3. Generate a new partition table
  4. Format the partitions
  5. Install the Ubuntu rootfs
    1. Replace UUID in boot.scr
  6. Install the Android system files
  7. Using the prebuilt image
  8. Switching between Android and Ubuntu

May 2014

Pipe viewer and dd

See the progress of your operation.

sudo apt-get install pv
dd if=/dev/sdX bs=4M | pv | dd of=/dev/sdY

May 2014

Android boot process

May 2014.

Openbox

Openbox can be run by itself or within another desktop environment. The main focus of Openbox is speed. It comes with only a terminal and web browser, and is perfect for embedded systems. Jun 2014.

Lego case for Odroid U3

Jun 2014

Step motor and Odroid U3

using a bash script. Jun 2014

Resize Android partitions

with gparted. Jun 2014.

Explore Android img files

Jun 2014

If X11 stops working

Ctrl + Alt + F1[1-6] to switch to a resident framebuffer terminal console.

To switch back to X11, click Ctrl + Alt + F7.

Create deb files - checkinstall

Jun 2014

Using wiimote

Jun 2014

High performance computing at home

Jan 2014, Feb 2014, Mar 2014, Apr 2014, Jul 2014.

LDAP, NFS/AutoFS. With LDAP (Lightweight Active Directory Protocol) configured, we will be able to have users log into any node of the cluster with the same credentials and permissions whcih, when combined with NFS/AutoFS, will permit us to configure network mounted home directories and shares, creating a uniform user experience when connecting to any node in our cluster.

Using Xbox 360 controllers with Android

Jul 2014.

Control your bandwidth

Jul 2014.

sudo apt-get install nload

Deny some users to access your machine via SSH

Jul 2014.

OS: GameStation Turbo

which is a Linux frontend for both games and media playback.

Jul 2014.

Portable solar computing

Jul 2014

Odroid weather board + Qt application

Odroid-show + PC/Odroid host. Jul 2014

Building native Android applications with RED

Jul 2014

Remote Desktop Connection

using x11vnc server. If we also want to use Microsoft RDP to access, you will need to also install the xrd service.

Jul 2014.

Robotic Operating System

Jul 2014.

Mupen64 and Retroarch

Pocket rocket and couch potato. Aug 2014

ODROID-VU 9 inch 1280x800 touchscreen lcd

for android, linux and windows. Aug 2014

Home web server

using lighttpd & nginx. Aug 2014

Youtube player alternative

Tampermonkey. Aug 2014

Linux kernel compilation

The article provides details on starting with natively building a kernel using only the odroid itself. It does not addres cross-compiling.

Aug 2014

All about emmc modules

Aug 2014

Fix android overscan

Aug 2014.

ODROID-W

a miniature raspberry pi compatible wearable computer. A diy smartwatch was used as an example. It can run a full raspbian desktop environment on its own. Qt 4 and applications were used to display he clock and sms/mail/call notification.

Aug 2014

Mouting sd card as extra storage when booting from emmc

instead of a USB drive.

Aug 2014

Android development using the linux kernel

Aug 2014

Pepperflash chrome plugin

Aug 2014

Robot

Sep 2014

Wicd - network manager

Sep 2014

Freedomotic - home automation

Sep 2014

Bash script

  • do something every time the os boots
  • do math and concatenate strings
  • accept arguments
  • run a loop
  • launch a bunch of child processes with different arguments

Sep 2014.

Linux Gaming

Sep 2014

Conky

Oct 2014

I2C connection between U3 and Arduino module

Oct 2014.

KVM

Really, with 1GB memory! Nov 2014.

Node.js

Nov 2014.

Odroid C1 vs Raspberry Pi B+

Including an introduction to C1. Dec 2014.

Manage your software packages with automatic updates using apt-get

Kernel updates using apt-get.

Jan 2015.

ownCloud

Jan 2015.

Remote Desktop

Using Guacamole. All you need is a web browser with HTML5 support since no plugin or client-side software is required. Guacamole supports VNC, SSH and RDP.

Feb 2015.

Docker on ARMv7

Jan, Feb and March 2015.

Android Kitkat and Odroid C1

March 2015.

Android Development

Dissecting and modifying the APK file

Sep 2014, March 2015.

Installing Linux on an external USB drive

Mar 2014 & April 2015 issue. The boot partition is required to reside on a microSD card or emmc module. However, the root partition can be moved to a USB drive.

GPIO shutdown

April 2015 issue.

Triple boot Odroid C1

Pack Ubuntu, Android and Openelec.

April 2015 issue.

Dashing

May 2015 issue.

USB GPS and OBDII to track vehicles

June 2015.

Nintendo 64 emulation

Jun 2015.

3.2" touchscreen driver installation

Jun 2015.

Karaoke

Jun 2015

Popcorn time

Popcorn Time uses sequential downloading to play copies of films listed by the website yts.to (YIFY). Jul 2015.

PS3 controller

Aug 2015

Building Android Kitkat on Odroid C1

Aug 2015

Stepmania

Dancing entertainment. Aug 2015

Netflix under Linux + Odroid C1

Chromium is used. Sep 2015

Android Debian

Sep 2015

Qt5

Sep 2015

ownCloud

Oct 2015.

apt-get

  • Kernel update
  • Package list

Oct 2015

Zygote and Android development

Oct 2015

Seafile

A cloud service that allows you to create and share a private cloud library of files with friends or colleagues. Files get synced for all users. Oct 2015.

Docker

Oct 2015

Get more out of U-boot

It include boot rootfs from different partition or USB drive. Nov 2015

Logical volume management

Sep 2015, Nov 2015

Linux Gaming using GLshim

ODroid devices do not support OpenGL but only OpenGL ES, which is an optimized subset of OpenGL designed for embedded systems.

GLshim is a OpenGL to OpenGL ES wrapper, which means it's possible to translate certain OpenGL functions into OpenGL ES functions. Nov 2015

LFTP and CRON

LFTP allows segmented & parallel downloads. Nov 2015

Cloudshell home server

Oct 2015, Nov 2015

RuneAudio music player

  • LXDE auto-login
  • Setup kiosk
  • Auto-start Chromium
  • Remote control is used.

Nov 2015

ODroid-VU7 800x480 multi-touch screen for C1+

boot.ini file needs to be configured to support 800x480 resolution and DVI output mode. Nov 2015