SlideShare a Scribd company logo
Prepared by: Mohamed AbdAllah
Raspberry pi interfacing
Lecture 1: Introduction
1
Course content
 Introduction
• Introduction to Embedded Systems.
• Introduction to Linux operating system.
• Introduction to Embedded Linux.
 Linux operating system
• Linux file system hierarchy.
• Linux commands.
• Files permissions.
• Input-Output redirection.
• Environment variables.
• Process management.
• Linux shell scripting. 2
Course content
 Embedded Systems Communication Protocols
• UART protocol.
• I2C protocol.
• SPI protocol.
 Hardware interfacing special cases
• Analog to Digital Converter (ADC).
• Pulse Width Modulation (PWM).
• Polling V.S Interrupt based interfacing.
3
Course content
 Raspberry Pi – Hardware interfacing
• Hardware interfacing using Python language.
• Installing Linux on the Pi.
• Setting a static IP address and local host name for the Pi.
• Configuring the Wi-Fi dongle.
• Working with Pi GPIO.
• Working with Pi UART.
• Working with Pi PWM.
4
Introduction Agenda
 Introduction to Embedded Systems.
• What is an embedded system ?
• Embedded systems in our life.
• Embedded systems characteristics.
• Hardware, Software Co-Design.
• Micro-Controller concepts.
• Embedded systems market in Egypt.
 Introduction to Linux operating system.
• What is an operating system ?
• Why to use an operating system ?
• What is Linux operating system ?
• Linux OS main components.
• Linux features.
 Introduction to Embedded Linux.
• What is an embedded Linux ?
• Why to use embedded Linux ?
• Embedded Linux main components. 5
Introduction Agenda
Introduction
to
Embedded
Systems
Introduction to
Linux operating
system
Introduction
to
Embedded
Linux
6
Introduction to Embedded Systems
Introduction
to
Embedded
Systems
Introduction to
Linux operating
system
Introduction
to
Embedded
Linux
7
Introduction to Embedded Systems
 What is an embedded system ?
An embedded system is a computer system with a dedicated function within
a larger mechanical or electrical system, sometimes with real-time
computing constraints. It is embedded as part of a complete device often
including hardware and mechanical parts.
8
Introduction to Embedded Systems
 Embedded systems in our life
9
Introduction to Embedded Systems
 Embedded systems characteristics
• Cost of hardware and software.
• Memory.
• Power consumption.
• Operator interface.
• Reliability.
• Maintainability.
• Security.
• Safety.
• Real time critical.
• Interface to environment through sensors and actuators.
10
Introduction to Embedded Systems
 Hardware, Software Co-Design
• Break system into subsystems.
• Identify concurrency and dependencies in over all system.
• Allocate system components between hardware and software.
• Trade off between hardware and software.
• Break software into layers.
• Design user interface system.
11
Introduction to Embedded Systems
 Micro-Controller concepts
12
Introduction to Embedded Systems
 Micro-Controller concepts
0010011000
ADD R16,R10
SUB R7,R3
Z = x + y ;
If (y==3)
return 0 ;
file1.c Compiler
file1.asm
Assembler
file1.oLinker
file2.o
file3.o
prog.hex
13
Introduction to Embedded Systems
 Embedded systems market in Egypt
14
Introduction to Linux operating system
Introduction
to
Embedded
Systems
Introduction to
Linux operating
system
Introduction
to
Embedded
Linux
15
Introduction to Linux operating system
 What is an operating system ?
• An operating system acts as an intermediary
between the user of a computer and the
computer hardware. The purpose of an operating
system is to provide an environment in which a
user can execute programs in a convenient and
efficient manner.
• An operating system is software that manages the
computer hardware. The hardware must provide
appropriate mechanisms to ensure the correct
operation of the computer system and to prevent
user programs from interfering with the proper
operation of the system.
16
Introduction to Linux operating system
 Why to use an operating system ?
• Memory management.
• Storage management.
• Process management.
• Protection and security.
• Abstraction layer for every resource.
17
 What is Linux operating system ?
• In 1983, Richard Stallman, founder of the Free Software Foundation, set
forth plans of a complete Unix-like operating system, called GNU,
composed entirely of free software.
• By 1991 the lower level (kernel, device drivers, system-level utilities and
daemons) was still mostly lacking.
• In 1991, Linus Torvalds released the first version of the Linux kernel. Early
Linux developers ported GNU code, including the GNU C Compiler, to the
kernel. The free software community adopted the use of the Linux kernel
as the missing kernel for the GNU operating system.
Introduction to Linux operating system
18
 Linux OS main components
Introduction to Linux operating system
19
 Linux features
• Open Source: Linux source code is freely available and it is community
based development project. Multiple teams works in collaboration to
enhance the capability of Linux operating system and it is continuously
evolving.
• Multi-User: Linux is a multiuser system means multiple users can access
system resources like memory, ram, application programs at same time.
• Multiprogramming: Linux is a multiprogramming system means multiple
applications can run at same time.
• Hierarchical File System: Linux provides a standard file structure in which
system files, user files are arranged.
Introduction to Linux operating system
20
 Linux features
• Shell: Linux provides a special interpreter program which can be used to
execute commands of the operating system. It can be used to do various
types of operations, call application programs etc.
• Security: Linux provides user security using authentication features like
password protection, controlled access to specific files, encryption of
data.
Introduction to Linux operating system
21
Introduction to Linux operating system
22
Introduction to Embedded Linux
Introduction
to
Embedded
Systems
Introduction to
Linux operating
system
Introduction
to
Embedded
Linux
23
 What is an embedded Linux ?
• Operating systems based on the Linux kernel are used
in embedded systems such as consumer electronics
(i.e. set-top boxes, smart TVs, in-vehicle infotainment
(IVI), networking equipment (such as wireless routers),
machine control, industrial automation, navigation
equipment, spacecraft flight software, and medical
instruments in general).
• Thanks to their versatility, operating systems based on
the Linux kernel can be also found in mobile devices
that are actually touchscreen-based embedded
devices, such as smartphones and tablets, together
with personal digital assistants (PDAs) and portable
media players that also include a touchscreen.
Introduction to Embedded Linux
24
 Why to use embedded Linux ?
• Linux kernel supports wide range of architectures like:
 X86 and x64 in PC and multimedia.
 ARM.
 PowerPC mainly in real time applications.
 And much more architectures.
• A very basic Linux system can work on 8 MB of RAM and 4 MB of storage.
• Linux kernel has support for many communication busses like:
 USB.
 SPI.
 CAN.
Introduction to Embedded Linux
25
 Why to use embedded Linux ?
• Linux kernel has support for many networking stacks like:
 Ethernet.
 Wi-Fi.
 Bluetooth.
 IPv4, IPv6, TCP, UDB.
 Firewall and advanced routing.
Introduction to Embedded Linux
26
 Embedded Linux main components
• Cross-compilation Tool Chain: used to compile source code for the
required target hardware.
• Boot loader: used to initialize hardware and load the Linux kernel.
• Linux Kernel: the main software component of the operating system.
• System libraries: System libraries are special functions or programs used
by application programs or system utilities to access Kernel's features.
• File system with other libraries & apps.
Introduction to Embedded Linux
27
Mohamed AbdAllah
Embedded Systems Engineer
mohabdallah8@gmail.com
28

More Related Content

What's hot (20)

PPTX
RaspberryPi + IoT - Lab to switch on and off a light bulb
Jeff Prestes
 
PPTX
Raspberry Pi
Aditya Khandate
 
DOCX
A seminar report on Raspberry Pi
nipunmaster
 
PDF
Single Board Computers & Raspberry Pi Basics
Eueung Mulyana
 
PDF
Raspberry Pi
Aditya Khandate
 
PPTX
Presentation on Raspberry Pi by Sazzad H. IIUC
shssn7
 
PPSX
Introduction to embedded linux device driver and firmware
definecareer
 
PDF
Raspberry Pi
Noona marja
 
PPTX
Introduction to raspberry pi
praveen_23
 
PPT
Raspberrypi best ppt
SOMRAJ GAUTAM
 
PDF
Getting Started with Raspberry Pi v1.2
macrutan
 
PPTX
Difference between soc and single board computer ppt1
Edgefxkits & Solutions
 
PDF
Raspberrypi
Prasanth V
 
PPSX
Low Cost HD Surveillance Camera using Raspberry PI
Varun A M
 
PPTX
Raspberry Pi presentation for Computer Architecture class
Michael Gordon
 
PPTX
Raspberry pi
Shubham singh
 
PPTX
Raspberry pi complete setup
Santosh Kumar Kar
 
DOCX
SEMINAR REPORT OF RASPBERRY PI
GANESH GOVIND BHOR
 
PPTX
Raspberry pi technology
Zeeshan Aslam
 
PPTX
Introduction To The Beagleboard
NeHal VeRma
 
RaspberryPi + IoT - Lab to switch on and off a light bulb
Jeff Prestes
 
Raspberry Pi
Aditya Khandate
 
A seminar report on Raspberry Pi
nipunmaster
 
Single Board Computers & Raspberry Pi Basics
Eueung Mulyana
 
Raspberry Pi
Aditya Khandate
 
Presentation on Raspberry Pi by Sazzad H. IIUC
shssn7
 
Introduction to embedded linux device driver and firmware
definecareer
 
Raspberry Pi
Noona marja
 
Introduction to raspberry pi
praveen_23
 
Raspberrypi best ppt
SOMRAJ GAUTAM
 
Getting Started with Raspberry Pi v1.2
macrutan
 
Difference between soc and single board computer ppt1
Edgefxkits & Solutions
 
Raspberrypi
Prasanth V
 
Low Cost HD Surveillance Camera using Raspberry PI
Varun A M
 
Raspberry Pi presentation for Computer Architecture class
Michael Gordon
 
Raspberry pi
Shubham singh
 
Raspberry pi complete setup
Santosh Kumar Kar
 
SEMINAR REPORT OF RASPBERRY PI
GANESH GOVIND BHOR
 
Raspberry pi technology
Zeeshan Aslam
 
Introduction To The Beagleboard
NeHal VeRma
 

Viewers also liked (20)

PDF
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Mohamed Abdallah
 
PDF
Raspberry Pi - Lecture 2 Linux OS
Mohamed Abdallah
 
PDF
Raspberry Pi - Lecture 4 Hardware Interfacing Special Cases
Mohamed Abdallah
 
PDF
Raspberry Pi - Lecture 5 Python for Raspberry Pi
Mohamed Abdallah
 
PDF
Hardware interfacing basics using AVR
Mohamed Abdallah
 
PDF
Embedded C - Lecture 4
Mohamed Abdallah
 
PDF
Embedded C - Lecture 3
Mohamed Abdallah
 
PDF
Embedded C - Lecture 2
Mohamed Abdallah
 
PDF
Embedded C - Lecture 1
Mohamed Abdallah
 
PPT
Raspberry pi : an introduction
LTG Oxford
 
PPT
Raspberry pi
Anija Nair
 
PDF
Embedded C programming based on 8051 microcontroller
Gaurav Verma
 
DOCX
Plc dasar
sextrolol
 
ODP
Raspberry Pi and Amateur Radio
Kevin Hooke
 
PPT
Embedded c & working with avr studio
Nitesh Singh
 
PDF
Emertxe : Linux training portfolio
Emertxe Information Technologies Pvt Ltd
 
PDF
Emertxe : Training portfolio
Emertxe Information Technologies Pvt Ltd
 
PPT
Interfacing rs232
PRADEEP
 
PDF
Resume Preparation - Workshop
Emertxe Information Technologies Pvt Ltd
 
PPTX
Advance Microcontroller AVR
Daksh Raj Chopra
 
Raspberry Pi - Lecture 3 Embedded Communication Protocols
Mohamed Abdallah
 
Raspberry Pi - Lecture 2 Linux OS
Mohamed Abdallah
 
Raspberry Pi - Lecture 4 Hardware Interfacing Special Cases
Mohamed Abdallah
 
Raspberry Pi - Lecture 5 Python for Raspberry Pi
Mohamed Abdallah
 
Hardware interfacing basics using AVR
Mohamed Abdallah
 
Embedded C - Lecture 4
Mohamed Abdallah
 
Embedded C - Lecture 3
Mohamed Abdallah
 
Embedded C - Lecture 2
Mohamed Abdallah
 
Embedded C - Lecture 1
Mohamed Abdallah
 
Raspberry pi : an introduction
LTG Oxford
 
Raspberry pi
Anija Nair
 
Embedded C programming based on 8051 microcontroller
Gaurav Verma
 
Plc dasar
sextrolol
 
Raspberry Pi and Amateur Radio
Kevin Hooke
 
Embedded c & working with avr studio
Nitesh Singh
 
Emertxe : Linux training portfolio
Emertxe Information Technologies Pvt Ltd
 
Emertxe : Training portfolio
Emertxe Information Technologies Pvt Ltd
 
Interfacing rs232
PRADEEP
 
Resume Preparation - Workshop
Emertxe Information Technologies Pvt Ltd
 
Advance Microcontroller AVR
Daksh Raj Chopra
 
Ad

Similar to Raspberry Pi - Lecture 1 Introduction (20)

PDF
Linux for embedded_systems
Vandana Salve
 
PDF
Building Embedded Linux Systems Introduction
Sherif Mousa
 
PPT
EOS
Ramasubbu .P
 
PPTX
UNIT 3 HISTORY OF EMBEDDED LINUXEMBEDDED LINUX.pptx
EEEDept2
 
PDF
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
Integrated Circuit Design Research & Education Center (ICDREC)
 
PPT
운영체제론 Ch21
Jongmyoung Kim
 
PPTX
Linux Operating System. UOG MARGHAZAR Campus
SYEDASADALI38
 
PDF
Linux OS presentation
SahilGothoskar
 
PPTX
Licão 01 introduction
Acácio Oliveira
 
PPT
Chapter 6 - INTRODUCTION TO NETWORK OPERATING SYSTEM - 0S and NOS.ppt
Mirahsz Arashian
 
PPTX
Linux operating system ppt
Achyut Sinha
 
PPTX
The linux system
ArchanaMani2
 
PPTX
Introduction to Linux basic
f114n
 
PDF
Intro to linux
Islam Nabil
 
PPTX
Introduction to linux ppt
Omi Vichare
 
PPTX
The Linux System
husnaina_akhtar
 
PPTX
history_of_linux lec 7.pptx
touseeqzulfiqar1
 
PPTX
Unik Slides
Idit Levine
 
PPTX
Lecture01_IntroToLinuxAndEmbeddedSystems.pptx
ChetanNaikJECE
 
Linux for embedded_systems
Vandana Salve
 
Building Embedded Linux Systems Introduction
Sherif Mousa
 
UNIT 3 HISTORY OF EMBEDDED LINUXEMBEDDED LINUX.pptx
EEEDept2
 
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
Integrated Circuit Design Research & Education Center (ICDREC)
 
운영체제론 Ch21
Jongmyoung Kim
 
Linux Operating System. UOG MARGHAZAR Campus
SYEDASADALI38
 
Linux OS presentation
SahilGothoskar
 
Licão 01 introduction
Acácio Oliveira
 
Chapter 6 - INTRODUCTION TO NETWORK OPERATING SYSTEM - 0S and NOS.ppt
Mirahsz Arashian
 
Linux operating system ppt
Achyut Sinha
 
The linux system
ArchanaMani2
 
Introduction to Linux basic
f114n
 
Intro to linux
Islam Nabil
 
Introduction to linux ppt
Omi Vichare
 
The Linux System
husnaina_akhtar
 
history_of_linux lec 7.pptx
touseeqzulfiqar1
 
Unik Slides
Idit Levine
 
Lecture01_IntroToLinuxAndEmbeddedSystems.pptx
ChetanNaikJECE
 
Ad

Recently uploaded (20)

PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
darshai cross section and river section analysis
muk7971
 
PPTX
Alan Turing - life and importance for all of us now
Pedro Concejero
 
PPTX
MODULE 05 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
PPTX
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
PPTX
原版一样(EC Lille毕业证书)法国里尔中央理工学院毕业证补办
Taqyea
 
PDF
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PPTX
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
PDF
Bachelor of information technology syll
SudarsanAssistantPro
 
PPTX
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PDF
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
PPT
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PDF
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
darshai cross section and river section analysis
muk7971
 
Alan Turing - life and importance for all of us now
Pedro Concejero
 
MODULE 05 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Numerical-Solutions-of-Ordinary-Differential-Equations.pptx
SAMUKTHAARM
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Introduction to Internal Combustion Engines - Types, Working and Camparison.pptx
UtkarshPatil98
 
How Industrial Project Management Differs From Construction.pptx
jamespit799
 
原版一样(EC Lille毕业证书)法国里尔中央理工学院毕业证补办
Taqyea
 
AI TECHNIQUES FOR IDENTIFYING ALTERATIONS IN THE HUMAN GUT MICROBIOME IN MULT...
vidyalalltv1
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
MODULE 04 - CLOUD COMPUTING AND SECURITY.pptx
Alvas Institute of Engineering and technology, Moodabidri
 
Bachelor of information technology syll
SudarsanAssistantPro
 
OCS353 DATA SCIENCE FUNDAMENTALS- Unit 1 Introduction to Data Science
A R SIVANESH M.E., (Ph.D)
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
Footbinding.pptmnmkjkjkknmnnjkkkkkkkkkkkkkk
mamadoundiaye42742
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
methodology-driven-mbse-murphy-july-hsv-huntsville6680038572db67488e78ff00003...
henriqueltorres1
 

Raspberry Pi - Lecture 1 Introduction

  • 1. Prepared by: Mohamed AbdAllah Raspberry pi interfacing Lecture 1: Introduction 1
  • 2. Course content  Introduction • Introduction to Embedded Systems. • Introduction to Linux operating system. • Introduction to Embedded Linux.  Linux operating system • Linux file system hierarchy. • Linux commands. • Files permissions. • Input-Output redirection. • Environment variables. • Process management. • Linux shell scripting. 2
  • 3. Course content  Embedded Systems Communication Protocols • UART protocol. • I2C protocol. • SPI protocol.  Hardware interfacing special cases • Analog to Digital Converter (ADC). • Pulse Width Modulation (PWM). • Polling V.S Interrupt based interfacing. 3
  • 4. Course content  Raspberry Pi – Hardware interfacing • Hardware interfacing using Python language. • Installing Linux on the Pi. • Setting a static IP address and local host name for the Pi. • Configuring the Wi-Fi dongle. • Working with Pi GPIO. • Working with Pi UART. • Working with Pi PWM. 4
  • 5. Introduction Agenda  Introduction to Embedded Systems. • What is an embedded system ? • Embedded systems in our life. • Embedded systems characteristics. • Hardware, Software Co-Design. • Micro-Controller concepts. • Embedded systems market in Egypt.  Introduction to Linux operating system. • What is an operating system ? • Why to use an operating system ? • What is Linux operating system ? • Linux OS main components. • Linux features.  Introduction to Embedded Linux. • What is an embedded Linux ? • Why to use embedded Linux ? • Embedded Linux main components. 5
  • 6. Introduction Agenda Introduction to Embedded Systems Introduction to Linux operating system Introduction to Embedded Linux 6
  • 7. Introduction to Embedded Systems Introduction to Embedded Systems Introduction to Linux operating system Introduction to Embedded Linux 7
  • 8. Introduction to Embedded Systems  What is an embedded system ? An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, sometimes with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. 8
  • 9. Introduction to Embedded Systems  Embedded systems in our life 9
  • 10. Introduction to Embedded Systems  Embedded systems characteristics • Cost of hardware and software. • Memory. • Power consumption. • Operator interface. • Reliability. • Maintainability. • Security. • Safety. • Real time critical. • Interface to environment through sensors and actuators. 10
  • 11. Introduction to Embedded Systems  Hardware, Software Co-Design • Break system into subsystems. • Identify concurrency and dependencies in over all system. • Allocate system components between hardware and software. • Trade off between hardware and software. • Break software into layers. • Design user interface system. 11
  • 12. Introduction to Embedded Systems  Micro-Controller concepts 12
  • 13. Introduction to Embedded Systems  Micro-Controller concepts 0010011000 ADD R16,R10 SUB R7,R3 Z = x + y ; If (y==3) return 0 ; file1.c Compiler file1.asm Assembler file1.oLinker file2.o file3.o prog.hex 13
  • 14. Introduction to Embedded Systems  Embedded systems market in Egypt 14
  • 15. Introduction to Linux operating system Introduction to Embedded Systems Introduction to Linux operating system Introduction to Embedded Linux 15
  • 16. Introduction to Linux operating system  What is an operating system ? • An operating system acts as an intermediary between the user of a computer and the computer hardware. The purpose of an operating system is to provide an environment in which a user can execute programs in a convenient and efficient manner. • An operating system is software that manages the computer hardware. The hardware must provide appropriate mechanisms to ensure the correct operation of the computer system and to prevent user programs from interfering with the proper operation of the system. 16
  • 17. Introduction to Linux operating system  Why to use an operating system ? • Memory management. • Storage management. • Process management. • Protection and security. • Abstraction layer for every resource. 17
  • 18.  What is Linux operating system ? • In 1983, Richard Stallman, founder of the Free Software Foundation, set forth plans of a complete Unix-like operating system, called GNU, composed entirely of free software. • By 1991 the lower level (kernel, device drivers, system-level utilities and daemons) was still mostly lacking. • In 1991, Linus Torvalds released the first version of the Linux kernel. Early Linux developers ported GNU code, including the GNU C Compiler, to the kernel. The free software community adopted the use of the Linux kernel as the missing kernel for the GNU operating system. Introduction to Linux operating system 18
  • 19.  Linux OS main components Introduction to Linux operating system 19
  • 20.  Linux features • Open Source: Linux source code is freely available and it is community based development project. Multiple teams works in collaboration to enhance the capability of Linux operating system and it is continuously evolving. • Multi-User: Linux is a multiuser system means multiple users can access system resources like memory, ram, application programs at same time. • Multiprogramming: Linux is a multiprogramming system means multiple applications can run at same time. • Hierarchical File System: Linux provides a standard file structure in which system files, user files are arranged. Introduction to Linux operating system 20
  • 21.  Linux features • Shell: Linux provides a special interpreter program which can be used to execute commands of the operating system. It can be used to do various types of operations, call application programs etc. • Security: Linux provides user security using authentication features like password protection, controlled access to specific files, encryption of data. Introduction to Linux operating system 21
  • 22. Introduction to Linux operating system 22
  • 23. Introduction to Embedded Linux Introduction to Embedded Systems Introduction to Linux operating system Introduction to Embedded Linux 23
  • 24.  What is an embedded Linux ? • Operating systems based on the Linux kernel are used in embedded systems such as consumer electronics (i.e. set-top boxes, smart TVs, in-vehicle infotainment (IVI), networking equipment (such as wireless routers), machine control, industrial automation, navigation equipment, spacecraft flight software, and medical instruments in general). • Thanks to their versatility, operating systems based on the Linux kernel can be also found in mobile devices that are actually touchscreen-based embedded devices, such as smartphones and tablets, together with personal digital assistants (PDAs) and portable media players that also include a touchscreen. Introduction to Embedded Linux 24
  • 25.  Why to use embedded Linux ? • Linux kernel supports wide range of architectures like:  X86 and x64 in PC and multimedia.  ARM.  PowerPC mainly in real time applications.  And much more architectures. • A very basic Linux system can work on 8 MB of RAM and 4 MB of storage. • Linux kernel has support for many communication busses like:  USB.  SPI.  CAN. Introduction to Embedded Linux 25
  • 26.  Why to use embedded Linux ? • Linux kernel has support for many networking stacks like:  Ethernet.  Wi-Fi.  Bluetooth.  IPv4, IPv6, TCP, UDB.  Firewall and advanced routing. Introduction to Embedded Linux 26
  • 27.  Embedded Linux main components • Cross-compilation Tool Chain: used to compile source code for the required target hardware. • Boot loader: used to initialize hardware and load the Linux kernel. • Linux Kernel: the main software component of the operating system. • System libraries: System libraries are special functions or programs used by application programs or system utilities to access Kernel's features. • File system with other libraries & apps. Introduction to Embedded Linux 27