SlideShare una empresa de Scribd logo
1 de 41
1/41
Advancement on
Embedded System
Design (Linux)
Professor Dr R. Badlishah Ahmad
Universiti Malaysia Perlis (UniMAP)
2014
http://www.researchgate.net/profile/RBadlishah_Ahmad
2/41
Contents
 Embedded Operating System
 FOSS
 Embedded System
 Embedded Operating System (OS)
 Advantages For Developers
 Hardware: Single Board Computer (SBC)
 Advantages of using SBC
 GNU/Linux – Advantages & Samples
 Example – Smart Camera
 Challenges for New Developers
 Conlusion
3/41
Embedded Systems
 Embedded System Definition: Wikipedia definition: “a
special-purpose computer system, which is completely
encapsulated by the device it controls”
– Never meant to be traditional, general purpose
computers
– Examples: mobile phones, home multimedia, network
appliances, transportation or industrial control...
– Use a general purpose processor (most popular ones:
arm, x86, ppc) or even a much simpler
microcontroller.
See http://en.wikipedia.org/wiki/Embedded_system
4/41
Embedded Market
 In embedded systems,
Free/Open Source
Software (FOSS)
systems ate a significant
portion of the market of
traditional proprietary
systems.
5/41
Embedded Operating System
 Embedded Operating System (EOS) is a software
program that manages all other programs in
embedded devices
 EOS is a small OS designed to operate with
embedded devices to perform certain tasks which
control effectively all the hardware components
 ~50MB http://www.damnsmalllinuxdamnsmalllinux.org/
6/41
Embedded Operating System
 Real-Time & Non Real-Time (commercial!!)
 QNX, DOS, Windows CE, LynxOS
 VxWorks
 PSOS
 RTLinux
 Other Choices?? FOSS based OS
 create your own? Yes, modify GNU/Linux
kernel!!!! FREE
7/41
Linux
 The most popular.
Very big and active developer community
 Supports many architectures, devices and
protocols
 Minimum requirements: 32 bit processor, 2 MB of
RAM, 1 MB of storage space (can even fit in 500
KB!)
 License: GNU GPL
Kernel code: use with care to avoid license
violations.
Great for Linux users though (more free code!)
8/41
NetBSD
http://netbsd.org
 Highly portable BSD system.
 Supports many architectures and embedded boards!
 Smaller community but very active too!
 Minimum RAM and storage requirements should be similar to
those of Linux
 License: BSD. No worries with license violations, but doesn't
require driver code to be free (some drivers kept proprietary?)
 See http://foss.in/2005/slides/netbsd-linux.pdf
for a very nice comparison between Linux and NetBSD
9/41
eCos
http://ecos.sourceware.org/
 Very lightweight real-time embedded system
contributed by Red Hat / Cygnus solutions.
 Compatible with most Unix and Linux applications.
 For extremely small systems: supports 16 bit processors, and a few
hundreds of KB of RAM and storage (like 300 KB) are more than
enough.
 Kernel + applications can even fit within 50 KB (minimalistic
system)!
 License: GPL (with minor adjustments)
10/41
uClinux
http://uclinux.org/ (pronounce “You See Linux”)
 Linux for micro controllers, processors with no MMU
 Mainly used for very small and low cost
embedded systems
 Kernel: originally a Linux kernel derivative.
Now more and more closely integrated in mainstream
Linux
 Applications: standard embedded Linux applications with
patches to address special memory constraints
Computer vs. Embedded Linux
Linux kernel
GNU C library
libjpeg, libstdc++, libxml, libvorbis...
ls, vi, wget, ssh, httpd, gcc...
Web browser, office, multimedia...
Command 
line utilities
Kernel
C library
Shared 
libraries
User 
interface
Traditional GNU/Linux system Embedded Linux system
uClibc
Much lighter
than GNU libc!
libjpeg, libstdc++, libxml, libvorbis...
busybox
(ls, vi, wget, httpd...)
dropbear (ssh)...
Much lighter
implementations!
No development tools
Linux kernel
Custom interface
Lightweight kernel
with only needed
features and drivers
Full kernel with most features
and with drivers for all kinds
of PC hardware on the planet!
Graphics,
web browser,
web server...
12/41
 Advantages for System Developers
13/41
Innovation and Added Value
 Lots of ready-to-use components for most parts of the system
 Focus on the innovative part of your product, what
differentiates it
 No need to wait for months or years for some features to be
implemented by others
– can implement the critical ones that you need
 Constant innovation
 Features brought in at a quick pace, sometimes even before
you need them!
 Possible to port Linux to a new innovative architecture
(processors)
14/41
 Hardware
15/41
Single Board Computer(SBC)
Characteristics
✔ Computer like
✔ Manufactures with important peripherals
✔ Stand-alone computer
✔ Ready-made device
Constraint
✔ Small RAM (in comparison to Desktop)
16/41
Advantech’s “Half-Biscuit” Ampro’s EnCore
Kontron’s Standalone SBC
Kontron’s EPIC SBC
TS-7200 ARM SBC
TS-5500 PC/104
Choices of SBC
17/41
Choices of SBC
PandaBoard
Rasberry Pi
18/41
When & Why to use SBC
 Faster Time to Market
 Proven design by vendor -> reliable design and
reduce risk of defect
 More vendor choices (different size, functions and
price options
 Lack of resources (hardware designer)
 Lack of manufacturing capabilities
19/41
Advantages of using SBC & FOSS
 Faster speed development
 Reduce development speed
 Increasing clock speed
 Capabilities of using Open Source Software
(OSS)/Free Software (FS)
 Support high level programming
20/41
When & Why to use SBC
 Faster Time to Market
 Proven design by vendor -> reliable design and
reduce risk of defect
 More vendor choices (different size, functions and
price options
 Lack of resources (hardware designer)
 Lack of manufacturing capabilities
21/41
FOSS
 Free Software/Open Source Software
 A type of software defined by its collaborative
development model, accessibility of code and
distribution models.
– Examples of FOSS: GNU/Linux kernel,
GNU Compiler Collection (GCC), Open Office,
GIMP (Image Editor), Wireshark etc.
 In contrast with proprietary software which is only
available in a binary “closed” format & typically
carries a licence fee
– Examples : M$
22/41
FOSS
Free Software grants the below 4
freedoms to the user:
The freedom to run the program, for any
purpose
The freedom to study how the program
works,
and adapt it to one's needs
The freedom to redistribute copies to
help others
The freedom to improve the program,
and release one's improvements to the
public
See
http://www.gnu.org/philosophy/free-sw.html
FOSS - Unix family tree
Time1970 19901980 2000
Bell Labs (AT&T)
Ken Thompson
Dennis Ritchie (C language
created to implement a portable OS)
BSD (Berkeley Software Distribution)
Sun Solaris
SunOS (Stanford University Network)
NetBSD
NextStep
 AIX (IBM)
HP­UX
IRIX (SGI)
SRV5
OpenBSD
FreeBSD
MacOS X
Bill Joy
Richard Stallman Linus Torvalds
BSD family
System V family
Ritchie, Thompson
GNU
Bill Joy
GNU / Linux
24/41
GNU/Linux
 Unix-based OS originally developed for Intel-
compatible PC's
 Modern OS -> include features such as virtual
memory, memory protection and preemptive
multitasking
 Support TCP/IP for de-facto Networking
 Good Thing!!!! Source code available!!! (Open
Source/Free Software)
25/41
GNU/Linux
 Embedded Linux is increasing due to ability to
modify subsystem code to suit their designs
 Support Portable Operation Interface (POSIX) ->
easy to port existing code to different processor
architecture
 NOW!! GNU/Linux are available for x86, SPARC,
ARM, PowerPC, MIPS etc....
26/41
GNU/Linux Advantages
 Robust Features – multi-threaded, multi-functions
 Scalability – can run on flash cards and boards to
PCs and larger system
 Widespread acceptance – community of
programmers available
 Low Cost – NO ROYALTIES!!!!
27/41
Embedded GNU/Linux
28/41
Embedded GNU/Linux
29/41
Embedded GNU/Linux
30/41
Example : Smart Camera
A sample of Embedded GNU/Linux developed in
UniMAP potential for projects such as:
✔ Video Wireless Sensor Network (VWSN) for
Traffic Surveillance System
Using GNU/Linux & Free Software tools (GCC)
Using TS5500 SBC Board
Development tasks:
✔ Integrating Web Camera
✔ Developing software for image capture, image
conversion, image manipulations and socket
programming
31/41
Smart Camera
Situation awareness is the key to security and safety
Traffic operators are assigned the task of visual
monitoring and threat detection process which is
tedious and error prone for a human investigator
Introduction
Problems: Inefficient network monitoring
●
traffic operators are burden with visual monitoring task, therefore a
threat detection process would be ineffective, unreliable and prone to
error
●
the presence of stationary vehicle on the road, especially at a critical
places could cause a secondary crashes, traffic congestion and other
traffic incident.
Therefore, there is a NEED of a vision system to give earlier
detection and notification of stationary vehicle to the
security personnel or traffic operator on the events
Objective
To develop, integrate, configure and analyze the performance of
Embedded Vision System for stationary vehicle detection utilizing
GNU/Linux and Single Board Computer
System Overview
Network
SBC
Monitor
Alarm
USB Webcam
Supervision Center
Smart Camera
utilizing SBC as a processor and
Logitech Quickcam Pro 4000 web
camera as an image sensor.
Task : to monitor road conditions
and detect stationary vehicle
inside the monitoring area.
If the object of interest is
detected on the scene, the
system will notify the operators
by transmitting the image to the
supervision center.
Hardware
SENSING UNIT
LOGITECHQUICKCAMPRO4000
●
VGA-sized (640x480 pixel) CCDsensor
●
capture video at maximum 30 frames
persecond.
●
driverused : pwc-8.8 &usb-pwcx-8.2.2
PROCESSING &COMMUNICATION UNIT
TS-5500 SINGLEBOARDCOMPUTER
 AMDElan 520 processor (133 Mhz)
 32 MBRAM
 10/100 Base-TEthernet port
Software Module
Divided into 3 modules:
✔ Module1: ImageAcquisition
✔ Module2: ImageProcessing and Object Detection
✔ Module3: DataTransmission
Processes
IMAGE CAPTUREIMAGE CAPTURE
COLOR SPACECOLOR SPACE
CONVERSIONCONVERSION
FRAMEFRAME
DIFFERENCINGDIFFERENCING
NOISENOISE
REMOVALREMOVAL
OBJECTOBJECT
EXTRACTIONEXTRACTION
FILTERINGFILTERING
(CONVOLUTION)(CONVOLUTION)
DETECTION &DETECTION &
IMAGE SAVINGIMAGE SAVING
&&
NOTIFICATIONNOTIFICATION
Performance Analysis
Specification Desktop PC SBC
Processor Type Intel(R) Pentium(R) 4 CPU AMD Elan 520
Processor Speed 2.66 GHz 133 MHz
RAM Size 512 MB 32 MB
Operating System Mandriva 2006 TS-Linux
Smart Camera Operation
Platform
Overall Processing
(s)
Desktop PC 6.09
TS-5500 SBC 38.82
39/41
Challenges for Developers
 Understanding system & file structure
 Revising programming skill in C/C++ for socket
programming, shell programming & database
 Ability to do various system configuration using CLI
 Understanding cross compiling process & techniques
 Difficulties to integrate external devices such as Webcam,
touchscreen etc.. :Kernel version mismatch!!
 Difficulties to compile on the SBC!! programming are done
on a host PC
 Execution problem on SBC board due to library mismatch
between host PC and SBC
 Limited/No Technical support
40/41
Conclusion
 Embedded GNU/Linux and the use of SBC can be extended
into many more fields such as automation, robotic, firewall,
intrusion detection system, carried grade telecommunication
and network devices
 The availability of FOSS, Linux kernel and GNU application
development tools, ANY applications or system can be
build!!!!
 Wide opportunities for other embedded system development
 Exercise your FREEDOM by using FOSS
 Technology is HERE, Human Resource?
41/41
Q&A
SMART CAMERA
PROTOTYPE

Más contenido relacionado

La actualidad más candente

Userspace drivers-2016
Userspace drivers-2016Userspace drivers-2016
Userspace drivers-2016Chris Simmonds
 
Android beyond the smartphone
Android beyond the smartphoneAndroid beyond the smartphone
Android beyond the smartphoneChris Simmonds
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux IntroductionRamasubbu .P
 
A timeline for embedded Linux
A timeline for embedded LinuxA timeline for embedded Linux
A timeline for embedded LinuxChris Simmonds
 
Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017Chris Simmonds
 
Embedded Linux Quick Start Guide v1.5
Embedded Linux Quick Start Guide v1.5Embedded Linux Quick Start Guide v1.5
Embedded Linux Quick Start Guide v1.5Chris Simmonds
 
Embedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphoneEmbedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphoneChris Simmonds
 
Quick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIOQuick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIOChris Simmonds
 
BeRTOS: Free Embedded RTOS
BeRTOS: Free Embedded RTOSBeRTOS: Free Embedded RTOS
BeRTOS: Free Embedded RTOSDeveler S.r.l.
 
Debugging embedded devices using GDB
Debugging embedded devices using GDBDebugging embedded devices using GDB
Debugging embedded devices using GDBChris Simmonds
 
Embedded Systems: Lecture 2: Introduction to Embedded Systems
Embedded Systems: Lecture 2: Introduction to Embedded SystemsEmbedded Systems: Lecture 2: Introduction to Embedded Systems
Embedded Systems: Lecture 2: Introduction to Embedded SystemsAhmed El-Arabawy
 
Linux basics
Linux basicsLinux basics
Linux basicsNAILBITER
 
Aix6+quick+ref+sheet
Aix6+quick+ref+sheetAix6+quick+ref+sheet
Aix6+quick+ref+sheetdb2kid
 

La actualidad más candente (20)

linux introduction
linux introductionlinux introduction
linux introduction
 
Unix v6 Internals
Unix v6 InternalsUnix v6 Internals
Unix v6 Internals
 
resume10
resume10resume10
resume10
 
Userspace drivers-2016
Userspace drivers-2016Userspace drivers-2016
Userspace drivers-2016
 
Android beyond the smartphone
Android beyond the smartphoneAndroid beyond the smartphone
Android beyond the smartphone
 
Intro to Embedded OS, RTOS and Communication Protocols
Intro to Embedded OS, RTOS and Communication ProtocolsIntro to Embedded OS, RTOS and Communication Protocols
Intro to Embedded OS, RTOS and Communication Protocols
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
A timeline for embedded Linux
A timeline for embedded LinuxA timeline for embedded Linux
A timeline for embedded Linux
 
Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017Software update for IoT Embedded World 2017
Software update for IoT Embedded World 2017
 
Embedded Linux Quick Start Guide v1.5
Embedded Linux Quick Start Guide v1.5Embedded Linux Quick Start Guide v1.5
Embedded Linux Quick Start Guide v1.5
 
Case study linux
Case study linuxCase study linux
Case study linux
 
Linux introduction Class 02
Linux introduction Class 02Linux introduction Class 02
Linux introduction Class 02
 
Embedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphoneEmbedded Android: Android beyond the smartphone
Embedded Android: Android beyond the smartphone
 
Quick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIOQuick and Easy Device Drivers for Embedded Linux Using UIO
Quick and Easy Device Drivers for Embedded Linux Using UIO
 
BeRTOS: Free Embedded RTOS
BeRTOS: Free Embedded RTOSBeRTOS: Free Embedded RTOS
BeRTOS: Free Embedded RTOS
 
Debugging embedded devices using GDB
Debugging embedded devices using GDBDebugging embedded devices using GDB
Debugging embedded devices using GDB
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 
Embedded Systems: Lecture 2: Introduction to Embedded Systems
Embedded Systems: Lecture 2: Introduction to Embedded SystemsEmbedded Systems: Lecture 2: Introduction to Embedded Systems
Embedded Systems: Lecture 2: Introduction to Embedded Systems
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Aix6+quick+ref+sheet
Aix6+quick+ref+sheetAix6+quick+ref+sheet
Aix6+quick+ref+sheet
 

Destacado (20)

Paper5
Paper5Paper5
Paper5
 
Building
BuildingBuilding
Building
 
Linux Mint
Linux MintLinux Mint
Linux Mint
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded Linux
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded Linux
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
Embedded Linux Basics
Embedded Linux BasicsEmbedded Linux Basics
Embedded Linux Basics
 
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernelEmbedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
 
Embedded Linux from Scratch to Yocto
Embedded Linux from Scratch to YoctoEmbedded Linux from Scratch to Yocto
Embedded Linux from Scratch to Yocto
 
Embedded Linux on ARM
Embedded Linux on ARMEmbedded Linux on ARM
Embedded Linux on ARM
 
Building Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 ArchBuilding Mini Embedded Linux System for X86 Arch
Building Mini Embedded Linux System for X86 Arch
 
Letras galegas caricaturas pak
Letras galegas  caricaturas pakLetras galegas  caricaturas pak
Letras galegas caricaturas pak
 
5. вирта през
5. вирта през5. вирта през
5. вирта през
 
Pencapaian KPI SCCE 2014
Pencapaian KPI SCCE 2014Pencapaian KPI SCCE 2014
Pencapaian KPI SCCE 2014
 
Segunda presentacionteoricanachos
Segunda presentacionteoricanachosSegunda presentacionteoricanachos
Segunda presentacionteoricanachos
 
Shop Drop - week2
Shop Drop - week2Shop Drop - week2
Shop Drop - week2
 
STC PMC Newsletter 2006-08
STC PMC Newsletter 2006-08STC PMC Newsletter 2006-08
STC PMC Newsletter 2006-08
 
Pecha kucha
Pecha kuchaPecha kucha
Pecha kucha
 
Wisata alam
Wisata alamWisata alam
Wisata alam
 

Similar a Advancement on embedded linux-v2

ERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projectsERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projectsChristian Charreyre
 
Software update for embedded systems
Software update for embedded systemsSoftware update for embedded systems
Software update for embedded systemsSZ Lin
 
Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...SZ Lin
 
CS403: Operating System : Lec 3 Popular types of OS (2).pptx
CS403: Operating System : Lec 3 Popular types of OS (2).pptxCS403: Operating System : Lec 3 Popular types of OS (2).pptx
CS403: Operating System : Lec 3 Popular types of OS (2).pptxAsst.prof M.Gokilavani
 
Ap 06 4_10_simek
Ap 06 4_10_simekAp 06 4_10_simek
Ap 06 4_10_simekNguyen Vinh
 
exp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docxexp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docxApkaAmitbro
 
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...PK Mishra
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMSherif Mousa
 
exp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docxexp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docxApkaAmitbro
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteTushar B Kute
 
History of Operting System Windows and a simple comparision
History of Operting System Windows and a simple comparisionHistory of Operting System Windows and a simple comparision
History of Operting System Windows and a simple comparisionfarrukh ishaq choudhary
 
Operating Systems A-Z
Operating Systems A-ZOperating Systems A-Z
Operating Systems A-ZRavinJ
 
OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1Syahriha Ruslan
 

Similar a Advancement on embedded linux-v2 (20)

ERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projectsERTS 2008 - Using Linux for industrial projects
ERTS 2008 - Using Linux for industrial projects
 
Software update for embedded systems
Software update for embedded systemsSoftware update for embedded systems
Software update for embedded systems
 
Linux
Linux Linux
Linux
 
Linux internals v4
Linux internals v4Linux internals v4
Linux internals v4
 
Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...
 
CS403: Operating System : Lec 3 Popular types of OS (2).pptx
CS403: Operating System : Lec 3 Popular types of OS (2).pptxCS403: Operating System : Lec 3 Popular types of OS (2).pptx
CS403: Operating System : Lec 3 Popular types of OS (2).pptx
 
Ap 06 4_10_simek
Ap 06 4_10_simekAp 06 4_10_simek
Ap 06 4_10_simek
 
exp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docxexp_1_20bca1108(kashish_dixit.docx
exp_1_20bca1108(kashish_dixit.docx
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
 
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...
A Roadmap for Students Using FOSS (Free and Open Source Software) and Reachin...
 
Dedicated embedded linux af Esben Haabendal, Prevas A/S
Dedicated embedded linux af Esben Haabendal, Prevas A/SDedicated embedded linux af Esben Haabendal, Prevas A/S
Dedicated embedded linux af Esben Haabendal, Prevas A/S
 
Presentation1
Presentation1Presentation1
Presentation1
 
K vector embedded_linux_workshop
K vector embedded_linux_workshopK vector embedded_linux_workshop
K vector embedded_linux_workshop
 
Linux
Linux Linux
Linux
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARM
 
exp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docxexp_1_20bca1066 Internet.docx
exp_1_20bca1066 Internet.docx
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
 
History of Operting System Windows and a simple comparision
History of Operting System Windows and a simple comparisionHistory of Operting System Windows and a simple comparision
History of Operting System Windows and a simple comparision
 
Operating Systems A-Z
Operating Systems A-ZOperating Systems A-Z
Operating Systems A-Z
 
OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1OSOS SEM 4 Chapter 2 part 1
OSOS SEM 4 Chapter 2 part 1
 

Más de Ir. Dr. R.Badlishah Ahmad

Understanding Free/Open Source Software (FOSS) and the Benefit to E-Commerce
Understanding  Free/Open Source Software (FOSS)  and  the Benefit to E-CommerceUnderstanding  Free/Open Source Software (FOSS)  and  the Benefit to E-Commerce
Understanding Free/Open Source Software (FOSS) and the Benefit to E-CommerceIr. Dr. R.Badlishah Ahmad
 
Code of Ethics & Code of Conduct as a Profesional Engineer
Code of Ethics & Code of Conduct as a Profesional EngineerCode of Ethics & Code of Conduct as a Profesional Engineer
Code of Ethics & Code of Conduct as a Profesional EngineerIr. Dr. R.Badlishah Ahmad
 
Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Ir. Dr. R.Badlishah Ahmad
 
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2Ir. Dr. R.Badlishah Ahmad
 

Más de Ir. Dr. R.Badlishah Ahmad (20)

OBE- Basic Concept of Bloom Taxonomy.pdf
OBE- Basic Concept of Bloom Taxonomy.pdfOBE- Basic Concept of Bloom Taxonomy.pdf
OBE- Basic Concept of Bloom Taxonomy.pdf
 
IEA graduate-atributes
IEA graduate-atributesIEA graduate-atributes
IEA graduate-atributes
 
SCCE Annual Report 2015
SCCE Annual Report 2015SCCE Annual Report 2015
SCCE Annual Report 2015
 
Chapter3 methodology
Chapter3 methodologyChapter3 methodology
Chapter3 methodology
 
Pencapaian KPI 2015 SCCE UniMAP
Pencapaian KPI 2015 SCCE UniMAPPencapaian KPI 2015 SCCE UniMAP
Pencapaian KPI 2015 SCCE UniMAP
 
Understanding Free/Open Source Software (FOSS) and the Benefit to E-Commerce
Understanding  Free/Open Source Software (FOSS)  and  the Benefit to E-CommerceUnderstanding  Free/Open Source Software (FOSS)  and  the Benefit to E-Commerce
Understanding Free/Open Source Software (FOSS) and the Benefit to E-Commerce
 
SCCE Annual Report 2014
SCCE Annual Report 2014SCCE Annual Report 2014
SCCE Annual Report 2014
 
UniMAP Vice Chancellor 2015 Presentation
UniMAP Vice Chancellor 2015 PresentationUniMAP Vice Chancellor 2015 Presentation
UniMAP Vice Chancellor 2015 Presentation
 
Code of Ethics & Code of Conduct as a Profesional Engineer
Code of Ethics & Code of Conduct as a Profesional EngineerCode of Ethics & Code of Conduct as a Profesional Engineer
Code of Ethics & Code of Conduct as a Profesional Engineer
 
Introduction to-mendeley presentation-2014
Introduction to-mendeley presentation-2014Introduction to-mendeley presentation-2014
Introduction to-mendeley presentation-2014
 
Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014
 
Guide for Postgraduate Students
Guide for Postgraduate StudentsGuide for Postgraduate Students
Guide for Postgraduate Students
 
Developing a Vibrant Research Culture v2
Developing a Vibrant Research Culture v2Developing a Vibrant Research Culture v2
Developing a Vibrant Research Culture v2
 
Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014Scilab-by-dr-gomez-june2014
Scilab-by-dr-gomez-june2014
 
Writing proposals
Writing proposalsWriting proposals
Writing proposals
 
Effective supervision
Effective supervisionEffective supervision
Effective supervision
 
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2
IEM-2014-Talk-On-Free-and-Open-Source-Software-FOSS-v2
 
Bengkel Kesedaran OSS, MAMPU, Feb-2013
Bengkel Kesedaran OSS, MAMPU, Feb-2013Bengkel Kesedaran OSS, MAMPU, Feb-2013
Bengkel Kesedaran OSS, MAMPU, Feb-2013
 
Introduction-to-Ubuntu-2013
Introduction-to-Ubuntu-2013Introduction-to-Ubuntu-2013
Introduction-to-Ubuntu-2013
 
ICIT2013-Keynote-Speech-In-Bali
ICIT2013-Keynote-Speech-In-BaliICIT2013-Keynote-Speech-In-Bali
ICIT2013-Keynote-Speech-In-Bali
 

Último

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 

Último (20)

Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 

Advancement on embedded linux-v2

  • 1. 1/41 Advancement on Embedded System Design (Linux) Professor Dr R. Badlishah Ahmad Universiti Malaysia Perlis (UniMAP) 2014 http://www.researchgate.net/profile/RBadlishah_Ahmad
  • 2. 2/41 Contents  Embedded Operating System  FOSS  Embedded System  Embedded Operating System (OS)  Advantages For Developers  Hardware: Single Board Computer (SBC)  Advantages of using SBC  GNU/Linux – Advantages & Samples  Example – Smart Camera  Challenges for New Developers  Conlusion
  • 3. 3/41 Embedded Systems  Embedded System Definition: Wikipedia definition: “a special-purpose computer system, which is completely encapsulated by the device it controls” – Never meant to be traditional, general purpose computers – Examples: mobile phones, home multimedia, network appliances, transportation or industrial control... – Use a general purpose processor (most popular ones: arm, x86, ppc) or even a much simpler microcontroller. See http://en.wikipedia.org/wiki/Embedded_system
  • 4. 4/41 Embedded Market  In embedded systems, Free/Open Source Software (FOSS) systems ate a significant portion of the market of traditional proprietary systems.
  • 5. 5/41 Embedded Operating System  Embedded Operating System (EOS) is a software program that manages all other programs in embedded devices  EOS is a small OS designed to operate with embedded devices to perform certain tasks which control effectively all the hardware components  ~50MB http://www.damnsmalllinuxdamnsmalllinux.org/
  • 6. 6/41 Embedded Operating System  Real-Time & Non Real-Time (commercial!!)  QNX, DOS, Windows CE, LynxOS  VxWorks  PSOS  RTLinux  Other Choices?? FOSS based OS  create your own? Yes, modify GNU/Linux kernel!!!! FREE
  • 7. 7/41 Linux  The most popular. Very big and active developer community  Supports many architectures, devices and protocols  Minimum requirements: 32 bit processor, 2 MB of RAM, 1 MB of storage space (can even fit in 500 KB!)  License: GNU GPL Kernel code: use with care to avoid license violations. Great for Linux users though (more free code!)
  • 8. 8/41 NetBSD http://netbsd.org  Highly portable BSD system.  Supports many architectures and embedded boards!  Smaller community but very active too!  Minimum RAM and storage requirements should be similar to those of Linux  License: BSD. No worries with license violations, but doesn't require driver code to be free (some drivers kept proprietary?)  See http://foss.in/2005/slides/netbsd-linux.pdf for a very nice comparison between Linux and NetBSD
  • 9. 9/41 eCos http://ecos.sourceware.org/  Very lightweight real-time embedded system contributed by Red Hat / Cygnus solutions.  Compatible with most Unix and Linux applications.  For extremely small systems: supports 16 bit processors, and a few hundreds of KB of RAM and storage (like 300 KB) are more than enough.  Kernel + applications can even fit within 50 KB (minimalistic system)!  License: GPL (with minor adjustments)
  • 10. 10/41 uClinux http://uclinux.org/ (pronounce “You See Linux”)  Linux for micro controllers, processors with no MMU  Mainly used for very small and low cost embedded systems  Kernel: originally a Linux kernel derivative. Now more and more closely integrated in mainstream Linux  Applications: standard embedded Linux applications with patches to address special memory constraints
  • 11. Computer vs. Embedded Linux Linux kernel GNU C library libjpeg, libstdc++, libxml, libvorbis... ls, vi, wget, ssh, httpd, gcc... Web browser, office, multimedia... Command  line utilities Kernel C library Shared  libraries User  interface Traditional GNU/Linux system Embedded Linux system uClibc Much lighter than GNU libc! libjpeg, libstdc++, libxml, libvorbis... busybox (ls, vi, wget, httpd...) dropbear (ssh)... Much lighter implementations! No development tools Linux kernel Custom interface Lightweight kernel with only needed features and drivers Full kernel with most features and with drivers for all kinds of PC hardware on the planet! Graphics, web browser, web server...
  • 12. 12/41  Advantages for System Developers
  • 13. 13/41 Innovation and Added Value  Lots of ready-to-use components for most parts of the system  Focus on the innovative part of your product, what differentiates it  No need to wait for months or years for some features to be implemented by others – can implement the critical ones that you need  Constant innovation  Features brought in at a quick pace, sometimes even before you need them!  Possible to port Linux to a new innovative architecture (processors)
  • 15. 15/41 Single Board Computer(SBC) Characteristics ✔ Computer like ✔ Manufactures with important peripherals ✔ Stand-alone computer ✔ Ready-made device Constraint ✔ Small RAM (in comparison to Desktop)
  • 16. 16/41 Advantech’s “Half-Biscuit” Ampro’s EnCore Kontron’s Standalone SBC Kontron’s EPIC SBC TS-7200 ARM SBC TS-5500 PC/104 Choices of SBC
  • 18. 18/41 When & Why to use SBC  Faster Time to Market  Proven design by vendor -> reliable design and reduce risk of defect  More vendor choices (different size, functions and price options  Lack of resources (hardware designer)  Lack of manufacturing capabilities
  • 19. 19/41 Advantages of using SBC & FOSS  Faster speed development  Reduce development speed  Increasing clock speed  Capabilities of using Open Source Software (OSS)/Free Software (FS)  Support high level programming
  • 20. 20/41 When & Why to use SBC  Faster Time to Market  Proven design by vendor -> reliable design and reduce risk of defect  More vendor choices (different size, functions and price options  Lack of resources (hardware designer)  Lack of manufacturing capabilities
  • 21. 21/41 FOSS  Free Software/Open Source Software  A type of software defined by its collaborative development model, accessibility of code and distribution models. – Examples of FOSS: GNU/Linux kernel, GNU Compiler Collection (GCC), Open Office, GIMP (Image Editor), Wireshark etc.  In contrast with proprietary software which is only available in a binary “closed” format & typically carries a licence fee – Examples : M$
  • 22. 22/41 FOSS Free Software grants the below 4 freedoms to the user: The freedom to run the program, for any purpose The freedom to study how the program works, and adapt it to one's needs The freedom to redistribute copies to help others The freedom to improve the program, and release one's improvements to the public See http://www.gnu.org/philosophy/free-sw.html
  • 23. FOSS - Unix family tree Time1970 19901980 2000 Bell Labs (AT&T) Ken Thompson Dennis Ritchie (C language created to implement a portable OS) BSD (Berkeley Software Distribution) Sun Solaris SunOS (Stanford University Network) NetBSD NextStep  AIX (IBM) HP­UX IRIX (SGI) SRV5 OpenBSD FreeBSD MacOS X Bill Joy Richard Stallman Linus Torvalds BSD family System V family Ritchie, Thompson GNU Bill Joy GNU / Linux
  • 24. 24/41 GNU/Linux  Unix-based OS originally developed for Intel- compatible PC's  Modern OS -> include features such as virtual memory, memory protection and preemptive multitasking  Support TCP/IP for de-facto Networking  Good Thing!!!! Source code available!!! (Open Source/Free Software)
  • 25. 25/41 GNU/Linux  Embedded Linux is increasing due to ability to modify subsystem code to suit their designs  Support Portable Operation Interface (POSIX) -> easy to port existing code to different processor architecture  NOW!! GNU/Linux are available for x86, SPARC, ARM, PowerPC, MIPS etc....
  • 26. 26/41 GNU/Linux Advantages  Robust Features – multi-threaded, multi-functions  Scalability – can run on flash cards and boards to PCs and larger system  Widespread acceptance – community of programmers available  Low Cost – NO ROYALTIES!!!!
  • 30. 30/41 Example : Smart Camera A sample of Embedded GNU/Linux developed in UniMAP potential for projects such as: ✔ Video Wireless Sensor Network (VWSN) for Traffic Surveillance System Using GNU/Linux & Free Software tools (GCC) Using TS5500 SBC Board Development tasks: ✔ Integrating Web Camera ✔ Developing software for image capture, image conversion, image manipulations and socket programming
  • 31. 31/41 Smart Camera Situation awareness is the key to security and safety Traffic operators are assigned the task of visual monitoring and threat detection process which is tedious and error prone for a human investigator
  • 32. Introduction Problems: Inefficient network monitoring ● traffic operators are burden with visual monitoring task, therefore a threat detection process would be ineffective, unreliable and prone to error ● the presence of stationary vehicle on the road, especially at a critical places could cause a secondary crashes, traffic congestion and other traffic incident. Therefore, there is a NEED of a vision system to give earlier detection and notification of stationary vehicle to the security personnel or traffic operator on the events
  • 33. Objective To develop, integrate, configure and analyze the performance of Embedded Vision System for stationary vehicle detection utilizing GNU/Linux and Single Board Computer
  • 34. System Overview Network SBC Monitor Alarm USB Webcam Supervision Center Smart Camera utilizing SBC as a processor and Logitech Quickcam Pro 4000 web camera as an image sensor. Task : to monitor road conditions and detect stationary vehicle inside the monitoring area. If the object of interest is detected on the scene, the system will notify the operators by transmitting the image to the supervision center.
  • 35. Hardware SENSING UNIT LOGITECHQUICKCAMPRO4000 ● VGA-sized (640x480 pixel) CCDsensor ● capture video at maximum 30 frames persecond. ● driverused : pwc-8.8 &usb-pwcx-8.2.2 PROCESSING &COMMUNICATION UNIT TS-5500 SINGLEBOARDCOMPUTER  AMDElan 520 processor (133 Mhz)  32 MBRAM  10/100 Base-TEthernet port
  • 36. Software Module Divided into 3 modules: ✔ Module1: ImageAcquisition ✔ Module2: ImageProcessing and Object Detection ✔ Module3: DataTransmission
  • 37. Processes IMAGE CAPTUREIMAGE CAPTURE COLOR SPACECOLOR SPACE CONVERSIONCONVERSION FRAMEFRAME DIFFERENCINGDIFFERENCING NOISENOISE REMOVALREMOVAL OBJECTOBJECT EXTRACTIONEXTRACTION FILTERINGFILTERING (CONVOLUTION)(CONVOLUTION) DETECTION &DETECTION & IMAGE SAVINGIMAGE SAVING && NOTIFICATIONNOTIFICATION
  • 38. Performance Analysis Specification Desktop PC SBC Processor Type Intel(R) Pentium(R) 4 CPU AMD Elan 520 Processor Speed 2.66 GHz 133 MHz RAM Size 512 MB 32 MB Operating System Mandriva 2006 TS-Linux Smart Camera Operation Platform Overall Processing (s) Desktop PC 6.09 TS-5500 SBC 38.82
  • 39. 39/41 Challenges for Developers  Understanding system & file structure  Revising programming skill in C/C++ for socket programming, shell programming & database  Ability to do various system configuration using CLI  Understanding cross compiling process & techniques  Difficulties to integrate external devices such as Webcam, touchscreen etc.. :Kernel version mismatch!!  Difficulties to compile on the SBC!! programming are done on a host PC  Execution problem on SBC board due to library mismatch between host PC and SBC  Limited/No Technical support
  • 40. 40/41 Conclusion  Embedded GNU/Linux and the use of SBC can be extended into many more fields such as automation, robotic, firewall, intrusion detection system, carried grade telecommunication and network devices  The availability of FOSS, Linux kernel and GNU application development tools, ANY applications or system can be build!!!!  Wide opportunities for other embedded system development  Exercise your FREEDOM by using FOSS  Technology is HERE, Human Resource?