• No results found

Building Embedded Systems

N/A
N/A
Protected

Academic year: 2021

Share "Building Embedded Systems"

Copied!
27
0
0

Loading.... (view fulltext now)

Full text

(1)

© All Rights Reserved. The contents of this document cannot be reproduced without prior permission of the authors.

Building Embedded Systems

Chapter 1: Introduction

(2)

icm

fbi

Fachbereich Informatik

h_da

Agenda

• About

• Embedded Systems (ES)

• Embedded Hardware Platforms

• Development of ES

(3)

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt

www.h-da.de IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction, System Startup & Linux

About

What to expect and

(4)

icm

fbi

Fachbereich Informatik

h_da

About me

Andreas Knirsch

BSc | MSc @ h_da & JCU (AU)

several years professional experience (full-time)

Affiliation

Research Assistant at ICM labs (since 2009)

Topics

Emb. Systems, Multi-Core, SW Integration

Contact

[email protected]

(5)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Targets

Learn how to

setup

and

use

a

build-system

to

create

and

maintain

(6)

icm

fbi

Fachbereich Informatik

h_da

Targets in detail

• Setup a x-compile toolchain, apply tools and

techniques for deployment and debugging.

• Configure, build and install an embedded

operating system.

• Create a target root filesystem.

• Use available tools (toolchain builder,

system-libraries, etc.).

• Apply best practice development processes.

Some "targets" might be new, but

we will go into all those in a minute!

(7)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Significance

... or: "Why is embedded

know-how important?"

Salary

SE*1.1=ESE

Optimization

is only possible with sufficient knowledge about

domain, subject and processes.

Complexity

increases continously

"... premature optimization

is the root of all evil ..."

(8)

icm

fbi

Fachbereich Informatik

h_da

!

Our Target Hardware Platform:

Intel/ALTERA DE2i-150 FPGA Dev Kit

(9)

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt

www.h-da.de IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction, System Startup & Linux

Embedded Systems (ES)

What makes a system

(10)

icm

fbi

Fachbereich Informatik

h_da

How do you define an ES?

makeitgreat (flickr.com)

... or:

"What embedded

(11)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Examples !?

(12)

icm

fbi

Fachbereich Informatik

h_da

Embedded

System

Domain

Embedded

System

Hard

ware

CPU

Memory

Display

Touchpad

GPS Receiver

...

Domain

What makes a system embedded?

Embedded

System

So

ftwa

re

Hard

ware

CPU

Memory

Display

Touchpad

GPS Receiver

...

Domain

Bootloader

OS Kernel

Libraries

System Init

Embedded

System

B

ui

ld

So

ftwa

re

Hard

ware

CPU

Memory

Display

Touchpad

GPS Receiver

...

Compiler

Sources

(app + lib)

Debugger

Editor

Transfer Tools

...

Domain

Bootloader

OS Kernel

Libraries

System Init

(13)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Usual characteristics of an ES

• Customized to a

specific task

(brew coffee, take photos, provide route guidance, etc.)

• Cope with

resource constraints

(limited power supply and computational power, etc.)

• Operated within a

rough environment

(climate conditions, shock-resistance, etc.)

• Provide a certain grade of

dependability

(climate conditions, shock-resistance, etc.)

• Fulfill

real-time

requirements

(adhere to a predefined temporal behaviour)

(14)

icm

fbi

Fachbereich Informatik

h_da

crosstool-ng

GNU/Linux

ant, make, ..

qemu

eclipse

IDE

operating system

cross-compiler

build utilities

virtual machine

ecosystem

kernel-image

root filesystem

How to develop an embedded SW system?

Howto setup, maintain

and "use" the ecosystem?

"meta system"

"target system"

... "use" means to

create, maintain and

(15)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

„Embedded == Customized for Purpose“

• Create

optimized SW

for special purpose.

• Requires full

control of the build process

.

• Requires

knowledge on process and tools

.

!

• May require

optimization of the build system

.

(i.e. the meta-system)

• This requires

knowledge how to build tools

.

(… that build the system).

!

!

!

(16)

icm

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction, System Startup & Linux

Embedded Hardware Platforms

What is so special for

embedded hardware?

(17)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Embedded HW …

• is small.

• is light.

• is low powered.

• can cope various climate conditions.

• is shock-resistant.

A subset, all or none of the above given

characteristics may apply to a particular

embedded HW.

(18)

icm

fbi

Fachbereich Informatik

h_da

Nowadays, Embedded HW provide …

• computational performance …

• graphic acceleration/power …

• connectivity …

!

comparable to desktop HW,

or even beyond the capabilities of desktop HW.

…. it still depends!

(19)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

We use …

It does not provide cutting edge performance,

but reflects current state-of-the-art very well.

(20)

icm

fbi

Fachbereich Informatik

h_da

Comparable alternatives may include …

TI OMAP

based boards

(e.g. Beagle, Panda, IGEP, etc.)

Renesas R-Car H2

based boards

Samsung Exynos

based boards

Nvidia Tegra

based boards

(21)

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt

www.h-da.de IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction, System Startup & Linux

Embedded System Development

What does cross-platform

development mean?

(22)

icm

fbi

Fachbereich Informatik

h_da

xPlatform-Dev

Workstation

Target

edit code

compile

deploy

execute

remote debug

(23)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

Using xPlatform-DevEnv …

• obviates

on-target compilation.

• keeps target

software-system small

.

(24)

icm

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction

Recap

(25)

IN-CAR MULTIMEDIA LABS, Andreas Knirsch | Building Embedded Systems

icm

In-Car Multimedia Labs

!

Hochschule Darmstadt www.h-da.de

fbi

Fachbereich Informatik

h_da

What we have done today

• Motivation to learn about building ES.

• Clarify what ES are.

• The characteristics of embedded Apps.

• The characteristics of embedded OSs.

• The importance of starting ESs.

• Characteristics of embedded HW platforms.

• What xPlatform development is about.

... or:

we rather scratched the surface of several topics :-)

(26)

icm

fbi

Fachbereich Informatik

h_da

Building Embedded Systems

Chapter 1: Introduction

References

[Lee, 2006]

Lee, E. A.: The future of embedded software. ARTEMIS

Conference, Graz, 2006.

[Lee, 2007]

Lee, E. A.: Computing foundations and practice for

cyber-physical systems: A preliminary report. Tech. Report, Berkeley, USA, 2007.

[Marwedel, 2003]

Marwedel, P.: Embedded System Design. Kluwer

Academic Publishers, 2003.

[Marwedel, 2011]

Marwedel, P.: Embedded System Design. 2nd Edition,

Springer, 2011.

(27)

© All Rights Reserved. The contents of this document cannot be reproduced without prior permission of the authors.

Building Embedded Systems

Chapter 1: Introduction

References

Related documents

Hari ini, peranan dan fungsi Bahasa Melayu sebagai Bahasa Kebangsaan, bahasa perpaduan dan bahasa ilmu seakan-akan semakin tidak relevan, terpinggir dan gagal mendapat

The American Association of Neurological Surgeons (AANS), the American Association of Orthopaedic Surgeons (AAOS), the Congress of Neurological Surgeons (CNS), the AANS/CNS

“RPO will pay the Agency’s invoices subject to approval by the Client of the time worked, within 5 days of receipt of payment from the Client (or as otherwise specified in

In view of the clear provisions of the rules referred to above, we do not agree with the submission of Counsel for the Petitioner that when, as in this case, an answer to the

Florida presents an ideal study area for examining the impact of planning decisions on inland flooding due to precipitation (we excluded tidal or surge-based flooding, which

 Document level authentication  Data lifetime and data expiry  Multiple secure pipes.  Application level execution authorisation  VoIP with

From the start, the Ministry has actively consulted and involved DHBs, PHOs and professional groups through all stages of Care Plus - the initial consultation and piloting,