ODROID-Magazine-201405.pdf

(5867 KB) Pobierz
Android Booting Process • Compile and play the classic game DOOM
ODROID
BUILD AN ODROID
POWERED ROBOT
THE REAL MEANING OF MOBILE
COMPUTING WITHIN YOUR
REACH AT LAST!
Year One
Issue #5
May 2014
Magazine
• DUAL BOOT YOUR ODROID WITH ANDROID AND LINUX
• THE THERMAL BEHAVIOR OF ODROIDS U3 AND XU
• RECOMPILE THE MALI VIDEO DRIVERS FOR UBUNTU 14.04
• OS SPOTLIGHT: FULLY LOADED
HARDKERNEL DOES IT AGAIN! EXPAND YOUR ODROID U3 WITH:
AND ALSO:
ODROID-UPS:
UNINTERRUPTABLE
POWER SUPPLY
ODROID-SHOW:
AN ARDUINO
COMPATIBLE DEVICE
What we stand for.
We strive to symbolize the edge technology,
future, youth, humanity, and engineering.
Our philosophy is based on Developers.
And our efforts to keep close relationships with
developers around the world.
For that, you can always count on having the quality
and sophistication that is the hallmark of our products.
Simple, modern and distinctive.
So you can have the best to accomplish
everything you can dream of.
We are now shipping the ODROID U3
devices to EU countries! Come and visit
our online store to shop!
Address:
Max-Pollin-Straße 1
85104 Pförring Germany
Telephone & Fax
phone : +49 (0) 8403 / 920-920
email : service@pollin.de
Our ODROID products can be found at:
http://www.pollin.de/shop/suchergebnis.html?S_
TEXT=odroid&log=internal
EDITORIAL
ur DIY edition last month was one of the most popular is-
sues we’ve had so far, and really showed off how flexible
and useful the ODROID boards can be in realizing affordable
high-end Maker projects in your home. The latest exciting news
comes from Chris McMurrough, who publishes the Ubuntu Robot-
ics Edition on the ODROID forms, and
is very talented when it comes to ro-
botics and hardware automation. His
Off-road Unmanned Ground Vehicle
Robot, which looks like it comes straight
from NASA’s space program, demon-
strates how easy it can be to build your
own robot using an ODROID and a few readily
available parts.
Hardkernel has once again created a couple very
useful peripherals for the ODROID-U3: the ODROID-SHOW and
ODROID-UPS. The ODROID-SHOW is a 2.2” 320x240 pixel LCD panel that
connects to any computer, and is capable of displaying text, statistics, images,
and other useful real-time information. It fits neatly on top of the ODROID-U3, is
reasonably priced, and provides a more robust alternative to the Arduino One’s
2-line text display.
The ODROID-UPS (Uninterruptible Power Supply) is designed to keep your
mission-critical applications running during power failure. Instead of using an
expensive and bulky battery backup, the ODROID-UPS fits in the palm of your
hand, and can keep the computer running for up to 4 hours without recharging,
depending on the processing load. Our article also includes a simple script exam-
ple for shutting down the ODROID safely when AC power is no longer available.
Both the ODROID-SHOW and ODROID-UPS are available from the Hardkernel
store at
http://hardkernel.com/main/shop/good_list.php
.
Also featured in this issue is a beginner’s guide to flashing prebuilt OS image
files, which can be challenging for those who are used to the typical PC “instal-
lation disk” method. Image files provide a convenient way to install an entire
operating system in a single step, and save hours of configuration by getting your
ODROID up and running quickly. For more advanced users, we also present a
highly requested feature: How to setup an Android/Ubuntu dual boot system on
a single hard drive.
Our regular columnists have been hard at work creating step-by-step guides
for software enthusiasts. Tobias presents a comprehensive guide on compiling
your favorite games such as Doom, I outline the features of the popular Fully
Loaded community image, Jussi shows us exactly how the ODROID-U3 and
ODROID-XU compare under heavy load, and Nanik helps us understand how the
Android boot process works. We will continue to color-code the article titles in
order to categorize them as Beginner, Intermediate and Expert material, to make
sure that there is always something for everyone!
O
ODROID Magazine, published monthly at http://magazine.odroid.com, is your source for all things ODROIDian.
Hard Kernel, Ltd. • 704 Anyang K-Center, Gwanyang, Dongan, Anyang, Gyeonggi, South Korea, 431-815
Makers of the ODROID family of quad-core development boards and the world’s first ARM big.LITTLE architecture
based single board computer.
Join the ODROID community with members from over 135 countries, at http://forum.odroid.com, and explore the
new technologies offered by Hardkernel at http://www.hardkernel.com.
ODROID MAGAZINE 3
STAFF
ODROID
Magazine
Rob Roy,
Chief Editor
Bo
Lechnowsky,
Editor
I am a computer
programmer living
and working in San
Francisco, CA, designing
and building websites. My primary
languages are jQuery, Angular JS
and HTML5/CSS3. I also develop
pre-built operating systems, custom
kernels and optimized applications
for the ODROID platform based
on Hardkernel’s official releases, for
which I have won several Monthly
Forum Awards. I use my cluster of
ODROIDs for a variety of purposes,
including media center, web server,
application development, worksta-
tion, and gaming console. You can
check out my 100GB collection of
ODROID software and images at
http://bit.ly/1fsaXQs
.
dren.
Bruno Doi-
che, Art Edi-
tor
Is now contemplat-
ing
to go into a coffee absti-
nence rehab after discovering H20 air-
press coffee and drinking it by buckets.
Also managing a black belt on multi-
national reorganizations. Just don’t ask
him what his job is right now as he can’t
explain it even for himself. Only that it
involves lots and lots of SAN storage
devices and tons of bureaucracy.
I am President of
Respectech, Inc., a
technology consultancy
in Ukiah, CA, USA that I founded in
2001. From my background in elec-
tronics and computer programming, I
manage a team of technologists, plus
develop custom solutions for compa-
nies ranging from small businesses to
worldwide corporations. ODROIDs
are one of the weapons in my arsenal
for tackling these projects. My favor-
ite development languages are Rebol
and Red, both of which run fabu-
lously on ARM-based systems like the
ODROID-U3. Regarding hobbies, if
you need some, I’d be happy to give
you some of mine as I have too many.
That would help me to have more time
to spend with my wonderful wife of
23 years and my four beautiful chil-
News from Art Editor Bruno:
And the changes keep going! The
forums ask, we attend when it makes
sense to make it done. We got a bunch
of requests to eliminate the green
screen terminals to make it easy to
print the magazine. Now we unified
the monospaced code on the yellow
blocks. Together with our new shift col-
umn scheme, it came quite well. Also,
to make even more clear which level
each article is about, we will be placing
a star to differentiate the skill required
for each article.
There is also elasticity on the mono-
space font on some code blocks, where
we are now using a smaller type to get
things a little neater (albeit harder to
ODROID MAGAZINE 4
edit) and easier to read. believe me, I’m
the guy that gets the most frustration
on the little graphic issues.
As proof that there are all kinds
of synchronicity on the forums, I saw
a tip from a user that uses fortune
|cowsay on his bashrc file to greet the
user. That was a tip that was reserved
for the Linux tips column this month,
but didn’t make it into this edition. I’ll
leave you with a motto that was a man-
tra for me this month.
______________________________________
/ You’d like to do it instantaneously, \
\ but that’s too slow.
/
--------------------------------------
\
\____
/@
~-.
\/ __ .- |
// // @
ANDROID BOOTING PROCESS - 6
GET MORE INTERACTIVE WITH YOUT DATA PROGRESS TOOLS - 8
THE FORCE IS STRONG WITH TRACEROUTE - 8
HOW TO COMPILE DOOM ON YOUR ODROID - 10
RECOMPILE THE MALI VIDEO DRIVERS - 13
HOW TO MAKE A DUAL BOOT SYSTEM - 14
COPY AN IMAGE FILE TO AN SD CARD OR EMMC - 18
MORE PERSONALITY ON YOUR SUDO - 20
SUDO SECURITY TIP - 20
SORT BY FILE SIZE - 21
SPLIT A HUGE FILE - 21
ON THE THERMAL BEHAVIOR OF ODROIDS - 22
SAY GOODBYE TO NANO - 26
INDIEGOGO ODROID CAMPAIGN - 26
ODROID-SHOW - 27
ODROID-UPS KIT - 32
OS SPOTLIGHT: FULLY LOADED - 34
MONITOR YOUR LINUX WITH NMON - 37
BUILD AN ODROID POWERED OFFROAD UGV - 38
MEET AN ODROIDIAN - 41
INDEX
ODROID MAGAZINE 5
Zgłoś jeśli naruszono regulamin