Linux for Embedded and Real-time Applications -  Doug Abbott

Linux for Embedded and Real-time Applications (eBook)

(Autor)

eBook Download: PDF
2011 | 2. Auflage
352 Seiten
Elsevier Science (Verlag)
978-0-08-049615-3 (ISBN)
Systemvoraussetzungen
50,95 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
"The open source nature of Linux has always intrigued embedded engineers, and the latest kernel releases have provided new features enabling more robust functionality for embedded applications. Enhanced real-time performance, easier porting to new architectures, support for microcontrollers and an improved I/O system give embedded engineers even more reasons to love Linux! However, the rapid evolution of the Linux world can result in an eternal search for new information sources that will help embedded programmers to keep up!

This completely updated second edition of noted author Doug Abbott's respected introduction to embedded Linux brings readers up-to-speed on all the latest developments. This practical, hands-on guide covers the many issues of special concern to Linux users in the embedded space, taking into account their specific needs and constraints.

You'll find updated information on:
.The GNU toolchain
.Configuring and building the kernel
.BlueCat Linux
.Debugging on the target
.Kernel Modules
.Devices Drivers
.Embedded Networking
.Real-time programming tips and techniques
.The RTAI environment
.And much more

The accompanying CD-ROM contains all the source code from the book's examples, helpful software and other resources to help you get up to speed quickly. This is still the reference you'll reach for again and again!

* 100+ pages of new material adds depth and breadth to the 2003 embedded bestseller.
* Covers new Linux kernel 2.6 and the recent major OS release, Fedora.
* Gives the engineer a guide to working with popular and cost-efficient open-source code."
The open source nature of Linux has always intrigued embedded engineers, and the latest kernel releases have provided new features enabling more robust functionality for embedded applications. Enhanced real-time performance, easier porting to new architectures, support for microcontrollers and an improved I/O system give embedded engineers even more reasons to love Linux! However, the rapid evolution of the Linux world can result in an eternal search for new information sources that will help embedded programmers to keep up!This completely updated second edition of noted author Doug Abbott's respected introduction to embedded Linux brings readers up-to-speed on all the latest developments. This practical, hands-on guide covers the many issues of special concern to Linux users in the embedded space, taking into account their specific needs and constraints. You'll find updated information on:* The GNU toolchain* Configuring and building the kernel* BlueCat Linux* Debugging on the target* Kernel Modules* Devices Drivers* Embedded Networking* Real-time programming tips and techniques* The RTAI environment* And much moreThe accompanying CD-ROM contains all the source code from the book's examples, helpful software and other resources to help you get up to speed quickly. This is still the reference you'll reach for again and again!* 100+ pages of new material adds depth and breadth to the 2003 embedded bestseller. * Covers new Linux kernel 2.6 and the recent major OS release, Fedora. * Gives the engineer a guide to working with popular and cost-efficient open-source code.

Front Cover 1
Linux for Embedded and Real-Time Applications 4
Copyright Page 5
Contents 8
Preface 13
About the Author 17
What’s on the CD-ROM? 18
Chapter 1. The Embedded and Real-Time Space 20
What is Embedded? 20
What is Real-Time? 21
How and Why Does Linux Fit In? 22
Where is Linux Embedded? 24
Open Source Licensing 25
Resources 28
Chapter 2. Introducing Linux 30
Features 30
Protected Mode Architecture 31
The Linux Process Model 36
The Linux Filesystem 40
System Configuration 49
The Shell 49
Getting Help 52
Resources 53
Chapter 3. The Host Development Environment 54
Linux Distributions 55
Dual-Booting 57
Cross-Development Tools—The GNU Tool Chain 58
Resources 60
Chapter 4. Configuring and Building the Kernel 62
Getting Started 62
Where is the Source Code? 63
Configuring the Kernel—make config, menuconfig, xconfig 66
Behind the Scenes—What’s Really Happening 71
Booting the New Kernel 75
What Can Go Wrong? 77
Resources 78
Chapter 5. BlueCat Linux 80
The “Less is More” Philosophy 80
Installing BlueCat Linux 81
X86 Target for BlueCat Linux 83
Configuring the Workstation 85
First Test Program 89
The “Shell” Kernel 92
Resources 93
Chapter 6. Debugging Embedded Software 94
The Target Setup 94
GDB 95
The Host as a Debug Environment 103
Adding Programmable Setpoint and Limit 106
Resources 108
Chapter 7. Kernel Modules and Device Drivers 110
Kernel Modules 110
What’s a Device Driver Anyway? 116
Linux Device Drivers 116
Internal Driver Structure 120
The Hardware 125
The Target Version of Thermostat 126
Debugging Kernel Code 127
Building Your Driver into the Kernel 131
An Alternative—uCLinux 134
The “Old Way” 134
Resources 136
Chapter 8. Embedded Networking 138
Sockets 138
A Simple Example 142
A Remote Thermostat 144
Embedded Web Servers 146
A Web-Enabled Thermostat 151
Embedded email 152
Other Application-Level Protocols 155
Resources 157
Chapter 9. Introduction to Real-Time Programming 158
Polling vs. Interrupts 159
Tasks 165
Scheduling 167
Aperiodic Scheduling 169
Kernel Services 171
Inter-Task Communication 173
Problems with Solving the Resource Sharing Problem—Priority Inversion 179
Interrupts and Exceptions 181
Critical Sections 182
Resources 184
Chapter 10. Linux and Real-Time 186
Why Linux Isn’t Real-Time 186
Two Approaches 189
Resources 196
Chapter 11. The RTAI Environment 198
Installing RTAI 198
Inter-Task Communication and Synchronization 203
Communicating with Linux Processes 203
Real-Time in User Space—LXRT 204
One Shot vs. Periodic Timing 208
Moving to Kernel Space 210
Real-Time FIFOs and Shared Memory 211
Suggested Exercises 213
Resources 214
Chapter 12. Posix Threads 216
Threads 216
Thread Attributes 218
Synchronization—Mutexes 219
Communication—Condition Variables 221
Pthreads in User Space 223
Moving to RTAI Kernel Space 229
Message Queues 230
Suggestions for Further Exploration 232
Resources 233
Chapter 13. Cutting It Down to Size 234
BusyBox 234
TinyLogin 241
uClinux 243
Summary 250
Resources 251
Chapter 14. Eclipse Integrated Development Environment 252
Overview 252
Installation 258
Using Eclipse 259
The C Development Environment (CDT) 259
Summary 266
Resources 267
Appendix A. RTAI Application Programming Interface (API) 268
Appendix B. Posix Threads (Pthreads) Application 294
Appendix C. Why Software Should Not Have Owners 306
Appendix D. Upgrading From Kernel 2.4 to 2.6 312
Index 316
Elsevier Science CD-ROM License Agreement 320

Erscheint lt. Verlag 1.4.2011
Sprache englisch
Themenwelt Sachbuch/Ratgeber
Mathematik / Informatik Informatik Betriebssysteme / Server
Technik Bauwesen
Technik Elektrotechnik / Energietechnik
ISBN-10 0-08-049615-6 / 0080496156
ISBN-13 978-0-08-049615-3 / 9780080496153
Haben Sie eine Frage zum Produkt?
PDFPDF (Adobe DRM)
Größe: 5,6 MB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Praxisbuch für Administratoren und DevOps-Teams

von Axel Miesen

eBook Download (2022)
Rheinwerk Computing (Verlag)
39,90