Embedded Linux Primer, Second Edition

Size: px
Start display at page:

Download "Embedded Linux Primer, Second Edition"

Transcription

1 Toronto Montreal Boston Paris Embedded Linux Primer, Second Edition A Practical, Real-World Approach Christopher Hallinan PRENTICE HALL Prentice Hall Professional Technical Reference Upper Saddle River, New York - Capetown Sydney NJ Tokyo Indianapolis San Francisco London Munich Singapore Mexico City Madrid

2 Contents Foreword for the First Edition Foreword for the Second Edition Preface Acknowledgments for the First Edition Acknowledgments for the Second Edition About the Author xxv xxvi xxvii xxxiii xxxv xxxvi Chapter 1 Introduction Why Linux? Embedded Linux Today Open Source and the GPL Free Versus Freedom Standards and Relevant Bodies Linux Standard Base Linux Foundation Carrier-Grade Linux Mobile Linux Initiative: Moblin Service Availability Forum Summary Suggestions for Additional Reading 8 VII

3 viii Embedded Linux Primer, Second Edirion Chapter 2 The Big Picture Embedded or Not? BIOS Versus Bootloader Anatomy of an Embedded System Typical Embedded Linux Setup Starting the Target Board Booting the Kernel Kernel Initialization: Overview First User Space Process: init Storage Considerations Flash Memory NAND Flash Flash Usage Flash File Systems Memory Space Execution Contexts Process Virtual Memory Cross-Development Environment Embedded Linux Distributions Commercial Linux Distributions Do-It-Yourself Linux Distributions Summary Suggestions for Additional Reading 35 Chapter 3 Processor Basics Stand-Alone Processors IBM 970FX Intel Pentium M 39

4 Contents ix Intel Atom Freescale MPC Companion Chipsets 4l 3.2 Integrated Processors: Systems on Chip Power Architecture Freescale Power Architecture Freescale PowerQUICC I Freescale PowerQUICC II PowerQUICC II Pro Freescale PowerQUICC III Freescale QorlQ AMCC Power Architecture MIPS Broadcom MIPS Other MIPS ARM TIARM Freescale ARM Other ARM Processors Other Architectures Hardware Platforms CompactPCI ATCA Summary Suggestions for Additional Reading 62

5 x Embedded Linux Primer, Second Edition Chapter 4 The Linux Kernel: A Different Perspective Background Kernel Versions Kernel Source Repositories Using git to Download a Kernel Linux Kernel Construction Top-Level Source Directory Compiling the Kernel The Kernel Proper: vmlinux Kernel Image Components Subdirectory Layout Kernel Build System The Dot-Config Configuration Editor(s) Makefile Targets Kernel Configuration Custom Configuration Options Kernel Makefiles Kernel Documentation Obtaining a Custom Linux Kernel What Else Do I Need? Summary Suggestions for Additional Reading 98 Chapter 5 Kernel Initialization Composite Kernel Image: Piggy and Friends The Image Object Architecture Objects 104

6 Contents xi Bootstrap Loader Boot Messages Initialization Flow of Control Kernel Entry Point: head. o Ill Kernel Startup: main. c Architecture Setup Kernel Command-Line Processing The setup Macro Subsystem Initialization The * initcall Macros The init Thread Initialization Via initcalls initcall_debug Final Boot Steps Summary Suggestions for Additional Reading 130 Chapter 6 User Space Initialization Root File System FHS: File System Hierarchy Standard File System Layout Minimal File System The Embedded Root FS Challenge Trial-and-Error Method Automated File System Build Tools 137

7 xii Embedded Linux Primer, Second Edition 6.2 Kernel's Last Boot Steps First User Space Program Resolving Dependencies Customized Initial Process The init Process inittab Sample Web Server Startup Script Initial RAM Disk Booting with initrd Bootloader Support for initrd initrd Magic: linuxrc The initrd Plumbing Building an initrd Image Using initramfs Customizing initramfs Shutdown Summary Suggestions for Additional Reading 157 Chapter 7 Bootloaders Role of a Bootloader Bootloader Challenges DRAM Controller Flash Versus RAM Image Complexity Execution Context 165

8 Contents xiii 7.3 A Universal Bootloader: Das U-Boot Obtaining U-Boot Configuring U-Boot U-Boot Monitor Commands Network Operations Storage Subsystems Booting from Disk Porting U-Boot EP405 U-Boot Port U-Boot Makefile Configuration Target EP405 First Build EP405 Processor Initialization Board-Specific Initialization Porting Summary U-Boot Image Format Device Tree Blob (Flat Device Tree) Device Tree Source Device Tree Compiler Alternative Kernel Images Using DTB Other Bootloaders Lilo GRUB Still More Bootloaders Summary Suggestions for Additional Reading 198

9 xiv Embedded Linux Primer, Second Edition Chapter 8 Device Driver Basics Device Driver Concepts Loadable Modules Device Driver Architecture Minimal Device Driver Example Module Build Infrastructure Installing a Device Driver Loading a Module Module Parameters Module Utilities insmod Ismod modprobe depmod rmmod modinfo Driver Methods Driver File System Operations Allocation of Device Numbers Device Nodes and mknod B ringing It All Together Building Out-of-Tree Drivers Device Drivers and the GPL Summary Suggestions for Additional Reading 226

10 Contents xv Chapter 9 File Systems Linux File System Concepts Partitions ext2 : Mounting a File System Checking File System Integrity ext ext ReiserFS JFFS Building a JFFS2 Image cramfs Network File System Root File System on NFS Pseudo File Systems /proc File System sysfs Other File Systems Building Simple File a System Summary Suggestions for Additional Reading 259 Chapter 10 MTD Subsystem MTD Overview Enabling MTD Services MTD Basics Configuring MTD on Your Target 267

11 xvi Embedded Linux Primer, Second Edition 10.2 MTD Partitions Redboot Partition Table Partitioning Kernel Command-Line Partitioning Mapping Driver Flash Chip Drivers Board-Specific Initialization MTD Utilities JFFS2 Root File System UBI File System Configuring for UBIFS Building a UBIFS Image Using UBIFS as the Root File System Summary Suggestions for Additional Reading 288 Chapter 11 BusyBox Introduction to BusyBox BusyBox Is Easy BusyBox Configuration Cross-Compiling BusyBox BusyBox Operation BusyBox init Sample rcs Initialization Script BusyBox Target Installation BusyBox Applets Summary Suggestions for Additional Reading 304

12 Contents xvii Chapter 12 Embedded Development Environment Cross-Development Environment "Hello World" Embedded Host System Requirements Hardware Debug Probe Hosting Target Boards TFTP Server BOOTP/DHCP Server NFS Server Target NFS Root Mount U-Boot NFS Root Mount Example Summary Suggestions for Additional Reading 323 Chapter 13 Development Tools GNU Debugger (GDB) Debugging a Core Dump Invoking GDB Debug Session in GDB Data Display Debugger cbrowser/cscope Tracing and Profiling Tools strace strace Variations Itrace ' ps top 346

13 xviii [imbedded Linux Primer, Second Edition mfcrace dmalloc Kernel Oops Binary Utilities readelf Examining Debug Information Using readelf objdump objcopy Miscellaneous Binary Utilities strip addr21ine strings ldd nm prelink Summary Suggestions for Additional Reading 365 Chapter 14 Kernel Debugging Techniques Challenges to Kernel Debugging Using KGDB for Kernel Debugging KGDB Kernel Configuration Target Boot with KGDB Support Useful Kernel Breakpoints Sharing a Console Serial Port with KGDB Debugging Very Early Kernel Code KGDB Support in the Mainline Kernel 380

14 Contents xix 14.3 Kernel Debugging Techniques gdb Remote Serial Protocol Debugging Optimized Kernel Code GDB User-Defined Commands Useful Kernel GDB Macros Debugging Loadable Modules printk Debugging Magic SysReq Key Hardware-Assisted Debugging Programming Flash Using a JTAG Probe Debugging with a JTAG Probe When It Doesn't Boot Early Serial Debug Output Dumping the printk Log Buffer KGDB on Panic Summary Suggestions for Additional Reading 422 Chapter 15 Debugging Embedded Linux Applications Target Debugging Remote (Cross) Debugging gdbserver Debugging with Shared Libraries Shared Library Events in GDB Debugging Multiple Tasks Debugging Multiple Processes Debugging Multithreaded Applications Debugging Bootloader/Flash Code 441

15 xx Embedded Linux Primer, Second Edition 15.5 Additional Remote Debug Options Debugging Using a Serial Port Attaching to a Running Process Summary Suggestions for Additional Reading 444 Chapter 16 Open Source Build Systems Why Use a Build System? Scratchbox Installing Scratchbox Creating a Cross-Compilation Target Buildroot Buildroot Installation Buildroot Configuration Buildroot Build OpenEmbedded OpenEmbedded Composition BitBake Metadata Recipe Basics Metadata Tasks Metadata Classes Configuring OpenEmbedded Building Images Summary Suggestions for Additional Reading 464

16 Contents xxi Chapter 17 Linux and Real Time What Is Real Time? Soft Real Time Hard Real Time Linux Scheduling Latency Kernel Preemption Impediments to Preemption Preemption Models SMP Kernel Sources of Preemption Latency Real-Time Kernel Patch Real-Time Features O(l) Scheduler Creating a Real-Time Process Real-Time Kernel Performance Analysis Using Ftrace for Tracing Preemption Off Latency Measurement Walceup Latency Measurement Interrupt Off Timing Soft Lockup Detection Summary Suggestion for Additional Reading 485 Chapter 18 Universal Serial Bus USB Overview USB Physical Topology USB Logical Topology 490

17 xxii Embedded Linux Primer, Second Edition USB Revisions USB Connectors USB Cable Assemblies USB Modes Configuring USB USB Initialization sysfs and USB Device Naming Useful USB Tools USB File System Using usbview USBUtils(lsusb) Common USB Subsystems USB Mass Storage Class USB HID Class USB CDC Class Drivers USB Network Support USB Debug usbraon Useful USB Miscellanea Summary Suggestions for Additional Reading 519 Chapter 19 udev What Is udev? Device Discovery Default udev Behavior 525

18 Contents xxiii 19.4 Understanding udev Rules Modalias Typical udev Rules Configuration Initial System Setup for udev Loading Platform Device Drivers Customizing udev Behavior udev Customization Example: USB Automounting Persistent Device Naming udev Helper Utilities Using udev with busybox busybox Configuring mdev 545 mdev Summary Suggestions for Additional Reading 548 Appendix A GNU Public License 549 Preamble 550 Terms and Conditions for Copying, Distribution, and Modification 551 No Warranty 555 Appendix B U-Boot Configurable Commands 557 Appendix C BusyBox Commands 561 Appendix D SDRAM Interface Considerations 571 D.l SDRAM Basics 572 D.l.l SDRAM Refresh 573 D.2 Clocking 574

19 xxiv Embedded Linux Primer, Second Edition D.3 SDRAM Setup 575 D.4 Summary 580 D.4.1 Suggestions for Additional Reading 580 Appendix E Open Source Resources 581 Source Repositories and Developer Information 582 Mailing Lists 582 Linux News and Developments 583 Open Source Legal Insight and Discussion 583 Appendix F Sample BDI-2000 Configuration File 585 Index 593

Introduction p. 1 Why Linux? p. 2 Embedded Linux Today p. 3 Open Source and the GPL p. 3 Free Versus Freedom p. 4 Standards and Relevant Bodies p.

Introduction p. 1 Why Linux? p. 2 Embedded Linux Today p. 3 Open Source and the GPL p. 3 Free Versus Freedom p. 4 Standards and Relevant Bodies p. Foreword p. xix Preface p. xxi Acknowledgments p. xxvii About the Author p. xxix Introduction p. 1 Why Linux? p. 2 Embedded Linux Today p. 3 Open Source and the GPL p. 3 Free Versus Freedom p. 4 Standards

More information

D1 - Embedded Linux. Building and installing an embedded and real-time Linux platform. Objectives. Course environment.

D1 - Embedded Linux. Building and installing an embedded and real-time Linux platform. Objectives. Course environment. Training Embedded Linux: Building and installing an embedded and real-time Linux platform - Operating Systems: Linux D1 - Embedded Linux Building and installing an embedded and real-time Linux platform

More information

Linux Kernel Architecture

Linux Kernel Architecture Professional Linux Kernel Architecture Wolf gang Mauerer WILEY Wiley Publishing, Inc. Introduction xxvii Chapter 1: Introduction and Overview 1 Tasks of the Kernel v -- 2 Implementation Strategies 3 Elements

More information

D1Y - Embedded Linux with Yocto

D1Y - Embedded Linux with Yocto Training Embedded Linux with Yocto: Building embedded Linux platforms using Yocto - Operating Systems: Linux D1Y - Embedded Linux with Yocto Building embedded Linux platforms using Yocto Objectives Understanding

More information

PYTHON. p ykos vtawynivis. Second eciitiovl. CO Ve, WESLEY J. CHUN

PYTHON. p ykos vtawynivis. Second eciitiovl. CO Ve, WESLEY J. CHUN CO Ve, PYTHON p ykos vtawynivis Second eciitiovl WESLEY J. CHUN. PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney

More information

Contents. Foreword...xxi Preface...xxiii Acknowledgments...xxix About the Author...xxx

Contents. Foreword...xxi Preface...xxiii Acknowledgments...xxix About the Author...xxx Contents Foreword...xxi Preface...xxiii Acknowledgments...xxix About the Author...xxx Chapter 1 Introduction...1 Evolution... 2 The GNU Copyleft... 3 Kernel.org... 4 Mailing Lists and Forums... 4 Linux

More information

Embedded Linux system development training 5-day session

Embedded Linux system development training 5-day session Embedded Linux system development training 5-day session Title Embedded Linux system development training Overview Bootloaders Kernel (cross) compiling and booting Block and flash filesystems C library

More information

SQL Queries. for. Mere Mortals. Third Edition. A Hands-On Guide to Data Manipulation in SQL. John L. Viescas Michael J. Hernandez

SQL Queries. for. Mere Mortals. Third Edition. A Hands-On Guide to Data Manipulation in SQL. John L. Viescas Michael J. Hernandez SQL Queries for Mere Mortals Third Edition A Hands-On Guide to Data Manipulation in SQL John L. Viescas Michael J. Hernandez r A TT TAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco

More information

ECLIPSE RICH CLIENT PLATFORM

ECLIPSE RICH CLIENT PLATFORM ECLIPSE RICH CLIENT PLATFORM DESIGNING, CODING, AND PACKAGING JAVA TM APPLICATIONS Jeff McAffer Jean-Michel Lemieux v:addison-wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto

More information

Xcode 6 Start to Finish

Xcode 6 Start to Finish Xcode 6 Start to Finish ios and OS X Development Fritz Anderson VAddison-Wesley New York Boston Indianapolis San Francisco Toronto Montreal Capetown Sydney London Munich Paris Madrid Tokyo Singapore Mexico

More information

D1S - Embedded Linux with Ac6 System Workbench

D1S - Embedded Linux with Ac6 System Workbench Formation Embedded Linux with Ac6 System Workbench: Implementing Linux on Embedded Systems - Systèmes d'exploitation: Linux D1S - Embedded Linux with Ac6 System Workbench Implementing Linux on Embedded

More information

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A

CROSS-REFERENCE TABLE ASME A Including A17.1a-1997 Through A17.1d 2000 vs. ASME A CROSS-REFERENCE TABLE ASME Including A17.1a-1997 Through A17.1d 2000 vs. ASME 1 1.1 1.1 1.1.1 1.2 1.1.2 1.3 1.1.3 1.4 1.1.4 2 1.2 3 1.3 4 Part 9 100 2.1 100.1 2.1.1 100.1a 2.1.1.1 100.1b 2.1.1.2 100.1c

More information

Application Programming

Application Programming Multicore Application Programming For Windows, Linux, and Oracle Solaris Darryl Gove AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris

More information

\ Smart Client 0" Deploymentwith v^ ClickOnce

\ Smart Client 0 Deploymentwith v^ ClickOnce \ Smart Client 0" Deploymentwith v^ ClickOnce Deploying Windows Forms Applications with ClickOnce Brian Noyes TT fr Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto

More information

Fit for Developing Software

Fit for Developing Software Fit for Developing Software Framework for Integrated Tests Rick Mugridge Ward Cunningham 04) PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich

More information

Virtualization from the Trenches

Virtualization from the Trenches ps i: (; v s s o r t w v h \i mioour: TECH KIS CHE INFORM AT 8LIOTHEK UNIVERSITATSBiCLIOTHEK HANNOVER

More information

Cloud Computing and SOA Convergence in Your Enterprise

Cloud Computing and SOA Convergence in Your Enterprise Cloud Computing and SOA Convergence in Your Enterprise A Step-by-Step Guide David S. Lint hicum A Addison-Wesley Upper Saddle River, NT Boston Indianapolis San Francisco New York Toronto Montreal London

More information

Android Forensics. Investigation, Analysis, Google Android. and Mobile Security for. Andrew Hoog. John McCash, Technical Editor SYNGRESS

Android Forensics. Investigation, Analysis, Google Android. and Mobile Security for. Andrew Hoog. John McCash, Technical Editor SYNGRESS Android Forensics Investigation, Analysis, and Mobile Security for Google Android Andrew Hoog John McCash, Technical Editor AMSTERDAM BOSTON. HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO.

More information

Essentials. Oracle Solaris Cluster. Tim Read. Upper Saddle River, NJ Boston Indianapolis San Francisco. Capetown Sydney Tokyo Singapore Mexico City

Essentials. Oracle Solaris Cluster. Tim Read. Upper Saddle River, NJ Boston Indianapolis San Francisco. Capetown Sydney Tokyo Singapore Mexico City Oracle Solaris Cluster Essentials Tim Read PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo Singapore Mexico

More information

Refactoring HTML. Improving the Design of Existing Web Applications. Elliotte Rusty Harold. TT rvaddison-wesley

Refactoring HTML. Improving the Design of Existing Web Applications. Elliotte Rusty Harold. TT rvaddison-wesley Refactoring HTML Improving the Design of Existing Web Applications Elliotte Rusty Harold TT rvaddison-wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich

More information

Integrated Approach. Operating Systems COMPUTER SYSTEMS. LEAHY, Jr. Georgia Institute of Technology. Umakishore RAMACHANDRAN. William D.

Integrated Approach. Operating Systems COMPUTER SYSTEMS. LEAHY, Jr. Georgia Institute of Technology. Umakishore RAMACHANDRAN. William D. COMPUTER SYSTEMS An and Integrated Approach f Architecture Operating Systems Umakishore RAMACHANDRAN Georgia Institute of Technology William D. LEAHY, Jr. Georgia Institute of Technology PEARSON Boston

More information

Update on boot time reduction techniques

Update on boot time reduction techniques ELCE 2009 Update on boot time reduction techniques Michael Opdenacker Free Electrons 1 Linux kernel Linux device drivers Board support code Mainstreaming kernel code Kernel debugging Embedded Linux Training

More information

The Unified Modeling Language User Guide

The Unified Modeling Language User Guide The Unified Modeling Language User Guide Grady Booch James Rumbaugh Ivar Jacobson Rational Software Corporation TT ADDISON-WESLEY Boston San Francisco New York Toronto Montreal London Munich Paris Madrid

More information

EMBEDDED LINUX ON ARM9 Weekend Workshop

EMBEDDED LINUX ON ARM9 Weekend Workshop Here to take you beyond EMBEDDED LINUX ON ARM9 Weekend Workshop Embedded Linux on ARM9 Weekend workshop Objectives: Get you exposed with various trends in Embedded OS Leverage Opensource tools to build

More information

Kernel Internals. Course Duration: 5 days. Pre-Requisites : Course Objective: Course Outline

Kernel Internals. Course Duration: 5 days. Pre-Requisites : Course Objective: Course Outline Course Duration: 5 days Pre-Requisites : Good C programming skills. Required knowledge Linux as a User Course Objective: To get Kernel and User Space of Linux and related programming Linux Advance Programming

More information

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill ALL a IN ONE LPIC-l/CompTIA t Lmux+ TM Certification EXAM GUIDE (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy TECHNISCHE INFORMATIONSBiBLIOTHEK UNIVER! ivjc Graw Hill BIBUOTHEK VER New York Chicago San

More information

The Definitive Guide to the ARM Cortex-M3

The Definitive Guide to the ARM Cortex-M3 The Definitive Guide to the ARM Cortex-M3 Joseph Yiu AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier Newnes Forewopd

More information

Programming Guide. Aaftab Munshi Dan Ginsburg Dave Shreiner. TT r^addison-wesley

Programming Guide. Aaftab Munshi Dan Ginsburg Dave Shreiner. TT r^addison-wesley OpenGUES 2.0 Programming Guide Aaftab Munshi Dan Ginsburg Dave Shreiner TT r^addison-wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid

More information

Quality Code. Software Testing Principles, Practices, and Patterns. Stephen Vance. AAddison-Wesley

Quality Code. Software Testing Principles, Practices, and Patterns. Stephen Vance. AAddison-Wesley Quality Code Software Testing Principles, Practices, and Patterns Stephen Vance AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid

More information

Eclipse Building Commercial-Quality Plug-ins Second Edition

Eclipse Building Commercial-Quality Plug-ins Second Edition Eclipse Building Commercial-Quality Plug-ins Second Edition Eric Clayberg Dan Rubel v:addison-wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris

More information

Debugging Linux With LinuxScope-JTD

Debugging Linux With LinuxScope-JTD Application Notes for Professional Developers of Embedded Systems #07-001 OVERVIEW Debugging Linux With LinuxScope-JTD The purpose of this Application Note is to show the user a general method for using

More information

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures PART ONE Chapter 1 Introduction OVERVIEW 1.1 What Operating Systems Do 3 1.2 Computer-System Organization 6 1.3 Computer-System Architecture 12 1.4 Operating-System Structure 15 1.5 Operating-System Operations

More information

VMware - vsphere INSTALL & CONFIGURE BEYOND INTRODUCTION V1.3

VMware - vsphere INSTALL & CONFIGURE BEYOND INTRODUCTION V1.3 VMware - vsphere INSTALL & CONFIGURE BEYOND INTRODUCTION V1.3 A complete course for all beginning and intermediate students with over 70% of all materials devoted to Live Labs. Students will complete the

More information

UFCETW-20-2 Examination Answer all questions in Section A (60 marks) and 2 questions from Section B (40 marks)

UFCETW-20-2 Examination Answer all questions in Section A (60 marks) and 2 questions from Section B (40 marks) Embedded Systems Programming Exam 20010-11 Answer all questions in Section A (60 marks) and 2 questions from Section B (40 marks) Section A answer all questions (60%) A1 Embedded Systems: ARM Appendix

More information

OpenGL SUPERBIBLE. Fifth Edition. Comprehensive Tutorial and Reference. Richard S. Wright, Jr. Nicholas Haemel Graham Sellers Benjamin Lipchak

OpenGL SUPERBIBLE. Fifth Edition. Comprehensive Tutorial and Reference. Richard S. Wright, Jr. Nicholas Haemel Graham Sellers Benjamin Lipchak OpenGL SUPERBIBLE Fifth Edition Comprehensive Tutorial and Reference Richard S. Wright, Jr. Nicholas Haemel Graham Sellers Benjamin Lipchak AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San

More information

Programming in Python 3

Programming in Python 3 Programming in Python 3 A Complete Introduction to the Python Language Mark Summerfield.4.Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich

More information

Eclipse Plug-ins. Third Edition

Eclipse Plug-ins. Third Edition Eclipse Plug-ins Third Edition Eric Clayberg Dan Rubel :vaddison-wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo

More information

Computers as Components Principles of Embedded Computing System Design

Computers as Components Principles of Embedded Computing System Design Computers as Components Principles of Embedded Computing System Design Third Edition Marilyn Wolf ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY

More information

Porting Linux to a New Architecture

Porting Linux to a New Architecture Embedded Linux Conference Europe 2014 Porting Linux to a New Architecture Marta Rybczyńska October 15, 2014 Different Types of Porting New board New processor from existing family New architecture 2 New

More information

Systems:;-'./'--'.; r. Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington

Systems:;-'./'--'.; r. Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Data base 7\,T"] Systems:;-'./'--'.; r Modelsj Languages, Design, and Application Programming Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant

More information

Digital System Design with SystemVerilog

Digital System Design with SystemVerilog Digital System Design with SystemVerilog Mark Zwolinski AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo

More information

Porting Linux to a New Architecture

Porting Linux to a New Architecture Embedded Linux Conference 2014 Porting Linux to a New Architecture Marta Rybczyńska May 1 st, 2014 Different Types of Porting New board New processor from existing family New architecture 2010-2014 Kalray

More information

Flash filesystem benchmarks

Flash filesystem benchmarks Embedded Linux Conference Europe 21 Flash filesystem benchmarks Michael Opdenacker Free Electrons Copyright 21, Free Electrons. 1 Free FreeElectrons Electrons Free embedded Linux and kernel materials http://free

More information

Introduction to Creo Elements/Direct 19.0 Modeling

Introduction to Creo Elements/Direct 19.0 Modeling Introduction to Creo Elements/Direct 19.0 Modeling Overview Course Code Course Length TRN-4531-T 3 Day In this course, you will learn the basics about 3-D design using Creo Elements/Direct Modeling. You

More information

Introduction to PTC Windchill MPMLink 11.0

Introduction to PTC Windchill MPMLink 11.0 Introduction to PTC Windchill MPMLink 11.0 Overview Course Code Course Length TRN-4754-T 16 Hours In this course, you will learn how to complete basic Windchill MPMLink functions. You will learn about

More information

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures PART ONE Chapter 1 Introduction OVERVIEW 1.1 What Operating Systems Do 3 1.2 Computer-System Organization 6 1.3 Computer-System Architecture 12 1.4 Operating-System Structure 18 1.5 Operating-System Operations

More information

MariaDB Crash Course. A Addison-Wesley. Ben Forta. Upper Saddle River, NJ Boston. Indianapolis. Singapore Mexico City. Cape Town Sydney.

MariaDB Crash Course. A Addison-Wesley. Ben Forta. Upper Saddle River, NJ Boston. Indianapolis. Singapore Mexico City. Cape Town Sydney. MariaDB Crash Course Ben Forta A Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Cape Town Sydney Tokyo Singapore Mexico City

More information

ECLIPSE MODELING PROJECT

ECLIPSE MODELING PROJECT ECLIPSE MODELING PROJECT A Domain-Specific Language Toolkit Richard С. Gronback AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Pans Madrid

More information

THE AVR MICROCONTROLLER AND EMBEDDED SYSTEMS. Using Assembly and С

THE AVR MICROCONTROLLER AND EMBEDDED SYSTEMS. Using Assembly and С THE AVR MICROCONTROLLER AND EMBEDDED SYSTEMS Using Assembly and С Muhammad AH Mazidi Sarmad Naimi Sepehr Naimi Prentice Hall Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam

More information

Embedded Linux Conference Europe Sascha Hauer

Embedded Linux Conference Europe Sascha Hauer Embedded Linux Conference Europe 2012 Sascha Hauer Slide 1 - Pengutronix - http://www.pengutronix.de - 08.11.2012 Agenda Tour through barebox Devicetree Multiplatform Bootloader

More information

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures Contents PART ONE Chapter 1 Introduction OVERVIEW 1.1 What Operating Systems Do 3 1.2 Computer-System Organization 6 1.3 Computer-System Architecture 12 1.4 Operating-System Structure 18 1.5 Operating-System

More information

Adding hardware support to Buildroot

Adding hardware support to Buildroot Adding hardware support to Buildroot Pierre Ficheux (pierre.ficheux@openwide.fr) CTO Open Wide / OS4I 08/07/2010 1 Several ways to get a distribution Using commercial product (Wind River, MV, ) => / $$$

More information

Embedded Systems Architecture

Embedded Systems Architecture Embedded Systems Architecture A Comprehensive Guide for Engineers and Programmers By Tammy Noergaard ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE

More information

The Power of Events. An Introduction to Complex Event Processing in Distributed Enterprise Systems. David Luckham

The Power of Events. An Introduction to Complex Event Processing in Distributed Enterprise Systems. David Luckham The Power of Events An Introduction to Complex Event Processing in Distributed Enterprise Systems David Luckham AAddison-Wesley Boston San Francisco New York Toronto Montreal London Munich Paris Madrid

More information

Mathematics Shape and Space: Polygon Angles

Mathematics Shape and Space: Polygon Angles a place of mind F A C U L T Y O F E D U C A T I O N Department of Curriculum and Pedagogy Mathematics Shape and Space: Polygon Angles Science and Mathematics Education Research Group Supported by UBC Teaching

More information

Framework Design Guidelines

Framework Design Guidelines Framework Design Guidelines Conventions, Idioms, and Patterns for Reusable.NET Libraries Krzysztof Cwalina Brad Abrams Addison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto

More information

Contents in Detail. Acknowledgments

Contents in Detail. Acknowledgments Acknowledgments xix Introduction What s in This Book... xxii What Is Ethical Hacking?... xxiii Penetration Testing... xxiii Military and Espionage... xxiii Why Hackers Use Linux... xxiv Linux Is Open Source....

More information

Rails AntiPatterns. Chad Pytel. Best Practice Ruby on Rails Refactoring. Tammer Saleh. AAddison-Wesley

Rails AntiPatterns. Chad Pytel. Best Practice Ruby on Rails Refactoring. Tammer Saleh. AAddison-Wesley Rails AntiPatterns Best Practice Ruby on Rails Refactoring Chad Pytel Tammer Saleh AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich * Paris

More information

"Charting the Course... MOC B: Linux System Administration. Course Summary

Charting the Course... MOC B: Linux System Administration. Course Summary Description Course Summary This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional Linux system administrator. The course covers

More information

Programming with POSIX Threads

Programming with POSIX Threads Programming with POSIX Threads David R. Butenhof :vaddison-wesley Boston San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sidney Tokyo Singapore Mexico City Contents List of

More information

System Administration of PTC Windchill 11.0

System Administration of PTC Windchill 11.0 System Administration of PTC Windchill 11.0 Overview Course Code Course Length TRN-4830-T 16 Hours In this course, you will gain an understanding of how to perform routine Windchill system administration

More information

"Charting the Course... Enterprise Linux System Administration Course Summary

Charting the Course... Enterprise Linux System Administration Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine Here we create a new virtual machine and install Ubuntu 12.04 LTS Server on it. In this instance, we

More information

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu The Early System Start-Up Process Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu 1 Boot Process Booting is the initialization of a computerized system In Linux,

More information

The Right Approach to Minimal Boot Times

The Right Approach to Minimal Boot Times The Right Approach to Minimal Boot Times Andrew Murray Senior Software Engineer CELF Embedded Linux Conference Europe 2010 MPC Data Limited is a company registered in England and Wales with company number

More information

IPHONE FOR PROGRAMMERS: AN APP-DRIVEN APPROACH

IPHONE FOR PROGRAMMERS: AN APP-DRIVEN APPROACH IPHONE FOR PROGRAMMERS AN APP-DRIVEN APPROACH DEITEL DEVELOPER SERIES Paul Deitel Harvey Deitel Abbey Deitel Eric Kern Michael Morgano All of Deitel & Associates, Inc. I '..'.' I; ' ' '. '... '. ".. '

More information

Modern Embedded Computing Designing Connected, Pervasive, Media-Rich Systems

Modern Embedded Computing Designing Connected, Pervasive, Media-Rich Systems Modern Embedded Computing Designing Connected, Pervasive, Media-Rich Systems Peter Barry Patrick Crowley ELSEVIER AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE

More information

Introduction to Windchill PDMLink 10.2 for the Implementation Team

Introduction to Windchill PDMLink 10.2 for the Implementation Team Introduction to Windchill PDMLink 10.2 for the Implementation Team Overview Course Code Course Length TRN-4262-T 2 Days In this course, you will learn how to complete basic Windchill PDMLink functions.

More information

The Java Tutorial. A Short Course on the Basics. Raymond Gallardo. Sowmya Kannan. AAddison-Wesley. Sharon Biocca Zakhour.

The Java Tutorial. A Short Course on the Basics. Raymond Gallardo. Sowmya Kannan. AAddison-Wesley. Sharon Biocca Zakhour. The Java Tutorial A Short Course on the Basics Fifth Edition Sharon Biocca Zakhour Sowmya Kannan Raymond Gallardo AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto

More information

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit

First Steps. esom/sk4 esom/3517 Embedded Linux Starter Kit esom/sk4 esom/3517 Embedded Linux Starter Kit First Steps SSV Embedded Systems Dünenweg 5 D-30419 Hannover Phone: +49 (0)511/40 000-0 Fax: +49 (0)511/40 000-40 E-mail: sales@ssv-embedded.de Document Revision:

More information

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine Here we create a new virtual machine and install Ubuntu 16.04 LTS Server on it. In this instance, we

More information

CCNA Cisco Certified Network Associate Study Guide

CCNA Cisco Certified Network Associate Study Guide CCNA Cisco Certified Network Associate Study Guide (Exam 640-407) Osborne/McGraw-Hill is an independent entity from Cisco Systems, Inc. and not affiliated with Cisco Systems, Inc. in any manner. Cisco

More information

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu. AAddison-Wesley

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu. AAddison-Wesley Modern C++ Design Generic Programming and Design Patterns Applied Andrei Alexandrescu f AAddison-Wesley Boston San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo Singapore

More information

Installing and Administering a Satellite Environment

Installing and Administering a Satellite Environment IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00 IBM DB2 Universal Database Installing and Administering a Satellite Environment Version 8 GC09-4823-00

More information

"Charting the Course... Java Programming Language. Course Summary

Charting the Course... Java Programming Language. Course Summary Course Summary Description This course emphasizes becoming productive quickly as a Java application developer. This course quickly covers the Java language syntax and then moves into the object-oriented

More information

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON.

Fundamentals of. Database Systems. Shamkant B. Navathe. College of Computing Georgia Institute of Technology PEARSON. Fundamentals of Database Systems 5th Edition Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant B. Navathe College of Computing Georgia Institute

More information

Certificate Program. Introduction to Microsoft Excel 2013

Certificate Program. Introduction to Microsoft Excel 2013 Certificate Program We offer online education programs designed to provide the workforce skills necessary to enter a new field or advance your current career. Our Online Career Training Programs in the

More information

Computer Architecture A Quantitative Approach

Computer Architecture A Quantitative Approach Computer Architecture A Quantitative Approach Third Edition John L. Hennessy Stanford University David A. Patterson University of California at Berkeley With Contributions by David Goldberg Xerox Palo

More information

Developer's HTML5. Cookbook. AAddison-Wesley. Chuck Hudson. Tom Leadbetter. Upper Saddle River, NJ Boston Indianapolis San Francisco

Developer's HTML5. Cookbook. AAddison-Wesley. Chuck Hudson. Tom Leadbetter. Upper Saddle River, NJ Boston Indianapolis San Francisco HTML5 Developer's Cookbook Chuck Hudson Tom Leadbetter AAddison-Wesley Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo

More information

Programming. In Ada JOHN BARNES TT ADDISON-WESLEY

Programming. In Ada JOHN BARNES TT ADDISON-WESLEY Programming In Ada 2005 JOHN BARNES... TT ADDISON-WESLEY An imprint of Pearson Education Harlow, England London New York Boston San Francisco Toronto Sydney Tokyo Singapore Hong Kong Seoul Taipei New Delhi

More information

Microsoft Visual Studio 2010

Microsoft Visual Studio 2010 Microsoft Visual Studio 2010 A Beginner's Guide Joe Mayo Mc Grauu Hill New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Contents ACKNOWLEDGMENTS

More information

Programming 8-bit PIC Microcontrollers in С

Programming 8-bit PIC Microcontrollers in С Programming 8-bit PIC Microcontrollers in С with Interactive Hardware Simulation Martin P. Bates älllllltlilisft &Щ*лЛ AMSTERDAM BOSTON HEIDELBERG LONDON ^^Ш NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO

More information

Networking. Second Edition. Jeffrey S. Beasley. New Mexico State University

Networking. Second Edition. Jeffrey S. Beasley. New Mexico State University Networking Second Edition Jeffrey S. Beasley New Mexico State University PRENTICE HALL An Imprint of Pearson Education Upper Saddle River, NJ Boston Indianapolis San Francisco New York Toronto Montreal

More information

JAVASCRIPT FOR PROGRAMMERS

JAVASCRIPT FOR PROGRAMMERS JAVASCRIPT FOR PROGRAMMERS DEITEL DEVELOPER SERIES Paul J. Deitel Deitel & Associates, Inc. Harvey M. Deitel Deitel & Associates, Inc. PRENTICE HALL Upper Saddle River, NJ Boston Indianapolis San Francisco

More information

Oracle Exadata Recipes

Oracle Exadata Recipes Oracle Exadata Recipes A Problem-Solution Approach John Clarke Apress- Contents About the Author About the Technical Reviewer Acknowledgments Introduction xxxiii xxxv xxxvii xxxix Part 1: Exadata Architecture

More information

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL Chapter System Architecture (Domain 101) THE FOLLOWING COMPTIA LINUX+/LPIC-1 EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER: 101.1 Determine and Configure hardware

More information

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine Here we create a new virtual machine and install Ubuntu 16.04 LTS Server on it. In this instance, we

More information

Track Two Building an Internet Radio with the TI Sitara AM3517 using LinuxLink

Track Two Building an Internet Radio with the TI Sitara AM3517 using LinuxLink Track Two Building an Internet Radio with the TI Sitara AM3517 using LinuxLink Session 1 How to assemble and deploy an initial BSP and setup the development environment with the matching SDK Audio streaming

More information

FUNDAMENTALS OF. Database S wctpmc. Shamkant B. Navathe College of Computing Georgia Institute of Technology. Addison-Wesley

FUNDAMENTALS OF. Database S wctpmc. Shamkant B. Navathe College of Computing Georgia Institute of Technology. Addison-Wesley FUNDAMENTALS OF Database S wctpmc SIXTH EDITION Ramez Elmasri Department of Computer Science and Engineering The University of Texas at Arlington Shamkant B. Navathe College of Computing Georgia Institute

More information

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu Modern C++ Design Generic Programming and Design Patterns Applied Andrei Alexandrescu ADDISON-WESLEY Boston San Francisco New York Toronto Montreal London Munich Paris Madrid Capetown Sydney Tokyo Singapore

More information

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

Charting the Course... SharePoint 2007 Hands-On Labs Course Summary Course Summary Description This series of 33 hands-on labs allows students to explore the new features of Microsoft SharePoint Server, Microsoft Windows, Microsoft Office, including Microsoft Office Groove,

More information

Petitboot - A kexec based bootloader. Geoff Levand - Linux Plumbers Conference 2012 August 29-31, San Diego, CA

Petitboot - A kexec based bootloader. Geoff Levand - Linux Plumbers Conference 2012 August 29-31, San Diego, CA Petitboot - A kexec based bootloader Geoff Levand - geoff@infredead.org Linux Plumbers Conference 2012 August 29-31, San Diego, CA Outline About Features Installation Methods History Design Demos The Future

More information

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu. .~Addison-Wesley

Modern C++ Design. Generic Programming and Design Patterns Applied. Andrei Alexandrescu. .~Addison-Wesley Modern C++ Design Generic Programming and Design Patterns Applied Andrei Alexandrescu.~Addison-Wesley Boston " San Francisco " New York " Toronto " Montreal London " Munich " Paris " Madrid Capetown "

More information

FP&A Simulation. A Complete Step-by-Step Guide. Ray Salemi

FP&A Simulation. A Complete Step-by-Step Guide. Ray Salemi FP&A Simulation A Complete Step-by-Step Guide Ray Salemi Contents Acknowledgments vii Foreword ix Preface xi The Boiled Frog 1 A Boiled Story 3 Root Cause Analysis 4 The "Verification Complete" Milestone

More information

Embedded Linux Architecture

Embedded Linux Architecture Embedded Linux Architecture Types of Operating Systems Real-Time Executive Monolithic Kernel Microkernel Real-Time Executive For MMU-less processors The entire address space is flat or linear with no memory

More information

FAQ for PVRTV-305U. Copyright KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007

FAQ for PVRTV-305U. Copyright KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007 FAQ for PVRTV-305U Copyright 2007. KWorld Computer Co., Ltd. All rights are reserved. November 9, 2007 (1) May I use this same TV tuner card worldwide?...1 (2) If I want to use Windows Vista Media Center

More information

Debugging Kernel without Debugger

Debugging Kernel without Debugger Debugging Kernel without Debugger Masami Hiramatsu Software Platform Research Dept. Yokohama Research Lab. Hitachi Ltd., 1 Who am I? Masami Hiramatsu Researcher in Hitachi

More information

Developing Environment for Intel Mainstone Board

Developing Environment for Intel Mainstone Board Developing Environment for Intel Mainstone Board Outline Introduction Board Bring-up Running Linux Kernel Building Your Own Linux Kernel Developing Your Own App 1 Introduction :: PXA27x XScale PXA27x Architecture

More information

D-TACQ 2G Programmer's Guide

D-TACQ 2G Programmer's Guide D-TACQ 2G Programmer's Guide Prepared By: Peter Milne Date: 14 June 2005 Rev Date Description 1 01/03/05 First issue 2 14/06/05 Update kernel version Rev 2 Page 1 of 12 Date: 14 June 2005 Table of Contents

More information

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer ORACLG Oracle Press Oracle Database 12c Install, Configure & Maintain Like a Professional Ian Abramson Michael Abbey Michelle Malcher Michael Corey Mc Graw Hill Education New York Chicago San Francisco

More information